Class ShotCrossbowTrigger.TriggerInstance
java.lang.Object
net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
net.minecraft.advancements.critereon.ShotCrossbowTrigger.TriggerInstance
- All Implemented Interfaces:
CriterionTriggerInstance
- Enclosing class:
- ShotCrossbowTrigger
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTriggerInstance(EntityPredicate.Composite p_65479_, ItemPredicate p_65480_)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
com.google.gson.JsonObject
serializeToJson(SerializationContext p_65486_)
shotCrossbow(ItemPredicate p_159432_)
shotCrossbow(ItemLike p_65484_)
Methods inherited from class net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
getCriterion, getPlayerPredicate, toString
-
Field Details
-
item
-
-
Constructor Details
-
TriggerInstance
-
-
Method Details
-
shotCrossbow
-
shotCrossbow
-
matches
-
serializeToJson
- Specified by:
serializeToJson
in interfaceCriterionTriggerInstance
- Overrides:
serializeToJson
in classAbstractCriterionTriggerInstance
-