mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-20 12:19:55 +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
@@ -22,7 +22,6 @@ public class CustomCubeRenderer {
|
||||
if(rb == null) {
|
||||
rb = new CustomRenderBlocks(ba);
|
||||
}
|
||||
|
||||
rb.blockAccess = ba;
|
||||
rb.setOverrideTexture(getOverrideTexture());
|
||||
rb.setFaceRenderers(null);
|
||||
@@ -31,7 +30,6 @@ public class CustomCubeRenderer {
|
||||
}
|
||||
rb.setRenderBoundsFromBlock(par1Block);
|
||||
rb.renderStandardBlock(par1Block, par2, par3, par4);
|
||||
|
||||
}
|
||||
|
||||
public void renderBlock(IBlockAccess ba, Block par1Block, int par2, int par3, int par4, Collection<IRenderFace> renderers) {
|
||||
@@ -43,7 +41,6 @@ public class CustomCubeRenderer {
|
||||
rb.setFaceRenderers(renderers);
|
||||
rb.setRenderBoundsFromBlock(par1Block);
|
||||
rb.renderStandardBlock(par1Block, par2, par3, par4);
|
||||
|
||||
}
|
||||
|
||||
public IIcon getOverrideTexture() {
|
||||
|
||||
Reference in new issue
Block a user