Package net.minecraft.scoreboard
Enum Class AbstractTeam.CollisionRule
- All Implemented Interfaces:
Serializable,Comparable<AbstractTeam.CollisionRule>,Constable
- Enclosing class:
AbstractTeam
- Mappings:
Namespace Name official efa$aintermediary net/minecraft/class_270$class_271named net/minecraft/scoreboard/AbstractTeam$CollisionRule
-
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
FieldsModifier and TypeFieldDescriptionprivate static final Map<String,AbstractTeam.CollisionRule> final Stringfinal int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AbstractTeam.CollisionRuleReturns the enum constant of this class with the specified name.static AbstractTeam.CollisionRule[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALWAYS
- Mappings:
Namespace Name Mixin selector official aLefa$a;a:Lefa$a;intermediary field_1437Lnet/minecraft/class_270$class_271;field_1437:Lnet/minecraft/class_270$class_271;named ALWAYSLnet/minecraft/scoreboard/AbstractTeam$CollisionRule;ALWAYS:Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;
-
NEVER
- Mappings:
Namespace Name Mixin selector official bLefa$a;b:Lefa$a;intermediary field_1435Lnet/minecraft/class_270$class_271;field_1435:Lnet/minecraft/class_270$class_271;named NEVERLnet/minecraft/scoreboard/AbstractTeam$CollisionRule;NEVER:Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;
-
PUSH_OTHER_TEAMS
- Mappings:
Namespace Name Mixin selector official cLefa$a;c:Lefa$a;intermediary field_1434Lnet/minecraft/class_270$class_271;field_1434:Lnet/minecraft/class_270$class_271;named PUSH_OTHER_TEAMSLnet/minecraft/scoreboard/AbstractTeam$CollisionRule;PUSH_OTHER_TEAMS:Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;
-
PUSH_OWN_TEAM
- Mappings:
Namespace Name Mixin selector official dLefa$a;d:Lefa$a;intermediary field_1440Lnet/minecraft/class_270$class_271;field_1440:Lnet/minecraft/class_270$class_271;named PUSH_OWN_TEAMLnet/minecraft/scoreboard/AbstractTeam$CollisionRule;PUSH_OWN_TEAM:Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;
-
-
Field Details
-
COLLISION_RULES
- Mappings:
Namespace Name Mixin selector official gLefa$a;g:Ljava/util/Map;intermediary field_1438Lnet/minecraft/class_270$class_271;field_1438:Ljava/util/Map;named COLLISION_RULESLnet/minecraft/scoreboard/AbstractTeam$CollisionRule;COLLISION_RULES:Ljava/util/Map;
-
name
- Mappings:
Namespace Name Mixin selector official eLefa$a;e:Ljava/lang/String;intermediary field_1436Lnet/minecraft/class_270$class_271;field_1436:Ljava/lang/String;named nameLnet/minecraft/scoreboard/AbstractTeam$CollisionRule;name:Ljava/lang/String;
-
value
public final int value- Mappings:
Namespace Name Mixin selector official fLefa$a;f:Iintermediary field_1433Lnet/minecraft/class_270$class_271;field_1433:Inamed valueLnet/minecraft/scoreboard/AbstractTeam$CollisionRule;value:I
-
-
Constructor Details
-
CollisionRule
- Mappings:
Namespace Name Mixin selector official <init>Lefa$a;<init>(Ljava/lang/String;ILjava/lang/String;I)Vintermediary <init>Lnet/minecraft/class_270$class_271;<init>(Ljava/lang/String;ILjava/lang/String;I)Vnamed <init>Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;<init>(Ljava/lang/String;ILjava/lang/String;I)V
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getRule
- Mappings:
Namespace Name Mixin selector official aLefa$a;a(Ljava/lang/String;)Lefa$a;intermediary method_1210Lnet/minecraft/class_270$class_271;method_1210(Ljava/lang/String;)Lnet/minecraft/class_270$class_271;named getRuleLnet/minecraft/scoreboard/AbstractTeam$CollisionRule;getRule(Ljava/lang/String;)Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;
-
getDisplayName
- Mappings:
Namespace Name Mixin selector official aLefa$a;a()Lsw;intermediary method_1209Lnet/minecraft/class_270$class_271;method_1209()Lnet/minecraft/class_2561;named getDisplayNameLnet/minecraft/scoreboard/AbstractTeam$CollisionRule;getDisplayName()Lnet/minecraft/text/Text;
-