Package net.minecraft.entity.ai.goal
Class WanderAroundPointOfInterestGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.WanderAroundGoal
net.minecraft.entity.ai.goal.WanderAroundPointOfInterestGoal
- Mappings:
Namespace Name named net/minecraft/entity/ai/goal/WanderAroundPointOfInterestGoalintermediary net/minecraft/class_4291official cax
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intFields inherited from class net.minecraft.entity.ai.goal.WanderAroundGoal
chance, DEFAULT_CHANCE, ignoringChance, mob, speed, targetX, targetY, targetZ -
Constructor Summary
ConstructorsConstructorDescriptionWanderAroundPointOfInterestGoal(PathAwareEntity entity, double speed, boolean canDespawn) -
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.WanderAroundGoal
ignoreChanceOnce, setChance, shouldContinue, start, stopMethods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, getTickCount, setControls, shouldRunEveryTick, tick, toGoalTicks, toString
-
Field Details
-
HORIZONTAL_RANGE
private static final int HORIZONTAL_RANGE- See Also:
- Mappings:
Namespace Name Mixin selector named HORIZONTAL_RANGELnet/minecraft/entity/ai/goal/WanderAroundPointOfInterestGoal;HORIZONTAL_RANGE:Iintermediary field_30219Lnet/minecraft/class_4291;field_30219:Iofficial iLcax;i:I
-
VERTICAL_RANGE
private static final int VERTICAL_RANGE- See Also:
- Mappings:
Namespace Name Mixin selector named VERTICAL_RANGELnet/minecraft/entity/ai/goal/WanderAroundPointOfInterestGoal;VERTICAL_RANGE:Iintermediary field_30220Lnet/minecraft/class_4291;field_30220:Iofficial jLcax;j:I
-
-
Constructor Details
-
WanderAroundPointOfInterestGoal
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/ai/goal/WanderAroundPointOfInterestGoal;<init>(Lnet/minecraft/entity/mob/PathAwareEntity;DZ)Vintermediary <init>Lnet/minecraft/class_4291;<init>(Lnet/minecraft/class_1314;DZ)Vofficial <init>Lcax;<init>(Lbtw;DZ)V
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStartin classWanderAroundGoal- Mappings:
Namespace Name Mixin selector named canStartLnet/minecraft/entity/ai/goal/Goal;canStart()Zintermediary method_6264Lnet/minecraft/class_1352;method_6264()Zofficial bLcam;b()Z
-
getWanderTarget
- Overrides:
getWanderTargetin classWanderAroundGoal- Mappings:
Namespace Name Mixin selector named getWanderTargetLnet/minecraft/entity/ai/goal/WanderAroundGoal;getWanderTarget()Lnet/minecraft/util/math/Vec3d;intermediary method_6302Lnet/minecraft/class_1379;method_6302()Lnet/minecraft/class_243;official hLcbj;h()Lexc;
-