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