blob: de19a96e2cd08157cd7f02ca26bcd08005d2ccf3 [file] [log] [blame] [raw]
package li.cil.oc.common.item
import li.cil.oc.Settings
import net.minecraft.client.renderer.texture.IconRegister
class Chip(val parent: Delegator, val tier: Int) extends Delegate {
val baseName = "Chip"
val unlocalizedName = baseName + Array("Basic", "Advanced", "Professional").apply(tier)
override def registerIcons(iconRegister: IconRegister) = {
super.registerIcons(iconRegister)
icon = iconRegister.registerIcon(Settings.resourceDomain + ":chipset" + tier)
}
}