Class StartRidingTrigger
java.lang.Object
net.minecraft.advancements.critereon.SimpleCriterionTrigger<StartRidingTrigger.TriggerInstance>
net.minecraft.advancements.critereon.StartRidingTrigger
- All Implemented Interfaces:
CriterionTrigger<StartRidingTrigger.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_160390_, EntityPredicate.Composite p_160391_, DeserializationContext p_160392_)
getId()
void
trigger(ServerPlayer p_160388_)
Methods inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
addPlayerListener, createInstance, removePlayerListener, removePlayerListeners, trigger
-
Field Details
-
ID
-
-
Constructor Details
-
StartRidingTrigger
public StartRidingTrigger()
-
-
Method Details
-
getId
-
createInstance
public StartRidingTrigger.TriggerInstance createInstance(com.google.gson.JsonObject p_160390_, EntityPredicate.Composite p_160391_, DeserializationContext p_160392_)- Specified by:
createInstance
in classSimpleCriterionTrigger<StartRidingTrigger.TriggerInstance>
-
trigger
-