Block regen.

Discussion in 'Plugin Development' started by krists23, Sep 29, 2013.

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


    If someone knows how to regen arena after minigame ends please tell me. :)
  2. Offline


    You could either completely reset the world, hook into worldedit and use schematics, or save the arena in an array with blocks and their location and then replace the arena.
  3. Offline


    What I do is I make a template of the chunks that I want to restore. Basically I make a copy of the chunks in another location, and then when the map is destroyed, I take the old destroyed arena and copy the template over it
  4. Offline


    Can you show me it in code im new to codding :)
  5. Offline


    Store the blocks & blockstate in a HashMap, then set the blockstate to the stored one when you reset.
    Yazan likes this.
Thread Status:
Not open for further replies.

Share This Page