Saving Blocks

Discussion in 'Plugin Development' started by theY4Kman, May 11, 2011.

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

    theY4Kman

    I'm creating a plug-in that clears an area of space for a game arena. I'd like to save all the blocks I cleared for the arena, so that my changes can be reverted.

    If there's no previous novel method for that, what information do I need to gather to fully record the state of a block? Would I only need the MaterialData and Type-ID?
     
  2. Offline

    Daniel Heppner

    Be sure to get the damage value in case it's colored wool. (or is the type the damage?) And of course the location.
     
  3. Offline

    Deathly

    Material, MaterialData & Location

    @theY4Kman
     
  4. Offline

    Shamebot

    If you're going to remove chests or other ContainerBlocks you'd need to save their content too, for signs you'd need to save the text, for CreatureSpawners you'd need to save their creature type.
     
Thread Status:
Not open for further replies.

Share This Page