Rarity

public final class Rarity extends Record

Represents a user-defined rarity tier for skins.

Parameters

id

Config key identifier.

name

MiniMessage display name.

color

MiniMessage color prefix applied before the name.

priority

Sort order; lower values appear first.

Constructors

Link copied to clipboard
public void Rarity()

Functions

Link copied to clipboard
public abstract boolean equals(Object p)
Link copied to clipboard
@NotNull()
public @NotNull() String getDisplayName()
Returns the combined MiniMessage display string for this rarity.
Link copied to clipboard
public abstract int hashCode()
Link copied to clipboard
public abstract String toString()