wipe repo for a moment to swap branches w/o conflicts

This commit is contained in:
Progwml6 committed 2014-02-03 10:11:27 -05:00
1 parent 9041ad1ff8
commit 88126116fb
4378 files changed
-86346

No files matched your search

@@ -1,34 +0,0 @@
package tconstruct.inventory;
import tconstruct.items.armor.HeartCanister;
import net.minecraft.inventory.IInventory;
import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemStack;
import net.minecraft.item.Item;
public class SlotCanister extends Slot
{
public SlotCanister(IInventory par2IInventory, int par3, int par4, int par5)
{
super(par2IInventory, par3, par4, par5);
//this.parent = container;
}
/**
* Returns the maximum stack size for a given slot (usually the same as getInventoryStackLimit(), but 1 in the case
* of armor slots)
*/
public int getSlotStackLimit ()
{
return 10;
}
/**
* Check if the stack is a valid item for this slot. Always true beside for the armor slots.
*/
public boolean isItemValid (ItemStack par1ItemStack)
{
Item item = (par1ItemStack == null ? null : par1ItemStack.getItem());
return item != null && (item instanceof HeartCanister);
}
}