mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
what the fuck is this baby doing mixed in with my bathwater
This commit is contained in:
parent
7757e3cb53
commit
b5b4a537c5
@ -30,6 +30,9 @@ public class RenderMassStorage extends TileEntitySpecialRenderer {
|
|||||||
Minecraft mc = Minecraft.getMinecraft();
|
Minecraft mc = Minecraft.getMinecraft();
|
||||||
int dir = storage.getBlockMetadata() / 4;
|
int dir = storage.getBlockMetadata() / 4;
|
||||||
|
|
||||||
|
// fuck this shit, push pop the whole ass lighting state then for all I fucken care
|
||||||
|
GL11.glPushAttrib(GL11.GL_ENABLE_BIT | GL11.GL_LIGHTING_BIT | GL11.GL_COLOR_BUFFER_BIT);
|
||||||
|
|
||||||
OpenGlHelper.setLightmapTextureCoords(OpenGlHelper.lightmapTexUnit, 240, 240);
|
OpenGlHelper.setLightmapTextureCoords(OpenGlHelper.lightmapTexUnit, 240, 240);
|
||||||
|
|
||||||
GL11.glPushMatrix();
|
GL11.glPushMatrix();
|
||||||
@ -111,10 +114,10 @@ public class RenderMassStorage extends TileEntitySpecialRenderer {
|
|||||||
GL11.glEnable(GL11.GL_TEXTURE_2D);
|
GL11.glEnable(GL11.GL_TEXTURE_2D);
|
||||||
GL11.glEnable(GL11.GL_LIGHTING);
|
GL11.glEnable(GL11.GL_LIGHTING);
|
||||||
|
|
||||||
RenderHelper.enableStandardItemLighting();
|
|
||||||
|
|
||||||
}
|
}
|
||||||
GL11.glPopMatrix();
|
GL11.glPopMatrix();
|
||||||
|
|
||||||
|
GL11.glPopAttrib();
|
||||||
}
|
}
|
||||||
|
|
||||||
private String getTextForCount(int stackSize, boolean isUnicode) {
|
private String getTextForCount(int stackSize, boolean isUnicode) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user