Dense Cables now use Simplified Lighting Model.
This commit is contained in:
@@ -320,6 +320,7 @@ public class PartDenseCable extends PartCable
|
|||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public void renderStatic(int x, int y, int z, IPartRenderHelper rh, RenderBlocks renderer)
|
public void renderStatic(int x, int y, int z, IPartRenderHelper rh, RenderBlocks renderer)
|
||||||
{
|
{
|
||||||
|
renderCache = rh.useSimpliedRendering( x, y, z, this, renderCache );
|
||||||
rh.setTexture( getTexture( getCableColor() ) );
|
rh.setTexture( getTexture( getCableColor() ) );
|
||||||
|
|
||||||
EnumSet<ForgeDirection> sides = connections.clone();
|
EnumSet<ForgeDirection> sides = connections.clone();
|
||||||
|
|||||||
Reference in New Issue
Block a user