Class ShotCrossbowTrigger.Instance
java.lang.Object
net.minecraft.advancements.criterion.CriterionInstance
net.minecraft.advancements.criterion.ShotCrossbowTrigger.Instance
- All Implemented Interfaces:
ICriterionInstance
- Enclosing class:
- ShotCrossbowTrigger
-
Field Summary
-
Constructor Summary
ConstructorDescriptionInstance
(EntityPredicate.AndPredicate p_i231880_1_, ItemPredicate p_i231880_2_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
com.google.gson.JsonObject
serializeToJson
(ConditionArraySerializer p_230240_1_) static ShotCrossbowTrigger.Instance
shotCrossbow
(IItemProvider p_215122_0_) Methods inherited from class net.minecraft.advancements.criterion.CriterionInstance
getCriterion, getPlayerPredicate, toString
-
Field Details
-
item
-
-
Constructor Details
-
Instance
-
-
Method Details
-
shotCrossbow
-
matches
-
serializeToJson
- Specified by:
serializeToJson
in interfaceICriterionInstance
- Overrides:
serializeToJson
in classCriterionInstance
-