mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-27 15:33:06 +00:00
Adjust all renderers to support break overlay
This commit is contained in:
1 parent
471f665351
commit
2c19fe16b7
30 files changed
+231
-144
No files matched your search
@@ -36,7 +36,11 @@ public class ElectricLightRenderer implements ISimpleBlockRenderingHandler {
|
||||
RenderUtil.setTesselatorBrightness(world, x, y, z);
|
||||
|
||||
IIcon[] textures = RenderUtil.getBlockTextures(world, x, y, z);
|
||||
CubeRenderer.render(bb, textures, null, null);
|
||||
if(renderer.hasOverrideBlockTexture()) {
|
||||
CubeRenderer.render(bb, renderer.overrideBlockTexture);
|
||||
} else {
|
||||
CubeRenderer.render(bb, textures, null, null);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user