World world = Minecraft.getInstance().world; Chunk chunk = world.getChunkFromBlockCoords(50, 0, -50);
ServerWorld world = MinecraftServer.getServer().func_241755_D_(); Chunk chunk = world.getChunkFromBlockCoords(-100, 0, 100);This code retrieves the Chunk object at the block coordinates (-100, 0, 100) in the server world. Both examples use the getChunkFromBlockCoords method to retrieve the Chunk object at specific block coordinates.