Enum Class Team.Visible

java.lang.Object
java.lang.Enum<Team.Visible>
net.minecraft.scoreboard.Team.Visible
All Implemented Interfaces:
Serializable, Comparable<Team.Visible>, Constable
Enclosing class:
Team

public static enum Team.Visible extends Enum<Team.Visible>
  • Enum Constant Details

    • ALWAYS

      public static final Team.Visible ALWAYS
    • NEVER

      public static final Team.Visible NEVER
    • HIDE_FOR_OTHER_TEAMS

      public static final Team.Visible HIDE_FOR_OTHER_TEAMS
    • HIDE_FOR_OWN_TEAM

      public static final Team.Visible HIDE_FOR_OWN_TEAM
  • Field Details

  • Constructor Details

    • Visible

      private Visible(String p_i45550_3_, int p_i45550_4_)
  • Method Details

    • values

      public static Team.Visible[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Team.Visible valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • byName

      @Nullable public static Team.Visible byName(String p_178824_0_)
    • getDisplayName

      public ITextComponent getDisplayName()