Package net.minecraft.block
Enum Class Oxidizable.OxidationLevel
- All Implemented Interfaces:
Serializable,Comparable<Oxidizable.OxidationLevel>,Constable,StringIdentifiable
- Enclosing interface:
Oxidizable
public static enum Oxidizable.OxidationLevel
extends Enum<Oxidizable.OxidationLevel>
implements StringIdentifiable
- Mappings:
Namespace Name official dft$aintermediary net/minecraft/class_5955$class_5811named net/minecraft/block/Oxidizable$OxidationLevel
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Oxidizable.OxidationLevel>private final StringFields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.static Oxidizable.OxidationLevelReturns the enum constant of this class with the specified name.static Oxidizable.OxidationLevel[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNAFFECTED
- Mappings:
Namespace Name Mixin selector official aLdft$a;a:Ldft$a;intermediary field_28704Lnet/minecraft/class_5955$class_5811;field_28704:Lnet/minecraft/class_5955$class_5811;named UNAFFECTEDLnet/minecraft/block/Oxidizable$OxidationLevel;UNAFFECTED:Lnet/minecraft/block/Oxidizable$OxidationLevel;
-
EXPOSED
- Mappings:
Namespace Name Mixin selector official bLdft$a;b:Ldft$a;intermediary field_28705Lnet/minecraft/class_5955$class_5811;field_28705:Lnet/minecraft/class_5955$class_5811;named EXPOSEDLnet/minecraft/block/Oxidizable$OxidationLevel;EXPOSED:Lnet/minecraft/block/Oxidizable$OxidationLevel;
-
WEATHERED
- Mappings:
Namespace Name Mixin selector official cLdft$a;c:Ldft$a;intermediary field_28706Lnet/minecraft/class_5955$class_5811;field_28706:Lnet/minecraft/class_5955$class_5811;named WEATHEREDLnet/minecraft/block/Oxidizable$OxidationLevel;WEATHERED:Lnet/minecraft/block/Oxidizable$OxidationLevel;
-
OXIDIZED
- Mappings:
Namespace Name Mixin selector official dLdft$a;d:Ldft$a;intermediary field_28707Lnet/minecraft/class_5955$class_5811;field_28707:Lnet/minecraft/class_5955$class_5811;named OXIDIZEDLnet/minecraft/block/Oxidizable$OxidationLevel;OXIDIZED:Lnet/minecraft/block/Oxidizable$OxidationLevel;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official eLdft$a;e:Lcom/mojang/serialization/Codec;intermediary field_46493Lnet/minecraft/class_5955$class_5811;field_46493:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/block/Oxidizable$OxidationLevel;CODEC:Lcom/mojang/serialization/Codec;
-
id
- Mappings:
Namespace Name Mixin selector official fLdft$a;f:Ljava/lang/String;intermediary field_46494Lnet/minecraft/class_5955$class_5811;field_46494:Ljava/lang/String;named idLnet/minecraft/block/Oxidizable$OxidationLevel;id:Ljava/lang/String;
-
-
Constructor Details
-
OxidationLevel
- Mappings:
Namespace Name Mixin selector official <init>Ldft$a;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_5955$class_5811;<init>(Ljava/lang/String;ILjava/lang/String;)Vnamed <init>Lnet/minecraft/block/Oxidizable$OxidationLevel;<init>(Ljava/lang/String;ILjava/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
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asStringin interfaceStringIdentifiable- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector official cLavk;c()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-