public class EntityAIVillagerInteract extends EntityAIWatchClosest2
closestEntity, entity, maxDistanceForPlayer, watchedClass| Constructor and Description |
|---|
EntityAIVillagerInteract(EntityVillager villagerIn) |
| Modifier and Type | Method and Description |
|---|---|
void |
startExecuting()
Execute a one shot task or start executing a continuous task
|
void |
updateTask()
Keep ticking a continuous task that has already been started
|
resetTask, shouldContinueExecuting, shouldExecutegetMutexBits, isInterruptible, setMutexBitspublic EntityAIVillagerInteract(EntityVillager villagerIn)
public void startExecuting()
startExecuting in class EntityAIWatchClosestpublic void updateTask()
updateTask in class EntityAIWatchClosest