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

Method isHalf

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

Source from the content-addressed store, hash-verified

314 public boolean isEmpty () {return mFluid == null;}
315 public boolean isFull () {return mAmount >= capacity();}
316 public boolean isHalf () {return mAmount * 2 >= capacity();}
317 public boolean overHalf () {return mAmount * 2 > capacity();}
318 public boolean underHalf() {return mAmount * 2 < capacity();}
319

Callers

nothing calls this directly

Calls 1

capacityMethod · 0.95

Tested by

no test coverage detected