Class LevitationTrigger
java.lang.Object
net.minecraft.advancements.critereon.SimpleCriterionTrigger<LevitationTrigger.TriggerInstance>
net.minecraft.advancements.critereon.LevitationTrigger
- All Implemented Interfaces:
CriterionTrigger<LevitationTrigger.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_286359_, Optional<ContextAwarePredicate> p_301100_, DeserializationContext p_286241_) void
trigger
(ServerPlayer p_49117_, Vec3 p_49118_, int p_49119_) 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
-
LevitationTrigger
public LevitationTrigger()
-
-
Method Details
-
createInstance
public LevitationTrigger.TriggerInstance createInstance(com.google.gson.JsonObject p_286359_, Optional<ContextAwarePredicate> p_301100_, DeserializationContext p_286241_) - Specified by:
createInstance
in classSimpleCriterionTrigger<LevitationTrigger.TriggerInstance>
-
trigger
-