Commits
Flo0 authored and md_5 committed f02baa38696
429 429 | * </p> |
430 430 | * |
431 431 | * @return unmodifiable map containing which plugins have tickets for what |
432 432 | * chunks |
433 433 | * @see #addPluginChunkTicket(int, int, Plugin) |
434 434 | * @see #removePluginChunkTicket(int, int, Plugin) |
435 435 | */ |
436 436 | |
437 437 | public Map<Plugin, Collection<Chunk>> getPluginChunkTickets(); |
438 438 | |
439 + | /** |
440 + | * Gets all Chunks intersecting the given BoundingBox. |
441 + | * |
442 + | * @param box BoundingBox to check |
443 + | * @return A collection of Chunks intersecting the given BoundingBox |
444 + | */ |
445 + | |
446 + | public Collection<Chunk> getIntersectingChunks( BoundingBox box); |
447 + | |
439 448 | /** |
440 449 | * Drops an item at the specified {@link Location} |
441 450 | * |
442 451 | * @param location Location to drop the item |
443 452 | * @param item ItemStack to drop |
444 453 | * @return ItemDrop entity created as a result of this method |
445 454 | */ |
446 455 | |
447 456 | public Item dropItem( Location location, ItemStack item); |
448 457 | |