static class FishEntity.SwimToRandomPlaceGoal extends SwimAroundGoal
Goal.Control
Modifier and Type | Field and Description |
---|---|
private FishEntity |
fish |
chance, ignoringChance, mob, speed, targetX, targetY, targetZ
Constructor and Description |
---|
SwimToRandomPlaceGoal(FishEntity fish) |
Modifier and Type | Method and Description |
---|---|
boolean |
canStart() |
getWanderTarget
ignoreChanceOnce, setChance, shouldContinue, start, stop
canStop, getControls, setControls, tick, toString
private final FishEntity fish
public SwimToRandomPlaceGoal(FishEntity fish)
public boolean canStart()
canStart
in class WanderAroundGoal