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 interface net.minecraft.advancements.CriterionTrigger
CriterionTrigger.Listener<T extends CriterionTriggerInstance>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateInstance
(com.google.gson.JsonObject p_286238_, ContextAwarePredicate p_286227_, DeserializationContext p_286919_) getId()
void
trigger
(ServerPlayer p_46872_, Collection<Entity> p_46873_) Methods inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
addPlayerListener, createInstance, removePlayerListener, removePlayerListeners, trigger
-
Field Details
-
ID
-
-
Constructor Details
-
KilledByCrossbowTrigger
public KilledByCrossbowTrigger()
-
-
Method Details
-
getId
-
createInstance
public KilledByCrossbowTrigger.TriggerInstance createInstance(com.google.gson.JsonObject p_286238_, ContextAwarePredicate p_286227_, DeserializationContext p_286919_) - Specified by:
createInstance
in classSimpleCriterionTrigger<KilledByCrossbowTrigger.TriggerInstance>
-
trigger
-