Uses of Class
net.minecraft.entity.passive.AnimalEntity
Package
Description
The basic AI system for Minecraft living entities.
-
Uses of AnimalEntity in net.minecraft.advancement.criterion
Modifier and TypeMethodDescriptionvoid
BredAnimalsCriterion.trigger
(ServerPlayerEntity player, AnimalEntity parent, AnimalEntity partner, @Nullable PassiveEntity child) void
TameAnimalCriterion.trigger
(ServerPlayerEntity player, AnimalEntity entity) -
Uses of AnimalEntity in net.minecraft.entity.ai.brain.task
Modifier and TypeFieldDescriptionprivate final EntityType<? extends AnimalEntity>
BreedTask.targetType
Modifier and TypeMethodDescriptionprivate AnimalEntity
BreedTask.getBreedTarget
(AnimalEntity animal) Modifier and TypeMethodDescriptionprivate Optional<? extends AnimalEntity>
BreedTask.findBreedTarget
(AnimalEntity animal) Modifier and TypeMethodDescriptionprivate Optional<? extends AnimalEntity>
BreedTask.findBreedTarget
(AnimalEntity animal) protected void
BreedTask.finishRunning
(ServerWorld serverWorld, AnimalEntity animalEntity, long long2) private AnimalEntity
BreedTask.getBreedTarget
(AnimalEntity animal) private boolean
BreedTask.hasBreedTarget
(AnimalEntity animal) protected void
BreedTask.keepRunning
(ServerWorld serverWorld, AnimalEntity animalEntity, long long2) protected void
BreedTask.run
(ServerWorld serverWorld, AnimalEntity animalEntity, long long2) protected boolean
BreedTask.shouldKeepRunning
(ServerWorld serverWorld, AnimalEntity animalEntity, long long2) protected boolean
BreedTask.shouldRun
(ServerWorld serverWorld, AnimalEntity animalEntity) ModifierConstructorDescriptionBreedTask
(EntityType<? extends AnimalEntity> targetType, float speed) -
Uses of AnimalEntity in net.minecraft.entity.ai.goal
Modifier and TypeFieldDescriptionprotected final AnimalEntity
AnimalMateGoal.animal
private final AnimalEntity
FollowParentGoal.animal
protected @Nullable AnimalEntity
AnimalMateGoal.mate
private @Nullable AnimalEntity
FollowParentGoal.parent
Modifier and TypeFieldDescriptionprivate final Class<? extends AnimalEntity>
AnimalMateGoal.entityClass
ModifierConstructorDescriptionAnimalMateGoal
(AnimalEntity animal, double chance) AnimalMateGoal
(AnimalEntity animal, double chance, Class<? extends AnimalEntity> entityClass) FollowParentGoal
(AnimalEntity animal, double speed) ModifierConstructorDescriptionAnimalMateGoal
(AnimalEntity animal, double chance, Class<? extends AnimalEntity> entityClass) -
Uses of AnimalEntity in net.minecraft.entity.mob
Modifier and TypeClassDescriptionclass
class
class
-
Uses of AnimalEntity in net.minecraft.entity.passive
Modifier and TypeClassDescriptionclass
class
Represents an axolotl, the cutest predator.class
class
Meow.class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Modifier and TypeMethodDescriptionvoid
AnimalEntity.breed
(ServerWorld world, AnimalEntity other) boolean
AnimalEntity.canBreedWith
(AnimalEntity other) boolean
CatEntity.canBreedWith
(AnimalEntity other) boolean
DonkeyEntity.canBreedWith
(AnimalEntity other) boolean
HorseBaseEntity.canBreedWith
(AnimalEntity other) boolean
HorseEntity.canBreedWith
(AnimalEntity other) boolean
LlamaEntity.canBreedWith
(AnimalEntity other) boolean
ParrotEntity.canBreedWith
(AnimalEntity other) boolean
WolfEntity.canBreedWith
(AnimalEntity other) private DyeColor
SheepEntity.getChildColor
(AnimalEntity firstParent, AnimalEntity secondParent) Modifier and TypeMethodDescriptionstatic boolean
GoatEntity.canSpawn
(EntityType<? extends AnimalEntity> entityType, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
AnimalEntity.isValidNaturalSpawn
(EntityType<? extends AnimalEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) ModifierConstructorDescriptionprotected
AnimalEntity
(EntityType<? extends AnimalEntity> type, World world)