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