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