diff options
Diffstat (limited to 'src/main/java/gregtech/api/objects/GT_StdRenderedTexture.java')
-rw-r--r-- | src/main/java/gregtech/api/objects/GT_StdRenderedTexture.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/gregtech/api/objects/GT_StdRenderedTexture.java b/src/main/java/gregtech/api/objects/GT_StdRenderedTexture.java index cc7410a481..d4b8d16da6 100644 --- a/src/main/java/gregtech/api/objects/GT_StdRenderedTexture.java +++ b/src/main/java/gregtech/api/objects/GT_StdRenderedTexture.java @@ -12,7 +12,7 @@ import gregtech.api.util.LightingHelper; * This ITexture implementation extends the GT_RenderedTexture class to render with bottom side flipped as with dumb * blocks rendering. It is used in Ore blocks rendering so they better blends with dumb block ores from vanilla or other * mods, when seen from bottom. - * + * * @deprecated Replaced by the {@link gregtech.api.render.TextureFactory} API. */ @Deprecated @@ -36,10 +36,10 @@ public class GT_StdRenderedTexture extends GT_RenderedTexture { public void renderYNeg(RenderBlocks aRenderer, Block aBlock, int aX, int aY, int aZ) { LightingHelper lighting = new LightingHelper(aRenderer); lighting.setupLightingYNeg(aBlock, aX, aY, aZ) - .setupColor(ForgeDirection.DOWN.ordinal(), mRGBa); + .setupColor(ForgeDirection.DOWN, mRGBa); aRenderer.renderFaceYNeg(aBlock, aX, aY, aZ, mIconContainer.getIcon()); if (mIconContainer.getOverlayIcon() != null) { - lighting.setupColor(ForgeDirection.DOWN.ordinal(), 0xffffff); + lighting.setupColor(ForgeDirection.DOWN, 0xffffff); aRenderer.renderFaceYNeg(aBlock, aX, aY, aZ, mIconContainer.getOverlayIcon()); } } |