Package net.minecraft.block
Enum RedSandstoneSlabBlock.SlabType
- All Implemented Interfaces:
Serializable,Comparable<RedSandstoneSlabBlock.SlabType>,java.lang.constant.Constable,StringIdentifiable
- Enclosing class:
- RedSandstoneSlabBlock
public static enum RedSandstoneSlabBlock.SlabType extends Enum<RedSandstoneSlabBlock.SlabType> implements StringIdentifiable
- Mappings:
Namespace Name official aih$aintermediary net/minecraft/class_258$class_259named net/minecraft/block/RedSandstoneSlabBlock$SlabType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants Enum Constant Description RED_SANDSTONE -
Field Summary
Fields Modifier and Type Field Description private MaterialColorcolorprivate intidprivate Stringnameprivate static RedSandstoneSlabBlock.SlabType[]TYPES -
Constructor Summary
Constructors Modifier Constructor Description privateSlabType(int id, String name, MaterialColor color) -
Method Summary
Modifier and Type Method Description StringasString()static RedSandstoneSlabBlock.SlabTypegetById(int id)MaterialColorgetColor()intgetId()StringgetName()StringtoString()static RedSandstoneSlabBlock.SlabTypevalueOf(String name)Returns the enum constant of this type with the specified name.static RedSandstoneSlabBlock.SlabType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
RED_SANDSTONE
- Mappings:
Namespace Name Mixin selector official aLaih$a;a:Laih$a;intermediary field_1061Lnet/minecraft/class_258$class_259;field_1061:Lnet/minecraft/class_258$class_259;named RED_SANDSTONELnet/minecraft/block/RedSandstoneSlabBlock$SlabType;RED_SANDSTONE:Lnet/minecraft/block/RedSandstoneSlabBlock$SlabType;
-
-
Field Details
-
TYPES
- Mappings:
Namespace Name Mixin selector official bLaih$a;b:[Laih$a;intermediary field_1062Lnet/minecraft/class_258$class_259;field_1062:[Lnet/minecraft/class_258$class_259;named TYPESLnet/minecraft/block/RedSandstoneSlabBlock$SlabType;TYPES:[Lnet/minecraft/block/RedSandstoneSlabBlock$SlabType;
-
id
private final int id- Mappings:
Namespace Name Mixin selector official cLaih$a;c:Iintermediary field_1063Lnet/minecraft/class_258$class_259;field_1063:Inamed idLnet/minecraft/block/RedSandstoneSlabBlock$SlabType;id:I
-
name
- Mappings:
Namespace Name Mixin selector official dLaih$a;d:Ljava/lang/String;intermediary field_1064Lnet/minecraft/class_258$class_259;field_1064:Ljava/lang/String;named nameLnet/minecraft/block/RedSandstoneSlabBlock$SlabType;name:Ljava/lang/String;
-
color
- Mappings:
Namespace Name Mixin selector official eLaih$a;e:Larn;intermediary field_1065Lnet/minecraft/class_258$class_259;field_1065:Lnet/minecraft/class_592;named colorLnet/minecraft/block/RedSandstoneSlabBlock$SlabType;color:Lnet/minecraft/block/MaterialColor;
-
-
Constructor Details
-
SlabType
- Mappings:
Namespace Name Mixin selector official <init>Laih$a;<init>(Ljava/lang/String;IILjava/lang/String;Larn;)Vintermediary <init>Lnet/minecraft/class_258$class_259;<init>(Ljava/lang/String;IILjava/lang/String;Lnet/minecraft/class_592;)Vnamed <init>Lnet/minecraft/block/RedSandstoneSlabBlock$SlabType;<init>(Ljava/lang/String;IILjava/lang/String;Lnet/minecraft/block/MaterialColor;)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 aLaih$a;a()Iintermediary method_924Lnet/minecraft/class_258$class_259;method_924()Inamed getIdLnet/minecraft/block/RedSandstoneSlabBlock$SlabType;getId()I
-
getColor
- Mappings:
Namespace Name Mixin selector official cLaih$a;c()Larn;intermediary method_926Lnet/minecraft/class_258$class_259;method_926()Lnet/minecraft/class_592;named getColorLnet/minecraft/block/RedSandstoneSlabBlock$SlabType;getColor()Lnet/minecraft/block/MaterialColor;
-
toString
- Overrides:
toStringin classEnum<RedSandstoneSlabBlock.SlabType>- Mappings:
Namespace Name Mixin selector official toStringLaih$a;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_258$class_259;toString()Ljava/lang/String;named toStringLnet/minecraft/block/RedSandstoneSlabBlock$SlabType;toString()Ljava/lang/String;
-
getById
- Mappings:
Namespace Name Mixin selector official aLaih$a;a(I)Laih$a;intermediary method_925Lnet/minecraft/class_258$class_259;method_925(I)Lnet/minecraft/class_258$class_259;named getByIdLnet/minecraft/block/RedSandstoneSlabBlock$SlabType;getById(I)Lnet/minecraft/block/RedSandstoneSlabBlock$SlabType;
-
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;
-
getName
- Mappings:
Namespace Name Mixin selector official dLaih$a;d()Ljava/lang/String;intermediary method_927Lnet/minecraft/class_258$class_259;method_927()Ljava/lang/String;named getNameLnet/minecraft/block/RedSandstoneSlabBlock$SlabType;getName()Ljava/lang/String;
-