Package org.spongepowered.api.scoreboard
Class Visibilities
java.lang.Object
org.spongepowered.api.scoreboard.Visibilities
Visibility names which cause nametags or death messages to be displayed
differently to players on a team.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final DefaultedRegistryReference<Visibility>
Death messages or nametags are always visible.static final DefaultedRegistryReference<Visibility>
Death messages or nametags for members of other teams will not be visible, but death messages or nametags for members of the same team will be visible.static final DefaultedRegistryReference<Visibility>
Death messages or nametags for members of other teams will be visible, but death messages or nametags for members of the same team will not be visible.static final DefaultedRegistryReference<Visibility>
Death messages or nametags are never visible. -
Method Summary
-
Field Details
-
ALWAYS
Death messages or nametags are always visible.This is the default value.
-
HIDE_FOR_OTHER_TEAMS
Death messages or nametags for members of other teams will not be visible, but death messages or nametags for members of the same team will be visible. -
HIDE_FOR_OWN_TEAM
Death messages or nametags for members of other teams will be visible, but death messages or nametags for members of the same team will not be visible. -
NEVER
Death messages or nametags are never visible.
-
-
Method Details
-
registry
-