Uses of Interface
org.bukkit.Chunk
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Classes used to manipulate the voxels in a
world
,
including special states.Interfaces for non-voxel objects that can exist in a
world
, including all players, monsters, projectiles, etc.Classes to facilitate
world
generation
implementation.-
Uses of Chunk in io.papermc.paper.event.packet
ModifierConstructorDescriptionPlayerChunkLoadEvent
(@NotNull Chunk chunk, @NotNull Player player) PlayerChunkUnloadEvent
(@NotNull Chunk chunk, @NotNull Player player) -
Uses of Chunk in org.bukkit
Modifier and TypeMethodDescriptionLocation.getChunk()
Gets the chunk at the represented locationWorld.getChunkAt
(int x, int z) Gets theChunk
at the given coordinatesWorld.getChunkAt
(int x, int z, boolean generate) Gets theChunk
at the given coordinatesWorld.getChunkAt
(long chunkKey) Gets the chunk at the specified chunk key, which is the X and Z packed into a long.World.getChunkAt
(long chunkKey, boolean generate) Gets the chunk at the specified chunk key, which is the X and Z packed into a long.World.getChunkAt
(@NotNull Block block) World.getChunkAt
(@NotNull Location location) World.getLoadedChunks()
Gets an array of all loadedChunk
sModifier and TypeMethodDescriptiondefault CompletableFuture<Chunk>
World.getChunkAtAsync
(int x, int z) Requests aChunk
to be loaded at the given coordinates This method makes no guarantee on how fast the chunk will load, and will return the chunk to the callback at a later time.default CompletableFuture<Chunk>
World.getChunkAtAsync
(int x, int z, boolean gen) Requests aChunk
to be loaded at the given coordinates This method makes no guarantee on how fast the chunk will load, and will return the chunk to the callback at a later time.World.getChunkAtAsync
(int x, int z, boolean gen, boolean urgent) default CompletableFuture<Chunk>
World.getChunkAtAsync
(@NotNull Block block) Requests aChunk
to be loaded at the given coordinates This method makes no guarantee on how fast the chunk will load, and will return the chunk to the callback at a later time.default CompletableFuture<Chunk>
World.getChunkAtAsync
(@NotNull Block block, boolean gen) Requests aChunk
to be loaded at the given coordinates This method makes no guarantee on how fast the chunk will load, and will return the chunk to the callback at a later time.default CompletableFuture<Chunk>
World.getChunkAtAsync
(@NotNull Location loc) Requests aChunk
to be loaded at the given coordinates This method makes no guarantee on how fast the chunk will load, and will return the chunk to the callback at a later time.default CompletableFuture<Chunk>
World.getChunkAtAsync
(@NotNull Location loc, boolean gen) Requests aChunk
to be loaded at the given coordinates This method makes no guarantee on how fast the chunk will load, and will return the chunk to the callback at a later time.default CompletableFuture<Chunk>
World.getChunkAtAsyncUrgently
(int x, int z) Requests aChunk
to be loaded at the given coordinates This method makes no guarantee on how fast the chunk will load, and will return the chunk to the callback at a later time.default CompletableFuture<Chunk>
World.getChunkAtAsyncUrgently
(@NotNull Block block) Requests aChunk
to be loaded at the given coordinates This method makes no guarantee on how fast the chunk will load, and will return the chunk to the callback at a later time.default CompletableFuture<Chunk>
World.getChunkAtAsyncUrgently
(@NotNull Block block, boolean gen) Requests aChunk
to be loaded at the given coordinates This method makes no guarantee on how fast the chunk will load, and will return the chunk to the callback at a later time.default CompletableFuture<Chunk>
World.getChunkAtAsyncUrgently
(@NotNull Location loc) Requests aChunk
to be loaded at the given coordinates This method makes no guarantee on how fast the chunk will load, and will return the chunk to the callback at a later time.default CompletableFuture<Chunk>
World.getChunkAtAsyncUrgently
(@NotNull Location loc, boolean gen) Requests aChunk
to be loaded at the given coordinates This method makes no guarantee on how fast the chunk will load, and will return the chunk to the callback at a later time.World.getForceLoadedChunks()
Returns all force loaded chunks in this world.World.getPluginChunkTickets()
Returns a map of which plugins have tickets for what chunks.Modifier and TypeMethodDescriptiondefault void
Deprecated.boolean
World.isChunkLoaded
(@NotNull Chunk chunk) Checks if the specifiedChunk
is loadedvoid
Loads the specifiedChunk
.void
Deprecated.boolean
World.unloadChunk
(@NotNull Chunk chunk) Safely unloads and saves theChunk
at the specified coordinatesModifier and TypeMethodDescriptiondefault void
World.getChunkAtAsync
(int x, int z, boolean gen, @NotNull Consumer<? super Chunk> cb) Requests aChunk
to be loaded at the given coordinates This method makes no guarantee on how fast the chunk will load, and will return the chunk to the callback at a later time.default void
World.getChunkAtAsync
(int x, int z, @NotNull Consumer<? super Chunk> cb) Requests aChunk
to be loaded at the given coordinates This method makes no guarantee on how fast the chunk will load, and will return the chunk to the callback at a later time.default void
default void
default void
default void
-
Uses of Chunk in org.bukkit.block
-
Uses of Chunk in org.bukkit.entity
-
Uses of Chunk in org.bukkit.event.world
ModifierConstructorDescriptionprotected
ChunkEvent
(@NotNull Chunk chunk) ChunkLoadEvent
(@NotNull Chunk chunk, boolean newChunk) ChunkPopulateEvent
(@NotNull Chunk chunk) ChunkUnloadEvent
(@NotNull Chunk chunk) ChunkUnloadEvent
(@NotNull Chunk chunk, boolean save) -
Uses of Chunk in org.bukkit.generator
BlockPopulator.populate(WorldInfo, Random, int, int, LimitedRegion)