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_68833_, EntityPredicate.Composite p_68834_, DeserializationContext p_68835_) 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_68833_, EntityPredicate.Composite p_68834_, DeserializationContext p_68835_) - Specified by:
createInstance
in classSimpleCriterionTrigger<TameAnimalTrigger.TriggerInstance>
-
trigger
-