Class KilledByCrossbowTrigger.TriggerInstance
java.lang.Object
net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
net.minecraft.advancements.critereon.KilledByCrossbowTrigger.TriggerInstance
- All Implemented Interfaces:
SimpleCriterionTrigger.SimpleInstance
,CriterionTriggerInstance
- Enclosing class:
KilledByCrossbowTrigger
public static class KilledByCrossbowTrigger.TriggerInstance
extends AbstractCriterionTriggerInstance
-
Field Summary
Modifier and TypeFieldDescriptionprivate final MinMaxBounds.Ints
private final List<ContextAwarePredicate>
-
Constructor Summary
ConstructorDescriptionTriggerInstance
(Optional<ContextAwarePredicate> p_299225_, List<ContextAwarePredicate> p_299137_, MinMaxBounds.Ints p_286571_) -
Method Summary
Modifier and TypeMethodDescriptioncrossbowKilled
(EntityPredicate.Builder... p_301077_) crossbowKilled
(MinMaxBounds.Ints p_301148_) boolean
matches
(Collection<LootContext> p_46898_, int p_46899_) com.google.gson.JsonObject
Methods inherited from class net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
playerPredicate
-
Field Details
-
victims
-
uniqueEntityTypes
-
-
Constructor Details
-
TriggerInstance
public TriggerInstance(Optional<ContextAwarePredicate> p_299225_, List<ContextAwarePredicate> p_299137_, MinMaxBounds.Ints p_286571_)
-
-
Method Details
-
crossbowKilled
public static Criterion<KilledByCrossbowTrigger.TriggerInstance> crossbowKilled(EntityPredicate.Builder... p_301077_) -
crossbowKilled
public static Criterion<KilledByCrossbowTrigger.TriggerInstance> crossbowKilled(MinMaxBounds.Ints p_301148_) -
matches
-
serializeToJson
public com.google.gson.JsonObject serializeToJson()- Specified by:
serializeToJson
in interfaceCriterionTriggerInstance
- Overrides:
serializeToJson
in classAbstractCriterionTriggerInstance
-