Class EnchantedItemTrigger
java.lang.Object
net.minecraft.advancements.critereon.SimpleCriterionTrigger<EnchantedItemTrigger.TriggerInstance>
net.minecraft.advancements.critereon.EnchantedItemTrigger
- All Implemented Interfaces:
CriterionTrigger<EnchantedItemTrigger.TriggerInstance>
public class EnchantedItemTrigger
extends SimpleCriterionTrigger<EnchantedItemTrigger.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<EnchantedItemTrigger.TriggerInstance>
codec()
void
trigger
(ServerPlayer p_27669_, ItemStack p_27670_, int p_27671_) 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
-
EnchantedItemTrigger
public EnchantedItemTrigger()
-
-
Method Details
-
codec
-
trigger
-