Package net.minecraft.block
Enum WallBlock.WallType
- All Implemented Interfaces:
Serializable,Comparable<WallBlock.WallType>,java.lang.constant.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_334$class_335named 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
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description StringasString()StringgetBlockStateName()static WallBlock.WallTypegetById(int id)intgetId()StringtoString()static WallBlock.WallTypevalueOf(String name)Returns the enum constant of this type with the specified name.static WallBlock.WallType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NORMAL
- Mappings:
Namespace Name Mixin selector official aLakl$a;a:Lakl$a;intermediary field_1313Lnet/minecraft/class_334$class_335;field_1313:Lnet/minecraft/class_334$class_335;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_1314Lnet/minecraft/class_334$class_335;field_1314:Lnet/minecraft/class_334$class_335;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_1315Lnet/minecraft/class_334$class_335;field_1315:[Lnet/minecraft/class_334$class_335;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_1316Lnet/minecraft/class_334$class_335;field_1316:Inamed idLnet/minecraft/block/WallBlock$WallType;id:I
-
name
- Mappings:
Namespace Name Mixin selector official eLakl$a;e:Ljava/lang/String;intermediary field_1317Lnet/minecraft/class_334$class_335;field_1317: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_1318Lnet/minecraft/class_334$class_335;field_1318: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_334$class_335;<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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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_1056Lnet/minecraft/class_334$class_335;method_1056()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_334$class_335;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_1057Lnet/minecraft/class_334$class_335;method_1057(I)Lnet/minecraft/class_334$class_335;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_6682Lnet/minecraft/class_1709;method_6682()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_1058Lnet/minecraft/class_334$class_335;method_1058()Ljava/lang/String;named getBlockStateNameLnet/minecraft/block/WallBlock$WallType;getBlockStateName()Ljava/lang/String;
-