{"action":"created","issue":{"url":"https://api.github.com/repos/TeamAmeriFrance/Guide-API/issues/33","repository_url":"https://api.github.com/repos/TeamAmeriFrance/Guide-API","labels_url":"https://api.github.com/repos/TeamAmeriFrance/Guide-API/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/TeamAmeriFrance/Guide-API/issues/33/comments","events_url":"https://api.github.com/repos/TeamAmeriFrance/Guide-API/issues/33/events","html_url":"https://github.com/TeamAmeriFrance/Guide-API/issues/33","id":164388742,"number":33,"title":"Models for the book items are not working (or I'm doing something wrong)","user":{"login":"Eladkay","id":11412452,"avatar_url":"https://avatars.githubusercontent.com/u/11412452?v=3","gravatar_id":"","url":"https://api.github.com/users/Eladkay","html_url":"https://github.com/Eladkay","followers_url":"https://api.github.com/users/Eladkay/followers","following_url":"https://api.github.com/users/Eladkay/following{/other_user}","gists_url":"https://api.github.com/users/Eladkay/gists{/gist_id}","starred_url":"https://api.github.com/users/Eladkay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eladkay/subscriptions","organizations_url":"https://api.github.com/users/Eladkay/orgs","repos_url":"https://api.github.com/users/Eladkay/repos","events_url":"https://api.github.com/users/Eladkay/events{/privacy}","received_events_url":"https://api.github.com/users/Eladkay/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-07-07T19:30:19Z","updated_at":"2016-07-08T13:07:15Z","closed_at":"2016-07-08T06:39:41Z","body":"Using GuideAPI.setModel(book); for a confirmed nonnull book doesn't set its texture, it stays a missing texture (and there are no errors in the log).\r\nWhen I tried to specify my own texture (GuideAPI.setModel(book, new ModelResourceLocation(LibMisc.MOD_ID + \":\" + LibNames.BOOK), \"inventory\");) I was presented with a similar issue, but something weird happened: the book still displayed a missing texture, and there's no log errors, but when I changed the name of the texture to a nonexistent one, I did get an error in the log, proving that the model IS referenced.\r\nMy thoughts are that it's something stupid like forgetting that arrays are 0 indexed or something. It's more likely I'm doing something wrong though.\r\n\r\nHere is my model:\r\n{\r\n  \"parent\": \"item/generated\",\r\n  \"textures\": {\r\n    \"layer0\": \"quaritum:items/book\"\r\n  }\r\n}\r\n"},"comment":{"url":"https://api.github.com/repos/TeamAmeriFrance/Guide-API/issues/comments/231354458","html_url":"https://github.com/TeamAmeriFrance/Guide-API/issues/33#issuecomment-231354458","issue_url":"https://api.github.com/repos/TeamAmeriFrance/Guide-API/issues/33","id":231354458,"user":{"login":"TehNut","id":5789439,"avatar_url":"https://avatars.githubusercontent.com/u/5789439?v=3","gravatar_id":"","url":"https://api.github.com/users/TehNut","html_url":"https://github.com/TehNut","followers_url":"https://api.github.com/users/TehNut/followers","following_url":"https://api.github.com/users/TehNut/following{/other_user}","gists_url":"https://api.github.com/users/TehNut/gists{/gist_id}","starred_url":"https://api.github.com/users/TehNut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TehNut/subscriptions","organizations_url":"https://api.github.com/users/TehNut/orgs","repos_url":"https://api.github.com/users/TehNut/repos","events_url":"https://api.github.com/users/TehNut/events{/privacy}","received_events_url":"https://api.github.com/users/TehNut/received_events","type":"User","site_admin":false},"created_at":"2016-07-08T13:07:15Z","updated_at":"2016-07-08T13:07:15Z","body":"Yeah no creating your own item will do nothing. And the BM method is neither redundant nor complicated. Models must be registered in pre. To register the model for a book, the book must be registered. However, not all of our content is registered in pre, so we handle that later on."}}
{"actor":{"display_login":"TehNut"}}