blob: 3de90f6324439b360ebc5421af9419b5fd58dd77 [file] [log] [blame] [raw]
package li.cil.oc.common.block
import li.cil.oc.util.Color
class ChameliumBlock extends SimpleBlock {
override protected def customTextures = Array(
Some("White"),
Some("White"),
Some("White"),
Some("White"),
Some("White"),
Some("White")
)
override def getRenderColor(meta: Int): Int = Color.byOreName(Color.dyes(meta max 0 min Color.dyes.length))
override def damageDropped(meta: Int): Int = meta
}