Class KilledTrigger
java.lang.Object
net.minecraft.advancements.critereon.SimpleCriterionTrigger<KilledTrigger.TriggerInstance>
net.minecraft.advancements.critereon.KilledTrigger
- All Implemented Interfaces:
CriterionTrigger<KilledTrigger.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_286718_, ContextAwarePredicate p_286909_, DeserializationContext p_286514_) getId()
void
trigger
(ServerPlayer p_48105_, Entity p_48106_, DamageSource p_48107_) Methods inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
addPlayerListener, createInstance, removePlayerListener, removePlayerListeners, trigger
-
Field Details
-
id
-
-
Constructor Details
-
KilledTrigger
-
-
Method Details
-
getId
-
createInstance
public KilledTrigger.TriggerInstance createInstance(com.google.gson.JsonObject p_286718_, ContextAwarePredicate p_286909_, DeserializationContext p_286514_) - Specified by:
createInstance
in classSimpleCriterionTrigger<KilledTrigger.TriggerInstance>
-
trigger
-