Class EffectsChangedTrigger
java.lang.Object
net.minecraft.advancements.critereon.SimpleCriterionTrigger<EffectsChangedTrigger.TriggerInstance>
net.minecraft.advancements.critereon.EffectsChangedTrigger
- All Implemented Interfaces:
CriterionTrigger<EffectsChangedTrigger.TriggerInstance>
public class EffectsChangedTrigger
extends SimpleCriterionTrigger<EffectsChangedTrigger.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_286725_, Optional<ContextAwarePredicate> p_299627_, DeserializationContext p_286737_) void
trigger
(ServerPlayer p_149263_, Entity p_149264_) 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
-
EffectsChangedTrigger
public EffectsChangedTrigger()
-
-
Method Details
-
createInstance
public EffectsChangedTrigger.TriggerInstance createInstance(com.google.gson.JsonObject p_286725_, Optional<ContextAwarePredicate> p_299627_, DeserializationContext p_286737_) - Specified by:
createInstance
in classSimpleCriterionTrigger<EffectsChangedTrigger.TriggerInstance>
-
trigger
-