Package net.minecraft.scoreboard
Enum Class AbstractTeam.CollisionRule
- All Implemented Interfaces:
Serializable
,Comparable<AbstractTeam.CollisionRule>
,Constable
- Enclosing class:
- AbstractTeam
- Mappings:
Namespace Name official dpm$a
intermediary net/minecraft/class_270$class_271
named 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
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Map<String,
AbstractTeam.CollisionRule> final String
final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AbstractTeam.CollisionRule
Returns 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 a
Ldpm$a;a:Ldpm$a;
intermediary field_1437
Lnet/minecraft/class_270$class_271;field_1437:Lnet/minecraft/class_270$class_271;
named ALWAYS
Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;ALWAYS:Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;
-
NEVER
- Mappings:
Namespace Name Mixin selector official b
Ldpm$a;b:Ldpm$a;
intermediary field_1435
Lnet/minecraft/class_270$class_271;field_1435:Lnet/minecraft/class_270$class_271;
named NEVER
Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;NEVER:Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;
-
PUSH_OTHER_TEAMS
- Mappings:
Namespace Name Mixin selector official c
Ldpm$a;c:Ldpm$a;
intermediary field_1434
Lnet/minecraft/class_270$class_271;field_1434:Lnet/minecraft/class_270$class_271;
named PUSH_OTHER_TEAMS
Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;PUSH_OTHER_TEAMS:Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;
-
PUSH_OWN_TEAM
- Mappings:
Namespace Name Mixin selector official d
Ldpm$a;d:Ldpm$a;
intermediary field_1440
Lnet/minecraft/class_270$class_271;field_1440:Lnet/minecraft/class_270$class_271;
named PUSH_OWN_TEAM
Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;PUSH_OWN_TEAM:Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;
-
-
Field Details
-
COLLISION_RULES
- Mappings:
Namespace Name Mixin selector official g
Ldpm$a;g:Ljava/util/Map;
intermediary field_1438
Lnet/minecraft/class_270$class_271;field_1438:Ljava/util/Map;
named COLLISION_RULES
Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;COLLISION_RULES:Ljava/util/Map;
-
name
- Mappings:
Namespace Name Mixin selector official e
Ldpm$a;e:Ljava/lang/String;
intermediary field_1436
Lnet/minecraft/class_270$class_271;field_1436:Ljava/lang/String;
named name
Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;name:Ljava/lang/String;
-
value
public final int value- Mappings:
Namespace Name Mixin selector official f
Ldpm$a;f:I
intermediary field_1433
Lnet/minecraft/class_270$class_271;field_1433:I
named value
Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;value:I
-
-
Constructor Details
-
CollisionRule
- Mappings:
Namespace Name Mixin selector official <init>
Ldpm$a;<init>(Ljava/lang/String;ILjava/lang/String;I)V
intermediary <init>
Lnet/minecraft/class_270$class_271;<init>(Ljava/lang/String;ILjava/lang/String;I)V
named <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 a
Ldpm$a;a(Ljava/lang/String;)Ldpm$a;
intermediary method_1210
Lnet/minecraft/class_270$class_271;method_1210(Ljava/lang/String;)Lnet/minecraft/class_270$class_271;
named getRule
Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;getRule(Ljava/lang/String;)Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;
-
getDisplayName
- Mappings:
Namespace Name Mixin selector official a
Ldpm$a;a()Lpz;
intermediary method_1209
Lnet/minecraft/class_270$class_271;method_1209()Lnet/minecraft/class_2561;
named getDisplayName
Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;getDisplayName()Lnet/minecraft/text/Text;
-