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_297734_, List<ContextAwarePredicate> p_299724_, MinMaxBounds.Ints p_286571_) -
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
Methods inherited from class net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
playerPredicate
-
Field Details
-
victims
-
uniqueEntityTypes
-
-
Constructor Details
-
TriggerInstance
public TriggerInstance(Optional<ContextAwarePredicate> p_297734_, List<ContextAwarePredicate> p_299724_, MinMaxBounds.Ints p_286571_)
-
-
Method Details
-
crossbowKilled
public static Criterion<KilledByCrossbowTrigger.TriggerInstance> crossbowKilled(EntityPredicate.Builder... p_46901_) -
crossbowKilled
public static Criterion<KilledByCrossbowTrigger.TriggerInstance> crossbowKilled(MinMaxBounds.Ints p_46894_) -
matches
-
serializeToJson
public com.google.gson.JsonObject serializeToJson()- Specified by:
serializeToJson
in interfaceCriterionTriggerInstance
- Overrides:
serializeToJson
in classAbstractCriterionTriggerInstance
-