{"action":"created","issue":{"url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/1142","repository_url":"https://api.github.com/repos/SpongePowered/SpongeAPI","labels_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/1142/labels{/name}","comments_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/1142/comments","events_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/1142/events","html_url":"https://github.com/SpongePowered/SpongeAPI/issues/1142","id":140773856,"number":1142,"title":"Support for serializing sections of the world to disk","user":{"login":"Deamon5550","id":1249030,"avatar_url":"https://avatars.githubusercontent.com/u/1249030?v=3","gravatar_id":"","url":"https://api.github.com/users/Deamon5550","html_url":"https://github.com/Deamon5550","followers_url":"https://api.github.com/users/Deamon5550/followers","following_url":"https://api.github.com/users/Deamon5550/following{/other_user}","gists_url":"https://api.github.com/users/Deamon5550/gists{/gist_id}","starred_url":"https://api.github.com/users/Deamon5550/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deamon5550/subscriptions","organizations_url":"https://api.github.com/users/Deamon5550/orgs","repos_url":"https://api.github.com/users/Deamon5550/repos","events_url":"https://api.github.com/users/Deamon5550/events{/privacy}","received_events_url":"https://api.github.com/users/Deamon5550/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SpongePowered/SpongeAPI/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/SpongePowered/SpongeAPI/labels/input%20wanted","name":"input wanted","color":"fbca04"},{"url":"https://api.github.com/repos/SpongePowered/SpongeAPI/labels/world","name":"world","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"Deamon5550","id":1249030,"avatar_url":"https://avatars.githubusercontent.com/u/1249030?v=3","gravatar_id":"","url":"https://api.github.com/users/Deamon5550","html_url":"https://github.com/Deamon5550","followers_url":"https://api.github.com/users/Deamon5550/followers","following_url":"https://api.github.com/users/Deamon5550/following{/other_user}","gists_url":"https://api.github.com/users/Deamon5550/gists{/gist_id}","starred_url":"https://api.github.com/users/Deamon5550/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deamon5550/subscriptions","organizations_url":"https://api.github.com/users/Deamon5550/orgs","repos_url":"https://api.github.com/users/Deamon5550/repos","events_url":"https://api.github.com/users/Deamon5550/events{/privacy}","received_events_url":"https://api.github.com/users/Deamon5550/received_events","type":"User","site_admin":false},"milestone":null,"comments":19,"created_at":"2016-03-14T19:24:40Z","updated_at":"2016-03-23T01:40:40Z","closed_at":null,"body":"We would like to add support for serializing sections of the world to disk. This issue is to gather comments on the layout of the data.\r\n\r\nThis is a mockup of the updated variant of the MCEdit scheamtic format, this variant would not be backwards compatible. The key changes here are the inclusion of a version tag to assist with future content updates and the inclusion of an id palette to both increase compression and allow a much larger range of block states. The format of the block state palette is mostly inspired from the 1.9 chunk data protocol.\r\n\r\nThe format is mocked out here in json although the preferred serialization format for this data would be NBT.\r\n\r\n``` json\r\n\"Schematic\": {\r\n    \"Metadata\": {\r\n        \"Name\": \"my_schematic\",\r\n        \"Author\": \"Deamon\",\r\n        \"RequiredMods\":[\r\n            \"a_mod\",\r\n            \"another_mod\"\r\n        ],\r\n        ...\r\n    },\r\n    \"Version\": 1,\r\n    \"Width\": 1,\r\n    \"Height\": 1,\r\n    \"Length\": 1,\r\n    \"Offset\": [0, 0, 0],\r\n    \"PaletteLength\": 1,\r\n    \"Palette\": {\r\n        \"minecraft:air\": 0\r\n    },\r\n    \"BlockData\":[0],\r\n    \"TileEntities\":[\r\n        {\r\n            \"ContentVersion\": 0,\r\n            \"x\": 0,\r\n            \"y\": 0,\r\n            \"z\":0,\r\n            ...\r\n        }\r\n    ],\r\n    \"Entities\":[\r\n        {\r\n            \"ContentVersion\": 0,\r\n            \"x\": 0,\r\n            \"y\": 0,\r\n            \"z\":0,\r\n            ...\r\n        }\r\n    ]\r\n}\r\n```\r\n\r\n##### A more indepth description can be found in the [draft of the specification](https://github.com/SpongePowered/Schematic-Specification/blob/master/versions/schematic-1.md)\r\n\r\n### Usage\r\nUsage of this format within sponge depends on #1137 and would likely consist of a Builder pattern of some sort."},"comment":{"url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/comments/200120527","html_url":"https://github.com/SpongePowered/SpongeAPI/issues/1142#issuecomment-200120527","issue_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/1142","id":200120527,"user":{"login":"skinny121","id":7391596,"avatar_url":"https://avatars.githubusercontent.com/u/7391596?v=3","gravatar_id":"","url":"https://api.github.com/users/skinny121","html_url":"https://github.com/skinny121","followers_url":"https://api.github.com/users/skinny121/followers","following_url":"https://api.github.com/users/skinny121/following{/other_user}","gists_url":"https://api.github.com/users/skinny121/gists{/gist_id}","starred_url":"https://api.github.com/users/skinny121/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skinny121/subscriptions","organizations_url":"https://api.github.com/users/skinny121/orgs","repos_url":"https://api.github.com/users/skinny121/repos","events_url":"https://api.github.com/users/skinny121/events{/privacy}","received_events_url":"https://api.github.com/users/skinny121/received_events","type":"User","site_admin":false},"created_at":"2016-03-23T01:40:40Z","updated_at":"2016-03-23T01:40:40Z","body":"Khroki/MCEdit-Unified#341 is the MCEdit feature request about a schematic format that support block names."}}