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 official bng
intermediary net/minecraft/class_4291
named net/minecraft/entity/ai/goal/WanderAroundPointOfInterestGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
Fields inherited from class net.minecraft.entity.ai.goal.WanderAroundGoal
chance, DEFAULT_CHANCE, ignoringChance, mob, speed, targetX, targetY, targetZ
-
Constructor Summary
ConstructorDescriptionWanderAroundPointOfInterestGoal
(PathAwareEntity entity, double speed, boolean canDespawn) -
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.WanderAroundGoal
ignoreChanceOnce, setChance, shouldContinue, start, stop
Methods 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 official i
Lbng;i:I
intermediary field_30219
Lnet/minecraft/class_4291;field_30219:I
named HORIZONTAL_RANGE
Lnet/minecraft/entity/ai/goal/WanderAroundPointOfInterestGoal;HORIZONTAL_RANGE:I
-
VERTICAL_RANGE
private static final int VERTICAL_RANGE- See Also:
- Mappings:
Namespace Name Mixin selector official j
Lbng;j:I
intermediary field_30220
Lnet/minecraft/class_4291;field_30220:I
named VERTICAL_RANGE
Lnet/minecraft/entity/ai/goal/WanderAroundPointOfInterestGoal;VERTICAL_RANGE:I
-
-
Constructor Details
-
WanderAroundPointOfInterestGoal
- Mappings:
Namespace Name Mixin selector official <init>
Lbng;<init>(Lbgi;DZ)V
intermediary <init>
Lnet/minecraft/class_4291;<init>(Lnet/minecraft/class_1314;DZ)V
named <init>
Lnet/minecraft/entity/ai/goal/WanderAroundPointOfInterestGoal;<init>(Lnet/minecraft/entity/mob/PathAwareEntity;DZ)V
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStart
in classWanderAroundGoal
- Mappings:
Namespace Name Mixin selector official a
Lbmv;a()Z
intermediary method_6264
Lnet/minecraft/class_1352;method_6264()Z
named canStart
Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
-
getWanderTarget
- Overrides:
getWanderTarget
in classWanderAroundGoal
- 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;
-