Uses of Interface
org.bukkit.Chunk
Packages that use 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
Constructors in io.papermc.paper.event.packet with parameters of type ChunkModifierConstructorDescriptionPlayerChunkLoadEvent(@NotNull Chunk chunk, @NotNull Player player) PlayerChunkUnloadEvent(@NotNull Chunk chunk, @NotNull Player player) -
Uses of Chunk in org.bukkit
Methods in org.bukkit that return ChunkModifier and TypeMethodDescriptionLocation.getChunk()Gets the chunk at the represented locationWorld.getChunkAt(int x, int z) Gets theChunkat 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(@NotNull Block block) World.getChunkAt(@NotNull Location location) World.getLoadedChunks()Gets an array of all loadedChunksMethods in org.bukkit that return types with arguments of type ChunkModifier and TypeMethodDescriptiondefault CompletableFuture<Chunk>World.getChunkAtAsync(int x, int z) Requests aChunkto 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 aChunkto 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 aChunkto 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 aChunkto 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 aChunkto 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 aChunkto 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 aChunkto 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 aChunkto 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 aChunkto 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 aChunkto 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 aChunkto 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.Methods in org.bukkit with parameters of type ChunkModifier and TypeMethodDescriptiondefault voidDeprecated.booleanWorld.isChunkLoaded(@NotNull Chunk chunk) Checks if the specifiedChunkis loadedvoidLoads the specifiedChunk.voidDeprecated.booleanWorld.unloadChunk(@NotNull Chunk chunk) Safely unloads and saves theChunkat the specified coordinatesMethod parameters in org.bukkit with type arguments of type ChunkModifier and TypeMethodDescriptiondefault voidWorld.getChunkAtAsync(int x, int z, boolean gen, Consumer<Chunk> cb) Requests aChunkto 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 voidWorld.getChunkAtAsync(int x, int z, Consumer<Chunk> cb) Requests aChunkto 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 voidWorld.getChunkAtAsync(@NotNull Block block, boolean gen, Consumer<Chunk> cb) default voidWorld.getChunkAtAsync(@NotNull Block block, Consumer<Chunk> cb) default voidWorld.getChunkAtAsync(@NotNull Location loc, boolean gen, Consumer<Chunk> cb) default voidWorld.getChunkAtAsync(@NotNull Location loc, Consumer<Chunk> cb) -
Uses of Chunk in org.bukkit.block
Methods in org.bukkit.block that return Chunk -
Uses of Chunk in org.bukkit.entity
Methods in org.bukkit.entity that return Chunk -
Uses of Chunk in org.bukkit.event.world
Fields in org.bukkit.event.world declared as ChunkMethods in org.bukkit.event.world that return ChunkConstructors in org.bukkit.event.world with parameters of type ChunkModifierConstructorDescriptionprotectedChunkEvent(@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
Methods in org.bukkit.generator with parameters of type Chunk
BlockPopulator.populate(WorldInfo, Random, int, int, LimitedRegion)