Package net.minecraft.util
Enum Class Rarity
- All Implemented Interfaces:
Serializable,Comparable<Rarity>,Constable
- Mappings:
Namespace Name official acbintermediary 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 aLacb;a:Lacb;intermediary field_4385Lnet/minecraft/class_1081;field_4385:Lnet/minecraft/class_1081;named COMMONLnet/minecraft/util/Rarity;COMMON:Lnet/minecraft/util/Rarity;
-
UNCOMMON
- Mappings:
Namespace Name Mixin selector official bLacb;b:Lacb;intermediary field_4386Lnet/minecraft/class_1081;field_4386:Lnet/minecraft/class_1081;named UNCOMMONLnet/minecraft/util/Rarity;UNCOMMON:Lnet/minecraft/util/Rarity;
-
RARE
- Mappings:
Namespace Name Mixin selector official cLacb;c:Lacb;intermediary field_4387Lnet/minecraft/class_1081;field_4387:Lnet/minecraft/class_1081;named RARELnet/minecraft/util/Rarity;RARE:Lnet/minecraft/util/Rarity;
-
EPIC
- Mappings:
Namespace Name Mixin selector official dLacb;d:Lacb;intermediary field_4388Lnet/minecraft/class_1081;field_4388:Lnet/minecraft/class_1081;named EPICLnet/minecraft/util/Rarity;EPIC:Lnet/minecraft/util/Rarity;
-
-
Field Details
-
formatting
- Mappings:
Namespace Name Mixin selector official eLacb;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 fLacb;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>Lacb;<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
-