implements SimpleCriterionTrigger$SimpleInstance
eg$a | |
net.minecraft.advancements.critereon.TradeTrigger$TriggerInstance | |
net.minecraft.class_2140$class_2142 | |
net.minecraft.advancement.criterion.VillagerTradeCriterion$Conditions | |
net.minecraft.src.C_2476_$C_2477_ | |
net.minecraft.advancements.critereon.CriterionTriggerVillagerTrade$a |
Field summary
Modifier and Type | Field | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
private final Optional<ContextAwarePredicate> |
| ||||||||||
private final Optional<ContextAwarePredicate> |
| ||||||||||
private final Optional<ItemPredicate> |
| ||||||||||
public static final com.mojang.serialization.Codec<TradeTrigger$TriggerInstance> |
|
Constructor summary
Modifier | Constructor |
---|---|
public | (Optional<ContextAwarePredicate> playerPredicate, Optional<ContextAwarePredicate> villager, Optional<ItemPredicate> item) |
Method summary
Modifier and Type | Method | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public static Criterion<TradeTrigger$TriggerInstance> |
| ||||||||||
public static Criterion<TradeTrigger$TriggerInstance> |
| ||||||||||
public boolean |
| ||||||||||
public void |
| ||||||||||
public Optional<ContextAwarePredicate> |
| ||||||||||
public Optional<ContextAwarePredicate> |
| ||||||||||
public Optional<ItemPredicate> |
|