Class KilledByCrossbowTrigger
java.lang.Object
net.minecraft.advancements.critereon.SimpleCriterionTrigger<KilledByCrossbowTrigger.TriggerInstance>
net.minecraft.advancements.critereon.KilledByCrossbowTrigger
- All Implemented Interfaces:
CriterionTrigger<KilledByCrossbowTrigger.TriggerInstance>
public class KilledByCrossbowTrigger
extends SimpleCriterionTrigger<KilledByCrossbowTrigger.TriggerInstance>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
SimpleCriterionTrigger.SimpleInstance
Nested classes/interfaces inherited from interface net.minecraft.advancements.CriterionTrigger
CriterionTrigger.Listener<T extends CriterionTriggerInstance>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateInstance
(com.google.gson.JsonObject p_286674_, Optional<ContextAwarePredicate> p_299181_, DeserializationContext p_286778_) void
trigger
(ServerPlayer p_46872_, Collection<Entity> p_46873_) Methods inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
addPlayerListener, createInstance, removePlayerListener, removePlayerListeners, trigger
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.advancements.CriterionTrigger
createCriterion
-
Constructor Details
-
KilledByCrossbowTrigger
public KilledByCrossbowTrigger()
-
-
Method Details
-
createInstance
public KilledByCrossbowTrigger.TriggerInstance createInstance(com.google.gson.JsonObject p_286674_, Optional<ContextAwarePredicate> p_299181_, DeserializationContext p_286778_) - Specified by:
createInstance
in classSimpleCriterionTrigger<KilledByCrossbowTrigger.TriggerInstance>
-
trigger
-