Package net.minecraft.scoreboard
Enum AbstractTeam.VisibilityRule
- All Implemented Interfaces:
Serializable,Comparable<AbstractTeam.VisibilityRule>,java.lang.constant.Constable
- Enclosing class:
- AbstractTeam
- Mappings:
Namespace Name official dna$bintermediary net/minecraft/class_270$class_272named net/minecraft/scoreboard/AbstractTeam$VisibilityRule
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String[]static AbstractTeam.VisibilityRuleReturns the enum constant of this type with the specified name.static AbstractTeam.VisibilityRule[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ALWAYS
- Mappings:
Namespace Name Mixin selector official aLdna$b;a:Ldna$b;intermediary field_1442Lnet/minecraft/class_270$class_272;field_1442:Lnet/minecraft/class_270$class_272;named ALWAYSLnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;ALWAYS:Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;
-
NEVER
- Mappings:
Namespace Name Mixin selector official bLdna$b;b:Ldna$b;intermediary field_1443Lnet/minecraft/class_270$class_272;field_1443:Lnet/minecraft/class_270$class_272;named NEVERLnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;NEVER:Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;
-
HIDE_FOR_OTHER_TEAMS
- Mappings:
Namespace Name Mixin selector official cLdna$b;c:Ldna$b;intermediary field_1444Lnet/minecraft/class_270$class_272;field_1444:Lnet/minecraft/class_270$class_272;named HIDE_FOR_OTHER_TEAMSLnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;HIDE_FOR_OTHER_TEAMS:Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;
-
HIDE_FOR_OWN_TEAM
- Mappings:
Namespace Name Mixin selector official dLdna$b;d:Ldna$b;intermediary field_1446Lnet/minecraft/class_270$class_272;field_1446:Lnet/minecraft/class_270$class_272;named HIDE_FOR_OWN_TEAMLnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;HIDE_FOR_OWN_TEAM:Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;
-
-
Field Details
-
VISIBILITY_RULES
- Mappings:
Namespace Name Mixin selector official gLdna$b;g:Ljava/util/Map;intermediary field_1447Lnet/minecraft/class_270$class_272;field_1447:Ljava/util/Map;named VISIBILITY_RULESLnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;VISIBILITY_RULES:Ljava/util/Map;
-
name
- Mappings:
Namespace Name Mixin selector official eLdna$b;e:Ljava/lang/String;intermediary field_1445Lnet/minecraft/class_270$class_272;field_1445:Ljava/lang/String;named nameLnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;name:Ljava/lang/String;
-
value
public final int value- Mappings:
Namespace Name Mixin selector official fLdna$b;f:Iintermediary field_1441Lnet/minecraft/class_270$class_272;field_1441:Inamed valueLnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;value:I
-
-
Constructor Details
-
VisibilityRule
- Mappings:
Namespace Name Mixin selector official <init>Ldna$b;<init>(Ljava/lang/String;ILjava/lang/String;I)Vintermediary <init>Lnet/minecraft/class_270$class_272;<init>(Ljava/lang/String;ILjava/lang/String;I)Vnamed <init>Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;<init>(Ljava/lang/String;ILjava/lang/String;I)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
method_35595
- Mappings:
Namespace Name Mixin selector official aLdna$b;a()[Ljava/lang/String;intermediary method_35595Lnet/minecraft/class_270$class_272;method_35595()[Ljava/lang/String;named method_35595Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;method_35595()[Ljava/lang/String;
-
getRule
- Mappings:
Namespace Name Mixin selector official aLdna$b;a(Ljava/lang/String;)Ldna$b;intermediary method_1213Lnet/minecraft/class_270$class_272;method_1213(Ljava/lang/String;)Lnet/minecraft/class_270$class_272;named getRuleLnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;getRule(Ljava/lang/String;)Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;
-
getTranslationKey
- Mappings:
Namespace Name Mixin selector official bLdna$b;b()Lon;intermediary method_1214Lnet/minecraft/class_270$class_272;method_1214()Lnet/minecraft/class_2561;named getTranslationKeyLnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;getTranslationKey()Lnet/minecraft/text/Text;
-