{"action":"created","comment":{"url":"https://api.github.com/repos/BuildCraft/BuildCraft/pulls/comments/69348899","id":69348899,"diff_hunk":"@@ -0,0 +1,70 @@\n+/* Copyright (c) 2016 AlexIIL and the BuildCraft team\n+ * \n+ * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not\n+ * distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/. */\n+package buildcraft.factory.client.render;\n+\n+import buildcraft.api.properties.BuildCraftProperties;\n+import buildcraft.api.properties.BuildCraftProperty;\n+import buildcraft.core.lib.utils.MathUtils;\n+import buildcraft.factory.tile.ITileLed;\n+import com.google.common.collect.ImmutableMap;\n+import net.minecraft.block.properties.IProperty;\n+import net.minecraft.client.Minecraft;\n+import net.minecraft.client.model.ModelBase;\n+import net.minecraft.client.model.ModelRenderer;\n+import net.minecraft.client.renderer.*;\n+import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;\n+import net.minecraft.client.renderer.vertex.DefaultVertexFormats;\n+import net.minecraft.client.renderer.vertex.VertexFormat;\n+import net.minecraft.entity.Entity;\n+import net.minecraft.tileentity.TileEntity;\n+import net.minecraft.util.EnumFacing;\n+import net.minecraft.util.ResourceLocation;\n+import net.minecraft.util.math.BlockPos;\n+import net.minecraft.world.EnumSkyBlock;\n+import net.minecraft.world.World;\n+import net.minecraftforge.common.property.Properties;\n+import org.lwjgl.opengl.GL11;\n+import org.lwjgl.opengl.GL12;\n+\n+public class RenderLeds<T extends TileEntity & ITileLed> extends TileEntitySpecialRenderer<T> {\n+    public static final RenderLeds INSTANCE = new RenderLeds();\n+\n+    @Override\n+    public void renderTileEntityAt(T tile, double x, double y, double z, float partialTicks, int destroyStage) {\n+        RenderHelper.disableStandardItemLighting();\n+        GL11.glColor3f(1, 1, 1);\n+        int i = 61680;\n+        int j = i % 65536;\n+        int k = i / 65536;\n+        OpenGlHelper.setLightmapTextureCoords(OpenGlHelper.lightmapTexUnit, (float)j, (float)k);","path":"common/buildcraft/factory/client/render/RenderLeds.java","position":41,"original_position":41,"commit_id":"39fd224d6ea76ee3afd28e16f562a39d241a4e44","original_commit_id":"39fd224d6ea76ee3afd28e16f562a39d241a4e44","user":{"login":"AlexIIL","id":3751138,"avatar_url":"https://avatars.githubusercontent.com/u/3751138?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexIIL","html_url":"https://github.com/AlexIIL","followers_url":"https://api.github.com/users/AlexIIL/followers","following_url":"https://api.github.com/users/AlexIIL/following{/other_user}","gists_url":"https://api.github.com/users/AlexIIL/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexIIL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexIIL/subscriptions","organizations_url":"https://api.github.com/users/AlexIIL/orgs","repos_url":"https://api.github.com/users/AlexIIL/repos","events_url":"https://api.github.com/users/AlexIIL/events{/privacy}","received_events_url":"https://api.github.com/users/AlexIIL/received_events","type":"User","site_admin":false},"body":"Sorry.","created_at":"2016-07-01T19:59:14Z","updated_at":"2016-07-01T19:59:14Z","html_url":"https://github.com/BuildCraft/BuildCraft/pull/3382#discussion_r69348899","pull_request_url":"https://api.github.com/repos/BuildCraft/BuildCraft/pulls/3382","_links":{"self":{"href":"https://api.github.com/repos/BuildCraft/BuildCraft/pulls/comments/69348899"},"html":{"href":"https://github.com/BuildCraft/BuildCraft/pull/3382#discussion_r69348899"},"pull_request":{"href":"https://api.github.com/repos/BuildCraft/BuildCraft/pulls/3382"}}},"pull_request":{"url":"https://api.github.com/repos/BuildCraft/BuildCraft/pulls/3382","id":76028011,"html_url":"https://github.com/BuildCraft/BuildCraft/pull/3382","diff_url":"https://github.com/BuildCraft/BuildCraft/pull/3382.diff","patch_url":"https://github.com/BuildCraft/BuildCraft/pull/3382.patch","issue_url":"https://api.github.com/repos/BuildCraft/BuildCraft/issues/3382","number":3382,"state":"open","locked":false,"title":"Pumps and leds","user":{"login":"afdw","id":7559560,"avatar_url":"https://avatars.githubusercontent.com/u/7559560?v=3","gravatar_id":"","url":"https://api.github.com/users/afdw","html_url":"https://github.com/afdw","followers_url":"https://api.github.com/users/afdw/followers","following_url":"https://api.github.com/users/afdw/following{/other_user}","gists_url":"https://api.github.com/users/afdw/gists{/gist_id}","starred_url":"https://api.github.com/users/afdw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afdw/subscriptions","organizations_url":"https://api.github.com/users/afdw/orgs","repos_url":"https://api.github.com/users/afdw/repos","events_url":"https://api.github.com/users/afdw/events{/privacy}","received_events_url":"https://api.github.com/users/afdw/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-01T19:44:42Z","updated_at":"2016-07-01T19:59:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"db2ec650f8ca612c1b36ec9c6c5f4e2cbccb3e69","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/BuildCraft/BuildCraft/pulls/3382/commits","review_comments_url":"https://api.github.com/repos/BuildCraft/BuildCraft/pulls/3382/comments","review_comment_url":"https://api.github.com/repos/BuildCraft/BuildCraft/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BuildCraft/BuildCraft/issues/3382/comments","statuses_url":"https://api.github.com/repos/BuildCraft/BuildCraft/statuses/39fd224d6ea76ee3afd28e16f562a39d241a4e44","head":{"label":"afdw:8.0.x","ref":"8.0.x","sha":"39fd224d6ea76ee3afd28e16f562a39d241a4e44","user":{"login":"afdw","id":7559560,"avatar_url":"https://avatars.githubusercontent.com/u/7559560?v=3","gravatar_id":"","url":"https://api.github.com/users/afdw","html_url":"https://github.com/afdw","followers_url":"https://api.github.com/users/afdw/followers","following_url":"https://api.github.com/users/afdw/following{/other_user}","gists_url":"https://api.github.com/users/afdw/gists{/gist_id}","starred_url":"https://api.github.com/users/afdw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afdw/subscriptions","organizations_url":"https://api.github.com/users/afdw/orgs","repos_url":"https://api.github.com/users/afdw/repos","events_url":"https://api.github.com/users/afdw/events{/privacy}","received_events_url":"https://api.github.com/users/afdw/received_events","type":"User","site_admin":false},"repo":{"id":62176160,"name":"BuildCraft","full_name":"afdw/BuildCraft","owner":{"login":"afdw","id":7559560,"avatar_url":"https://avatars.githubusercontent.com/u/7559560?v=3","gravatar_id":"","url":"https://api.github.com/users/afdw","html_url":"https://github.com/afdw","followers_url":"https://api.github.com/users/afdw/followers","following_url":"https://api.github.com/users/afdw/following{/other_user}","gists_url":"https://api.github.com/users/afdw/gists{/gist_id}","starred_url":"https://api.github.com/users/afdw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afdw/subscriptions","organizations_url":"https://api.github.com/users/afdw/orgs","repos_url":"https://api.github.com/users/afdw/repos","events_url":"https://api.github.com/users/afdw/events{/privacy}","received_events_url":"https://api.github.com/users/afdw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/afdw/BuildCraft","description":"BuildCraft","fork":true,"url":"https://api.github.com/repos/afdw/BuildCraft","forks_url":"https://api.github.com/repos/afdw/BuildCraft/forks","keys_url":"https://api.github.com/repos/afdw/BuildCraft/keys{/key_id}","collaborators_url":"https://api.github.com/repos/afdw/BuildCraft/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/afdw/BuildCraft/teams","hooks_url":"https://api.github.com/repos/afdw/BuildCraft/hooks","issue_events_url":"https://api.github.com/repos/afdw/BuildCraft/issues/events{/number}","events_url":"https://api.github.com/repos/afdw/BuildCraft/events","assignees_url":"https://api.github.com/repos/afdw/BuildCraft/assignees{/user}","branches_url":"https://api.github.com/repos/afdw/BuildCraft/branches{/branch}","tags_url":"https://api.github.com/repos/afdw/BuildCraft/tags","blobs_url":"https://api.github.com/repos/afdw/BuildCraft/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/afdw/BuildCraft/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/afdw/BuildCraft/git/refs{/sha}","trees_url":"https://api.github.com/repos/afdw/BuildCraft/git/trees{/sha}","statuses_url":"https://api.github.com/repos/afdw/BuildCraft/statuses/{sha}","languages_url":"https://api.github.com/repos/afdw/BuildCraft/languages","stargazers_url":"https://api.github.com/repos/afdw/BuildCraft/stargazers","contributors_url":"https://api.github.com/repos/afdw/BuildCraft/contributors","subscribers_url":"https://api.github.com/repos/afdw/BuildCraft/subscribers","subscription_url":"https://api.github.com/repos/afdw/BuildCraft/subscription","commits_url":"https://api.github.com/repos/afdw/BuildCraft/commits{/sha}","git_commits_url":"https://api.github.com/repos/afdw/BuildCraft/git/commits{/sha}","comments_url":"https://api.github.com/repos/afdw/BuildCraft/comments{/number}","issue_comment_url":"https://api.github.com/repos/afdw/BuildCraft/issues/comments{/number}","contents_url":"https://api.github.com/repos/afdw/BuildCraft/contents/{+path}","compare_url":"https://api.github.com/repos/afdw/BuildCraft/compare/{base}...{head}","merges_url":"https://api.github.com/repos/afdw/BuildCraft/merges","archive_url":"https://api.github.com/repos/afdw/BuildCraft/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/afdw/BuildCraft/downloads","issues_url":"https://api.github.com/repos/afdw/BuildCraft/issues{/number}","pulls_url":"https://api.github.com/repos/afdw/BuildCraft/pulls{/number}","milestones_url":"https://api.github.com/repos/afdw/BuildCraft/milestones{/number}","notifications_url":"https://api.github.com/repos/afdw/BuildCraft/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/afdw/BuildCraft/labels{/name}","releases_url":"https://api.github.com/repos/afdw/BuildCraft/releases{/id}","deployments_url":"https://api.github.com/repos/afdw/BuildCraft/deployments","created_at":"2016-06-28T21:42:05Z","updated_at":"2016-06-28T21:42:10Z","pushed_at":"2016-07-01T19:39:26Z","git_url":"git://github.com/afdw/BuildCraft.git","ssh_url":"git@github.com:afdw/BuildCraft.git","clone_url":"https://github.com/afdw/BuildCraft.git","svn_url":"https://github.com/afdw/BuildCraft","homepage":"http://www.mod-buildcraft.com","size":67380,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"7.2.x"}},"base":{"label":"BuildCraft:8.0.x","ref":"8.0.x","sha":"a9ab74fe05e6700d56d026fdbcd421aa9db1c880","user":{"login":"BuildCraft","id":3163754,"avatar_url":"https://avatars.githubusercontent.com/u/3163754?v=3","gravatar_id":"","url":"https://api.github.com/users/BuildCraft","html_url":"https://github.com/BuildCraft","followers_url":"https://api.github.com/users/BuildCraft/followers","following_url":"https://api.github.com/users/BuildCraft/following{/other_user}","gists_url":"https://api.github.com/users/BuildCraft/gists{/gist_id}","starred_url":"https://api.github.com/users/BuildCraft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BuildCraft/subscriptions","organizations_url":"https://api.github.com/users/BuildCraft/orgs","repos_url":"https://api.github.com/users/BuildCraft/repos","events_url":"https://api.github.com/users/BuildCraft/events{/privacy}","received_events_url":"https://api.github.com/users/BuildCraft/received_events","type":"Organization","site_admin":false},"repo":{"id":4039952,"name":"BuildCraft","full_name":"BuildCraft/BuildCraft","owner":{"login":"BuildCraft","id":3163754,"avatar_url":"https://avatars.githubusercontent.com/u/3163754?v=3","gravatar_id":"","url":"https://api.github.com/users/BuildCraft","html_url":"https://github.com/BuildCraft","followers_url":"https://api.github.com/users/BuildCraft/followers","following_url":"https://api.github.com/users/BuildCraft/following{/other_user}","gists_url":"https://api.github.com/users/BuildCraft/gists{/gist_id}","starred_url":"https://api.github.com/users/BuildCraft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BuildCraft/subscriptions","organizations_url":"https://api.github.com/users/BuildCraft/orgs","repos_url":"https://api.github.com/users/BuildCraft/repos","events_url":"https://api.github.com/users/BuildCraft/events{/privacy}","received_events_url":"https://api.github.com/users/BuildCraft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BuildCraft/BuildCraft","description":"BuildCraft","fork":false,"url":"https://api.github.com/repos/BuildCraft/BuildCraft","forks_url":"https://api.github.com/repos/BuildCraft/BuildCraft/forks","keys_url":"https://api.github.com/repos/BuildCraft/BuildCraft/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BuildCraft/BuildCraft/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BuildCraft/BuildCraft/teams","hooks_url":"https://api.github.com/repos/BuildCraft/BuildCraft/hooks","issue_events_url":"https://api.github.com/repos/BuildCraft/BuildCraft/issues/events{/number}","events_url":"https://api.github.com/repos/BuildCraft/BuildCraft/events","assignees_url":"https://api.github.com/repos/BuildCraft/BuildCraft/assignees{/user}","branches_url":"https://api.github.com/repos/BuildCraft/BuildCraft/branches{/branch}","tags_url":"https://api.github.com/repos/BuildCraft/BuildCraft/tags","blobs_url":"https://api.github.com/repos/BuildCraft/BuildCraft/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BuildCraft/BuildCraft/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BuildCraft/BuildCraft/git/refs{/sha}","trees_url":"https://api.github.com/repos/BuildCraft/BuildCraft/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BuildCraft/BuildCraft/statuses/{sha}","languages_url":"https://api.github.com/repos/BuildCraft/BuildCraft/languages","stargazers_url":"https://api.github.com/repos/BuildCraft/BuildCraft/stargazers","contributors_url":"https://api.github.com/repos/BuildCraft/BuildCraft/contributors","subscribers_url":"https://api.github.com/repos/BuildCraft/BuildCraft/subscribers","subscription_url":"https://api.github.com/repos/BuildCraft/BuildCraft/subscription","commits_url":"https://api.github.com/repos/BuildCraft/BuildCraft/commits{/sha}","git_commits_url":"https://api.github.com/repos/BuildCraft/BuildCraft/git/commits{/sha}","comments_url":"https://api.github.com/repos/BuildCraft/BuildCraft/comments{/number}","issue_comment_url":"https://api.github.com/repos/BuildCraft/BuildCraft/issues/comments{/number}","contents_url":"https://api.github.com/repos/BuildCraft/BuildCraft/contents/{+path}","compare_url":"https://api.github.com/repos/BuildCraft/BuildCraft/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BuildCraft/BuildCraft/merges","archive_url":"https://api.github.com/repos/BuildCraft/BuildCraft/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BuildCraft/BuildCraft/downloads","issues_url":"https://api.github.com/repos/BuildCraft/BuildCraft/issues{/number}","pulls_url":"https://api.github.com/repos/BuildCraft/BuildCraft/pulls{/number}","milestones_url":"https://api.github.com/repos/BuildCraft/BuildCraft/milestones{/number}","notifications_url":"https://api.github.com/repos/BuildCraft/BuildCraft/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BuildCraft/BuildCraft/labels{/name}","releases_url":"https://api.github.com/repos/BuildCraft/BuildCraft/releases{/id}","deployments_url":"https://api.github.com/repos/BuildCraft/BuildCraft/deployments","created_at":"2012-04-16T10:57:39Z","updated_at":"2016-06-30T20:11:30Z","pushed_at":"2016-07-01T19:44:42Z","git_url":"git://github.com/BuildCraft/BuildCraft.git","ssh_url":"git@github.com:BuildCraft/BuildCraft.git","clone_url":"https://github.com/BuildCraft/BuildCraft.git","svn_url":"https://github.com/BuildCraft/BuildCraft","homepage":"http://www.mod-buildcraft.com","size":78663,"stargazers_count":857,"watchers_count":857,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":448,"mirror_url":null,"open_issues_count":87,"forks":448,"open_issues":87,"watchers":857,"default_branch":"7.2.x"}},"_links":{"self":{"href":"https://api.github.com/repos/BuildCraft/BuildCraft/pulls/3382"},"html":{"href":"https://github.com/BuildCraft/BuildCraft/pull/3382"},"issue":{"href":"https://api.github.com/repos/BuildCraft/BuildCraft/issues/3382"},"comments":{"href":"https://api.github.com/repos/BuildCraft/BuildCraft/issues/3382/comments"},"review_comments":{"href":"https://api.github.com/repos/BuildCraft/BuildCraft/pulls/3382/comments"},"review_comment":{"href":"https://api.github.com/repos/BuildCraft/BuildCraft/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BuildCraft/BuildCraft/pulls/3382/commits"},"statuses":{"href":"https://api.github.com/repos/BuildCraft/BuildCraft/statuses/39fd224d6ea76ee3afd28e16f562a39d241a4e44"}}}}
{"actor":{"display_login":"AlexIIL"}}