package info.u_team.u_team_test.tileentity;

import info.u_team.u_team_core.tileentity.UTickableTileEntity;
import info.u_team.u_team_test.init.TestTileEntityTypes;

public class BasicFluidInventoryTileEntity extends UTickableTileEntity {
	
	public BasicFluidInventoryTileEntity() {
		super(TestTileEntityTypes.BASIC_FLUID_INVENTORY);
	}
	
}

@@ -38,16 +38,60 @@
 ntity;%0A%0A
+import info.u_team.u_team_core.inventory.*;%0A
 import i
@@ -206,176 +206,1430 @@
 es;%0A
-%0Apublic class BasicFluidInventoryTileEntity extends UTickableTileEntity %7B%0A%09%0A%09public BasicFluidInventoryTileEntity() %7B%0A%09%09super(TestTileEntityTypes.BASIC_FLUID_INVENTORY)
+import net.minecraft.nbt.CompoundNBT;%0Aimport net.minecraftforge.common.util.LazyOptional;%0A%0Apublic class BasicFluidInventoryTileEntity extends UTickableTileEntity %7B%0A%09%0A%09protected final UItemStackHandler itemSlots;%0A%09protected final LazyOptional%3CUItemStackHandler%3E itemSlotsOptional;%0A%09%0A%09protected final UFluidStackHandler fluidTanks;%0A%09protected final LazyOptional%3CUFluidStackHandler%3E fluidTanksOptional;%0A%09%0A%09public BasicFluidInventoryTileEntity() %7B%0A%09%09super(TestTileEntityTypes.BASIC_FLUID_INVENTORY);%0A%09%09%0A%09%09itemSlots = new TileEntityUItemStackHandler(4, this);%0A%09%09itemSlotsOptional = LazyOptional.of(() -%3E itemSlots);%0A%09%09%0A%09%09fluidTanks = new UFluidStackHandler(4); // TODO tile entity u fluid stack handler%0A%09%09fluidTanksOptional = LazyOptional.of(() -%3E fluidTanks);%0A%09%7D%0A%09%0A%09@Override%0A%09public void writeNBT(CompoundNBT compound) %7B%0A%09%09super.writeNBT(compound);%0A%09%09compound.put(%22items%22, itemSlots.serializeNBT());%0A%09%09compound.put(%22fluids%22, fluidTanks.serializeNBT());%0A%09%7D%0A%09%0A%09@Override%0A%09public void readNBT(CompoundNBT compound) %7B%0A%09%09super.readNBT(compound);%0A%09%09itemSlots.deserializeNBT(compound.getCompound(%22items%22));%0A%09%09fluidTanks.deserializeNBT(compound.getCompound(%22fluids%22));%0A%09%7D%0A%09%0A%09@Override%0A%09public void remove() %7B%0A%09%09super.remove();%0A%09%09itemSlotsOptional.invalidate();%0A%09%09fluidTanksOptional.invalidate();%0A%09%7D%0A%09%0A%09public UItemStackHandler getItemSlots() %7B%0A%09%09return itemSlots;%0A%09%7D%0A%09%0A%09public UFluidStackHandler getFluidTanks() %7B%0A%09%09return fluidTanks
 ;%0A%09%7D

Add basic item slots and fluid tanks to the basic fluid inventory te