blob: 02c129e902e8a27577768371b0cd822ff49226a0 [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
/** Buffer is only needed on server, we synchronize it ourselves. */
override def getShareTag = false
}