public static class BredAnimalsTrigger.Instance extends AbstractCriterionInstance
Modifier and Type | Field and Description |
---|---|
private EntityPredicate |
child |
private EntityPredicate |
parent |
private EntityPredicate |
partner |
Constructor and Description |
---|
Instance(EntityPredicate parent,
EntityPredicate partner,
EntityPredicate child) |
Modifier and Type | Method and Description |
---|---|
boolean |
test(EntityPlayerMP player,
EntityAnimal parent1In,
EntityAnimal parent2In,
EntityAgeable childIn) |
getId, toString
private final EntityPredicate parent
private final EntityPredicate partner
private final EntityPredicate child
public Instance(EntityPredicate parent, EntityPredicate partner, EntityPredicate child)
public boolean test(EntityPlayerMP player, EntityAnimal parent1In, EntityAnimal parent2In, EntityAgeable childIn)