Package net.minecraft.util
Enum Class Rarity
- All Implemented Interfaces:
Serializable,Comparable<Rarity>,Constable
- Mappings:
Namespace Name official ajeintermediary net/minecraft/class_1081named net/minecraft/util/Rarity
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Enum Constant Details
-
COMMON
- Mappings:
Namespace Name Mixin selector official aLaje;a:Laje;intermediary field_9152Lnet/minecraft/class_1081;field_9152:Lnet/minecraft/class_1081;named COMMONLnet/minecraft/util/Rarity;COMMON:Lnet/minecraft/util/Rarity;
-
UNCOMMON
- Mappings:
Namespace Name Mixin selector official bLaje;b:Laje;intermediary field_9153Lnet/minecraft/class_1081;field_9153:Lnet/minecraft/class_1081;named UNCOMMONLnet/minecraft/util/Rarity;UNCOMMON:Lnet/minecraft/util/Rarity;
-
RARE
- Mappings:
Namespace Name Mixin selector official cLaje;c:Laje;intermediary field_9154Lnet/minecraft/class_1081;field_9154:Lnet/minecraft/class_1081;named RARELnet/minecraft/util/Rarity;RARE:Lnet/minecraft/util/Rarity;
-
EPIC
- Mappings:
Namespace Name Mixin selector official dLaje;d:Laje;intermediary field_9155Lnet/minecraft/class_1081;field_9155:Lnet/minecraft/class_1081;named EPICLnet/minecraft/util/Rarity;EPIC:Lnet/minecraft/util/Rarity;
-
-
Field Details
-
formatting
- Mappings:
Namespace Name Mixin selector official eLaje;e:La;intermediary field_7148Lnet/minecraft/class_1081;field_7148:Lnet/minecraft/class_1442;named formattingLnet/minecraft/util/Rarity;formatting:Lnet/minecraft/util/Formatting;
-
name
- Mappings:
Namespace Name Mixin selector official fLaje;f:Ljava/lang/String;intermediary field_4390Lnet/minecraft/class_1081;field_4390:Ljava/lang/String;named nameLnet/minecraft/util/Rarity;name:Ljava/lang/String;
-
-
Constructor Details
-
Rarity
- Mappings:
Namespace Name Mixin selector official <init>Laje;<init>(Ljava/lang/String;ILa;Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_1081;<init>(Ljava/lang/String;ILnet/minecraft/class_1442;Ljava/lang/String;)Vnamed <init>Lnet/minecraft/util/Rarity;<init>(Ljava/lang/String;ILnet/minecraft/util/Formatting;Ljava/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
-