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

Method amount

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

Source from the content-addressed store, hash-verified

328 public boolean changed() {return mChangedFluids;}
329
330 public long amount() {return isEmpty() ? 0 : mAmount;}
331 public long amount(long aMax) {return isEmpty() || aMax <= 0 ? 0 : Math.min(mAmount, aMax);}
332
333 public long capacity ( ) {return mAdjustableCapacity == null ? mCapacity : capacity_(mFluid);}

Callers 3

distributeMethod · 0.95
contentMethod · 0.95
contentcapMethod · 0.95

Calls 1

isEmptyMethod · 0.95

Tested by

no test coverage detected