static class RabbitEntity.RaidFarmGoal extends MoveToBlockGoal
Modifier and Type | Field and Description |
---|---|
private boolean |
canRaid |
private RabbitEntity |
rabbit |
private boolean |
wantsToRaid |
creature, destinationBlock, field_203112_e, movementSpeed, runDelay, timeoutCounter
Constructor and Description |
---|
RaidFarmGoal(RabbitEntity rabbitIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
protected boolean |
shouldMoveTo(IWorldReader worldIn,
BlockPos pos) |
void |
tick() |
func_220725_g, getIsAboveDestination, getRunDelay, getTargetDistanceSq, searchForDestination, shouldMove, startExecuting
getMutexFlags, isPreemptible, resetTask, setMutexFlags, toString
private final RabbitEntity rabbit
private boolean wantsToRaid
private boolean canRaid
public RaidFarmGoal(RabbitEntity rabbitIn)
public boolean shouldExecute()
shouldExecute
in class MoveToBlockGoal
public boolean shouldContinueExecuting()
shouldContinueExecuting
in class MoveToBlockGoal
public void tick()
tick
in class MoveToBlockGoal
protected boolean shouldMoveTo(IWorldReader worldIn, BlockPos pos)
shouldMoveTo
in class MoveToBlockGoal