Breaking and Damaging Particles for cables now work properly.

Breaking Animation now works on Cables as expected.
Cable now has a bounding box where it touches parts.
This commit is contained in:
AlgorithmX2
2014-06-11 00:14:37 -05:00
parent d807812bc8
commit bbfa43dd92
11 changed files with 211 additions and 1 deletions
+3
View File
@@ -29,6 +29,9 @@ public class CableRenderHelper
TileEntity te = cableBusContainer.getTile();
RenderBlocksWorkaround renderer = BusRenderer.instance.renderer;
if ( renderer.overrideBlockTexture != null )
BusRenderHelper.instance.setPass( 0 );
if ( renderer.blockAccess == null )
renderer.blockAccess = Minecraft.getMinecraft().theWorld;