package pneumaticCraft.common.inventory; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.inventory.IInventory; import net.minecraft.item.ItemStack; /** * * @author CovertJaguar <http://www.railcraft.info> */ public class SlotUntouchable extends SlotBase implements IPhantomSlot{ public SlotUntouchable(IInventory contents, int id, int x, int y){ super(contents, id, x, y); } @Override public boolean isItemValid(ItemStack itemstack){ return false; } @Override public boolean canTakeStack(EntityPlayer par1EntityPlayer){ return false; } @Override public boolean canAdjust(){ return false; } @Override public boolean canShift(){ return false; } }