Upgrade fluid interfaces

9 tanks, with up to 64B/fluid with 2 capacity cards
This commit is contained in:
PrototypeTrousers
2022-10-11 23:04:10 -03:00
parent 53f18f8e80
commit f7be92adcf
9 changed files with 98 additions and 16 deletions
@@ -87,9 +87,8 @@ public class GuiFluidTank extends GuiCustomSlot implements ITooltip {
final IAEFluidStack fluid = this.tank.getFluidInSlot(this.slot);
if (fluid != null && fluid.getStackSize() > 0) {
String desc = fluid.getFluid().getLocalizedName(fluid.getFluidStack());
String amountToText = fluid.getStackSize() + "mB";
return desc + "\n" + amountToText;
return desc + "\n" + fluid.getStackSize() + "/" + this.tank.getTankProperties()[this.slot].getCapacity() + "mB";
}
return null;
}