Interface ItemRarity
- All Superinterfaces:
DefaultedRegistryValue<ItemRarity>, StringRepresentable
@CatalogedBy(ItemRarities.class)
public interface ItemRarity
extends DefaultedRegistryValue<ItemRarity>, StringRepresentable
The rarity of an item.
-
Method Summary
Modifier and TypeMethodDescriptioncolor()Gets theTextColorused to decorate tooltips of items with thisItemRarity.Methods inherited from interface DefaultedRegistryValue
asDefaultedReference, findKey, keyMethods inherited from interface StringRepresentable
serializationString
-
Method Details
-
color
TextColor color()Gets theTextColorused to decorate tooltips of items with thisItemRarity.- Returns:
- The color of the rarity.
-