public class BredAnimalsTrigger extends AbstractCriterionTrigger<BredAnimalsTrigger.Instance>
Modifier and Type | Class and Description |
---|---|
static class |
BredAnimalsTrigger.Instance |
ICriterionTrigger.Listener<T extends ICriterionInstance>
Constructor and Description |
---|
BredAnimalsTrigger() |
Modifier and Type | Method and Description |
---|---|
BredAnimalsTrigger.Instance |
deserializeInstance(com.google.gson.JsonObject json,
com.google.gson.JsonDeserializationContext context) |
ResourceLocation |
getId() |
void |
trigger(ServerPlayerEntity player,
AnimalEntity parent1,
AnimalEntity parent2,
AgeableEntity child) |
addListener, func_227070_a_, func_227071_b_, removeAllListeners, removeListener
public ResourceLocation getId()
public BredAnimalsTrigger.Instance deserializeInstance(com.google.gson.JsonObject json, com.google.gson.JsonDeserializationContext context)
public void trigger(ServerPlayerEntity player, AnimalEntity parent1, @Nullable AnimalEntity parent2, @Nullable AgeableEntity child)