public class EntityAILookAtTradePlayer extends EntityAIWatchClosest
| Modifier and Type | Field and Description |
|---|---|
private EntityVillager |
villager |
closestEntity, entity, maxDistanceForPlayer, watchedClass| Constructor and Description |
|---|
EntityAILookAtTradePlayer(EntityVillager villagerIn) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldExecute() |
resetTask, shouldContinueExecuting, startExecuting, updateTaskgetMutexBits, isInterruptible, setMutexBitsprivate final EntityVillager villager
public EntityAILookAtTradePlayer(EntityVillager villagerIn)
public boolean shouldExecute()
shouldExecute in class EntityAIWatchClosest