Class KilledByCrossbowTrigger.TriggerInstance
java.lang.Object
net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
net.minecraft.advancements.critereon.KilledByCrossbowTrigger.TriggerInstance
- All Implemented Interfaces:
CriterionTriggerInstance
- Enclosing class:
- KilledByCrossbowTrigger
public static class KilledByCrossbowTrigger.TriggerInstance
extends AbstractCriterionTriggerInstance
-
Field Summary
Modifier and TypeFieldDescriptionprivate final MinMaxBounds.Ints
private final EntityPredicate.Composite[]
-
Constructor Summary
ConstructorDescriptionTriggerInstance
(EntityPredicate.Composite p_46890_, EntityPredicate.Composite[] p_46891_, MinMaxBounds.Ints p_46892_) -
Method Summary
Modifier and TypeMethodDescriptioncrossbowKilled
(EntityPredicate.Builder... p_46901_) crossbowKilled
(MinMaxBounds.Ints p_46894_) boolean
matches
(Collection<LootContext> p_46898_, int p_46899_) com.google.gson.JsonObject
serializeToJson
(SerializationContext p_46896_) Methods inherited from class net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
getCriterion, getPlayerPredicate, toString
-
Field Details
-
victims
-
uniqueEntityTypes
-
-
Constructor Details
-
TriggerInstance
public TriggerInstance(EntityPredicate.Composite p_46890_, EntityPredicate.Composite[] p_46891_, MinMaxBounds.Ints p_46892_)
-
-
Method Details
-
crossbowKilled
public static KilledByCrossbowTrigger.TriggerInstance crossbowKilled(EntityPredicate.Builder... p_46901_) -
crossbowKilled
-
matches
-
serializeToJson
- Specified by:
serializeToJson
in interfaceCriterionTriggerInstance
- Overrides:
serializeToJson
in classAbstractCriterionTriggerInstance
-