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

Method capacity

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

Source from the content-addressed store, hash-verified

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);}
334 public long capacity (FluidStack aFluid) {return mAdjustableCapacity == null ? mCapacity : capacity_(aFluid);}
335 public long capacity (Fluid aFluid) {return mAdjustableCapacity == null ? mCapacity : capacity_(aFluid);}
336 public long capacity (String aFluid) {return mAdjustableCapacity == null ? mCapacity : capacity_(aFluid);}

Callers 11

addMethod · 0.95
fillMethod · 0.95
canFillAllMethod · 0.95
fillAllMethod · 0.95
isFullMethod · 0.95
isHalfMethod · 0.95
overHalfMethod · 0.95
underHalfMethod · 0.95
contentcapMethod · 0.95
getCapacityMethod · 0.95
getInfoMethod · 0.95

Calls 1

capacity_Method · 0.95

Tested by

no test coverage detected