This commit is contained in:
asiekierka 2014-12-22 10:57:11 +01:00
parent 73eaf3e039
commit dfeee5d88c
4 changed files with 4 additions and 16 deletions

View file

@ -23,9 +23,6 @@ import buildcraft.transport.pipes.events.PipeEventItem;
import buildcraft.transport.render.FakeBlock;
public class LensPluggable extends PipePluggable {
@SideOnly(Side.CLIENT)
public final LensPluggableRenderer RENDERER = new LensPluggableRenderer();
public int color;
public boolean isFilter;
protected IPipeTile container;
@ -123,7 +120,7 @@ public class LensPluggable extends PipePluggable {
@Override
public IPipePluggableRenderer getRenderer() {
return RENDERER;
return new LensPluggableRenderer();
}
@Override

View file

@ -18,9 +18,6 @@ import buildcraft.core.utils.MatrixTranformations;
import buildcraft.transport.PipeIconProvider;
public class PlugPluggable extends PipePluggable {
@SideOnly(Side.CLIENT)
public final PlugPluggableRenderer RENDERER = new PlugPluggableRenderer();
public class PlugPluggableRenderer implements IPipePluggableRenderer {
private float zFightOffset = 1 / 4096.0F;
@ -112,7 +109,7 @@ public class PlugPluggable extends PipePluggable {
@Override
public IPipePluggableRenderer getRenderer() {
return RENDERER;
return new PlugPluggableRenderer();
}
@Override

View file

@ -19,9 +19,6 @@ import buildcraft.core.utils.MatrixTranformations;
import buildcraft.transport.PipeIconProvider;
public class PowerAdapterPluggable extends PipePluggable implements IEnergyHandler {
@SideOnly(Side.CLIENT)
public final PowerAdapterPluggableRenderer RENDERER = new PowerAdapterPluggableRenderer();
private IPipeTile container;
public class PowerAdapterPluggableRenderer implements IPipePluggableRenderer {
@ -125,7 +122,7 @@ public class PowerAdapterPluggable extends PipePluggable implements IEnergyHandl
@Override
public IPipePluggableRenderer getRenderer() {
return RENDERER;
return new PowerAdapterPluggableRenderer();
}
@Override

View file

@ -22,9 +22,6 @@ import buildcraft.transport.PipeIconProvider;
import buildcraft.transport.TileGenericPipe;
public class RobotStationPluggable extends PipePluggable implements IPipePluggableItem {
@SideOnly(Side.CLIENT)
public final RobotStationPluggableRenderer RENDERER = new RobotStationPluggableRenderer();
public class RobotStationPluggableRenderer implements IPipePluggableRenderer {
private float zFightOffset = 1 / 4096.0F;
@ -235,7 +232,7 @@ public class RobotStationPluggable extends PipePluggable implements IPipePluggab
@Override
public IPipePluggableRenderer getRenderer() {
return RENDERER;
return new RobotStationPluggableRenderer();
}
@Override