Package net.minecraft.entity.ai.goal
Class WanderAroundGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.WanderAroundGoal
- Direct Known Subclasses:
- IronGolemWanderAroundGoal,- SilverfishEntity.WanderAndInfestGoal,- SwimAroundGoal,- TurtleEntity.WanderOnLandGoal,- WanderAroundFarGoal,- WanderAroundPointOfInterestGoal
- Mappings:
- Namespace - Name - official - bns- intermediary - net/minecraft/class_1379- named - net/minecraft/entity/ai/goal/WanderAroundGoal
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.entity.ai.goal.GoalGoal.Control
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final booleanprotected intstatic final intprotected booleanprotected final PathAwareEntityprotected final doubleprotected doubleprotected doubleprotected double
- 
Constructor SummaryConstructorsConstructorDescriptionWanderAroundGoal(PathAwareEntity mob, double speed) WanderAroundGoal(PathAwareEntity mob, double speed, int chance) WanderAroundGoal(PathAwareEntity entity, double speed, int chance, boolean canDespawn) 
- 
Method SummaryMethods inherited from class net.minecraft.entity.ai.goal.GoalcanStop, getControls, getTickCount, setControls, shouldRunEveryTick, tick, toGoalTicks, toString
- 
Field Details- 
DEFAULT_CHANCEpublic static final int DEFAULT_CHANCE- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbns;a:I- intermediary - field_30226- Lnet/minecraft/class_1379;field_30226:I- named - DEFAULT_CHANCE- Lnet/minecraft/entity/ai/goal/WanderAroundGoal;DEFAULT_CHANCE:I
 
- 
mob- Mappings:
- Namespace - Name - Mixin selector - official - b- Lbns;b:Lbgi;- intermediary - field_6566- Lnet/minecraft/class_1379;field_6566:Lnet/minecraft/class_1314;- named - mob- Lnet/minecraft/entity/ai/goal/WanderAroundGoal;mob:Lnet/minecraft/entity/mob/PathAwareEntity;
 
- 
targetXprotected double targetX- Mappings:
- Namespace - Name - Mixin selector - official - c- Lbns;c:D- intermediary - field_6563- Lnet/minecraft/class_1379;field_6563:D- named - targetX- Lnet/minecraft/entity/ai/goal/WanderAroundGoal;targetX:D
 
- 
targetYprotected double targetY- Mappings:
- Namespace - Name - Mixin selector - official - d- Lbns;d:D- intermediary - field_6562- Lnet/minecraft/class_1379;field_6562:D- named - targetY- Lnet/minecraft/entity/ai/goal/WanderAroundGoal;targetY:D
 
- 
targetZprotected double targetZ- Mappings:
- Namespace - Name - Mixin selector - official - e- Lbns;e:D- intermediary - field_6561- Lnet/minecraft/class_1379;field_6561:D- named - targetZ- Lnet/minecraft/entity/ai/goal/WanderAroundGoal;targetZ:D
 
- 
speedprotected final double speed- Mappings:
- Namespace - Name - Mixin selector - official - f- Lbns;f:D- intermediary - field_6567- Lnet/minecraft/class_1379;field_6567:D- named - speed- Lnet/minecraft/entity/ai/goal/WanderAroundGoal;speed:D
 
- 
chanceprotected int chance- Mappings:
- Namespace - Name - Mixin selector - official - g- Lbns;g:I- intermediary - field_6564- Lnet/minecraft/class_1379;field_6564:I- named - chance- Lnet/minecraft/entity/ai/goal/WanderAroundGoal;chance:I
 
- 
ignoringChanceprotected boolean ignoringChance- Mappings:
- Namespace - Name - Mixin selector - official - h- Lbns;h:Z- intermediary - field_6565- Lnet/minecraft/class_1379;field_6565:Z- named - ignoringChance- Lnet/minecraft/entity/ai/goal/WanderAroundGoal;ignoringChance:Z
 
- 
canDespawnprivate final boolean canDespawn- Mappings:
- Namespace - Name - Mixin selector - official - i- Lbns;i:Z- intermediary - field_24463- Lnet/minecraft/class_1379;field_24463:Z- named - canDespawn- Lnet/minecraft/entity/ai/goal/WanderAroundGoal;canDespawn:Z
 
 
- 
- 
Constructor Details- 
WanderAroundGoal- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lbns;<init>(Lbgi;D)V- intermediary - <init>- Lnet/minecraft/class_1379;<init>(Lnet/minecraft/class_1314;D)V- named - <init>- Lnet/minecraft/entity/ai/goal/WanderAroundGoal;<init>(Lnet/minecraft/entity/mob/PathAwareEntity;D)V
 
- 
WanderAroundGoal- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lbns;<init>(Lbgi;DI)V- intermediary - <init>- Lnet/minecraft/class_1379;<init>(Lnet/minecraft/class_1314;DI)V- named - <init>- Lnet/minecraft/entity/ai/goal/WanderAroundGoal;<init>(Lnet/minecraft/entity/mob/PathAwareEntity;DI)V
 
- 
WanderAroundGoal- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lbns;<init>(Lbgi;DIZ)V- intermediary - <init>- Lnet/minecraft/class_1379;<init>(Lnet/minecraft/class_1314;DIZ)V- named - <init>- Lnet/minecraft/entity/ai/goal/WanderAroundGoal;<init>(Lnet/minecraft/entity/mob/PathAwareEntity;DIZ)V
 
 
- 
- 
Method Details- 
canStartpublic boolean canStart()
- 
getWanderTarget- Mappings:
- Namespace - Name - Mixin selector - official - h- Lbns;h()Leei;- intermediary - method_6302- Lnet/minecraft/class_1379;method_6302()Lnet/minecraft/class_243;- named - getWanderTarget- Lnet/minecraft/entity/ai/goal/WanderAroundGoal;getWanderTarget()Lnet/minecraft/util/math/Vec3d;
 
- 
shouldContinuepublic boolean shouldContinue()- Overrides:
- shouldContinuein class- Goal
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lbmv;b()Z- intermediary - method_6266- Lnet/minecraft/class_1352;method_6266()Z- named - shouldContinue- Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
 
- 
startpublic void start()
- 
stoppublic void stop()
- 
ignoreChanceOncepublic void ignoreChanceOnce()- Mappings:
- Namespace - Name - Mixin selector - official - i- Lbns;i()V- intermediary - method_6304- Lnet/minecraft/class_1379;method_6304()V- named - ignoreChanceOnce- Lnet/minecraft/entity/ai/goal/WanderAroundGoal;ignoreChanceOnce()V
 
- 
setChancepublic void setChance(int chance) - Mappings:
- Namespace - Name - Mixin selector - official - c- Lbns;c(I)V- intermediary - method_6303- Lnet/minecraft/class_1379;method_6303(I)V- named - setChance- Lnet/minecraft/entity/ai/goal/WanderAroundGoal;setChance(I)V
 
 
-