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
named net/minecraft/scoreboard/AbstractTeam$CollisionRule
intermediary net/minecraft/class_270$class_271
official eyc$a
  • Enum Constant Details

    • ALWAYS

      public static final AbstractTeam.CollisionRule ALWAYS
      Mappings:
      Namespace Name Mixin selector
      named ALWAYS Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;ALWAYS:Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;
      intermediary field_1437 Lnet/minecraft/class_270$class_271;field_1437:Lnet/minecraft/class_270$class_271;
      official a Leyc$a;a:Leyc$a;
    • NEVER

      public static final AbstractTeam.CollisionRule NEVER
      Mappings:
      Namespace Name Mixin selector
      named NEVER Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;NEVER:Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;
      intermediary field_1435 Lnet/minecraft/class_270$class_271;field_1435:Lnet/minecraft/class_270$class_271;
      official b Leyc$a;b:Leyc$a;
    • PUSH_OTHER_TEAMS

      public static final AbstractTeam.CollisionRule PUSH_OTHER_TEAMS
      Mappings:
      Namespace Name Mixin selector
      named PUSH_OTHER_TEAMS Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;PUSH_OTHER_TEAMS:Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;
      intermediary field_1434 Lnet/minecraft/class_270$class_271;field_1434:Lnet/minecraft/class_270$class_271;
      official c Leyc$a;c:Leyc$a;
    • PUSH_OWN_TEAM

      public static final AbstractTeam.CollisionRule PUSH_OWN_TEAM
      Mappings:
      Namespace Name Mixin selector
      named PUSH_OWN_TEAM Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;PUSH_OWN_TEAM:Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;
      intermediary field_1440 Lnet/minecraft/class_270$class_271;field_1440:Lnet/minecraft/class_270$class_271;
      official d Leyc$a;d:Leyc$a;
  • Field Details

    • COLLISION_RULES

      private static final Map<String,AbstractTeam.CollisionRule> COLLISION_RULES
      Mappings:
      Namespace Name Mixin selector
      named COLLISION_RULES Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;COLLISION_RULES:Ljava/util/Map;
      intermediary field_1438 Lnet/minecraft/class_270$class_271;field_1438:Ljava/util/Map;
      official g Leyc$a;g:Ljava/util/Map;
    • name

      public final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;name:Ljava/lang/String;
      intermediary field_1436 Lnet/minecraft/class_270$class_271;field_1436:Ljava/lang/String;
      official e Leyc$a;e:Ljava/lang/String;
    • value

      public final int value
      Mappings:
      Namespace Name Mixin selector
      named value Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;value:I
      intermediary field_1433 Lnet/minecraft/class_270$class_271;field_1433:I
      official f Leyc$a;f:I
  • Constructor Details

    • CollisionRule

      private CollisionRule(String name, int value)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;<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
      official <init> Leyc$a;<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
      named getRule Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;getRule(Ljava/lang/String;)Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;
      intermediary method_1210 Lnet/minecraft/class_270$class_271;method_1210(Ljava/lang/String;)Lnet/minecraft/class_270$class_271;
      official a Leyc$a;a(Ljava/lang/String;)Leyc$a;
    • getDisplayName

      public Text getDisplayName()
      Mappings:
      Namespace Name Mixin selector
      named getDisplayName Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;getDisplayName()Lnet/minecraft/text/Text;
      intermediary method_1209 Lnet/minecraft/class_270$class_271;method_1209()Lnet/minecraft/class_2561;
      official a Leyc$a;a()Lwy;