Package net.minecraft.block
Enum Class WallBlock.WallType
- All Implemented Interfaces:
Serializable,Comparable<WallBlock.WallType>,Constable,StringIdentifiable
- Enclosing class:
- WallBlock
public static enum WallBlock.WallType
extends Enum<WallBlock.WallType>
implements StringIdentifiable
- Mappings:
Namespace Name official akl$aintermediary net/minecraft/class_1307$class_2222named net/minecraft/block/WallBlock$WallType
-
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
Modifier and TypeMethodDescriptionasString()static WallBlock.WallTypegetById(int id) intgetId()toString()static WallBlock.WallTypeReturns the enum constant of this class with the specified name.static WallBlock.WallType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NORMAL
- Mappings:
Namespace Name Mixin selector official aLakl$a;a:Lakl$a;intermediary field_9784Lnet/minecraft/class_1307$class_2222;field_9784:Lnet/minecraft/class_1307$class_2222;named NORMALLnet/minecraft/block/WallBlock$WallType;NORMAL:Lnet/minecraft/block/WallBlock$WallType;
-
MOSSY
- Mappings:
Namespace Name Mixin selector official bLakl$a;b:Lakl$a;intermediary field_9785Lnet/minecraft/class_1307$class_2222;field_9785:Lnet/minecraft/class_1307$class_2222;named MOSSYLnet/minecraft/block/WallBlock$WallType;MOSSY:Lnet/minecraft/block/WallBlock$WallType;
-
-
Field Details
-
TYPES
- Mappings:
Namespace Name Mixin selector official cLakl$a;c:[Lakl$a;intermediary field_9786Lnet/minecraft/class_1307$class_2222;field_9786:[Lnet/minecraft/class_1307$class_2222;named TYPESLnet/minecraft/block/WallBlock$WallType;TYPES:[Lnet/minecraft/block/WallBlock$WallType;
-
id
private final int id- Mappings:
Namespace Name Mixin selector official dLakl$a;d:Iintermediary field_9787Lnet/minecraft/class_1307$class_2222;field_9787:Inamed idLnet/minecraft/block/WallBlock$WallType;id:I
-
name
- Mappings:
Namespace Name Mixin selector official eLakl$a;e:Ljava/lang/String;intermediary field_9788Lnet/minecraft/class_1307$class_2222;field_9788:Ljava/lang/String;named nameLnet/minecraft/block/WallBlock$WallType;name:Ljava/lang/String;
-
stateName
- Mappings:
Namespace Name Mixin selector official fLakl$a;f:Ljava/lang/String;intermediary field_9789Lnet/minecraft/class_1307$class_2222;field_9789:Ljava/lang/String;named stateNameLnet/minecraft/block/WallBlock$WallType;stateName:Ljava/lang/String;
-
-
Constructor Details
-
WallType
- Mappings:
Namespace Name Mixin selector official <init>Lakl$a;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_1307$class_2222;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)Vnamed <init>Lnet/minecraft/block/WallBlock$WallType;<init>(Ljava/lang/String;IILjava/lang/String;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
-
getId
public int getId()- Mappings:
Namespace Name Mixin selector official aLakl$a;a()Iintermediary method_8952Lnet/minecraft/class_1307$class_2222;method_8952()Inamed getIdLnet/minecraft/block/WallBlock$WallType;getId()I
-
toString
- Overrides:
toStringin classEnum<WallBlock.WallType>- Mappings:
Namespace Name Mixin selector official toStringLakl$a;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_1307$class_2222;toString()Ljava/lang/String;named toStringLnet/minecraft/block/WallBlock$WallType;toString()Ljava/lang/String;
-
getById
- Mappings:
Namespace Name Mixin selector official aLakl$a;a(I)Lakl$a;intermediary method_8953Lnet/minecraft/class_1307$class_2222;method_8953(I)Lnet/minecraft/class_1307$class_2222;named getByIdLnet/minecraft/block/WallBlock$WallType;getById(I)Lnet/minecraft/block/WallBlock$WallType;
-
asString
- Specified by:
asStringin interfaceStringIdentifiable- Mappings:
Namespace Name Mixin selector official lLnw;l()Ljava/lang/String;intermediary method_10853Lnet/minecraft/class_2604;method_10853()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-
getBlockStateName
- Mappings:
Namespace Name Mixin selector official cLakl$a;c()Ljava/lang/String;intermediary method_8954Lnet/minecraft/class_1307$class_2222;method_8954()Ljava/lang/String;named getBlockStateNameLnet/minecraft/block/WallBlock$WallType;getBlockStateName()Ljava/lang/String;
-