Cleanup on tank
fixed model rendering north and south connector wrong fixed water gauge not rendering with a texture changed read out string for the tank to use a formatted string
This commit is contained in:
parent
90539dd231
commit
26af793479
3 changed files with 5 additions and 5 deletions
|
@ -365,7 +365,7 @@ public class ModelLiquidTank extends ModelBase
|
|||
// Front
|
||||
if (conenctedTiles[2] instanceof TileEntityPipe)
|
||||
{
|
||||
CCFront.render(f5);
|
||||
CCBack.render(f5);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -379,7 +379,7 @@ public class ModelLiquidTank extends ModelBase
|
|||
// back
|
||||
if (conenctedTiles[3] instanceof TileEntityPipe)
|
||||
{
|
||||
CCBack.render(f5);
|
||||
CCFront.render(f5);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -110,8 +110,8 @@ public class RenderTank extends TileEntitySpecialRenderer
|
|||
case RED:
|
||||
type = "Lava";
|
||||
break;
|
||||
case BLUE:
|
||||
type = "Water";
|
||||
case YELLOW:
|
||||
type = "Fuel";
|
||||
break;
|
||||
default:
|
||||
type = "";
|
||||
|
|
|
@ -104,7 +104,7 @@ public class TileEntityTank extends TileEntityAdvanced implements IPacketReceive
|
|||
{
|
||||
return "Empty";
|
||||
}
|
||||
return (tank.getLiquid().amount / LiquidContainerRegistry.BUCKET_VOLUME) + "/" + (tank.getCapacity() / LiquidContainerRegistry.BUCKET_VOLUME) + " " + LiquidHandler.get(tank.getLiquid()).getName();
|
||||
return String.format("%d/%d %S Stored", tank.getLiquid().amount / LiquidContainerRegistry.BUCKET_VOLUME, tank.getCapacity() / LiquidContainerRegistry.BUCKET_VOLUME, LiquidHandler.get(tank.getLiquid()).getName());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue