package lumaceon.mods.clockworkphase2.inventory.slot;
import lumaceon.mods.clockworkphase2.api.MainspringMetalRegistry;
import net.minecraft.inventory.IInventory;
import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemStack;
public class SlotMainspringMetal extends Slot
{
public SlotMainspringMetal(IInventory inventory, int slotId, int x, int y) {
super(inventory, slotId, x, y);
}
@Override
public boolean isItemValid(ItemStack is) {
return MainspringMetalRegistry.getValue(is) > 0;
}
}