Uses of Class
net.minecraft.world.entity.animal.Animal
Packages that use Animal
Package
Description
-
Uses of Animal in net.minecraft.advancements.critereon
Methods in net.minecraft.advancements.critereon with parameters of type AnimalModifier and TypeMethodDescriptionvoid
BredAnimalsTrigger.trigger
(ServerPlayer player, Animal parent, Animal partner, AgeableMob child) void
TameAnimalTrigger.trigger
(ServerPlayer player, Animal entity) -
Uses of Animal in net.minecraft.world.entity
Subclasses of Animal in net.minecraft.world.entity -
Uses of Animal in net.minecraft.world.entity.ai.behavior
Fields in net.minecraft.world.entity.ai.behavior with type parameters of type AnimalModifier and TypeFieldDescriptionprivate final EntityType
<? extends Animal> AnimalMakeLove.partnerType
Methods in net.minecraft.world.entity.ai.behavior that return AnimalMethods in net.minecraft.world.entity.ai.behavior that return types with arguments of type AnimalMethods in net.minecraft.world.entity.ai.behavior with parameters of type AnimalModifier and TypeMethodDescriptionprotected boolean
AnimalMakeLove.canStillUse
(ServerLevel level, Animal entity, long gameTime) protected boolean
AnimalMakeLove.checkExtraStartConditions
(ServerLevel level, Animal owner) AnimalMakeLove.findValidBreedPartner
(Animal p_animal) private Animal
AnimalMakeLove.getBreedTarget
(Animal animal) private boolean
AnimalMakeLove.hasBreedTargetOfRightType
(Animal animal) protected void
AnimalMakeLove.start
(ServerLevel level, Animal entity, long gameTime) protected void
AnimalMakeLove.stop
(ServerLevel level, Animal entity, long gameTime) protected void
AnimalMakeLove.tick
(ServerLevel level, Animal owner, long gameTime) Constructor parameters in net.minecraft.world.entity.ai.behavior with type arguments of type AnimalModifierConstructorDescriptionAnimalMakeLove
(EntityType<? extends Animal> partnerType) AnimalMakeLove
(EntityType<? extends Animal> partnerType, float speedModifier, int closeEnoughDistance) -
Uses of Animal in net.minecraft.world.entity.ai.goal
Fields in net.minecraft.world.entity.ai.goal declared as AnimalModifier and TypeFieldDescriptionprotected final Animal
BreedGoal.animal
private final Animal
FollowParentGoal.animal
private Animal
FollowParentGoal.parent
protected Animal
BreedGoal.partner
Fields in net.minecraft.world.entity.ai.goal with type parameters of type AnimalMethods in net.minecraft.world.entity.ai.goal that return AnimalConstructors in net.minecraft.world.entity.ai.goal with parameters of type AnimalConstructor parameters in net.minecraft.world.entity.ai.goal with type arguments of type Animal -
Uses of Animal in net.minecraft.world.entity.animal
Subclasses of Animal in net.minecraft.world.entity.animalModifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Methods in net.minecraft.world.entity.animal with parameters of type AnimalModifier and TypeMethodDescriptionboolean
Returnstrue
if the mob is currently able to mate with the specified mob.boolean
Returnstrue
if the mob is currently able to mate with the specified mob.boolean
Returnstrue
if the mob is currently able to mate with the specified mob.boolean
Returnstrue
if the mob is currently able to mate with the specified mob.void
Animal.finalizeSpawnChildFromBreeding
(ServerLevel level, Animal animal, AgeableMob baby) private DyeColor
Sheep.getOffspringColor
(Animal father, Animal mother) Attempts to mix both parent sheep to come up with a mixed dye color.void
Animal.spawnChildFromBreeding
(ServerLevel level, Animal mate) Method parameters in net.minecraft.world.entity.animal with type arguments of type AnimalModifier and TypeMethodDescriptionstatic boolean
Animal.checkAnimalSpawnRules
(EntityType<? extends Animal> animal, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) Constructor parameters in net.minecraft.world.entity.animal with type arguments of type AnimalModifierConstructorDescriptionprotected
Animal
(EntityType<? extends Animal> entityType, Level level) -
Uses of Animal in net.minecraft.world.entity.animal.armadillo
Subclasses of Animal in net.minecraft.world.entity.animal.armadilloConstructor parameters in net.minecraft.world.entity.animal.armadillo with type arguments of type Animal -
Uses of Animal in net.minecraft.world.entity.animal.axolotl
Subclasses of Animal in net.minecraft.world.entity.animal.axolotl -
Uses of Animal in net.minecraft.world.entity.animal.camel
Subclasses of Animal in net.minecraft.world.entity.animal.camelMethods in net.minecraft.world.entity.animal.camel with parameters of type Animal -
Uses of Animal in net.minecraft.world.entity.animal.frog
Subclasses of Animal in net.minecraft.world.entity.animal.frogMethods in net.minecraft.world.entity.animal.frog with parameters of type AnimalModifier and TypeMethodDescriptionvoid
Frog.spawnChildFromBreeding
(ServerLevel level, Animal mate) Method parameters in net.minecraft.world.entity.animal.frog with type arguments of type AnimalModifier and TypeMethodDescriptionstatic boolean
Frog.checkFrogSpawnRules
(EntityType<? extends Animal> animal, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) Constructor parameters in net.minecraft.world.entity.animal.frog with type arguments of type Animal -
Uses of Animal in net.minecraft.world.entity.animal.goat
Subclasses of Animal in net.minecraft.world.entity.animal.goatMethod parameters in net.minecraft.world.entity.animal.goat with type arguments of type AnimalModifier and TypeMethodDescriptionstatic boolean
Goat.checkGoatSpawnRules
(EntityType<? extends Animal> goat, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) -
Uses of Animal in net.minecraft.world.entity.animal.horse
Subclasses of Animal in net.minecraft.world.entity.animal.horseModifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
Methods in net.minecraft.world.entity.animal.horse with parameters of type AnimalModifier and TypeMethodDescriptionboolean
Returnstrue
if the mob is currently able to mate with the specified mob.boolean
Returnstrue
if the mob is currently able to mate with the specified mob.boolean
Returnstrue
if the mob is currently able to mate with the specified mob.boolean
Returnstrue
if the mob is currently able to mate with the specified mob.Method parameters in net.minecraft.world.entity.animal.horse with type arguments of type AnimalModifier and TypeMethodDescriptionstatic boolean
SkeletonHorse.checkSkeletonHorseSpawnRules
(EntityType<? extends Animal> animal, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static boolean
ZombieHorse.checkZombieHorseSpawnRules
(EntityType<? extends Animal> animal, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) -
Uses of Animal in net.minecraft.world.entity.animal.sniffer
Subclasses of Animal in net.minecraft.world.entity.animal.snifferMethods in net.minecraft.world.entity.animal.sniffer with parameters of type AnimalModifier and TypeMethodDescriptionboolean
Returnstrue
if the mob is currently able to mate with the specified mob.void
Sniffer.spawnChildFromBreeding
(ServerLevel level, Animal mate) Constructor parameters in net.minecraft.world.entity.animal.sniffer with type arguments of type Animal -
Uses of Animal in net.minecraft.world.entity.monster
Subclasses of Animal in net.minecraft.world.entity.monster -
Uses of Animal in net.minecraft.world.entity.monster.hoglin
Subclasses of Animal in net.minecraft.world.entity.monster.hoglin -
Uses of Animal in net.neoforged.neoforge.event
Methods in net.neoforged.neoforge.event with parameters of type AnimalModifier and TypeMethodDescriptionstatic boolean
EventHooks.onAnimalTame
(Animal animal, Player tamer) -
Uses of Animal in net.neoforged.neoforge.event.entity.living
Fields in net.neoforged.neoforge.event.entity.living declared as AnimalMethods in net.neoforged.neoforge.event.entity.living that return AnimalConstructors in net.neoforged.neoforge.event.entity.living with parameters of type Animal