Class ObjectiveDisplayModes
- java.lang.Object
-
- org.spongepowered.api.scoreboard.objective.displaymode.ObjectiveDisplayModes
-
public final class ObjectiveDisplayModes extends Object
ObjectiveDisplayModes which cause scores for anObjectiveto be be displayed differently.
-
-
Field Summary
Fields Modifier and Type Field Description static DefaultedRegistryReference<ObjectiveDisplayMode>HEARTSCauses the scores for anObjectiveto be displayed as hearts.static DefaultedRegistryReference<ObjectiveDisplayMode>INTEGERCauses the scores for anObjectiveto be displayed as integers.
-
-
-
Field Detail
-
HEARTS
public static final DefaultedRegistryReference<ObjectiveDisplayMode> HEARTS
Causes the scores for anObjectiveto be displayed as hearts.This only has an effect for an
Objectivewith the display slotDisplaySlots.LIST.
-
INTEGER
public static final DefaultedRegistryReference<ObjectiveDisplayMode> INTEGER
Causes the scores for anObjectiveto be displayed as integers.
-
-
Method Detail
-
registry
public static Registry<ObjectiveDisplayMode> registry()
-
-