net.minecraft.advancements.critereon

public class ItemDurabilityTrigger

extends SimpleCriterionTrigger<ItemDurabilityTrigger$TriggerInstance>

All mapped superinterfaces:

CriterionTrigger

cp
net.minecraft.advancements.critereon.ItemDurabilityTrigger
net.minecraft.class_2069
net.minecraft.advancement.criterion.ItemDurabilityChangedCriterion
net.minecraft.advancements.critereon.CriterionTriggerItemDurabilityChanged

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public com.mojang.serialization.Codec<ItemDurabilityTrigger$TriggerInstance>
a()
codec()
method_54937()
getConditionsCodec()
public void
a(are arg0, cwq arg1, int arg2)
trigger(ServerPlayer arg0, ItemStack arg1, int arg2)
method_8960(class_3222 arg0, class_1799 arg1, int arg2)
trigger(ServerPlayerEntity player, ItemStack stack, int durability)