@@ -0,0 +1,591 @@
+package info.u_team.u_team_core.container;%0A%0Aimport info.u_team.u_team_core.inventory.UItemStackHandler;%0Aimport net.minecraftforge.items.*;%0A%0Apublic class ItemSlot extends SlotItemHandler %7B%0A%09%0A%09private final IItemHandler itemHandler;%0A%09private final int index;%0A%09%0A%09public ItemSlot(IItemHandler itemHandler, int index, int x, int y) %7B%0A%09%09super(itemHandler, index, x, y);%0A%09%09this.itemHandler = itemHandler;%0A%09%09this.index = index;%0A%09%7D%0A%09%0A%09@Override%0A%09public void onSlotChanged() %7B%0A%09%09if (itemHandler instanceof UItemStackHandler) %7B%0A%09%09%09((UItemStackHandler) itemHandler).onContentsChanged(index);%0A%09%09%7D%0A%09%7D%0A%09%0A%7D%0A

Add item slot with the IItemHandler that calls the onSlotChanged method