Class KilledByCrossbowTrigger.Instance
java.lang.Object
net.minecraft.advancements.criterion.CriterionInstance
net.minecraft.advancements.criterion.KilledByCrossbowTrigger.Instance
- All Implemented Interfaces:
ICriterionInstance
- Enclosing class:
- KilledByCrossbowTrigger
-
Field Summary
Modifier and TypeFieldDescriptionprivate final MinMaxBounds.IntBound
private final EntityPredicate.AndPredicate[]
-
Constructor Summary
ConstructorDescriptionInstance
(EntityPredicate.AndPredicate p_i231619_1_, EntityPredicate.AndPredicate[] p_i231619_2_, MinMaxBounds.IntBound p_i231619_3_) -
Method Summary
Modifier and TypeMethodDescriptioncrossbowKilled
(EntityPredicate.Builder... p_215116_0_) crossbowKilled
(MinMaxBounds.IntBound p_215117_0_) boolean
matches
(Collection<LootContext> p_234942_1_, int p_234942_2_) com.google.gson.JsonObject
serializeToJson
(ConditionArraySerializer p_230240_1_) Methods inherited from class net.minecraft.advancements.criterion.CriterionInstance
getCriterion, getPlayerPredicate, toString
-
Field Details
-
victims
-
uniqueEntityTypes
-
-
Constructor Details
-
Instance
public Instance(EntityPredicate.AndPredicate p_i231619_1_, EntityPredicate.AndPredicate[] p_i231619_2_, MinMaxBounds.IntBound p_i231619_3_)
-
-
Method Details
-
crossbowKilled
public static KilledByCrossbowTrigger.Instance crossbowKilled(EntityPredicate.Builder... p_215116_0_) -
crossbowKilled
-
matches
-
serializeToJson
- Specified by:
serializeToJson
in interfaceICriterionInstance
- Overrides:
serializeToJson
in classCriterionInstance
-