{"action":"created","issue":{"url":"https://api.github.com/repos/ustc-zzzz/fmltutor/issues/39","repository_url":"https://api.github.com/repos/ustc-zzzz/fmltutor","labels_url":"https://api.github.com/repos/ustc-zzzz/fmltutor/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/ustc-zzzz/fmltutor/issues/39/comments","events_url":"https://api.github.com/repos/ustc-zzzz/fmltutor/issues/39/events","html_url":"https://github.com/ustc-zzzz/fmltutor/issues/39","id":188746310,"number":39,"title":"1.10.2中 getItemFromBlock(block) 得到null值的问题","user":{"login":"CatMe0w","id":7774491,"avatar_url":"https://avatars.githubusercontent.com/u/7774491?v=3","gravatar_id":"","url":"https://api.github.com/users/CatMe0w","html_url":"https://github.com/CatMe0w","followers_url":"https://api.github.com/users/CatMe0w/followers","following_url":"https://api.github.com/users/CatMe0w/following{/other_user}","gists_url":"https://api.github.com/users/CatMe0w/gists{/gist_id}","starred_url":"https://api.github.com/users/CatMe0w/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CatMe0w/subscriptions","organizations_url":"https://api.github.com/users/CatMe0w/orgs","repos_url":"https://api.github.com/users/CatMe0w/repos","events_url":"https://api.github.com/users/CatMe0w/events{/privacy}","received_events_url":"https://api.github.com/users/CatMe0w/received_events","type":"User","site_admin":false},"labels":[{"id":276348896,"url":"https://api.github.com/repos/ustc-zzzz/fmltutor/labels/%E6%95%99%E7%A8%8B%E7%96%91%E9%97%AE","name":"教程疑问","color":"cc317c","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-11T12:05:46Z","updated_at":"2016-12-09T15:46:28Z","closed_at":"2016-12-09T10:41:41Z","body":"我在1.10.2中编写mod时，已经注册过方块的ItemBlock，在为方块添加模型和材质时使用的getItemFromBlock(block)方法得到null值，导致游戏出现NullPointerException。\r\n同时getBlockRegistry()也已被弃用。\r\n求解啦。"},"comment":{"url":"https://api.github.com/repos/ustc-zzzz/fmltutor/issues/comments/266045613","html_url":"https://github.com/ustc-zzzz/fmltutor/issues/39#issuecomment-266045613","issue_url":"https://api.github.com/repos/ustc-zzzz/fmltutor/issues/39","id":266045613,"user":{"login":"3TUSK","id":9113033,"avatar_url":"https://avatars.githubusercontent.com/u/9113033?v=3","gravatar_id":"","url":"https://api.github.com/users/3TUSK","html_url":"https://github.com/3TUSK","followers_url":"https://api.github.com/users/3TUSK/followers","following_url":"https://api.github.com/users/3TUSK/following{/other_user}","gists_url":"https://api.github.com/users/3TUSK/gists{/gist_id}","starred_url":"https://api.github.com/users/3TUSK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3TUSK/subscriptions","organizations_url":"https://api.github.com/users/3TUSK/orgs","repos_url":"https://api.github.com/users/3TUSK/repos","events_url":"https://api.github.com/users/3TUSK/events{/privacy}","received_events_url":"https://api.github.com/users/3TUSK/received_events","type":"User","site_admin":false},"created_at":"2016-12-09T15:46:27Z","updated_at":"2016-12-09T15:46:27Z","body":"@ustc-zzzz 就不能提一下那个神奇的GameRegistry.<T extends IForgeRegistry<T>>register(T objToReg)吗..."}}
{"actor":{"display_login":"3TUSK"}}