Package net.minecraft.block.enums
Enum Class Thickness
- All Implemented Interfaces:
Serializable,Comparable<Thickness>,Constable,StringIdentifiable
- Mappings:
Namespace Name official dcvintermediary net/minecraft/class_5691named net/minecraft/block/enums/Thickness
-
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.Codec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsFields inherited from interface net.minecraft.util.StringIdentifiable
field_38377 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.toString()static ThicknessReturns the enum constant of this class with the specified name.static Thickness[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TIP_MERGE
- Mappings:
Namespace Name Mixin selector official aLdcv;a:Ldcv;intermediary field_28064Lnet/minecraft/class_5691;field_28064:Lnet/minecraft/class_5691;named TIP_MERGELnet/minecraft/block/enums/Thickness;TIP_MERGE:Lnet/minecraft/block/enums/Thickness;
-
TIP
- Mappings:
Namespace Name Mixin selector official bLdcv;b:Ldcv;intermediary field_28065Lnet/minecraft/class_5691;field_28065:Lnet/minecraft/class_5691;named TIPLnet/minecraft/block/enums/Thickness;TIP:Lnet/minecraft/block/enums/Thickness;
-
FRUSTUM
- Mappings:
Namespace Name Mixin selector official cLdcv;c:Ldcv;intermediary field_28066Lnet/minecraft/class_5691;field_28066:Lnet/minecraft/class_5691;named FRUSTUMLnet/minecraft/block/enums/Thickness;FRUSTUM:Lnet/minecraft/block/enums/Thickness;
-
MIDDLE
- Mappings:
Namespace Name Mixin selector official dLdcv;d:Ldcv;intermediary field_28067Lnet/minecraft/class_5691;field_28067:Lnet/minecraft/class_5691;named MIDDLELnet/minecraft/block/enums/Thickness;MIDDLE:Lnet/minecraft/block/enums/Thickness;
-
BASE
- Mappings:
Namespace Name Mixin selector official eLdcv;e:Ldcv;intermediary field_28068Lnet/minecraft/class_5691;field_28068:Lnet/minecraft/class_5691;named BASELnet/minecraft/block/enums/Thickness;BASE:Lnet/minecraft/block/enums/Thickness;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official fLdcv;f:Ljava/lang/String;intermediary field_28069Lnet/minecraft/class_5691;field_28069:Ljava/lang/String;named nameLnet/minecraft/block/enums/Thickness;name:Ljava/lang/String;
-
-
Constructor Details
-
Thickness
- Mappings:
Namespace Name Mixin selector official <init>Ldcv;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_5691;<init>(Ljava/lang/String;ILjava/lang/String;)Vnamed <init>Lnet/minecraft/block/enums/Thickness;<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
-
toString
-
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 cLapr;c()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-