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 class net.minecraft.advancements.critereon.SimpleCriterionTrigger
SimpleCriterionTrigger.SimpleInstance
Nested classes/interfaces inherited from interface net.minecraft.advancements.CriterionTrigger
CriterionTrigger.Listener<T extends CriterionTriggerInstance>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateInstance
(com.google.gson.JsonObject p_286232_, Optional<ContextAwarePredicate> p_297942_, DeserializationContext p_286439_) 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.advancements.CriterionTrigger
createCriterion
-
Constructor Details
-
BredAnimalsTrigger
public BredAnimalsTrigger()
-
-
Method Details
-
createInstance
public BredAnimalsTrigger.TriggerInstance createInstance(com.google.gson.JsonObject p_286232_, Optional<ContextAwarePredicate> p_297942_, DeserializationContext p_286439_) - Specified by:
createInstance
in classSimpleCriterionTrigger<BredAnimalsTrigger.TriggerInstance>
-
trigger
public void trigger(ServerPlayer p_147279_, Animal p_147280_, Animal p_147281_, @Nullable AgeableMob p_147282_)
-