public class EntityAIVillagerMate extends EntityAIBase
Modifier and Type | Field and Description |
---|---|
private EntityVillager |
mate |
private int |
matingTimeout |
(package private) Village |
villageObj |
private EntityVillager |
villagerObj |
private World |
worldObj |
Constructor and Description |
---|
EntityAIVillagerMate(EntityVillager villagerIn) |
Modifier and Type | Method and Description |
---|---|
private boolean |
checkSufficientDoorsPresentForNewVillager() |
boolean |
continueExecuting()
Returns whether an in-progress EntityAIBase should continue executing
|
private void |
giveBirth() |
void |
resetTask()
Resets the task
|
boolean |
shouldExecute()
Returns whether the EntityAIBase should begin execution.
|
void |
startExecuting()
Execute a one shot task or start executing a continuous task
|
void |
updateTask()
Updates the task
|
getMutexBits, isInterruptible, setMutexBits
private EntityVillager villagerObj
private EntityVillager mate
private World worldObj
private int matingTimeout
Village villageObj
public EntityAIVillagerMate(EntityVillager villagerIn)
public boolean shouldExecute()
shouldExecute
in class EntityAIBase
public void startExecuting()
startExecuting
in class EntityAIBase
public void resetTask()
resetTask
in class EntityAIBase
public boolean continueExecuting()
continueExecuting
in class EntityAIBase
public void updateTask()
updateTask
in class EntityAIBase
private boolean checkSufficientDoorsPresentForNewVillager()
private void giveBirth()