Class EnchantedItemTrigger
java.lang.Object
net.minecraft.advancements.criterion.AbstractCriterionTrigger<EnchantedItemTrigger.Instance>
net.minecraft.advancements.criterion.EnchantedItemTrigger
- All Implemented Interfaces:
ICriterionTrigger<EnchantedItemTrigger.Instance>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.advancements.ICriterionTrigger
ICriterionTrigger.Listener<T extends ICriterionInstance>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateInstance
(com.google.gson.JsonObject p_230241_1_, EntityPredicate.AndPredicate p_230241_2_, ConditionArrayParser p_230241_3_) getId()
void
trigger
(ServerPlayerEntity p_192190_1_, ItemStack p_192190_2_, int p_192190_3_) Methods inherited from class net.minecraft.advancements.criterion.AbstractCriterionTrigger
addPlayerListener, createInstance, removePlayerListener, removePlayerListeners, trigger
-
Field Details
-
ID
-
-
Constructor Details
-
EnchantedItemTrigger
public EnchantedItemTrigger()
-
-
Method Details
-
getId
-
createInstance
public EnchantedItemTrigger.Instance createInstance(com.google.gson.JsonObject p_230241_1_, EntityPredicate.AndPredicate p_230241_2_, ConditionArrayParser p_230241_3_) - Specified by:
createInstance
in classAbstractCriterionTrigger<EnchantedItemTrigger.Instance>
-
trigger
-