Enum CommandStats.Type

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

public static enum CommandStats.Type
extends Enum<CommandStats.Type>
Mappings:
Namespace Name
official n$a
intermediary net/minecraft/class_1685$class_1686
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 Ln$a;a:Ln$a;
      intermediary field_6960 Lnet/minecraft/class_1685$class_1686;field_6960:Lnet/minecraft/class_1685$class_1686;
      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 Ln$a;b:Ln$a;
      intermediary field_6961 Lnet/minecraft/class_1685$class_1686;field_6961:Lnet/minecraft/class_1685$class_1686;
      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 Ln$a;c:Ln$a;
      intermediary field_6962 Lnet/minecraft/class_1685$class_1686;field_6962:Lnet/minecraft/class_1685$class_1686;
      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 Ln$a;d:Ln$a;
      intermediary field_6963 Lnet/minecraft/class_1685$class_1686;field_6963:Lnet/minecraft/class_1685$class_1686;
      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 Ln$a;e:Ln$a;
      intermediary field_6964 Lnet/minecraft/class_1685$class_1686;field_6964:Lnet/minecraft/class_1685$class_1686;
      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 Ln$a;f:I
      intermediary field_6965 Lnet/minecraft/class_1685$class_1686;field_6965:I
      named index Lnet/minecraft/command/CommandStats$Type;index:I
    • name

      final String name
      Mappings:
      Namespace Name Mixin selector
      official g Ln$a;g:Ljava/lang/String;
      intermediary field_6966 Lnet/minecraft/class_1685$class_1686;field_6966: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> Ln$a;<init>(Ljava/lang/String;IILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_1685$class_1686;<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 type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static CommandStats.Type valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getIndex

      public int getIndex()
      Mappings:
      Namespace Name Mixin selector
      official a Ln$a;a()I
      intermediary method_6381 Lnet/minecraft/class_1685$class_1686;method_6381()I
      named getIndex Lnet/minecraft/command/CommandStats$Type;getIndex()I
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      official b Ln$a;b()Ljava/lang/String;
      intermediary method_6383 Lnet/minecraft/class_1685$class_1686;method_6383()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 Ln$a;c()[Ljava/lang/String;
      intermediary method_6384 Lnet/minecraft/class_1685$class_1686;method_6384()[Ljava/lang/String;
      named getValues Lnet/minecraft/command/CommandStats$Type;getValues()[Ljava/lang/String;
    • getByName

      public static CommandStats.Type getByName​(String name)
      Mappings:
      Namespace Name Mixin selector
      official a Ln$a;a(Ljava/lang/String;)Ln$a;
      intermediary method_6382 Lnet/minecraft/class_1685$class_1686;method_6382(Ljava/lang/String;)Lnet/minecraft/class_1685$class_1686;
      named getByName Lnet/minecraft/command/CommandStats$Type;getByName(Ljava/lang/String;)Lnet/minecraft/command/CommandStats$Type;