implements SimpleCriterionTrigger$SimpleInstance
bf$a | |
net.minecraft.advancements.critereon.ConsumeItemTrigger$TriggerInstance | |
net.minecraft.class_2010$class_2012 | |
net.minecraft.advancement.criterion.ConsumeItemCriterion$Conditions | |
net.minecraft.src.C_609_$C_610_ | |
net.minecraft.advancements.critereon.CriterionTriggerConsumeItem$a |
Field summary
Modifier and Type | Field | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
private final Optional<ContextAwarePredicate> |
| ||||||||||
private final Optional<ItemPredicate> |
| ||||||||||
public static final com.mojang.serialization.Codec<ConsumeItemTrigger$TriggerInstance> |
|
Constructor summary
Modifier | Constructor |
---|---|
public | (Optional<ContextAwarePredicate> playerPredicate, Optional<ItemPredicate> item) |
Method summary
Modifier and Type | Method | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public static Criterion<ConsumeItemTrigger$TriggerInstance> |
| ||||||||||
public static Criterion<ConsumeItemTrigger$TriggerInstance> |
| ||||||||||
public static Criterion<ConsumeItemTrigger$TriggerInstance> |
| ||||||||||
public boolean |
| ||||||||||
public Optional<ContextAwarePredicate> |
| ||||||||||
public Optional<ItemPredicate> |
|