blob: d2f0aa6d7cddfd097d8bee54579a2c83c7e8a20b [file] [log] [blame] [raw]
package li.cil.oc.common.item
import li.cil.oc.Config
import net.minecraft.client.renderer.texture.IconRegister
class Hdd(val parent: Delegator, val megaBytes: Int) extends Delegate {
def unlocalizedName = "HardDiskDrive" + megaBytes + "m"
override def registerIcons(iconRegister: IconRegister) {
super.registerIcons(iconRegister)
icon = iconRegister.registerIcon(Config.resourceDomain + ":hdd" + megaBytes)
}
}