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

Method setCapacity

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

Sets the Capacity, and yes it accepts 63 Bit Numbers

(long aCapacity)

Source from the content-addressed store, hash-verified

292 public FluidTankGT setIndex(int aIndex) {mIndex = aIndex; return this;}
293 /** Sets the Capacity, and yes it accepts 63 Bit Numbers */
294 public FluidTankGT setCapacity(long aCapacity) {if (aCapacity >= 0) mCapacity = aCapacity; return this;}
295 /** Always keeps at least 0 Liters of Fluid instead of setting it to null */
296 public FluidTankGT setPreventDraining() {return setPreventDraining(T);}
297 /** Always keeps at least 0 Liters of Fluid instead of setting it to null */

Callers 15

readFromNBT2Method · 0.80
readFromNBT2Method · 0.80
readFromNBT2Method · 0.80
readFromNBT2Method · 0.80
readFromNBT2Method · 0.80
readFromNBT2Method · 0.80
readFromNBT2Method · 0.80
readFromNBT2Method · 0.80
readFromNBT2Method · 0.80
readFromNBT2Method · 0.80
readFromNBT2Method · 0.80

Calls 3

getFluidMethod · 0.45
getNameMethod · 0.45
putMethod · 0.45

Tested by

no test coverage detected