Class SlideDownBlockTrigger
java.lang.Object
net.minecraft.advancements.critereon.SimpleCriterionTrigger<SlideDownBlockTrigger.TriggerInstance>
net.minecraft.advancements.critereon.SlideDownBlockTrigger
- All Implemented Interfaces:
CriterionTrigger<SlideDownBlockTrigger.TriggerInstance>
public class SlideDownBlockTrigger
extends SimpleCriterionTrigger<SlideDownBlockTrigger.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_286879_, Optional<ContextAwarePredicate> p_298480_, DeserializationContext p_286581_) private static Block
deserializeBlock
(com.google.gson.JsonObject p_66988_) void
trigger
(ServerPlayer p_66979_, BlockState p_66980_) 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
-
SlideDownBlockTrigger
public SlideDownBlockTrigger()
-
-
Method Details
-
createInstance
public SlideDownBlockTrigger.TriggerInstance createInstance(com.google.gson.JsonObject p_286879_, Optional<ContextAwarePredicate> p_298480_, DeserializationContext p_286581_) - Specified by:
createInstance
in classSimpleCriterionTrigger<SlideDownBlockTrigger.TriggerInstance>
-
deserializeBlock
-
trigger
-