Refactor, Reorganize, Redo!

This commit is contained in:
mDiyo committed 2013-04-28 02:25:06 -07:00
1 parent b3bac49dfb
commit 8a9348bed0
169 files changed
+407 -402

No files matched your search

@@ -0,0 +1,22 @@
package mods.tinker.tconstruct.inventory;
import mods.tinker.tconstruct.library.IPattern;
import net.minecraft.inventory.IInventory;
import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemStack;
public class SlotPattern extends Slot
{
public SlotPattern(IInventory builder, int par3, int par4, int par5)
{
super(builder, par3, par4, par5);
}
/**
* Check if the stack is a valid item for this slot. Always true beside for the armor slots.
*/
public boolean isItemValid(ItemStack stack)
{
return stack.getItem() instanceof IPattern;
}
}