Class EnchantedItemTrigger.Instance
java.lang.Object
net.minecraft.advancements.criterion.CriterionInstance
net.minecraft.advancements.criterion.EnchantedItemTrigger.Instance
- All Implemented Interfaces:
ICriterionInstance
- Enclosing class:
- EnchantedItemTrigger
-
Field Summary
-
Constructor Summary
ConstructorDescriptionInstance
(EntityPredicate.AndPredicate p_i231556_1_, ItemPredicate p_i231556_2_, MinMaxBounds.IntBound p_i231556_3_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
com.google.gson.JsonObject
serializeToJson
(ConditionArraySerializer p_230240_1_) Methods inherited from class net.minecraft.advancements.criterion.CriterionInstance
getCriterion, getPlayerPredicate, toString
-
Field Details
-
item
-
levels
-
-
Constructor Details
-
Instance
public Instance(EntityPredicate.AndPredicate p_i231556_1_, ItemPredicate p_i231556_2_, MinMaxBounds.IntBound p_i231556_3_)
-
-
Method Details
-
enchantedItem
-
matches
-
serializeToJson
- Specified by:
serializeToJson
in interfaceICriterionInstance
- Overrides:
serializeToJson
in classCriterionInstance
-