mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-05 16:49:39 +00:00
#988: Add World#getIntersectingChunks(BoundingBox)
This commit is contained in:
parent
9321d665f5
commit
f02baa3869
1 changed files with 9 additions and 0 deletions
|
@ -436,6 +436,15 @@ public interface World extends RegionAccessor, WorldInfo, PluginMessageRecipient
|
||||||
@NotNull
|
@NotNull
|
||||||
public Map<Plugin, Collection<Chunk>> getPluginChunkTickets();
|
public Map<Plugin, Collection<Chunk>> getPluginChunkTickets();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets all Chunks intersecting the given BoundingBox.
|
||||||
|
*
|
||||||
|
* @param box BoundingBox to check
|
||||||
|
* @return A collection of Chunks intersecting the given BoundingBox
|
||||||
|
*/
|
||||||
|
@NotNull
|
||||||
|
public Collection<Chunk> getIntersectingChunks(@NotNull BoundingBox box);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Drops an item at the specified {@link Location}
|
* Drops an item at the specified {@link Location}
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Reference in a new issue