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, setMutexBits
private 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 EntityAIBase
public void startExecuting()
startExecuting
in class EntityAIBase
public void resetTask()
resetTask
in class EntityAIBase
public boolean shouldContinueExecuting()
shouldContinueExecuting
in class EntityAIBase
public void updateTask()
updateTask
in class EntityAIBase
private boolean checkSufficientDoorsPresentForNewVillager()
private void giveBirth()