public class EntityAIFollowOwner extends EntityAIBase
| Modifier and Type | Field and Description |
|---|---|
protected IWorldReaderBase |
world |
| Constructor and Description |
|---|
EntityAIFollowOwner(EntityTameable tameableIn,
double followSpeedIn,
float minDistIn,
float maxDistIn) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isTeleportFriendlyBlock(int x,
int z,
int y,
int xOffset,
int zOffset) |
void |
resetTask() |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
startExecuting() |
void |
tick() |
getMutexBits, isInterruptible, setMutexBitsprotected final IWorldReaderBase world
public EntityAIFollowOwner(EntityTameable tameableIn, double followSpeedIn, float minDistIn, float maxDistIn)
public boolean shouldExecute()
shouldExecute in class EntityAIBasepublic boolean shouldContinueExecuting()
shouldContinueExecuting in class EntityAIBasepublic void startExecuting()
startExecuting in class EntityAIBasepublic void resetTask()
resetTask in class EntityAIBasepublic void tick()
tick in class EntityAIBaseprotected boolean isTeleportFriendlyBlock(int x,
int z,
int y,
int xOffset,
int zOffset)