@@ -0,0 +1,566 @@
+package reborncore.client.gui;%0A%0Aimport net.minecraft.inventory.IInventory;%0Aimport net.minecraft.inventory.Slot;%0Aimport net.minecraft.item.ItemStack;%0Aimport reborncore.api.power.IEnergyItemInfo;%0A%0A/**%0A * Created by Rushmead%0A */%0Apublic class SlotCharge extends Slot%0A%7B%0A%09public SlotCharge(IInventory inventoryIn, int index, int xPosition, int yPosition)%0A%09%7B%0A%09%09super(inventoryIn, index, xPosition, yPosition);%0A%09%7D%0A%0A%09@Override public boolean isItemValid(ItemStack stack)%0A%09%7B%0A%09%09if(stack.getItem() instanceof IEnergyItemInfo)%7B%0A%09%09%09return true;%0A%09%09%7Delse%7B%0A%09%09%09return false;%0A%09%09%7D%0A%09%7D%0A%7D%0A

Add SlotCharge