@@ -0,0 +1,1175 @@
+package info.u_team.u_team_core.container;%0A%0Aimport info.u_team.u_team_core.api.InteractionType;%0Aimport info.u_team.u_team_core.api.fluid.IExtendedFluidHandler;%0Aimport net.minecraftforge.fluids.FluidStack;%0A%0Apublic class FluidSlot %7B%0A%09%0A%09private final IExtendedFluidHandler fluidHandler;%0A%09private final int index;%0A%09public final int x;%0A%09public final int y;%0A%09%0A%09public FluidSlot(IExtendedFluidHandler fluidHandler, int index, int x, int y) %7B%0A%09%09this.fluidHandler = fluidHandler;%0A%09%09this.index = index;%0A%09%09this.x = x;%0A%09%09this.y = y;%0A%09%7D%0A%09%0A%09public boolean isFluidValid(FluidStack stack) %7B%0A%09%09if (stack.isEmpty()) %7B%0A%09%09%09return false;%0A%09%09%7D%0A%09%09return fluidHandler.isFluidValid(index, stack);%0A%09%7D%0A%09%0A%09public FluidStack getStack() %7B%0A%09%09return fluidHandler.getFluidInTank(index);%0A%09%7D%0A%09%0A%09public void putStack(FluidStack stack) %7B%0A%09%09fluidHandler.setFluidInTank(index, stack);%0A%09%7D%0A%09%0A%09public FluidStack insert(FluidStack stack) %7B%0A%09%09return fluidHandler.insertFluid(index, stack, InteractionType.EXECUTE);%0A%09%7D%0A%09%0A%09public FluidStack extract(int amount) %7B%0A%09%09return fluidHandler.extractFluid(index, amount, InteractionType.EXECUTE);%0A%09%7D%0A%09%0A%09public int getX() %7B%0A%09%09return x;%0A%09%7D%0A%09%0A%09public int getY() %7B%0A%09%09return y;%0A%09%7D%0A%09%0A%7D%0A

Add fluid slot