public class BeeEntity.FindBeehiveGoal extends BeeEntity.PassiveGoal
Modifier and Type | Field and Description |
---|---|
private Path |
path |
private java.util.List<BlockPos> |
possibleHives |
private int |
ticks |
Constructor and Description |
---|
FindBeehiveGoal() |
Modifier and Type | Method and Description |
---|---|
private void |
addPossibleHives(BlockPos pos) |
boolean |
canBeeContinue() |
boolean |
canBeeStart() |
private void |
clearPossibleHives() |
private boolean |
isCloseEnough(BlockPos pos) |
private boolean |
isPossibleHive(BlockPos pos) |
private void |
makeChosenHivePossibleHive() |
private void |
reset() |
void |
resetTask() |
void |
startExecuting() |
private boolean |
startMovingToFar(BlockPos pos) |
void |
tick() |
shouldContinueExecuting, shouldExecute
getMutexFlags, isPreemptible, setMutexFlags, toString
private int ticks
private java.util.List<BlockPos> possibleHives
@Nullable private Path path
public boolean canBeeStart()
canBeeStart
in class BeeEntity.PassiveGoal
public boolean canBeeContinue()
canBeeContinue
in class BeeEntity.PassiveGoal
public void startExecuting()
startExecuting
in class Goal
private boolean startMovingToFar(BlockPos pos)
private boolean isPossibleHive(BlockPos pos)
private void addPossibleHives(BlockPos pos)
private void clearPossibleHives()
private void makeChosenHivePossibleHive()
private void reset()
private boolean isCloseEnough(BlockPos pos)