electrodynamics/archive/java/resonantinduction/old/transport/encoder/SlotDisk.java
2014-01-11 17:44:07 +08:00

22 lines
513 B
Java

package resonantinduction.old.transport.encoder;
import net.minecraft.inventory.IInventory;
import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemStack;
import resonantinduction.old.core.recipe.RecipeLoader;
public class SlotDisk extends Slot
{
public SlotDisk(IInventory par1iInventory, int par2, int par3, int par4)
{
super(par1iInventory, par2, par3, par4);
}
@Override
public boolean isItemValid(ItemStack itemStack)
{
return itemStack.itemID == RecipeLoader.itemDisk.itemID;
}
}