Package net.minecraft.entity.ai.goal
Class Goal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
- Direct Known Subclasses:
AnimalMateGoal,AttackGoal,AvoidSunlightGoal,BeeEntity.BeeWanderAroundGoal,BeeEntity.NotAngryGoal,BlazeEntity.ShootFireballGoal,BowAttackGoal,BreatheAirGoal,CatEntity.SleepWithOwnerGoal,ChaseBoatGoal,CreeperIgniteGoal,CrossbowAttackGoal,DiveJumpingGoal,DolphinEntity.LeadToNearbyTreasureGoal,DolphinEntity.PlayWithItemsGoal,DolphinEntity.SwimWithPlayerGoal,DoorInteractGoal,DrownedEntity.TargetAboveWaterGoal,DrownedEntity.WanderAroundOnSurfaceGoal,EatGrassGoal,EndermanEntity.ChasePlayerGoal,EndermanEntity.PickUpBlockGoal,EndermanEntity.PlaceBlockGoal,EscapeDangerGoal,EscapeSunlightGoal,FleeEntityGoal,FollowGroupLeaderGoal,FollowMobGoal,FollowOwnerGoal,FollowParentGoal,FormCaravanGoal,FoxEntity.CalmDownGoal,FoxEntity.MoveToHuntGoal,FoxEntity.PickupItemGoal,FoxEntity.StopWanderingGoal,GhastEntity.FlyRandomlyGoal,GhastEntity.LookAtTargetGoal,GhastEntity.ShootFireballGoal,GoToVillageGoal,GoToWalkTargetGoal,GuardianEntity.FireBeamGoal,HoldInHandsGoal,HorseBondWithPlayerGoal,IronGolemLookGoal,LookAroundGoal,LookAtEntityGoal,MeleeAttackGoal,MoveIntoWaterGoal,MoveThroughVillageGoal,MoveToRaidCenterGoal,MoveToTargetPosGoal,PandaEntity.LieOnBackGoal,PandaEntity.PickUpFoodGoal,PandaEntity.PlayGoal,PandaEntity.SneezeGoal,PatrolEntity.PatrolGoal,PhantomEntity.FindTargetGoal,PhantomEntity.MovementGoal,PhantomEntity.StartAttackGoal,PounceAtTargetGoal,PrioritizedGoal,ProjectileAttackGoal,PufferfishEntity.InflateGoal,RaiderEntity.AttackHomeGoal,RaiderEntity.CelebrateGoal,RaiderEntity.PatrolApproachGoal,RaiderEntity.PickupBannerAsLeaderGoal,ShulkerEntity.PeekGoal,ShulkerEntity.ShootBulletGoal,SilverfishEntity.CallForHelpGoal,SitGoal,SitOnOwnerShoulderGoal,SkeletonHorseTrapTriggerGoal,SlimeEntity.FaceTowardTargetGoal,SlimeEntity.MoveGoal,SlimeEntity.RandomLookGoal,SlimeEntity.SwimmingGoal,SpellcastingIllagerEntity.CastSpellGoal,SpellcastingIllagerEntity.LookAtTargetGoal,SquidEntity.EscapeAttackerGoal,SquidEntity.SwimGoal,StopFollowingCustomerGoal,SwimGoal,TemptGoal,TrackTargetGoal,TurtleEntity.ApproachFoodHoldingPlayerGoal,TurtleEntity.GoHomeGoal,TurtleEntity.TravelGoal,UniversalAngerGoal,VexEntity.ChargeTargetGoal,VexEntity.LookAtTargetGoal,WanderAroundGoal,WanderingTraderEntity.WanderToTargetGoal,WanderNearTargetGoal,WitherEntity.DescendAtHalfHealthGoal,WolfBegGoal
public abstract class Goal extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGoal.Control -
Field Summary
Fields Modifier and Type Field Description private EnumSet<Goal.Control>controls -
Constructor Summary
Constructors Constructor Description Goal() -
Method Summary
Modifier and Type Method Description abstract booleancanStart()booleancanStop()EnumSet<Goal.Control>getControls()voidsetControls(EnumSet<Goal.Control> controls)booleanshouldContinue()voidstart()voidstop()voidtick()StringtoString()
-
Field Details
-
controls
-
-
Constructor Details
-
Goal
public Goal()
-
-
Method Details