Modifier and Type | Method and Description |
---|---|
boolean |
TameAnimalTrigger.Instance.test(ServerPlayerEntity player,
AnimalEntity entity) |
boolean |
BredAnimalsTrigger.Instance.test(ServerPlayerEntity player,
AnimalEntity parent1In,
AnimalEntity parent2In,
AgeableEntity childIn) |
void |
TameAnimalTrigger.trigger(ServerPlayerEntity player,
AnimalEntity entity) |
void |
BredAnimalsTrigger.trigger(ServerPlayerEntity player,
AnimalEntity parent1,
AnimalEntity parent2,
AgeableEntity child) |
Modifier and Type | Field and Description |
---|---|
protected AnimalEntity |
BreedGoal.animal |
private AnimalEntity |
FollowParentGoal.childAnimal |
private AnimalEntity |
FollowParentGoal.parentAnimal |
protected AnimalEntity |
BreedGoal.targetMate |
Modifier and Type | Field and Description |
---|---|
private java.lang.Class<? extends AnimalEntity> |
BreedGoal.mateClass |
Modifier and Type | Method and Description |
---|---|
private AnimalEntity |
BreedGoal.getNearbyMate() |
Constructor and Description |
---|
BreedGoal(AnimalEntity animal,
double speedIn) |
BreedGoal(AnimalEntity p_i47306_1_,
double p_i47306_2_,
java.lang.Class<? extends AnimalEntity> p_i47306_4_) |
FollowParentGoal(AnimalEntity animal,
double speed) |
Constructor and Description |
---|
BreedGoal(AnimalEntity p_i47306_1_,
double p_i47306_2_,
java.lang.Class<? extends AnimalEntity> p_i47306_4_) |
Modifier and Type | Class and Description |
---|---|
class |
BeeEntity |
class |
CatEntity |
class |
ChickenEntity |
class |
CowEntity |
class |
FoxEntity |
class |
MooshroomEntity |
class |
OcelotEntity |
class |
PandaEntity |
class |
ParrotEntity |
class |
PigEntity |
class |
PolarBearEntity |
class |
RabbitEntity |
class |
SheepEntity |
class |
ShoulderRidingEntity |
class |
TameableEntity |
class |
TurtleEntity |
class |
WolfEntity |
Modifier and Type | Method and Description |
---|---|
boolean |
WolfEntity.canMateWith(AnimalEntity otherAnimal) |
boolean |
CatEntity.canMateWith(AnimalEntity otherAnimal) |
boolean |
ParrotEntity.canMateWith(AnimalEntity otherAnimal) |
boolean |
AnimalEntity.canMateWith(AnimalEntity otherAnimal) |
private DyeColor |
SheepEntity.getDyeColorMixFromParents(AnimalEntity father,
AnimalEntity mother) |
Modifier and Type | Method and Description |
---|---|
static boolean |
AnimalEntity.canAnimalSpawn(EntityType<? extends AnimalEntity> animal,
IWorld worldIn,
SpawnReason reason,
BlockPos pos,
java.util.Random random) |
Constructor and Description |
---|
AnimalEntity(EntityType<? extends AnimalEntity> type,
World worldIn) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractChestedHorseEntity |
class |
AbstractHorseEntity |
class |
DonkeyEntity |
class |
HorseEntity |
class |
LlamaEntity |
class |
MuleEntity |
class |
SkeletonHorseEntity |
class |
TraderLlamaEntity |
class |
ZombieHorseEntity |
Modifier and Type | Method and Description |
---|---|
boolean |
DonkeyEntity.canMateWith(AnimalEntity otherAnimal) |
boolean |
AbstractHorseEntity.canMateWith(AnimalEntity otherAnimal) |
boolean |
HorseEntity.canMateWith(AnimalEntity otherAnimal) |
boolean |
LlamaEntity.canMateWith(AnimalEntity otherAnimal) |
Modifier and Type | Method and Description |
---|---|
static boolean |
ForgeEventFactory.onAnimalTame(AnimalEntity animal,
PlayerEntity tamer) |
Modifier and Type | Field and Description |
---|---|
private AnimalEntity |
AnimalTameEvent.animal |
Modifier and Type | Method and Description |
---|---|
AnimalEntity |
AnimalTameEvent.getAnimal() |
Constructor and Description |
---|
AnimalTameEvent(AnimalEntity animal,
PlayerEntity tamer) |