Package net.minecraft.entity.ai.goal
Class WanderAroundFarGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.WanderAroundGoal
net.minecraft.entity.ai.goal.WanderAroundFarGoal
- Direct Known Subclasses:
FlyOntoTreeGoal
public class WanderAroundFarGoal extends WanderAroundGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Fields Modifier and Type Field Description protected float
probability
Fields inherited from class net.minecraft.entity.ai.goal.WanderAroundGoal
chance, ignoringChance, mob, speed, targetX, targetY, targetZ
-
Constructor Summary
Constructors Constructor Description WanderAroundFarGoal(PathAwareEntity mob, double speed)
WanderAroundFarGoal(PathAwareEntity mob, double speed, float probability)
-
Method Summary
Modifier and Type Method Description protected Vec3d
getWanderTarget()
Methods inherited from class net.minecraft.entity.ai.goal.WanderAroundGoal
canStart, ignoreChanceOnce, setChance, shouldContinue, start, stop
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, tick, toString
-
Field Details
-
probability
protected final float probability
-
-
Constructor Details
-
WanderAroundFarGoal
-
WanderAroundFarGoal
-
-
Method Details
-
getWanderTarget
- Overrides:
getWanderTarget
in classWanderAroundGoal
-