Get all loaded blocks in a world

Discussion in 'Plugin Development' started by MCMastery, Jul 20, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    MCMastery

    Is there a way I could get all the blocks in a world/chunk?
     
  2. Offline

    Zettelkasten

    MCMastery You can get all loaded chunks using World.getLoadedChunks(). If a chunk is loaded, all blocks in it are loaded. There are only unloaded chunks (no blocks loaded) and loaded chunks (all blocks loaded).
     
  3. Offline

    MCMastery

    Yes I know but how do I get the blocks in the chunk
     
  4. Offline

    JonnyAxehandle

    Are you trying to get the blocks as a collection?
     
  5. Offline

    Quackster

Thread Status:
Not open for further replies.

Share This Page