Package net.minecraft.entity.ai.goal
package net.minecraft.entity.ai.goal
The basic AI system for Minecraft living entities.
This has been the dominant AI system in Minecraft since 1.8. In 1.14, with the update on villagers, a new brain system has been introduced.
-
ClassDescriptionActiveTargetGoal<T extends LivingEntity>A target goal that finds a target by entity class when the goal starts.Goal that causes its mob to follow and attack its selected target.DisableableFollowTargetGoal<T extends LivingEntity>An active target goal that can be disabled so that it cannot start.FleeEntityGoal<T extends LivingEntity>Manages a set of goals, which are competing for certain controls on the mob.Makes a
CatEntity
go to a bed and sleep.HoldInHandsGoal<T extends MobEntity>MoveToRaidCenterGoal<T extends RaiderEntity>RaidGoal<T extends LivingEntity>A goal that maintains the target of a mob entity.UntamedActiveTargetGoal<T extends LivingEntity>An active target goal that only starts for untamed tameable animals.