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
public class WanderAroundPointOfInterestGoal extends WanderAroundGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control -
Field Summary
Fields inherited from class net.minecraft.entity.ai.goal.WanderAroundGoal
chance, ignoringChance, mob, speed, targetX, targetY, targetZ -
Constructor Summary
Constructors Constructor Description WanderAroundPointOfInterestGoal(PathAwareEntity pathAwareEntity, double double2, boolean bool) -
Method Summary
Modifier and Type Method Description booleancanStart()protected Vec3dgetWanderTarget()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, setControls, tick, toString
-
Constructor Details
-
WanderAroundPointOfInterestGoal
public WanderAroundPointOfInterestGoal(PathAwareEntity pathAwareEntity, double double2, boolean bool)
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStartin classWanderAroundGoal
-
getWanderTarget
- Overrides:
getWanderTargetin classWanderAroundGoal
-