Class EnterBlockTrigger
java.lang.Object
net.minecraft.advancements.critereon.SimpleCriterionTrigger<EnterBlockTrigger.TriggerInstance>
net.minecraft.advancements.critereon.EnterBlockTrigger
- All Implemented Interfaces:
CriterionTrigger<EnterBlockTrigger.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_286490_, Optional<ContextAwarePredicate> p_297383_, DeserializationContext p_286764_) private static Block
deserializeBlock
(com.google.gson.JsonObject p_31279_) void
trigger
(ServerPlayer p_31270_, BlockState p_31271_) 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
-
EnterBlockTrigger
public EnterBlockTrigger()
-
-
Method Details
-
createInstance
public EnterBlockTrigger.TriggerInstance createInstance(com.google.gson.JsonObject p_286490_, Optional<ContextAwarePredicate> p_297383_, DeserializationContext p_286764_) - Specified by:
createInstance
in classSimpleCriterionTrigger<EnterBlockTrigger.TriggerInstance>
-
deserializeBlock
-
trigger
-