mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 22:34:21 +00:00
Remove traces of legacy transmitter rendering
This commit is contained in:
1 parent
05c4967f0f
commit
3bd0ff271c
37 files changed
+44
-1240
No files matched your search
@@ -162,12 +162,6 @@ public abstract class PartSidedPipe extends Multipart implements IOccludingPart,
|
||||
return (byte)((connections & ~(byte)(1 << side.ordinal())) | (byte)((toSet ? 1 : 0) << side.ordinal()));
|
||||
}
|
||||
|
||||
public abstract TextureAtlasSprite getCenterIcon(boolean opaque);
|
||||
|
||||
public abstract TextureAtlasSprite getSideIcon(boolean opaque);
|
||||
|
||||
public abstract TextureAtlasSprite getSideIconRotated(boolean opaque);
|
||||
|
||||
@Override
|
||||
public void update()
|
||||
{
|
||||
@@ -215,40 +209,6 @@ public abstract class PartSidedPipe extends Multipart implements IOccludingPart,
|
||||
return false;
|
||||
}
|
||||
|
||||
public TextureAtlasSprite getIconForSide(EnumFacing side, boolean opaque)
|
||||
{
|
||||
ConnectionType type = getConnectionType(side);
|
||||
|
||||
if(type == ConnectionType.NONE)
|
||||
{
|
||||
if(client.oldTransmitterRender || renderCenter())
|
||||
{
|
||||
return getCenterIcon(opaque);
|
||||
}
|
||||
else if(getAllCurrentConnections() == 3 && side != EnumFacing.DOWN && side != EnumFacing.UP)
|
||||
{
|
||||
return getSideIcon(opaque);
|
||||
}
|
||||
else if(getAllCurrentConnections() == 12 && (side == EnumFacing.DOWN || side == EnumFacing.UP))
|
||||
{
|
||||
return getSideIcon(opaque);
|
||||
}
|
||||
else if(getAllCurrentConnections() == 12 && (side == EnumFacing.EAST || side == EnumFacing.WEST))
|
||||
{
|
||||
return getSideIconRotated(opaque);
|
||||
}
|
||||
else if(getAllCurrentConnections() == 48 && side != EnumFacing.EAST && side != EnumFacing.WEST)
|
||||
{
|
||||
return getSideIconRotated(opaque);
|
||||
}
|
||||
|
||||
return getCenterIcon(opaque);
|
||||
}
|
||||
else {
|
||||
return getSideIcon(opaque);
|
||||
}
|
||||
}
|
||||
|
||||
public byte getPossibleTransmitterConnections()
|
||||
{
|
||||
byte connections = 0x00;
|
||||
|
||||
Reference in new issue
Block a user