public class EntitySenses
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private MobEntity |
entity |
private java.util.List<Entity> |
seenEntities |
private java.util.List<Entity> |
unseenEntities |
Constructor and Description |
---|
EntitySenses(MobEntity entityIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
canSee(Entity entityIn) |
void |
tick() |
private final MobEntity entity
private final java.util.List<Entity> seenEntities
private final java.util.List<Entity> unseenEntities
public EntitySenses(MobEntity entityIn)
public void tick()
public boolean canSee(Entity entityIn)