Get blocks from unloaded chunks

Discussion in 'Plugin Development' started by Moon_werewolf, Jan 7, 2013.

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

    Moon_werewolf

    I have some questions about getting block. My current plugin require to get block that can be many block away from nearest players, and there for aren't loaded.

    I have used getBlockTypeIdAt but that doesn't seam to get the unloaded blocks. Should I use getBlockAt or use loadChunk to load the chunk and then get the blocks? and in that case, when will the chunk be unloaded again?
     
  2. Offline

    fireblast709

    getBlockAt() uses the minecraft chunk, so I assume it would load the chunk for you
     
Thread Status:
Not open for further replies.

Share This Page