mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-01 19:06:41 +00:00
javadoc
This commit is contained in:
@ -381,6 +381,13 @@ public interface IBukkitAdapter {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Retrieve the list of Bukkit entities ({@link org.bukkit.entity.Entity}) in the given world. If overridden by adapters
|
||||||
|
* will attempt retrieval asynchronously.
|
||||||
|
*
|
||||||
|
* @param world world to retrieve entities in
|
||||||
|
* @return list of {@link org.bukkit.entity.Entity}
|
||||||
|
*/
|
||||||
default List<org.bukkit.entity.Entity> getEntities(org.bukkit.World world) {
|
default List<org.bukkit.entity.Entity> getEntities(org.bukkit.World world) {
|
||||||
return TaskManager.IMP.sync(world::getEntities);
|
return TaskManager.IMP.sync(world::getEntities);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user