net.minecraft.advancements.critereon

public record EnchantedItemTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

bp$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 Optional<ContextAwarePredicate>
b
player
comp_2029
player
f_303838_
private final Optional<ItemPredicate>
c
item
comp_2048
item
f_27685_
private final MinMaxBounds$Ints
d
levels
comp_2049
levels
f_27686_
public static final com.mojang.serialization.Codec<EnchantedItemTrigger$TriggerInstance>
a
CODEC
field_47241
CODEC
f_302859_

Constructor summary

ModifierConstructor
public (Optional<ContextAwarePredicate> playerPredicate, Optional<ItemPredicate> item, MinMaxBounds$Ints levels)

Method summary

Modifier and TypeMethod
public static Criterion<EnchantedItemTrigger$TriggerInstance>
b()
enchantedItem()
method_8877()
any()
m_27696_()
public boolean
a(cuq 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 Optional<ContextAwarePredicate>
a()
player()
comp_2029()
player()
m_295156_()
public Optional<ItemPredicate>
c()
item()
comp_2048()
item()
f_27685_()
public MinMaxBounds$Ints
d()
levels()
comp_2049()
levels()
f_27686_()