{"action":"created","comment":{"url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/pulls/comments/191057393","pull_request_review_id":123565498,"id":191057393,"diff_hunk":"@@ -118,113 +122,48 @@ private void renderArmor(T entity, float move, float swing, float partialTicks,\n         }\n     }\n \n-    @SuppressWarnings(\"incomplete-switch\")\n     private void prepareToRender(ModelPonyArmor model, EntityEquipmentSlot slot, boolean isPony) {\n         model.setVisible(false);\n \n         switch (slot) {\n-            // feet\n+            case HEAD:\n+                model.showHead(isPony);\n+                break;\n             case FEET:\n-                model.bipedRightArm.showModel = true;\n-                model.bipedLeftArm.showModel = true;\n-                model.bipedRightLeg.showModel = !isPony;\n-                model.bipedLeftLeg.showModel = !isPony;\n-                model.leftLegging.showModel = isPony;\n-                model.rightLegging.showModel = isPony;\n+                model.showFeet(true);\n                 break;\n-            // legs\n             case LEGS:\n-                model.bipedRightLeg.showModel = !isPony;\n-                model.bipedLeftLeg.showModel = !isPony;\n-                model.bipedRightArm.showModel = true;\n-                model.bipedLeftArm.showModel = true;\n-                model.bipedBody.showModel = !isPony;\n-                model.flankGuard.showModel = !isPony;\n-                model.saddle.showModel = isPony;\n-                model.leftLegging.showModel = isPony;\n-                model.rightLegging.showModel = isPony;\n-                break;\n-            // chest\n+                model.showFeet(true);\n+                model.showLegs(isPony);\n             case CHEST:\n-                model.saddle.showModel = isPony;\n-                model.bipedBody.showModel = !isPony;\n-                model.flankGuard.showModel = !isPony;\n-                break;\n-            // head\n-            case HEAD:","path":"src/main/java/com/minelittlepony/render/layer/LayerPonyArmor.java","position":144,"original_position":144,"commit_id":"3c0924a978cf6f17c9f39cb00d84b6be729479df","original_commit_id":"3c0924a978cf6f17c9f39cb00d84b6be729479df","user":{"login":"Sollace","id":6429283,"avatar_url":"https://avatars3.githubusercontent.com/u/6429283?v=4","gravatar_id":"","url":"https://api.github.com/users/Sollace","html_url":"https://github.com/Sollace","followers_url":"https://api.github.com/users/Sollace/followers","following_url":"https://api.github.com/users/Sollace/following{/other_user}","gists_url":"https://api.github.com/users/Sollace/gists{/gist_id}","starred_url":"https://api.github.com/users/Sollace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sollace/subscriptions","organizations_url":"https://api.github.com/users/Sollace/orgs","repos_url":"https://api.github.com/users/Sollace/repos","events_url":"https://api.github.com/users/Sollace/events{/privacy}","received_events_url":"https://api.github.com/users/Sollace/received_events","type":"User","site_admin":false},"body":"@killjoy Oh, sorry! I didn't realise there were more than one @killjoy1221 ","created_at":"2018-05-26T20:05:19Z","updated_at":"2018-05-26T20:05:19Z","html_url":"https://github.com/MineLittlePony/MineLittlePony/pull/50#discussion_r191057393","pull_request_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/pulls/50","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/MineLittlePony/MineLittlePony/pulls/comments/191057393"},"html":{"href":"https://github.com/MineLittlePony/MineLittlePony/pull/50#discussion_r191057393"},"pull_request":{"href":"https://api.github.com/repos/MineLittlePony/MineLittlePony/pulls/50"}},"in_reply_to_id":191021521},"pull_request":{"url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/pulls/50","id":188154658,"html_url":"https://github.com/MineLittlePony/MineLittlePony/pull/50","diff_url":"https://github.com/MineLittlePony/MineLittlePony/pull/50.diff","patch_url":"https://github.com/MineLittlePony/MineLittlePony/pull/50.patch","issue_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/issues/50","number":50,"state":"open","locked":false,"title":"Cut all of the extra code from armour","user":{"login":"Sollace","id":6429283,"avatar_url":"https://avatars3.githubusercontent.com/u/6429283?v=4","gravatar_id":"","url":"https://api.github.com/users/Sollace","html_url":"https://github.com/Sollace","followers_url":"https://api.github.com/users/Sollace/followers","following_url":"https://api.github.com/users/Sollace/following{/other_user}","gists_url":"https://api.github.com/users/Sollace/gists{/gist_id}","starred_url":"https://api.github.com/users/Sollace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sollace/subscriptions","organizations_url":"https://api.github.com/users/Sollace/orgs","repos_url":"https://api.github.com/users/Sollace/repos","events_url":"https://api.github.com/users/Sollace/events{/privacy}","received_events_url":"https://api.github.com/users/Sollace/received_events","type":"User","site_admin":false},"body":"This one just removes a little over half the code involved with rendering armour. I don't know why it needed so many arms...\r\n\r\nThis is a separate pr (from the original) because I wasn't really sure if this would be breaking any compatibility intended for mod armour. I've no way to test that.\r\n\r\n(if you merge this, let me know and I will rebase the rest)","created_at":"2018-05-15T14:49:25Z","updated_at":"2018-05-26T20:05:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d6e1a942a79a9c7dd7f133943a3ff4f815bb2144","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/pulls/50/commits","review_comments_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/pulls/50/comments","review_comment_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/issues/50/comments","statuses_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/statuses/3c0924a978cf6f17c9f39cb00d84b6be729479df","head":{"label":"Sollace:trim_armour_models","ref":"trim_armour_models","sha":"3c0924a978cf6f17c9f39cb00d84b6be729479df","user":{"login":"Sollace","id":6429283,"avatar_url":"https://avatars3.githubusercontent.com/u/6429283?v=4","gravatar_id":"","url":"https://api.github.com/users/Sollace","html_url":"https://github.com/Sollace","followers_url":"https://api.github.com/users/Sollace/followers","following_url":"https://api.github.com/users/Sollace/following{/other_user}","gists_url":"https://api.github.com/users/Sollace/gists{/gist_id}","starred_url":"https://api.github.com/users/Sollace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sollace/subscriptions","organizations_url":"https://api.github.com/users/Sollace/orgs","repos_url":"https://api.github.com/users/Sollace/repos","events_url":"https://api.github.com/users/Sollace/events{/privacy}","received_events_url":"https://api.github.com/users/Sollace/received_events","type":"User","site_admin":false},"repo":{"id":128923597,"name":"MineLittlePony","full_name":"Sollace/MineLittlePony","owner":{"login":"Sollace","id":6429283,"avatar_url":"https://avatars3.githubusercontent.com/u/6429283?v=4","gravatar_id":"","url":"https://api.github.com/users/Sollace","html_url":"https://github.com/Sollace","followers_url":"https://api.github.com/users/Sollace/followers","following_url":"https://api.github.com/users/Sollace/following{/other_user}","gists_url":"https://api.github.com/users/Sollace/gists{/gist_id}","starred_url":"https://api.github.com/users/Sollace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sollace/subscriptions","organizations_url":"https://api.github.com/users/Sollace/orgs","repos_url":"https://api.github.com/users/Sollace/repos","events_url":"https://api.github.com/users/Sollace/events{/privacy}","received_events_url":"https://api.github.com/users/Sollace/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Sollace/MineLittlePony","description":"Turns players and mobs into ponies","fork":true,"url":"https://api.github.com/repos/Sollace/MineLittlePony","forks_url":"https://api.github.com/repos/Sollace/MineLittlePony/forks","keys_url":"https://api.github.com/repos/Sollace/MineLittlePony/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sollace/MineLittlePony/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sollace/MineLittlePony/teams","hooks_url":"https://api.github.com/repos/Sollace/MineLittlePony/hooks","issue_events_url":"https://api.github.com/repos/Sollace/MineLittlePony/issues/events{/number}","events_url":"https://api.github.com/repos/Sollace/MineLittlePony/events","assignees_url":"https://api.github.com/repos/Sollace/MineLittlePony/assignees{/user}","branches_url":"https://api.github.com/repos/Sollace/MineLittlePony/branches{/branch}","tags_url":"https://api.github.com/repos/Sollace/MineLittlePony/tags","blobs_url":"https://api.github.com/repos/Sollace/MineLittlePony/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sollace/MineLittlePony/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sollace/MineLittlePony/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sollace/MineLittlePony/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sollace/MineLittlePony/statuses/{sha}","languages_url":"https://api.github.com/repos/Sollace/MineLittlePony/languages","stargazers_url":"https://api.github.com/repos/Sollace/MineLittlePony/stargazers","contributors_url":"https://api.github.com/repos/Sollace/MineLittlePony/contributors","subscribers_url":"https://api.github.com/repos/Sollace/MineLittlePony/subscribers","subscription_url":"https://api.github.com/repos/Sollace/MineLittlePony/subscription","commits_url":"https://api.github.com/repos/Sollace/MineLittlePony/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sollace/MineLittlePony/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sollace/MineLittlePony/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sollace/MineLittlePony/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sollace/MineLittlePony/contents/{+path}","compare_url":"https://api.github.com/repos/Sollace/MineLittlePony/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sollace/MineLittlePony/merges","archive_url":"https://api.github.com/repos/Sollace/MineLittlePony/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sollace/MineLittlePony/downloads","issues_url":"https://api.github.com/repos/Sollace/MineLittlePony/issues{/number}","pulls_url":"https://api.github.com/repos/Sollace/MineLittlePony/pulls{/number}","milestones_url":"https://api.github.com/repos/Sollace/MineLittlePony/milestones{/number}","notifications_url":"https://api.github.com/repos/Sollace/MineLittlePony/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sollace/MineLittlePony/labels{/name}","releases_url":"https://api.github.com/repos/Sollace/MineLittlePony/releases{/id}","deployments_url":"https://api.github.com/repos/Sollace/MineLittlePony/deployments","created_at":"2018-04-10T11:41:49Z","updated_at":"2018-05-26T01:58:24Z","pushed_at":"2018-05-26T01:58:23Z","git_url":"git://github.com/Sollace/MineLittlePony.git","ssh_url":"git@github.com:Sollace/MineLittlePony.git","clone_url":"https://github.com/Sollace/MineLittlePony.git","svn_url":"https://github.com/Sollace/MineLittlePony","homepage":"http://minelittlepony-mod.com","size":3601,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"MineLittlePony:master","ref":"master","sha":"5b3836c2df79240d6b05baffbcfeabd62b06a61b","user":{"login":"MineLittlePony","id":19340533,"avatar_url":"https://avatars0.githubusercontent.com/u/19340533?v=4","gravatar_id":"","url":"https://api.github.com/users/MineLittlePony","html_url":"https://github.com/MineLittlePony","followers_url":"https://api.github.com/users/MineLittlePony/followers","following_url":"https://api.github.com/users/MineLittlePony/following{/other_user}","gists_url":"https://api.github.com/users/MineLittlePony/gists{/gist_id}","starred_url":"https://api.github.com/users/MineLittlePony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MineLittlePony/subscriptions","organizations_url":"https://api.github.com/users/MineLittlePony/orgs","repos_url":"https://api.github.com/users/MineLittlePony/repos","events_url":"https://api.github.com/users/MineLittlePony/events{/privacy}","received_events_url":"https://api.github.com/users/MineLittlePony/received_events","type":"Organization","site_admin":false},"repo":{"id":58706271,"name":"MineLittlePony","full_name":"MineLittlePony/MineLittlePony","owner":{"login":"MineLittlePony","id":19340533,"avatar_url":"https://avatars0.githubusercontent.com/u/19340533?v=4","gravatar_id":"","url":"https://api.github.com/users/MineLittlePony","html_url":"https://github.com/MineLittlePony","followers_url":"https://api.github.com/users/MineLittlePony/followers","following_url":"https://api.github.com/users/MineLittlePony/following{/other_user}","gists_url":"https://api.github.com/users/MineLittlePony/gists{/gist_id}","starred_url":"https://api.github.com/users/MineLittlePony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MineLittlePony/subscriptions","organizations_url":"https://api.github.com/users/MineLittlePony/orgs","repos_url":"https://api.github.com/users/MineLittlePony/repos","events_url":"https://api.github.com/users/MineLittlePony/events{/privacy}","received_events_url":"https://api.github.com/users/MineLittlePony/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MineLittlePony/MineLittlePony","description":"Turns players and mobs into ponies","fork":false,"url":"https://api.github.com/repos/MineLittlePony/MineLittlePony","forks_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/forks","keys_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/teams","hooks_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/hooks","issue_events_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/issues/events{/number}","events_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/events","assignees_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/assignees{/user}","branches_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/branches{/branch}","tags_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/tags","blobs_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/git/refs{/sha}","trees_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/statuses/{sha}","languages_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/languages","stargazers_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/stargazers","contributors_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/contributors","subscribers_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/subscribers","subscription_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/subscription","commits_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/commits{/sha}","git_commits_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/git/commits{/sha}","comments_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/comments{/number}","issue_comment_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/issues/comments{/number}","contents_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/contents/{+path}","compare_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/merges","archive_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/downloads","issues_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/issues{/number}","pulls_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/pulls{/number}","milestones_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/milestones{/number}","notifications_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/labels{/name}","releases_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/releases{/id}","deployments_url":"https://api.github.com/repos/MineLittlePony/MineLittlePony/deployments","created_at":"2016-05-13T06:13:37Z","updated_at":"2018-05-26T01:55:16Z","pushed_at":"2018-05-26T01:55:14Z","git_url":"git://github.com/MineLittlePony/MineLittlePony.git","ssh_url":"git@github.com:MineLittlePony/MineLittlePony.git","clone_url":"https://github.com/MineLittlePony/MineLittlePony.git","svn_url":"https://github.com/MineLittlePony/MineLittlePony","homepage":"http://minelittlepony-mod.com","size":3557,"stargazers_count":30,"watchers_count":30,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":17,"open_issues":10,"watchers":30,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MineLittlePony/MineLittlePony/pulls/50"},"html":{"href":"https://github.com/MineLittlePony/MineLittlePony/pull/50"},"issue":{"href":"https://api.github.com/repos/MineLittlePony/MineLittlePony/issues/50"},"comments":{"href":"https://api.github.com/repos/MineLittlePony/MineLittlePony/issues/50/comments"},"review_comments":{"href":"https://api.github.com/repos/MineLittlePony/MineLittlePony/pulls/50/comments"},"review_comment":{"href":"https://api.github.com/repos/MineLittlePony/MineLittlePony/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MineLittlePony/MineLittlePony/pulls/50/commits"},"statuses":{"href":"https://api.github.com/repos/MineLittlePony/MineLittlePony/statuses/3c0924a978cf6f17c9f39cb00d84b6be729479df"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"Sollace"}}