net.minecraft.advancements.critereon

public record EnchantedItemTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

br$a
net.minecraft.advancements.critereon.EnchantedItemTrigger$TriggerInstance
net.minecraft.class_2030$class_2032
net.minecraft.advancement.criterion.EnchantedItemCriterion$Conditions
net.minecraft.advancements.critereon.CriterionTriggerEnchantedItem$a

Field summary

Modifier and TypeField
private final Optional<ContextAwarePredicate>
b
player
comp_2029
player
private final Optional<ItemPredicate>
c
item
comp_2048
item
private final MinMaxBounds$Ints
d
levels
comp_2049
levels
public static final com.mojang.serialization.Codec<EnchantedItemTrigger$TriggerInstance>
a
CODEC
field_47241
CODEC

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()
public boolean
a(cwq arg0, int arg1)
matches(ItemStack arg0, int arg1)
method_8878(class_1799 arg0, int arg1)
matches(ItemStack stack, int levels)
public Optional<ContextAwarePredicate>
a()
player()
comp_2029()
player()
public Optional<ItemPredicate>
c()
item()
comp_2048()
item()
public MinMaxBounds$Ints
d()
levels()
comp_2049()
levels()