fixed flat world config shading

This commit is contained in:
LAX1DUDE 2022-07-30 23:10:38 -07:00
parent d485333c33
commit 876e8b1a35
4 changed files with 6977 additions and 6973 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -21,8 +21,10 @@ class GuiCreateFlatWorldListSlot extends GuiSlot {
if (par3ItemStack != null) {
RenderHelper.enableGUIStandardItemLighting();
EaglerAdapter.flipLightMatrix();
GuiCreateFlatWorld.getRenderItem().renderItemIntoGUI(this.createFlatWorldGui.fontRenderer,
this.createFlatWorldGui.mc.renderEngine, par3ItemStack, par1 + 2, par2 + 2);
EaglerAdapter.flipLightMatrix();
RenderHelper.disableStandardItemLighting();
}

View File

@ -18,8 +18,10 @@ class GuiFlatPresetsListSlot extends GuiSlot {
this.func_82456_d(par1 + 1, par2 + 1);
EaglerAdapter.glEnable(EaglerAdapter.GL_RESCALE_NORMAL);
RenderHelper.enableGUIStandardItemLighting();
EaglerAdapter.flipLightMatrix();
GuiFlatPresets.getPresetIconRenderer().renderItemIntoGUI(this.flatPresetsGui.fontRenderer,
this.flatPresetsGui.mc.renderEngine, new ItemStack(par3, 1, 0), par1 + 2, par2 + 2);
EaglerAdapter.flipLightMatrix();
RenderHelper.disableStandardItemLighting();
EaglerAdapter.glDisable(EaglerAdapter.GL_RESCALE_NORMAL);
}