{"action":"created","issue":{"url":"https://api.github.com/repos/SlimeKnights/TinkersConstruct/issues/2315","repository_url":"https://api.github.com/repos/SlimeKnights/TinkersConstruct","labels_url":"https://api.github.com/repos/SlimeKnights/TinkersConstruct/issues/2315/labels{/name}","comments_url":"https://api.github.com/repos/SlimeKnights/TinkersConstruct/issues/2315/comments","events_url":"https://api.github.com/repos/SlimeKnights/TinkersConstruct/issues/2315/events","html_url":"https://github.com/SlimeKnights/TinkersConstruct/issues/2315","id":171001617,"number":2315,"title":"Compatibility with structure blocks","user":{"login":"Lythom","id":722132,"avatar_url":"https://avatars.githubusercontent.com/u/722132?v=3","gravatar_id":"","url":"https://api.github.com/users/Lythom","html_url":"https://github.com/Lythom","followers_url":"https://api.github.com/users/Lythom/followers","following_url":"https://api.github.com/users/Lythom/following{/other_user}","gists_url":"https://api.github.com/users/Lythom/gists{/gist_id}","starred_url":"https://api.github.com/users/Lythom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lythom/subscriptions","organizations_url":"https://api.github.com/users/Lythom/orgs","repos_url":"https://api.github.com/users/Lythom/repos","events_url":"https://api.github.com/users/Lythom/events{/privacy}","received_events_url":"https://api.github.com/users/Lythom/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-13T09:38:41Z","updated_at":"2016-08-13T10:01:21Z","closed_at":null,"body":"Hi,\r\n\r\nUsing minecraft 1.10.2 and TConstruct 1.10-2.3.3a, I got the game to crash when spawning a smeltery using structure blocks.\r\n\r\nsteps to reproduce :\r\n\r\n1. Place a structure block named \"smeltery\" in save mode, configured with -1 1 -1 as relative position, and 3 3 3 as size.\r\n2. build a minimal 3x3x2 smeltry on top of it\r\n3. Use the save button on the structure block\r\n4. Place another structureblock elsewhere in \"load\" mode named \"smeltery\". Click \"load\".\r\n\r\nWhen the structure appears, on first next tick, the game crash and the following stacktrace appears in logs : http://pastebin.com/sQWTupyj. On reboot, the game doesn't crash anymore but the smeltery is \"broken\" (nothing works).\r\n\r\nReasons why you might consider compatibility with structure block :\r\n\r\n- It's a vanilla mechanic builders and map makers might use to build their worlds / maps.\r\n- It grants automatic compatibility with the 1.10.2+ versions of the [Capsule mod](http://imgur.com/gallery/xCWCX) (which relies on the structure block system).\r\n\r\nAdditional informations :\r\n\r\n- I developped some tools to inspect tiles entities (it print a \"give\" command that would spawn a conform copy). I got a comparison between the initial and loaded smeltry : http://pastebin.com/raw/hQaZtPeQ. I highlight that most but not all coordinates are updated correctly after move : all {x,y,z,minPos,maxPos} looks ok, but all {xCenter, yCenter, zCenter} are wrong.\r\n- With some instructions on how the problem should be solved (use relative coordinate ? recalculate smeltry integrity on load ?) I can come with some PR. I don't know much the codebase so any info that could help me take that try is welcome !"},"comment":{"url":"https://api.github.com/repos/SlimeKnights/TinkersConstruct/issues/comments/239613260","html_url":"https://github.com/SlimeKnights/TinkersConstruct/issues/2315#issuecomment-239613260","issue_url":"https://api.github.com/repos/SlimeKnights/TinkersConstruct/issues/2315","id":239613260,"user":{"login":"Lythom","id":722132,"avatar_url":"https://avatars.githubusercontent.com/u/722132?v=3","gravatar_id":"","url":"https://api.github.com/users/Lythom","html_url":"https://github.com/Lythom","followers_url":"https://api.github.com/users/Lythom/followers","following_url":"https://api.github.com/users/Lythom/following{/other_user}","gists_url":"https://api.github.com/users/Lythom/gists{/gist_id}","starred_url":"https://api.github.com/users/Lythom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lythom/subscriptions","organizations_url":"https://api.github.com/users/Lythom/orgs","repos_url":"https://api.github.com/users/Lythom/repos","events_url":"https://api.github.com/users/Lythom/events{/privacy}","received_events_url":"https://api.github.com/users/Lythom/received_events","type":"User","site_admin":false},"created_at":"2016-08-13T10:01:21Z","updated_at":"2016-08-13T10:01:21Z","body":"Yes, this is reproductible as well with TConstruct-1.10.2-2.4.0.jenkins312.jar (+ Mantle-1.10.2-0.10.4.jar)"}}
{"actor":{"display_login":"Lythom"}}