public class BeeEntity.MoveToHiveGoal extends BeeEntity.NotAngryGoal
Goal.Control| Modifier and Type | Field and Description |
|---|---|
private Path |
path |
private List<BlockPos> |
possibleHives |
private int |
ticks |
private int |
ticksUntilLost |
| Constructor and Description |
|---|
MoveToHiveGoal() |
| Modifier and Type | Method and Description |
|---|---|
private void |
addPossibleHive(BlockPos pos) |
boolean |
canBeeContinue() |
boolean |
canBeeStart() |
private void |
clearPossibleHives() |
private boolean |
isCloseEnough(BlockPos pos) |
private boolean |
isPossibleHive(BlockPos pos) |
private void |
makeChosenHivePossibleHive() |
private void |
setLost() |
void |
start() |
private boolean |
startMovingToFar(BlockPos pos) |
void |
stop() |
void |
tick() |
canStart, shouldContinuecanStop, getControls, setControls, toStringpublic boolean canBeeStart()
canBeeStart in class BeeEntity.NotAngryGoalpublic boolean canBeeContinue()
canBeeContinue in class BeeEntity.NotAngryGoalprivate boolean startMovingToFar(BlockPos pos)
private boolean isPossibleHive(BlockPos pos)
private void addPossibleHive(BlockPos pos)
private void clearPossibleHives()
private void makeChosenHivePossibleHive()
private void setLost()
private boolean isCloseEnough(BlockPos pos)