Posted June 5, 20205 yr How can I get chunk from loaded world? Edited June 5, 20205 yr by foreverstranded
June 5, 20205 yr Before asking questions, please do some searching of your own: most things can be found in the sources or in guides/tutorials. See World#getChunkAt(BlockPos) to get the chunk for a specific position. World#getChunk(int, int) takes the two int values as coordinates for a chunk, not x and y positions for a block ([0,0] is the chunk encompassing [0,y,0] to [15,y,15]).
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.