Class BredAnimalsTrigger
java.lang.Object
net.minecraft.advancements.critereon.SimpleCriterionTrigger<BredAnimalsTrigger.TriggerInstance>
net.minecraft.advancements.critereon.BredAnimalsTrigger
- All Implemented Interfaces:
CriterionTrigger<BredAnimalsTrigger.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_18646_, EntityPredicate.Composite p_18647_, DeserializationContext p_18648_) getId()
void
trigger
(ServerPlayer p_147279_, Animal p_147280_, Animal p_147281_, AgeableMob p_147282_) Methods inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
addPlayerListener, createInstance, removePlayerListener, removePlayerListeners, trigger
-
Field Details
-
ID
-
-
Constructor Details
-
BredAnimalsTrigger
public BredAnimalsTrigger()
-
-
Method Details
-
getId
-
createInstance
public BredAnimalsTrigger.TriggerInstance createInstance(com.google.gson.JsonObject p_18646_, EntityPredicate.Composite p_18647_, DeserializationContext p_18648_) - Specified by:
createInstance
in classSimpleCriterionTrigger<BredAnimalsTrigger.TriggerInstance>
-
trigger
public void trigger(ServerPlayer p_147279_, Animal p_147280_, Animal p_147281_, @Nullable AgeableMob p_147282_)
-