Tiered tank and storage blocks, GUI improvements, refactoring, cell nerf and misc organisation (#1932)

Tanks, storage blocks and variouse stuff. Thanks to Dimmerworld!!
This commit is contained in:
Justin Vitale 2020-01-03 08:24:46 +11:00 committed by drcrazy
parent 2fc9557516
commit 9328c47bed
207 changed files with 1830 additions and 928 deletions

View file

@ -71,7 +71,7 @@ public class FluidUtils {
FluidValue freeSpace = target.getCapacity(null).subtract(targetFluidInstance.getAmount());
if(!outputStack.isEmpty()){
if(outputStack.getCount() + 1 >= outputStack.getMaxCount()){
if(outputStack.getCount() >= outputStack.getMaxCount()){
return false;
}
}
@ -128,7 +128,7 @@ public class FluidUtils {
inputStack.decrement(1);
return false;
return true;
}
public static boolean fluidEquals(@Nonnull Fluid fluid, @Nonnull Fluid fluid1) {