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, shouldExecutegetMutexBits, isInterruptible, setMutexBitsprivate int interactionDelay
private final EntityVillager villager
public EntityAIVillagerInteract(EntityVillager villagerIn)
public void startExecuting()
startExecuting in class EntityAIWatchClosestpublic void updateTask()
updateTask in class EntityAIWatchClosest