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