NPException / Dimensional-Pockets

GNU Lesser General Public License v3.0
8 stars 4 forks source link

[Feature] Premade Pocket rooms #92

Closed NPException closed 7 years ago

NPException commented 9 years ago

Make a command that stores the current Pocket room content in a json file.

the json can later be used to generate pre-made pockets.

EDIT: keep #62 in mind when doing this

davenonymous commented 9 years ago

I wanted to do something similiar but utilize the already existing schematic file format. E.g. https://github.com/Lunatrius/Schematica

NPException commented 9 years ago

well, the more I think about it, I will probably use neither json nor Schematica

since this is not really intended to be edited by hand anyway, I will probably use a simple self invented file format.

I thought something like this:

  1. scan each block line by line, layer by layer.
  2. check the block/tile and grab all the data about it (id, meta, nbt)
  3. assign an ID to that specific combination of data and store it in a map
  4. write ID into file
  5. append map with ID:data to file

so to read it in, I just read the file back out and I'm good

NPException commented 7 years ago

I'm officially stopping development for Dimensional Pockets.

I think I'm scrapping this feature for good. This feature also won't be considered for Dimensional Pockets 2. (At least for now)