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, startExecutinggetMutexFlags, isPreemptible, resetTask, setMutexFlags, toStringprivate final RabbitEntity rabbit
private boolean wantsToRaid
private boolean canRaid
public RaidFarmGoal(RabbitEntity rabbitIn)
public boolean shouldExecute()
shouldExecute in class MoveToBlockGoalpublic boolean shouldContinueExecuting()
shouldContinueExecuting in class MoveToBlockGoalpublic void tick()
tick in class MoveToBlockGoalprotected boolean shouldMoveTo(IWorldReader worldIn, BlockPos pos)
shouldMoveTo in class MoveToBlockGoal