22 lines
513 B
Java
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;
|
|
}
|
|
|
|
}
|