blob: 404244f83603fab180a0199667be21890c2a0a53 [file] [log] [blame] [raw]
package li.cil.oc.common.item
import li.cil.oc.Config
import net.minecraft.client.renderer.texture.IconRegister
class Memory(val parent: Delegator, val kiloBytes: Int) extends Delegate {
val unlocalizedName = "Memory" + kiloBytes + "k"
override def registerIcons(iconRegister: IconRegister) {
super.registerIcons(iconRegister)
icon = iconRegister.registerIcon(Config.resourceDomain + ":ram" + kiloBytes)
}
}