use of buildcraft.lib.fluids.Tank in project BuildCraft by BuildCraft.
the class TileDistiller method getDebugInfo.
@Override
public void getDebugInfo(List<String> left, List<String> right, EnumFacing side) {
Tank[] tanks = { in, outGas, outLiquid };
left.add("");
left.add("Sleep = " + sleep);
for (Tank t : tanks) {
left.add(StringUtils.capitalize(t.getTankName()) + ":");
left.add(" " + t.getFluidAmount() + "/" + t.getCapacity() + "mB");
left.add(" " + (t.getFluid() == null ? "empty" : t.getFluidType().getLocalizedName(t.getFluid())));
}
}
Aggregations