Class TameAnimalTrigger
java.lang.Object
net.minecraft.advancements.critereon.SimpleCriterionTrigger<TameAnimalTrigger.TriggerInstance>
net.minecraft.advancements.critereon.TameAnimalTrigger
- All Implemented Interfaces:
CriterionTrigger<TameAnimalTrigger.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_286910_, ContextAwarePredicate p_286765_, DeserializationContext p_286732_) getId()
void
trigger
(ServerPlayer p_68830_, Animal p_68831_) Methods inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
addPlayerListener, createInstance, removePlayerListener, removePlayerListeners, trigger
-
Field Details
-
ID
-
-
Constructor Details
-
TameAnimalTrigger
public TameAnimalTrigger()
-
-
Method Details
-
getId
-
createInstance
public TameAnimalTrigger.TriggerInstance createInstance(com.google.gson.JsonObject p_286910_, ContextAwarePredicate p_286765_, DeserializationContext p_286732_) - Specified by:
createInstance
in classSimpleCriterionTrigger<TameAnimalTrigger.TriggerInstance>
-
trigger
-