mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
javadoc
This commit is contained in:
parent
c65c72b249
commit
3c75ed7d46
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user