Package net.minecraft.command
Enum Class CommandStats.Type
- All Implemented Interfaces:
Serializable,Comparable<CommandStats.Type>,Constable
- Enclosing class:
- CommandStats
- Mappings:
Namespace Name official bp$aintermediary net/minecraft/class_2598$class_2599named net/minecraft/command/CommandStats$Type
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CommandStats.TypeintgetIndex()getName()static String[]static CommandStats.TypeReturns the enum constant of this class with the specified name.static CommandStats.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUCCESS_COUNT
- Mappings:
Namespace Name Mixin selector official aLbp$a;a:Lbp$a;intermediary field_11796Lnet/minecraft/class_2598$class_2599;field_11796:Lnet/minecraft/class_2598$class_2599;named SUCCESS_COUNTLnet/minecraft/command/CommandStats$Type;SUCCESS_COUNT:Lnet/minecraft/command/CommandStats$Type;
-
AFFECTED_BLOCKS
- Mappings:
Namespace Name Mixin selector official bLbp$a;b:Lbp$a;intermediary field_11797Lnet/minecraft/class_2598$class_2599;field_11797:Lnet/minecraft/class_2598$class_2599;named AFFECTED_BLOCKSLnet/minecraft/command/CommandStats$Type;AFFECTED_BLOCKS:Lnet/minecraft/command/CommandStats$Type;
-
AFFECTED_ENTITIES
- Mappings:
Namespace Name Mixin selector official cLbp$a;c:Lbp$a;intermediary field_11798Lnet/minecraft/class_2598$class_2599;field_11798:Lnet/minecraft/class_2598$class_2599;named AFFECTED_ENTITIESLnet/minecraft/command/CommandStats$Type;AFFECTED_ENTITIES:Lnet/minecraft/command/CommandStats$Type;
-
AFFECTED_ITEMS
- Mappings:
Namespace Name Mixin selector official dLbp$a;d:Lbp$a;intermediary field_11799Lnet/minecraft/class_2598$class_2599;field_11799:Lnet/minecraft/class_2598$class_2599;named AFFECTED_ITEMSLnet/minecraft/command/CommandStats$Type;AFFECTED_ITEMS:Lnet/minecraft/command/CommandStats$Type;
-
QUERY_RESULT
- Mappings:
Namespace Name Mixin selector official eLbp$a;e:Lbp$a;intermediary field_11800Lnet/minecraft/class_2598$class_2599;field_11800:Lnet/minecraft/class_2598$class_2599;named QUERY_RESULTLnet/minecraft/command/CommandStats$Type;QUERY_RESULT:Lnet/minecraft/command/CommandStats$Type;
-
-
Field Details
-
index
final int index- Mappings:
Namespace Name Mixin selector official fLbp$a;f:Iintermediary field_11801Lnet/minecraft/class_2598$class_2599;field_11801:Inamed indexLnet/minecraft/command/CommandStats$Type;index:I
-
name
- Mappings:
Namespace Name Mixin selector official gLbp$a;g:Ljava/lang/String;intermediary field_11802Lnet/minecraft/class_2598$class_2599;field_11802:Ljava/lang/String;named nameLnet/minecraft/command/CommandStats$Type;name:Ljava/lang/String;
-
-
Constructor Details
-
Type
- Mappings:
Namespace Name Mixin selector official <init>Lbp$a;<init>(Ljava/lang/String;IILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_2598$class_2599;<init>(Ljava/lang/String;IILjava/lang/String;)Vnamed <init>Lnet/minecraft/command/CommandStats$Type;<init>(Ljava/lang/String;IILjava/lang/String;)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
-
getIndex
public int getIndex()- Mappings:
Namespace Name Mixin selector official aLbp$a;a()Iintermediary method_10797Lnet/minecraft/class_2598$class_2599;method_10797()Inamed getIndexLnet/minecraft/command/CommandStats$Type;getIndex()I
-
getName
- Mappings:
Namespace Name Mixin selector official bLbp$a;b()Ljava/lang/String;intermediary method_10799Lnet/minecraft/class_2598$class_2599;method_10799()Ljava/lang/String;named getNameLnet/minecraft/command/CommandStats$Type;getName()Ljava/lang/String;
-
getValues
- Mappings:
Namespace Name Mixin selector official cLbp$a;c()[Ljava/lang/String;intermediary method_10800Lnet/minecraft/class_2598$class_2599;method_10800()[Ljava/lang/String;named getValuesLnet/minecraft/command/CommandStats$Type;getValues()[Ljava/lang/String;
-
getByName
- Mappings:
Namespace Name Mixin selector official aLbp$a;a(Ljava/lang/String;)Lbp$a;intermediary method_10798Lnet/minecraft/class_2598$class_2599;method_10798(Ljava/lang/String;)Lnet/minecraft/class_2598$class_2599;named getByNameLnet/minecraft/command/CommandStats$Type;getByName(Ljava/lang/String;)Lnet/minecraft/command/CommandStats$Type;
-