public class EntityManager extends Object implements org.bukkit.event.Listener
Constructor and Description |
---|
EntityManager() |
Modifier and Type | Method and Description |
---|---|
List<AbstractEntity> |
getLivingEntities(AbstractWorld world) |
Collection<AbstractPlayer> |
getPlayers() |
List<AbstractPlayer> |
getPlayers(AbstractWorld world) |
Set<AbstractPlayer> |
getPlayersInRangeSq(AbstractLocation location,
int rangeSq) |
void |
refreshCaches() |
void |
registerMob(AbstractWorld world,
AbstractEntity entity) |
public void refreshCaches()
public List<AbstractEntity> getLivingEntities(AbstractWorld world)
public Collection<AbstractPlayer> getPlayers()
public List<AbstractPlayer> getPlayers(AbstractWorld world)
public void registerMob(AbstractWorld world, AbstractEntity entity)
public Set<AbstractPlayer> getPlayersInRangeSq(AbstractLocation location, int rangeSq)
Copyright © 2020. All rights reserved.