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 interface net.minecraft.advancements.CriterionTrigger
CriterionTrigger.Listener<T extends CriterionTriggerInstance>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateInstance
(com.google.gson.JsonObject p_31281_, EntityPredicate.Composite p_31282_, DeserializationContext p_31283_) private static Block
deserializeBlock
(com.google.gson.JsonObject p_31279_) getId()
void
trigger
(ServerPlayer p_31270_, BlockState p_31271_) Methods inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
addPlayerListener, createInstance, removePlayerListener, removePlayerListeners, trigger
-
Field Details
-
ID
-
-
Constructor Details
-
EnterBlockTrigger
public EnterBlockTrigger()
-
-
Method Details
-
getId
-
createInstance
public EnterBlockTrigger.TriggerInstance createInstance(com.google.gson.JsonObject p_31281_, EntityPredicate.Composite p_31282_, DeserializationContext p_31283_) - Specified by:
createInstance
in classSimpleCriterionTrigger<EnterBlockTrigger.TriggerInstance>
-
deserializeBlock
-
trigger
-