RarityData

constructor(id: RarityId = RarityId("common"), color: String = "#ffffff", cacheCommand: List<String> = emptyList(), displayName: Map<@Serializable(with = LocaleSerializer::class) Locale, @Serializable(with = ComponentSerializer::class) Component> = mapOf( Locale.JAPAN to Component.text("レアリティ"), ), weight: Double = 1.0, worthExpression: String = "1")

Parameters

id

レアリティのID

color

レアリティの色 Hex

displayName

レアリティの表示名

weight

レアリティの重み