Package org.spongepowered.api.scoreboard
Class Visibilities
- java.lang.Object
-
- org.spongepowered.api.scoreboard.Visibilities
-
public final class Visibilities extends java.lang.Object
Visibility names which cause nametags or death messages to be displayed differently to players on a team.
-
-
Field Summary
Fields Modifier and Type Field Description static DefaultedRegistryReference<Visibility>
ALWAYS
Death messages or nametags are always visible.static DefaultedRegistryReference<Visibility>
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.static DefaultedRegistryReference<Visibility>
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.static DefaultedRegistryReference<Visibility>
NEVER
Death messages or nametags are never visible.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Registry<Visibility>
registry()
-
-
-
Field Detail
-
ALWAYS
public static final DefaultedRegistryReference<Visibility> ALWAYS
Death messages or nametags are always visible.This is the default value.
-
HIDE_FOR_OTHER_TEAMS
public static final DefaultedRegistryReference<Visibility> 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
public static final DefaultedRegistryReference<Visibility> 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
public static final DefaultedRegistryReference<Visibility> NEVER
Death messages or nametags are never visible.
-
-
Method Detail
-
registry
public static Registry<Visibility> registry()
-
-