Class EnchantedItemTrigger.TriggerInstance
java.lang.Object
net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
net.minecraft.advancements.critereon.EnchantedItemTrigger.TriggerInstance
- All Implemented Interfaces:
CriterionTriggerInstance
- Enclosing class:
- EnchantedItemTrigger
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTriggerInstance
(EntityPredicate.Composite p_27688_, ItemPredicate p_27689_, MinMaxBounds.Ints p_27690_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
com.google.gson.JsonObject
serializeToJson
(SerializationContext p_27695_) Methods inherited from class net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
getCriterion, getPlayerPredicate, toString
-
Field Details
-
item
-
levels
-
-
Constructor Details
-
TriggerInstance
public TriggerInstance(EntityPredicate.Composite p_27688_, ItemPredicate p_27689_, MinMaxBounds.Ints p_27690_)
-
-
Method Details
-
enchantedItem
-
matches
-
serializeToJson
- Specified by:
serializeToJson
in interfaceCriterionTriggerInstance
- Overrides:
serializeToJson
in classAbstractCriterionTriggerInstance
-