{"action":"created","issue":{"url":"https://api.github.com/repos/Mithion/ArsMagica2/issues/1280","labels_url":"https://api.github.com/repos/Mithion/ArsMagica2/issues/1280/labels{/name}","comments_url":"https://api.github.com/repos/Mithion/ArsMagica2/issues/1280/comments","events_url":"https://api.github.com/repos/Mithion/ArsMagica2/issues/1280/events","html_url":"https://github.com/Mithion/ArsMagica2/issues/1280","id":107806285,"number":1280,"title":"API for mana network","user":{"login":"LemADEC","id":4776032,"avatar_url":"https://avatars.githubusercontent.com/u/4776032?v=3","gravatar_id":"","url":"https://api.github.com/users/LemADEC","html_url":"https://github.com/LemADEC","followers_url":"https://api.github.com/users/LemADEC/followers","following_url":"https://api.github.com/users/LemADEC/following{/other_user}","gists_url":"https://api.github.com/users/LemADEC/gists{/gist_id}","starred_url":"https://api.github.com/users/LemADEC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LemADEC/subscriptions","organizations_url":"https://api.github.com/users/LemADEC/orgs","repos_url":"https://api.github.com/users/LemADEC/repos","events_url":"https://api.github.com/users/LemADEC/events{/privacy}","received_events_url":"https://api.github.com/users/LemADEC/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-22T21:25:53Z","updated_at":"2015-09-23T08:56:52Z","closed_at":null,"body":"As part of my WarpDrive mod, players are able to move their base around. Since Mana network isn't saved with blocks, all blocks connections are lost when they are moved.\r\nTo address that requirement, I propose to add an API that would allow to 'read' the current connection & mana levels of an ArsMagica2 block, and 'apply' it back after the blocks have been moved."},"comment":{"url":"https://api.github.com/repos/Mithion/ArsMagica2/issues/comments/142533647","html_url":"https://github.com/Mithion/ArsMagica2/issues/1280#issuecomment-142533647","issue_url":"https://api.github.com/repos/Mithion/ArsMagica2/issues/1280","id":142533647,"user":{"login":"LemADEC","id":4776032,"avatar_url":"https://avatars.githubusercontent.com/u/4776032?v=3","gravatar_id":"","url":"https://api.github.com/users/LemADEC","html_url":"https://github.com/LemADEC","followers_url":"https://api.github.com/users/LemADEC/followers","following_url":"https://api.github.com/users/LemADEC/following{/other_user}","gists_url":"https://api.github.com/users/LemADEC/gists{/gist_id}","starred_url":"https://api.github.com/users/LemADEC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LemADEC/subscriptions","organizations_url":"https://api.github.com/users/LemADEC/orgs","repos_url":"https://api.github.com/users/LemADEC/repos","events_url":"https://api.github.com/users/LemADEC/events{/privacy}","received_events_url":"https://api.github.com/users/LemADEC/received_events","type":"User","site_admin":false},"created_at":"2015-09-23T08:56:52Z","updated_at":"2015-09-23T08:56:52Z","body":"So I guess I need to\r\n- call getDataCompoundForNode(),\r\n- get the vectors in there,\r\n- adjust vectors to new coordinates,\r\n- call setDataCompoundForNode()\r\nand that would cover both the power level and the blocks connection.\r\nDid I get that right?"}}