fix SMP
This commit is contained in:
parent
73eaf3e039
commit
dfeee5d88c
4 changed files with 4 additions and 16 deletions
|
@ -23,9 +23,6 @@ import buildcraft.transport.pipes.events.PipeEventItem;
|
||||||
import buildcraft.transport.render.FakeBlock;
|
import buildcraft.transport.render.FakeBlock;
|
||||||
|
|
||||||
public class LensPluggable extends PipePluggable {
|
public class LensPluggable extends PipePluggable {
|
||||||
@SideOnly(Side.CLIENT)
|
|
||||||
public final LensPluggableRenderer RENDERER = new LensPluggableRenderer();
|
|
||||||
|
|
||||||
public int color;
|
public int color;
|
||||||
public boolean isFilter;
|
public boolean isFilter;
|
||||||
protected IPipeTile container;
|
protected IPipeTile container;
|
||||||
|
@ -123,7 +120,7 @@ public class LensPluggable extends PipePluggable {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public IPipePluggableRenderer getRenderer() {
|
public IPipePluggableRenderer getRenderer() {
|
||||||
return RENDERER;
|
return new LensPluggableRenderer();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -18,9 +18,6 @@ import buildcraft.core.utils.MatrixTranformations;
|
||||||
import buildcraft.transport.PipeIconProvider;
|
import buildcraft.transport.PipeIconProvider;
|
||||||
|
|
||||||
public class PlugPluggable extends PipePluggable {
|
public class PlugPluggable extends PipePluggable {
|
||||||
@SideOnly(Side.CLIENT)
|
|
||||||
public final PlugPluggableRenderer RENDERER = new PlugPluggableRenderer();
|
|
||||||
|
|
||||||
public class PlugPluggableRenderer implements IPipePluggableRenderer {
|
public class PlugPluggableRenderer implements IPipePluggableRenderer {
|
||||||
private float zFightOffset = 1 / 4096.0F;
|
private float zFightOffset = 1 / 4096.0F;
|
||||||
|
|
||||||
|
@ -112,7 +109,7 @@ public class PlugPluggable extends PipePluggable {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public IPipePluggableRenderer getRenderer() {
|
public IPipePluggableRenderer getRenderer() {
|
||||||
return RENDERER;
|
return new PlugPluggableRenderer();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -19,9 +19,6 @@ import buildcraft.core.utils.MatrixTranformations;
|
||||||
import buildcraft.transport.PipeIconProvider;
|
import buildcraft.transport.PipeIconProvider;
|
||||||
|
|
||||||
public class PowerAdapterPluggable extends PipePluggable implements IEnergyHandler {
|
public class PowerAdapterPluggable extends PipePluggable implements IEnergyHandler {
|
||||||
@SideOnly(Side.CLIENT)
|
|
||||||
public final PowerAdapterPluggableRenderer RENDERER = new PowerAdapterPluggableRenderer();
|
|
||||||
|
|
||||||
private IPipeTile container;
|
private IPipeTile container;
|
||||||
|
|
||||||
public class PowerAdapterPluggableRenderer implements IPipePluggableRenderer {
|
public class PowerAdapterPluggableRenderer implements IPipePluggableRenderer {
|
||||||
|
@ -125,7 +122,7 @@ public class PowerAdapterPluggable extends PipePluggable implements IEnergyHandl
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public IPipePluggableRenderer getRenderer() {
|
public IPipePluggableRenderer getRenderer() {
|
||||||
return RENDERER;
|
return new PowerAdapterPluggableRenderer();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -22,9 +22,6 @@ import buildcraft.transport.PipeIconProvider;
|
||||||
import buildcraft.transport.TileGenericPipe;
|
import buildcraft.transport.TileGenericPipe;
|
||||||
|
|
||||||
public class RobotStationPluggable extends PipePluggable implements IPipePluggableItem {
|
public class RobotStationPluggable extends PipePluggable implements IPipePluggableItem {
|
||||||
@SideOnly(Side.CLIENT)
|
|
||||||
public final RobotStationPluggableRenderer RENDERER = new RobotStationPluggableRenderer();
|
|
||||||
|
|
||||||
public class RobotStationPluggableRenderer implements IPipePluggableRenderer {
|
public class RobotStationPluggableRenderer implements IPipePluggableRenderer {
|
||||||
private float zFightOffset = 1 / 4096.0F;
|
private float zFightOffset = 1 / 4096.0F;
|
||||||
|
|
||||||
|
@ -235,7 +232,7 @@ public class RobotStationPluggable extends PipePluggable implements IPipePluggab
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public IPipePluggableRenderer getRenderer() {
|
public IPipePluggableRenderer getRenderer() {
|
||||||
return RENDERER;
|
return new RobotStationPluggableRenderer();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue