Enum Class AbstractTeam.VisibilityRule

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

public static enum AbstractTeam.VisibilityRule extends Enum<AbstractTeam.VisibilityRule>
Mappings:
Namespace Name
named net/minecraft/scoreboard/AbstractTeam$VisibilityRule
intermediary net/minecraft/class_270$class_272
official fde$b
  • Enum Constant Details

    • ALWAYS

      public static final AbstractTeam.VisibilityRule ALWAYS
      Mappings:
      Namespace Name Mixin selector
      named ALWAYS Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;ALWAYS:Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;
      intermediary field_1442 Lnet/minecraft/class_270$class_272;field_1442:Lnet/minecraft/class_270$class_272;
      official a Lfde$b;a:Lfde$b;
    • NEVER

      public static final AbstractTeam.VisibilityRule NEVER
      Mappings:
      Namespace Name Mixin selector
      named NEVER Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;NEVER:Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;
      intermediary field_1443 Lnet/minecraft/class_270$class_272;field_1443:Lnet/minecraft/class_270$class_272;
      official b Lfde$b;b:Lfde$b;
    • HIDE_FOR_OTHER_TEAMS

      public static final AbstractTeam.VisibilityRule HIDE_FOR_OTHER_TEAMS
      Mappings:
      Namespace Name Mixin selector
      named HIDE_FOR_OTHER_TEAMS Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;HIDE_FOR_OTHER_TEAMS:Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;
      intermediary field_1444 Lnet/minecraft/class_270$class_272;field_1444:Lnet/minecraft/class_270$class_272;
      official c Lfde$b;c:Lfde$b;
    • HIDE_FOR_OWN_TEAM

      public static final AbstractTeam.VisibilityRule HIDE_FOR_OWN_TEAM
      Mappings:
      Namespace Name Mixin selector
      named HIDE_FOR_OWN_TEAM Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;HIDE_FOR_OWN_TEAM:Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;
      intermediary field_1446 Lnet/minecraft/class_270$class_272;field_1446:Lnet/minecraft/class_270$class_272;
      official d Lfde$b;d:Lfde$b;
  • Field Details

    • VISIBILITY_RULES

      private static final Map<String,AbstractTeam.VisibilityRule> VISIBILITY_RULES
      Mappings:
      Namespace Name Mixin selector
      named VISIBILITY_RULES Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;VISIBILITY_RULES:Ljava/util/Map;
      intermediary field_1447 Lnet/minecraft/class_270$class_272;field_1447:Ljava/util/Map;
      official g Lfde$b;g:Ljava/util/Map;
    • name

      public final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;name:Ljava/lang/String;
      intermediary field_1445 Lnet/minecraft/class_270$class_272;field_1445:Ljava/lang/String;
      official e Lfde$b;e:Ljava/lang/String;
    • value

      public final int value
      Mappings:
      Namespace Name Mixin selector
      named value Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;value:I
      intermediary field_1441 Lnet/minecraft/class_270$class_272;field_1441:I
      official f Lfde$b;f:I
  • Constructor Details

    • VisibilityRule

      private VisibilityRule(String name, int value)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;<init>(Ljava/lang/String;ILjava/lang/String;I)V
      intermediary <init> Lnet/minecraft/class_270$class_272;<init>(Ljava/lang/String;ILjava/lang/String;I)V
      official <init> Lfde$b;<init>(Ljava/lang/String;ILjava/lang/String;I)V
  • Method Details

    • values

      public static AbstractTeam.VisibilityRule[] 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 AbstractTeam.VisibilityRule 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
    • getKeys

      public static String[] getKeys()
      Mappings:
      Namespace Name Mixin selector
      named getKeys Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;getKeys()[Ljava/lang/String;
      intermediary method_35595 Lnet/minecraft/class_270$class_272;method_35595()[Ljava/lang/String;
      official a Lfde$b;a()[Ljava/lang/String;
    • getRule

      @Nullable public static @Nullable AbstractTeam.VisibilityRule getRule(String name)
      Mappings:
      Namespace Name Mixin selector
      named getRule Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;getRule(Ljava/lang/String;)Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;
      intermediary method_1213 Lnet/minecraft/class_270$class_272;method_1213(Ljava/lang/String;)Lnet/minecraft/class_270$class_272;
      official a Lfde$b;a(Ljava/lang/String;)Lfde$b;
    • getDisplayName

      public Text getDisplayName()
      Mappings:
      Namespace Name Mixin selector
      named getDisplayName Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;getDisplayName()Lnet/minecraft/text/Text;
      intermediary method_1214 Lnet/minecraft/class_270$class_272;method_1214()Lnet/minecraft/class_2561;
      official b Lfde$b;b()Lxv;