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 - named - net/minecraft/entity/ai/goal/WanderAroundGoal- intermediary - net/minecraft/class_1379- official - cdd
- 
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, castToServerWorld, getControls, getServerWorld, getTickCount, setControls, shouldRunEveryTick, tick, toGoalTicks, toString
- 
Field Details- 
DEFAULT_CHANCEpublic static final int DEFAULT_CHANCE- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - DEFAULT_CHANCE- Lnet/minecraft/entity/ai/goal/WanderAroundGoal;DEFAULT_CHANCE:I- intermediary - field_30226- Lnet/minecraft/class_1379;field_30226:I- official - a- Lcdd;a:I
 
- 
mob- Mappings:
- Namespace - Name - Mixin selector - named - mob- Lnet/minecraft/entity/ai/goal/WanderAroundGoal;mob:Lnet/minecraft/entity/mob/PathAwareEntity;- intermediary - field_6566- Lnet/minecraft/class_1379;field_6566:Lnet/minecraft/class_1314;- official - b- Lcdd;b:Lbvq;
 
- 
targetXprotected double targetX- Mappings:
- Namespace - Name - Mixin selector - named - targetX- Lnet/minecraft/entity/ai/goal/WanderAroundGoal;targetX:D- intermediary - field_6563- Lnet/minecraft/class_1379;field_6563:D- official - c- Lcdd;c:D
 
- 
targetYprotected double targetY- Mappings:
- Namespace - Name - Mixin selector - named - targetY- Lnet/minecraft/entity/ai/goal/WanderAroundGoal;targetY:D- intermediary - field_6562- Lnet/minecraft/class_1379;field_6562:D- official - d- Lcdd;d:D
 
- 
targetZprotected double targetZ- Mappings:
- Namespace - Name - Mixin selector - named - targetZ- Lnet/minecraft/entity/ai/goal/WanderAroundGoal;targetZ:D- intermediary - field_6561- Lnet/minecraft/class_1379;field_6561:D- official - e- Lcdd;e:D
 
- 
speedprotected final double speed- Mappings:
- Namespace - Name - Mixin selector - named - speed- Lnet/minecraft/entity/ai/goal/WanderAroundGoal;speed:D- intermediary - field_6567- Lnet/minecraft/class_1379;field_6567:D- official - f- Lcdd;f:D
 
- 
chanceprotected int chance- Mappings:
- Namespace - Name - Mixin selector - named - chance- Lnet/minecraft/entity/ai/goal/WanderAroundGoal;chance:I- intermediary - field_6564- Lnet/minecraft/class_1379;field_6564:I- official - g- Lcdd;g:I
 
- 
ignoringChanceprotected boolean ignoringChance- Mappings:
- Namespace - Name - Mixin selector - named - ignoringChance- Lnet/minecraft/entity/ai/goal/WanderAroundGoal;ignoringChance:Z- intermediary - field_6565- Lnet/minecraft/class_1379;field_6565:Z- official - h- Lcdd;h:Z
 
- 
canDespawnprivate final boolean canDespawn- Mappings:
- Namespace - Name - Mixin selector - named - canDespawn- Lnet/minecraft/entity/ai/goal/WanderAroundGoal;canDespawn:Z- intermediary - field_24463- Lnet/minecraft/class_1379;field_24463:Z- official - i- Lcdd;i:Z
 
 
- 
- 
Constructor Details- 
WanderAroundGoal- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/entity/ai/goal/WanderAroundGoal;<init>(Lnet/minecraft/entity/mob/PathAwareEntity;D)V- intermediary - <init>- Lnet/minecraft/class_1379;<init>(Lnet/minecraft/class_1314;D)V- official - <init>- Lcdd;<init>(Lbvq;D)V
 
- 
WanderAroundGoal- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/entity/ai/goal/WanderAroundGoal;<init>(Lnet/minecraft/entity/mob/PathAwareEntity;DI)V- intermediary - <init>- Lnet/minecraft/class_1379;<init>(Lnet/minecraft/class_1314;DI)V- official - <init>- Lcdd;<init>(Lbvq;DI)V
 
- 
WanderAroundGoal- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/entity/ai/goal/WanderAroundGoal;<init>(Lnet/minecraft/entity/mob/PathAwareEntity;DIZ)V- intermediary - <init>- Lnet/minecraft/class_1379;<init>(Lnet/minecraft/class_1314;DIZ)V- official - <init>- Lcdd;<init>(Lbvq;DIZ)V
 
 
- 
- 
Method Details- 
canStartpublic boolean canStart()
- 
getWanderTarget- Mappings:
- Namespace - Name - Mixin selector - named - getWanderTarget- Lnet/minecraft/entity/ai/goal/WanderAroundGoal;getWanderTarget()Lnet/minecraft/util/math/Vec3d;- intermediary - method_6302- Lnet/minecraft/class_1379;method_6302()Lnet/minecraft/class_243;- official - h- Lcdd;h()Lfbb;
 
- 
shouldContinuepublic boolean shouldContinue()- Overrides:
- shouldContinuein class- Goal
- Mappings:
- Namespace - Name - Mixin selector - named - shouldContinue- Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z- intermediary - method_6266- Lnet/minecraft/class_1352;method_6266()Z- official - c- Lccg;c()Z
 
- 
startpublic void start()
- 
stoppublic void stop()
- 
ignoreChanceOncepublic void ignoreChanceOnce()- Mappings:
- Namespace - Name - Mixin selector - named - ignoreChanceOnce- Lnet/minecraft/entity/ai/goal/WanderAroundGoal;ignoreChanceOnce()V- intermediary - method_6304- Lnet/minecraft/class_1379;method_6304()V- official - i- Lcdd;i()V
 
- 
setChancepublic void setChance(int chance) - Mappings:
- Namespace - Name - Mixin selector - named - setChance- Lnet/minecraft/entity/ai/goal/WanderAroundGoal;setChance(I)V- intermediary - method_6303- Lnet/minecraft/class_1379;method_6303(I)V- official - c- Lcdd;c(I)V
 
 
-