public class EntityAIVillagerInteract extends EntityAIWatchClosest2
Modifier and Type | Field and Description |
---|---|
private int |
interactionDelay |
private EntityVillager |
villager |
closestEntity, entity, maxDistanceForPlayer, watchedClass
Constructor and Description |
---|
EntityAIVillagerInteract(EntityVillager villagerIn) |
Modifier and Type | Method and Description |
---|---|
void |
startExecuting() |
void |
updateTask() |
resetTask, shouldContinueExecuting, shouldExecute
getMutexBits, isInterruptible, setMutexBits
private int interactionDelay
private final EntityVillager villager
public EntityAIVillagerInteract(EntityVillager villagerIn)
public void startExecuting()
startExecuting
in class EntityAIWatchClosest
public void updateTask()
updateTask
in class EntityAIWatchClosest