mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 16:19:03 +01:00
#988: Add World#getIntersectingChunks(BoundingBox)
By: Flo0 <flo.roma@web.de>
This commit is contained in:
parent
97876f3d25
commit
1f1ef375be
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…
Reference in a new issue