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, updateTask
getMutexBits, isInterruptible, setMutexBits
private final EntityVillager villager
public EntityAILookAtTradePlayer(EntityVillager villagerIn)
public boolean shouldExecute()
shouldExecute
in class EntityAIWatchClosest