()
| 357 | public FluidStack get(long aMax) {return isEmpty() || aMax <= 0 ? null : new FluidStack(mFluid, UT.Code.bindInt(mAmount < aMax ? mAmount : aMax));} |
| 358 | |
| 359 | @Override public FluidStack getFluid() {if (mFluid != null) mFluid.amount = UT.Code.bindInt(mAmount); return mFluid;} |
| 360 | @Override public int getFluidAmount() {return UT.Code.bindInt(mAmount);} |
| 361 | @Override public int getCapacity() {return UT.Code.bindInt(capacity());} |
| 362 | @Override public FluidTankInfo getInfo() {return new FluidTankInfo(isEmpty() ? null : mFluid.copy(), UT.Code.bindInt(capacity()));} |
no test coverage detected