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 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_286869_, Optional<ContextAwarePredicate> p_298367_, DeserializationContext p_286559_) void
trigger
(ServerPlayer p_160388_) 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
-
StartRidingTrigger
public StartRidingTrigger()
-
-
Method Details
-
createInstance
public StartRidingTrigger.TriggerInstance createInstance(com.google.gson.JsonObject p_286869_, Optional<ContextAwarePredicate> p_298367_, DeserializationContext p_286559_) - Specified by:
createInstance
in classSimpleCriterionTrigger<StartRidingTrigger.TriggerInstance>
-
trigger
-