Enum Class CommandStats.Type

java.lang.Object
java.lang.Enum<CommandStats.Type>
net.minecraft.command.CommandStats.Type
All Implemented Interfaces:
Serializable, Comparable<CommandStats.Type>, Constable
Enclosing class:
CommandStats

public static enum CommandStats.Type extends Enum<CommandStats.Type>
Mappings:
Namespace Name
official o$a
intermediary net/minecraft/class_2598$class_2599
named net/minecraft/command/CommandStats$Type
  • Enum Constant Details

    • SUCCESS_COUNT

      public static final CommandStats.Type SUCCESS_COUNT
      Mappings:
      Namespace Name Mixin selector
      official a Lo$a;a:Lo$a;
      intermediary field_11796 Lnet/minecraft/class_2598$class_2599;field_11796:Lnet/minecraft/class_2598$class_2599;
      named SUCCESS_COUNT Lnet/minecraft/command/CommandStats$Type;SUCCESS_COUNT:Lnet/minecraft/command/CommandStats$Type;
    • AFFECTED_BLOCKS

      public static final CommandStats.Type AFFECTED_BLOCKS
      Mappings:
      Namespace Name Mixin selector
      official b Lo$a;b:Lo$a;
      intermediary field_11797 Lnet/minecraft/class_2598$class_2599;field_11797:Lnet/minecraft/class_2598$class_2599;
      named AFFECTED_BLOCKS Lnet/minecraft/command/CommandStats$Type;AFFECTED_BLOCKS:Lnet/minecraft/command/CommandStats$Type;
    • AFFECTED_ENTITIES

      public static final CommandStats.Type AFFECTED_ENTITIES
      Mappings:
      Namespace Name Mixin selector
      official c Lo$a;c:Lo$a;
      intermediary field_11798 Lnet/minecraft/class_2598$class_2599;field_11798:Lnet/minecraft/class_2598$class_2599;
      named AFFECTED_ENTITIES Lnet/minecraft/command/CommandStats$Type;AFFECTED_ENTITIES:Lnet/minecraft/command/CommandStats$Type;
    • AFFECTED_ITEMS

      public static final CommandStats.Type AFFECTED_ITEMS
      Mappings:
      Namespace Name Mixin selector
      official d Lo$a;d:Lo$a;
      intermediary field_11799 Lnet/minecraft/class_2598$class_2599;field_11799:Lnet/minecraft/class_2598$class_2599;
      named AFFECTED_ITEMS Lnet/minecraft/command/CommandStats$Type;AFFECTED_ITEMS:Lnet/minecraft/command/CommandStats$Type;
    • QUERY_RESULT

      public static final CommandStats.Type QUERY_RESULT
      Mappings:
      Namespace Name Mixin selector
      official e Lo$a;e:Lo$a;
      intermediary field_11800 Lnet/minecraft/class_2598$class_2599;field_11800:Lnet/minecraft/class_2598$class_2599;
      named QUERY_RESULT Lnet/minecraft/command/CommandStats$Type;QUERY_RESULT:Lnet/minecraft/command/CommandStats$Type;
  • Field Details

    • index

      final int index
      Mappings:
      Namespace Name Mixin selector
      official f Lo$a;f:I
      intermediary field_11801 Lnet/minecraft/class_2598$class_2599;field_11801:I
      named index Lnet/minecraft/command/CommandStats$Type;index:I
    • name

      final String name
      Mappings:
      Namespace Name Mixin selector
      official g Lo$a;g:Ljava/lang/String;
      intermediary field_11802 Lnet/minecraft/class_2598$class_2599;field_11802:Ljava/lang/String;
      named name Lnet/minecraft/command/CommandStats$Type;name:Ljava/lang/String;
  • Constructor Details

    • Type

      private Type(int index, String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lo$a;<init>(Ljava/lang/String;IILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_2598$class_2599;<init>(Ljava/lang/String;IILjava/lang/String;)V
      named <init> Lnet/minecraft/command/CommandStats$Type;<init>(Ljava/lang/String;IILjava/lang/String;)V
  • Method Details

    • values

      public static CommandStats.Type[] 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 CommandStats.Type 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
    • getIndex

      public int getIndex()
      Mappings:
      Namespace Name Mixin selector
      official a Lo$a;a()I
      intermediary method_10797 Lnet/minecraft/class_2598$class_2599;method_10797()I
      named getIndex Lnet/minecraft/command/CommandStats$Type;getIndex()I
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      official b Lo$a;b()Ljava/lang/String;
      intermediary method_10799 Lnet/minecraft/class_2598$class_2599;method_10799()Ljava/lang/String;
      named getName Lnet/minecraft/command/CommandStats$Type;getName()Ljava/lang/String;
    • getValues

      public static String[] getValues()
      Mappings:
      Namespace Name Mixin selector
      official c Lo$a;c()[Ljava/lang/String;
      intermediary method_10800 Lnet/minecraft/class_2598$class_2599;method_10800()[Ljava/lang/String;
      named getValues Lnet/minecraft/command/CommandStats$Type;getValues()[Ljava/lang/String;
    • getByName

      @Nullable public static CommandStats.Type getByName(String name)
      Mappings:
      Namespace Name Mixin selector
      official a Lo$a;a(Ljava/lang/String;)Lo$a;
      intermediary method_10798 Lnet/minecraft/class_2598$class_2599;method_10798(Ljava/lang/String;)Lnet/minecraft/class_2598$class_2599;
      named getByName Lnet/minecraft/command/CommandStats$Type;getByName(Ljava/lang/String;)Lnet/minecraft/command/CommandStats$Type;