blob: e3d86724b0468fce28ed639d6488d8bf4dddfd0e [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
}