mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-08 16:12:18 -07:00
#988: Add World#getIntersectingChunks(BoundingBox)
By: Flo0 <flo.roma@web.de>
This commit is contained in:
@@ -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}
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user