net.minecraft.entity.ai
Class EntitySenses

java.lang.Object
  extended by net.minecraft.entity.ai.EntitySenses

public class EntitySenses
extends Object


Constructor Summary
EntitySenses(EntityLiving par1EntityLiving)
           
 
Method Summary
 boolean canSee(Entity par1Entity)
          Checks, whether 'our' entity can see the entity given as argument (true) or not (false), caching the result.
 void clearSensingCache()
          Clears canSeeCachePositive and canSeeCacheNegative.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntitySenses

public EntitySenses(EntityLiving par1EntityLiving)
Method Detail

clearSensingCache

public void clearSensingCache()
Clears canSeeCachePositive and canSeeCacheNegative.


canSee

public boolean canSee(Entity par1Entity)
Checks, whether 'our' entity can see the entity given as argument (true) or not (false), caching the result.