blob: c59e17429df14b0e322b79446557775a4a234152 [file] [log] [blame] [raw]
package li.cil.oc.common.items
import li.cil.oc.Config
import li.cil.oc.CreativeTab
import net.minecraft.item.Item
import net.minecraft.world.World
class ItemGraphicsCard extends Item(Config.itemGPUId) {
setMaxStackSize(1)
//setHasSubtypes(true)
setUnlocalizedName("oc.gpu")
setCreativeTab(CreativeTab)
override def shouldPassSneakingClickToBlock(world: World, x: Int, y: Int, z: Int) = true
}