public class EntityAIFollowOwner extends EntityAIBase
Constructor and Description |
---|
EntityAIFollowOwner(EntityTameable tameableIn,
double followSpeedIn,
float minDistIn,
float maxDistIn) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isTeleportFriendlyBlock(int x,
int p_192381_2_,
int y,
int p_192381_4_,
int p_192381_5_) |
void |
resetTask() |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
startExecuting() |
void |
updateTask() |
getMutexBits, isInterruptible, setMutexBits
public EntityAIFollowOwner(EntityTameable tameableIn, double followSpeedIn, float minDistIn, float maxDistIn)
public boolean shouldExecute()
shouldExecute
in class EntityAIBase
public boolean shouldContinueExecuting()
shouldContinueExecuting
in class EntityAIBase
public void startExecuting()
startExecuting
in class EntityAIBase
public void resetTask()
resetTask
in class EntityAIBase
public void updateTask()
updateTask
in class EntityAIBase
protected boolean isTeleportFriendlyBlock(int x, int p_192381_2_, int y, int p_192381_4_, int p_192381_5_)