{"action":"created","issue":{"url":"https://api.github.com/repos/minetest/minetest_game/issues/789","repository_url":"https://api.github.com/repos/minetest/minetest_game","labels_url":"https://api.github.com/repos/minetest/minetest_game/issues/789/labels{/name}","comments_url":"https://api.github.com/repos/minetest/minetest_game/issues/789/comments","events_url":"https://api.github.com/repos/minetest/minetest_game/issues/789/events","html_url":"https://github.com/minetest/minetest_game/pull/789","id":127010539,"number":789,"title":"New mesh door models, and extensive door API","user":{"login":"sofar","id":1880041,"avatar_url":"https://avatars.githubusercontent.com/u/1880041?v=3","gravatar_id":"","url":"https://api.github.com/users/sofar","html_url":"https://github.com/sofar","followers_url":"https://api.github.com/users/sofar/followers","following_url":"https://api.github.com/users/sofar/following{/other_user}","gists_url":"https://api.github.com/users/sofar/gists{/gist_id}","starred_url":"https://api.github.com/users/sofar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sofar/subscriptions","organizations_url":"https://api.github.com/users/sofar/orgs","repos_url":"https://api.github.com/users/sofar/repos","events_url":"https://api.github.com/users/sofar/events{/privacy}","received_events_url":"https://api.github.com/users/sofar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":40,"created_at":"2016-01-16T08:37:46Z","updated_at":"2016-02-11T19:54:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/minetest/minetest_game/pulls/789","html_url":"https://github.com/minetest/minetest_game/pull/789","diff_url":"https://github.com/minetest/minetest_game/pull/789.diff","patch_url":"https://github.com/minetest/minetest_game/pull/789.patch"},"body":"This patch replaces the default door nodes with a new mesh model\r\nand nodes.\r\n\r\nTwo new models were added that are 2 blocks high. One for left-hinge\r\nand one for right-hinge doors. This allows us to make a single texture\r\nfit on both models. The alternative would have been 1 model and 2\r\nunmapped textures, which is more work for mod developers.\r\n\r\nDoors work exactly like the old doors, including ownership, breaking\r\ndoors, opening and closing.\r\n\r\nUnder the hood, we can prevent the top part of the door from being\r\nobstructed by placing an invisible node. This prevents liquids from\r\nflowing through doors or people placing sand or other blocks in the\r\ntop half. The door code automatically places and removes these as\r\nneeded.\r\n\r\nMetadata is used to store door state, just like the old version.\r\n\r\nA doors API is added, it allows mods to use the API to open/close or\r\ntoggle door states without worrying about sounds, permissions and\r\nother details. This is intended for e.g. mesecons. This API allows\r\nmods to manipulate or inspect doors for players or for themselves.\r\n\r\nIn-game old door nodes are automatically converted using an ABM and\r\npreserve ownership and orientation and state.\r\n\r\nTNT blows up all doors and trapdoors except for the steel ones,\r\nwho can survive a blast.\r\n\r\nThanks to red-001 <red-001@users.noreply.github.com> for some\r\nof the conversion code, cleanups, and extra textures."},"comment":{"url":"https://api.github.com/repos/minetest/minetest_game/issues/comments/183036168","html_url":"https://github.com/minetest/minetest_game/pull/789#issuecomment-183036168","issue_url":"https://api.github.com/repos/minetest/minetest_game/issues/789","id":183036168,"user":{"login":"sofar","id":1880041,"avatar_url":"https://avatars.githubusercontent.com/u/1880041?v=3","gravatar_id":"","url":"https://api.github.com/users/sofar","html_url":"https://github.com/sofar","followers_url":"https://api.github.com/users/sofar/followers","following_url":"https://api.github.com/users/sofar/following{/other_user}","gists_url":"https://api.github.com/users/sofar/gists{/gist_id}","starred_url":"https://api.github.com/users/sofar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sofar/subscriptions","organizations_url":"https://api.github.com/users/sofar/orgs","repos_url":"https://api.github.com/users/sofar/repos","events_url":"https://api.github.com/users/sofar/events{/privacy}","received_events_url":"https://api.github.com/users/sofar/received_events","type":"User","site_admin":false},"created_at":"2016-02-11T19:54:53Z","updated_at":"2016-02-11T19:54:53Z","body":"I need to test the updates before I push, which will be later today."}}