public class EntityAILookAtTradePlayer extends EntityAIWatchClosest
| Modifier and Type | Field and Description |
|---|---|
private EntityVillager |
theMerchant |
closestEntity, maxDistanceForPlayer, theWatcher, watchedClass| Constructor and Description |
|---|
EntityAILookAtTradePlayer(EntityVillager theMerchantIn) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldExecute()
Returns whether the EntityAIBase should begin execution.
|
continueExecuting, resetTask, startExecuting, updateTaskgetMutexBits, isInterruptible, setMutexBitsprivate final EntityVillager theMerchant
public EntityAILookAtTradePlayer(EntityVillager theMerchantIn)
public boolean shouldExecute()
shouldExecute in class EntityAIWatchClosest