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 interface net.minecraft.advancements.CriterionTrigger
CriterionTrigger.Listener<T extends CriterionTriggerInstance>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateInstance(com.google.gson.JsonObject p_49126_, EntityPredicate.Composite p_49127_, DeserializationContext p_49128_)
getId()
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
-
Field Details
-
ID
-
-
Constructor Details
-
LevitationTrigger
public LevitationTrigger()
-
-
Method Details
-
getId
-
createInstance
public LevitationTrigger.TriggerInstance createInstance(com.google.gson.JsonObject p_49126_, EntityPredicate.Composite p_49127_, DeserializationContext p_49128_)- Specified by:
createInstance
in classSimpleCriterionTrigger<LevitationTrigger.TriggerInstance>
-
trigger
-