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
official dwt$b
intermediary net/minecraft/class_270$class_272
named net/minecraft/scoreboard/AbstractTeam$VisibilityRule
  • Enum Constant Details

    • ALWAYS

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

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

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

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

    • VISIBILITY_RULES

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

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

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

    • VisibilityRule

      private VisibilityRule(String name, int value)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldwt$b;<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
      named <init> Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;<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
      official a Ldwt$b;a()[Ljava/lang/String;
      intermediary method_35595 Lnet/minecraft/class_270$class_272;method_35595()[Ljava/lang/String;
      named getKeys Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;getKeys()[Ljava/lang/String;
    • getRule

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

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