Class Goal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
- Direct Known Subclasses:
- AvoidEntityGoal,- Bee.BaseBeeGoal,- Bee.BeeWanderGoal,- BegGoal,- Blaze.BlazeAttackGoal,- BreathAirGoal,- BreedGoal,- Cat.CatRelaxOnOwnerGoal,- ClimbOnTopOfPowderSnowGoal,- Dolphin.DolphinSwimToTreasureGoal,- Dolphin.DolphinSwimWithPlayerGoal,- Dolphin.PlayWithItemsGoal,- DoorInteractGoal,- Drowned.DrownedGoToWaterGoal,- Drowned.DrownedSwimUpGoal,- EatBlockGoal,- EnderMan.EndermanFreezeWhenLookedAt,- EnderMan.EndermanLeaveBlockGoal,- EnderMan.EndermanTakeBlockGoal,- FleeSunGoal,- FloatGoal,- FollowBoatGoal,- FollowFlockLeaderGoal,- FollowMobGoal,- FollowOwnerGoal,- FollowParentGoal,- Fox.FaceplantGoal,- Fox.FoxBehaviorGoal,- Fox.FoxSearchForItemsGoal,- Fox.StalkPreyGoal,- Ghast.GhastLookGoal,- Ghast.GhastShootFireballGoal,- Ghast.RandomFloatAroundGoal,- Guardian.GuardianAttackGoal,- JumpGoal,- LandOnOwnersShoulderGoal,- LeapAtTargetGoal,- LlamaFollowCaravanGoal,- LookAtPlayerGoal,- MeleeAttackGoal,- MoveThroughVillageGoal,- MoveToBlockGoal,- MoveTowardsRestrictionGoal,- MoveTowardsTargetGoal,- OcelotAttackGoal,- OfferFlowerGoal,- Panda.PandaLieOnBackGoal,- Panda.PandaRollGoal,- Panda.PandaSitGoal,- Panda.PandaSneezeGoal,- PanicGoal,- PathfindToRaidGoal,- PatrollingMonster.LongDistancePatrolGoal,- Phantom.PhantomAttackPlayerTargetGoal,- Phantom.PhantomAttackStrategyGoal,- Phantom.PhantomMoveTargetGoal,- Pufferfish.PufferfishPuffGoal,- Raider.HoldGroundAttackGoal,- Raider.ObtainRaidLeaderBannerGoal,- Raider.RaiderCelebration,- Raider.RaiderMoveThroughVillageGoal,- RandomLookAroundGoal,- RandomStandGoal,- RandomStrollGoal,- RangedAttackGoal,- RangedBowAttackGoal,- RangedCrossbowAttackGoal,- ResetUniversalAngerTargetGoal,- RestrictSunGoal,- RunAroundLikeCrazyGoal,- Shulker.ShulkerAttackGoal,- Shulker.ShulkerPeekGoal,- Silverfish.SilverfishWakeUpFriendsGoal,- SitWhenOrderedToGoal,- SkeletonTrapGoal,- Slime.SlimeAttackGoal,- Slime.SlimeFloatGoal,- Slime.SlimeKeepOnJumpingGoal,- Slime.SlimeRandomDirectionGoal,- SpellcasterIllager.SpellcasterCastingSpellGoal,- SpellcasterIllager.SpellcasterUseSpellGoal,- Squid.SquidFleeGoal,- Squid.SquidRandomMovementGoal,- StrollThroughVillageGoal,- SwellGoal,- TargetGoal,- TemptGoal,- TradeWithPlayerGoal,- TryFindWaterGoal,- Turtle.TurtleGoHomeGoal,- Turtle.TurtleTravelGoal,- UseItemGoal,- Vex.VexChargeAttackGoal,- Vex.VexRandomMoveGoal,- WanderingTrader.WanderToPositionGoal,- WitherBoss.WitherDoNothingGoal,- WrappedGoal
- 
Nested Class SummaryNested Classes
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected intadjustedTickDelay(int p_186072_) booleanabstract booleancanUse()getFlags()booleanprotected static intreducedTickDelay(int p_186074_) booleanvoidvoidstart()voidstop()voidtick()toString()
- 
Field Details- 
flags
 
- 
- 
Constructor Details- 
Goalpublic Goal()
 
- 
- 
Method Details- 
canUsepublic abstract boolean canUse()
- 
canContinueToUsepublic boolean canContinueToUse()
- 
isInterruptablepublic boolean isInterruptable()
- 
startpublic void start()
- 
stoppublic void stop()
- 
requiresUpdateEveryTickpublic boolean requiresUpdateEveryTick()
- 
tickpublic void tick()
- 
setFlags
- 
toString
- 
getFlags
- 
adjustedTickDelayprotected int adjustedTickDelay(int p_186072_) 
- 
reducedTickDelayprotected static int reducedTickDelay(int p_186074_) 
 
-