Dye

data class Dye(val name: String, val color: Int, val rarity: Rarity, val repr: Material, val specialChar: String = "") : Cosmetic(source)

A cosmetic that applies a dye to a leather armor piece

Constructors

Link copied to clipboard
constructor(name: String, color: Int, rarity: Rarity, repr: Material, specialChar: String = "")

Properties

Link copied to clipboard
val color: Int

Color the dye applies

Link copied to clipboard

Display name of the dye

Link copied to clipboard

Rarity of the dye item

Link copied to clipboard
val repr: Material

The item this dye is represented by, e.g. Material.INK_SAC

Link copied to clipboard

A special character this dye adds to applied item's name