Enum Class AbstractTeam.CollisionRule

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

public static enum AbstractTeam.CollisionRule extends Enum<AbstractTeam.CollisionRule>
Mappings:
Namespace Name
official eeu$a
intermediary net/minecraft/class_270$class_271
named net/minecraft/scoreboard/AbstractTeam$CollisionRule
  • Enum Constant Details

    • ALWAYS

      public static final AbstractTeam.CollisionRule ALWAYS
      Mappings:
      Namespace Name Mixin selector
      official a Leeu$a;a:Leeu$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

      public static final AbstractTeam.CollisionRule NEVER
      Mappings:
      Namespace Name Mixin selector
      official b Leeu$a;b:Leeu$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

      public static final AbstractTeam.CollisionRule PUSH_OTHER_TEAMS
      Mappings:
      Namespace Name Mixin selector
      official c Leeu$a;c:Leeu$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

      public static final AbstractTeam.CollisionRule PUSH_OWN_TEAM
      Mappings:
      Namespace Name Mixin selector
      official d Leeu$a;d:Leeu$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

      private static final Map<String,AbstractTeam.CollisionRule> COLLISION_RULES
      Mappings:
      Namespace Name Mixin selector
      official g Leeu$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

      public final String name
      Mappings:
      Namespace Name Mixin selector
      official e Leeu$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 Leeu$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

      private CollisionRule(String name, int value)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leeu$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

      public static AbstractTeam.CollisionRule[] 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.CollisionRule 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
    • getRule

      @Nullable public static @Nullable AbstractTeam.CollisionRule getRule(String name)
      Mappings:
      Namespace Name Mixin selector
      official a Leeu$a;a(Ljava/lang/String;)Leeu$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

      public Text getDisplayName()
      Mappings:
      Namespace Name Mixin selector
      official a Leeu$a;a()Lsw;
      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;