From 6312636fd9a4d0f56dc7c9ff474a99d879bcb4e9 Mon Sep 17 00:00:00 2001 From: OnyxDarkKnight Date: Mon, 23 Mar 2015 14:51:06 +0000 Subject: Reworked the whole repo. --- .../jewelrycraft/container/SlotNecklace.java | 52 ---------------------- 1 file changed, 52 deletions(-) delete mode 100644 java/darkknight/jewelrycraft/container/SlotNecklace.java (limited to 'java/darkknight/jewelrycraft/container/SlotNecklace.java') diff --git a/java/darkknight/jewelrycraft/container/SlotNecklace.java b/java/darkknight/jewelrycraft/container/SlotNecklace.java deleted file mode 100644 index 42543b0..0000000 --- a/java/darkknight/jewelrycraft/container/SlotNecklace.java +++ /dev/null @@ -1,52 +0,0 @@ -package darkknight.jewelrycraft.container; - -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.inventory.IInventory; -import net.minecraft.inventory.Slot; -import net.minecraft.item.ItemStack; -import darkknight.jewelrycraft.item.ItemNecklace; - -public class SlotNecklace extends Slot -{ - - /** - * @param tile - * @param slotID - * @param x - * @param y - */ - public SlotNecklace(IInventory tile, int slotID, int x, int y) - { - super(tile, slotID, x, y); - } - - /** - * @param stack - * @return - */ - @Override - public boolean isItemValid(ItemStack stack) - { - return stack.getItem() instanceof ItemNecklace; - } - - /** - * @param amount - * @return - */ - @Override - public ItemStack decrStackSize(int amount) - { - return super.decrStackSize(amount); - } - - /** - * @param player - * @return - */ - @Override - public boolean canTakeStack(EntityPlayer player) - { - return true; - } -} -- cgit v1.2.3