blob: 49f4dcc9589632462f089f845dd42f1bb94ecd85 [file] [log] [blame] [raw]
package li.cil.oc.common.item
import li.cil.oc.Config
import li.cil.oc.api
import li.cil.oc.server.component
import net.minecraft.client.renderer.texture.IconRegister
class RedstoneCard(val parent: Delegator) extends Delegate {
def unlocalizedName = "RedstoneCard"
api.Persistable.add("oc.item." + unlocalizedName, () => new component.RedstoneCard())
override def registerIcons(iconRegister: IconRegister) {
super.registerIcons(iconRegister)
icon = iconRegister.registerIcon(Config.resourceDomain + ":rscard")
}
}