net.minecraft.advancements.critereon

public class EnchantedItemTrigger$TriggerInstance

extends AbstractCriterionTriggerInstance

All mapped superinterfaces:

CriterionTriggerInstance

bh$a
net.minecraft.advancements.critereon.EnchantedItemTrigger$TriggerInstance
net.minecraft.class_2030$class_2032
net.minecraft.advancement.criterion.EnchantedItemCriterion$Conditions
net.minecraft.src.C_803_$C_804_
net.minecraft.advancements.critereon.CriterionTriggerEnchantedItem$a

Field summary

Modifier and TypeField
private final ItemPredicate
a
item
field_9567
item
f_27685_
private final MinMaxBounds$Ints
b
levels
field_9568
levels
f_27686_

Constructor summary

ModifierConstructor
public (EntityPredicate$Composite player, ItemPredicate item, MinMaxBounds$Ints levels)

Method summary

Modifier and TypeMethod
public static EnchantedItemTrigger$TriggerInstance
c()
enchantedItem()
method_8877()
any()
m_27696_()
public boolean
a(cfv arg0, int arg1)
matches(ItemStack arg0, int arg1)
method_8878(class_1799 arg0, int arg1)
matches(ItemStack stack, int levels)
m_27691_(C_1391_ p_27693_, int arg1)
public com.google.gson.JsonObject
a(cs arg0)
serializeToJson(SerializationContext arg0)
method_807(class_5267 arg0)
toJson(AdvancementEntityPredicateSerializer arg0)
m_7683_(C_2205_ arg0)