@@ -0,0 +1,575 @@
+package info.u_team.u_team_core.util;%0A%0Aimport net.minecraftforge.fluids.FluidStack;%0A%0Apublic class FluidHandlerHelper %7B%0A%09%0A%09public static boolean canFluidStacksStack(FluidStack a, FluidStack b) %7B%0A%09%09if (a.isEmpty() %7C%7C !(a.getFluid() == b.getFluid()) %7C%7C a.hasTag() != b.hasTag()) %7B%0A%09%09%09return false;%0A%09%09%7D%0A%09%09%0A%09%09return (!a.hasTag() %7C%7C a.getTag().equals(b.getTag()));%0A%09%7D%0A%09%0A%09public static FluidStack copyStackWithSize(FluidStack stack, int size) %7B%0A%09%09if (size == 0) %7B%0A%09%09%09return FluidStack.EMPTY;%0A%09%09%7D%0A%09%09final FluidStack copy = stack.copy();%0A%09%09copy.setAmount(size);%0A%09%09return copy;%0A%09%7D%0A%09%0A%7D%0A

Add fluid handler helper