public class EntitySenses
extends java.lang.Object
Constructor and Description |
---|
EntitySenses(EntityLiving entityObjIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
canSee(Entity entityIn)
Checks, whether 'our' entity can see the entity given as argument (true) or not (false), caching the result.
|
void |
clearSensingCache()
Clears canSeeCachePositive and canSeeCacheNegative.
|
public EntitySenses(EntityLiving entityObjIn)
public void clearSensingCache()
public boolean canSee(Entity entityIn)