Class KilledByCrossbowTrigger.Instance
- java.lang.Object
-
- net.minecraft.advancements.criterion.CriterionInstance
-
- net.minecraft.advancements.criterion.KilledByCrossbowTrigger.Instance
-
- All Implemented Interfaces:
ICriterionInstance
- Enclosing class:
- KilledByCrossbowTrigger
public static class KilledByCrossbowTrigger.Instance extends CriterionInstance
-
-
Field Summary
Fields Modifier and Type Field Description private MinMaxBounds.IntBound
uniqueEntityTypes
private EntityPredicate.AndPredicate[]
victims
-
Constructor Summary
Constructors Constructor Description Instance(EntityPredicate.AndPredicate p_i231619_1_, EntityPredicate.AndPredicate[] p_i231619_2_, MinMaxBounds.IntBound p_i231619_3_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KilledByCrossbowTrigger.Instance
crossbowKilled(EntityPredicate.Builder... p_215116_0_)
static KilledByCrossbowTrigger.Instance
crossbowKilled(MinMaxBounds.IntBound p_215117_0_)
boolean
matches(java.util.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 Detail
-
victims
private final EntityPredicate.AndPredicate[] victims
-
uniqueEntityTypes
private final MinMaxBounds.IntBound uniqueEntityTypes
-
-
Constructor Detail
-
Instance
public Instance(EntityPredicate.AndPredicate p_i231619_1_, EntityPredicate.AndPredicate[] p_i231619_2_, MinMaxBounds.IntBound p_i231619_3_)
-
-
Method Detail
-
crossbowKilled
public static KilledByCrossbowTrigger.Instance crossbowKilled(EntityPredicate.Builder... p_215116_0_)
-
crossbowKilled
public static KilledByCrossbowTrigger.Instance crossbowKilled(MinMaxBounds.IntBound p_215117_0_)
-
matches
public boolean matches(java.util.Collection<LootContext> p_234942_1_, int p_234942_2_)
-
serializeToJson
public com.google.gson.JsonObject serializeToJson(ConditionArraySerializer p_230240_1_)
- Specified by:
serializeToJson
in interfaceICriterionInstance
- Overrides:
serializeToJson
in classCriterionInstance
-
-