Class PlayerTrigger
java.lang.Object
net.minecraft.advancements.critereon.SimpleCriterionTrigger<PlayerTrigger.TriggerInstance>
net.minecraft.advancements.critereon.PlayerTrigger
- All Implemented Interfaces:
CriterionTrigger<PlayerTrigger.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_222621_, EntityPredicate.Composite p_222622_, DeserializationContext p_222623_) getId()
void
trigger
(ServerPlayer p_222619_) Methods inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
addPlayerListener, createInstance, removePlayerListener, removePlayerListeners, trigger
-
Field Details
-
id
-
-
Constructor Details
-
PlayerTrigger
-
-
Method Details
-
getId
-
createInstance
public PlayerTrigger.TriggerInstance createInstance(com.google.gson.JsonObject p_222621_, EntityPredicate.Composite p_222622_, DeserializationContext p_222623_) - Specified by:
createInstance
in classSimpleCriterionTrigger<PlayerTrigger.TriggerInstance>
-
trigger
-