MCPcopy Create free account
hub / github.com/GregTech6/gregtech6 / contentcap

Method contentcap

src/main/java/gregapi/fluid/FluidTankGT.java:350–350  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

348 public String content() {return content("Empty");}
349 public String content(String aEmptyMessage) {return mFluid == null ? aEmptyMessage : UT.Code.makeString(amount()) + " L of " + name(T) + " (" + (FL.gas(mFluid) ? "Gaseous" : "Liquid") + ")";}
350 public String contentcap() {return mFluid == null ? "Capacity: " + UT.Code.makeString(mCapacity) + " L" : UT.Code.makeString(amount()) + " L of " + name(T) + " (" + (FL.gas(mFluid) ? "Gaseous" : "Liquid") + "); Max: "+UT.Code.makeString(capacity())+" L)";}
351
352 public Fluid fluid() {return mFluid == null ? null : mFluid.getFluid();}
353

Callers 6

addToolTipsMethod · 0.80
onToolClick2Method · 0.80
addToolTipsMethod · 0.80
onToolClick2Method · 0.80
addToolTipsMethod · 0.80
onMagnifyingGlass2Method · 0.80

Calls 5

amountMethod · 0.95
nameMethod · 0.95
gasMethod · 0.95
capacityMethod · 0.95
makeStringMethod · 0.45

Tested by

no test coverage detected