Class ItemDurabilityTrigger
java.lang.Object
net.minecraft.advancements.critereon.SimpleCriterionTrigger<ItemDurabilityTrigger.TriggerInstance>
net.minecraft.advancements.critereon.ItemDurabilityTrigger
- All Implemented Interfaces:
CriterionTrigger<ItemDurabilityTrigger.TriggerInstance>
public class ItemDurabilityTrigger
extends SimpleCriterionTrigger<ItemDurabilityTrigger.TriggerInstance>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
SimpleCriterionTrigger.SimpleInstance
Nested classes/interfaces inherited from interface net.minecraft.advancements.CriterionTrigger
CriterionTrigger.Listener<T extends CriterionTriggerInstance>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.Codec<ItemDurabilityTrigger.TriggerInstance>
codec()
void
trigger
(ServerPlayer p_43670_, ItemStack p_43671_, int p_43672_) Methods inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
addPlayerListener, removePlayerListener, removePlayerListeners, trigger
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.advancements.CriterionTrigger
createCriterion
-
Constructor Details
-
ItemDurabilityTrigger
public ItemDurabilityTrigger()
-
-
Method Details
-
codec
-
trigger
-