public class EntityAIFollowGolem extends EntityAIBase
Modifier and Type | Field and Description |
---|---|
private EntityIronGolem |
ironGolem |
private int |
takeGolemRoseTick |
private boolean |
tookGolemRose |
private EntityVillager |
villager |
Constructor and Description |
---|
EntityAIFollowGolem(EntityVillager villagerIn) |
Modifier and Type | Method and Description |
---|---|
void |
resetTask() |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
startExecuting() |
void |
updateTask() |
getMutexBits, isInterruptible, setMutexBits
private final EntityVillager villager
private EntityIronGolem ironGolem
private int takeGolemRoseTick
private boolean tookGolemRose
public EntityAIFollowGolem(EntityVillager villagerIn)
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