public class EntityAIVillagerMate extends EntityAIBase
| Modifier and Type | Field and Description |
|---|---|
private EntityVillager |
mate |
private int |
matingTimeout |
(package private) Village |
village |
private EntityVillager |
villager |
private World |
world |
| Constructor and Description |
|---|
EntityAIVillagerMate(EntityVillager villagerIn) |
| Modifier and Type | Method and Description |
|---|---|
private boolean |
checkSufficientDoorsPresentForNewVillager() |
private void |
giveBirth() |
void |
resetTask() |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
startExecuting() |
void |
updateTask() |
getMutexBits, isInterruptible, setMutexBitsprivate final EntityVillager villager
private EntityVillager mate
private final World world
private int matingTimeout
Village village
public EntityAIVillagerMate(EntityVillager villagerIn)
public boolean shouldExecute()
shouldExecute in class EntityAIBasepublic void startExecuting()
startExecuting in class EntityAIBasepublic void resetTask()
resetTask in class EntityAIBasepublic boolean shouldContinueExecuting()
shouldContinueExecuting in class EntityAIBasepublic void updateTask()
updateTask in class EntityAIBaseprivate boolean checkSufficientDoorsPresentForNewVillager()
private void giveBirth()