Package net.minecraft.block
Enum Class RedSandstoneSlabBlock.SlabType
- All Implemented Interfaces:
Serializable,Comparable<RedSandstoneSlabBlock.SlabType>,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_2200$class_2201named 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 -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MaterialColorprivate final intprivate final Stringprivate static final RedSandstoneSlabBlock.SlabType[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()getById(int id) getColor()intgetId()getName()toString()Returns the enum constant of this class with the specified name.static RedSandstoneSlabBlock.SlabType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RED_SANDSTONE
- Mappings:
Namespace Name Mixin selector official aLaih$a;a:Laih$a;intermediary field_9553Lnet/minecraft/class_2200$class_2201;field_9553:Lnet/minecraft/class_2200$class_2201;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_9554Lnet/minecraft/class_2200$class_2201;field_9554:[Lnet/minecraft/class_2200$class_2201;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_9555Lnet/minecraft/class_2200$class_2201;field_9555:Inamed idLnet/minecraft/block/RedSandstoneSlabBlock$SlabType;id:I
-
name
- Mappings:
Namespace Name Mixin selector official dLaih$a;d:Ljava/lang/String;intermediary field_9556Lnet/minecraft/class_2200$class_2201;field_9556: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_9557Lnet/minecraft/class_2200$class_2201;field_9557:Lnet/minecraft/class_65;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_2200$class_2201;<init>(Ljava/lang/String;IILjava/lang/String;Lnet/minecraft/class_65;)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 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 aLaih$a;a()Iintermediary method_8835Lnet/minecraft/class_2200$class_2201;method_8835()Inamed getIdLnet/minecraft/block/RedSandstoneSlabBlock$SlabType;getId()I
-
getColor
- Mappings:
Namespace Name Mixin selector official cLaih$a;c()Larn;intermediary method_8837Lnet/minecraft/class_2200$class_2201;method_8837()Lnet/minecraft/class_65;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_2200$class_2201;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_8836Lnet/minecraft/class_2200$class_2201;method_8836(I)Lnet/minecraft/class_2200$class_2201;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_10853Lnet/minecraft/class_2604;method_10853()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_8838Lnet/minecraft/class_2200$class_2201;method_8838()Ljava/lang/String;named getNameLnet/minecraft/block/RedSandstoneSlabBlock$SlabType;getName()Ljava/lang/String;
-