Package net.minecraft.block
Enum StoneSlabBlock.SlabType
- All Implemented Interfaces:
Serializable,Comparable<StoneSlabBlock.SlabType>,java.lang.constant.Constable,StringIdentifiable
- Enclosing class:
- StoneSlabBlock
public static enum StoneSlabBlock.SlabType extends Enum<StoneSlabBlock.SlabType> implements StringIdentifiable
- Mappings:
Namespace Name official akb$aintermediary net/minecraft/class_321$class_322named net/minecraft/block/StoneSlabBlock$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 BRICKCOBBLESTONENETHER_BRICKQUARTZSANDSTONESTONESTONE_BRICKWOOD -
Field Summary
Fields Modifier and Type Field Description private MaterialColorcolorprivate intidprivate Stringnameprivate StringtranslationKeyprivate static StoneSlabBlock.SlabType[]TYPES -
Constructor Summary
Constructors Modifier Constructor Description privateSlabType(int id, MaterialColor color, String name)privateSlabType(int id, MaterialColor color, String name, String translationKey) -
Method Summary
Modifier and Type Method Description StringasString()static StoneSlabBlock.SlabTypegetById(int id)intgetId()MaterialColorgetMaterialColor()StringgetTranslationKey()StringtoString()static StoneSlabBlock.SlabTypevalueOf(String name)Returns the enum constant of this type with the specified name.static StoneSlabBlock.SlabType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STONE
- Mappings:
Namespace Name Mixin selector official aLakb$a;a:Lakb$a;intermediary field_1248Lnet/minecraft/class_321$class_322;field_1248:Lnet/minecraft/class_321$class_322;named STONELnet/minecraft/block/StoneSlabBlock$SlabType;STONE:Lnet/minecraft/block/StoneSlabBlock$SlabType;
-
SANDSTONE
- Mappings:
Namespace Name Mixin selector official bLakb$a;b:Lakb$a;intermediary field_1249Lnet/minecraft/class_321$class_322;field_1249:Lnet/minecraft/class_321$class_322;named SANDSTONELnet/minecraft/block/StoneSlabBlock$SlabType;SANDSTONE:Lnet/minecraft/block/StoneSlabBlock$SlabType;
-
WOOD
- Mappings:
Namespace Name Mixin selector official cLakb$a;c:Lakb$a;intermediary field_1250Lnet/minecraft/class_321$class_322;field_1250:Lnet/minecraft/class_321$class_322;named WOODLnet/minecraft/block/StoneSlabBlock$SlabType;WOOD:Lnet/minecraft/block/StoneSlabBlock$SlabType;
-
COBBLESTONE
- Mappings:
Namespace Name Mixin selector official dLakb$a;d:Lakb$a;intermediary field_1251Lnet/minecraft/class_321$class_322;field_1251:Lnet/minecraft/class_321$class_322;named COBBLESTONELnet/minecraft/block/StoneSlabBlock$SlabType;COBBLESTONE:Lnet/minecraft/block/StoneSlabBlock$SlabType;
-
BRICK
- Mappings:
Namespace Name Mixin selector official eLakb$a;e:Lakb$a;intermediary field_1252Lnet/minecraft/class_321$class_322;field_1252:Lnet/minecraft/class_321$class_322;named BRICKLnet/minecraft/block/StoneSlabBlock$SlabType;BRICK:Lnet/minecraft/block/StoneSlabBlock$SlabType;
-
STONE_BRICK
- Mappings:
Namespace Name Mixin selector official fLakb$a;f:Lakb$a;intermediary field_1253Lnet/minecraft/class_321$class_322;field_1253:Lnet/minecraft/class_321$class_322;named STONE_BRICKLnet/minecraft/block/StoneSlabBlock$SlabType;STONE_BRICK:Lnet/minecraft/block/StoneSlabBlock$SlabType;
-
NETHER_BRICK
- Mappings:
Namespace Name Mixin selector official gLakb$a;g:Lakb$a;intermediary field_1254Lnet/minecraft/class_321$class_322;field_1254:Lnet/minecraft/class_321$class_322;named NETHER_BRICKLnet/minecraft/block/StoneSlabBlock$SlabType;NETHER_BRICK:Lnet/minecraft/block/StoneSlabBlock$SlabType;
-
QUARTZ
- Mappings:
Namespace Name Mixin selector official hLakb$a;h:Lakb$a;intermediary field_1255Lnet/minecraft/class_321$class_322;field_1255:Lnet/minecraft/class_321$class_322;named QUARTZLnet/minecraft/block/StoneSlabBlock$SlabType;QUARTZ:Lnet/minecraft/block/StoneSlabBlock$SlabType;
-
-
Field Details
-
TYPES
- Mappings:
Namespace Name Mixin selector official iLakb$a;i:[Lakb$a;intermediary field_1256Lnet/minecraft/class_321$class_322;field_1256:[Lnet/minecraft/class_321$class_322;named TYPESLnet/minecraft/block/StoneSlabBlock$SlabType;TYPES:[Lnet/minecraft/block/StoneSlabBlock$SlabType;
-
id
private final int id- Mappings:
Namespace Name Mixin selector official jLakb$a;j:Iintermediary field_1257Lnet/minecraft/class_321$class_322;field_1257:Inamed idLnet/minecraft/block/StoneSlabBlock$SlabType;id:I
-
color
- Mappings:
Namespace Name Mixin selector official kLakb$a;k:Larn;intermediary field_1258Lnet/minecraft/class_321$class_322;field_1258:Lnet/minecraft/class_592;named colorLnet/minecraft/block/StoneSlabBlock$SlabType;color:Lnet/minecraft/block/MaterialColor;
-
name
- Mappings:
Namespace Name Mixin selector official lLakb$a;l:Ljava/lang/String;intermediary field_1259Lnet/minecraft/class_321$class_322;field_1259:Ljava/lang/String;named nameLnet/minecraft/block/StoneSlabBlock$SlabType;name:Ljava/lang/String;
-
translationKey
- Mappings:
Namespace Name Mixin selector official mLakb$a;m:Ljava/lang/String;intermediary field_1260Lnet/minecraft/class_321$class_322;field_1260:Ljava/lang/String;named translationKeyLnet/minecraft/block/StoneSlabBlock$SlabType;translationKey:Ljava/lang/String;
-
-
Constructor Details
-
SlabType
- Mappings:
Namespace Name Mixin selector official <init>Lakb$a;<init>(Ljava/lang/String;IILarn;Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_321$class_322;<init>(Ljava/lang/String;IILnet/minecraft/class_592;Ljava/lang/String;)Vnamed <init>Lnet/minecraft/block/StoneSlabBlock$SlabType;<init>(Ljava/lang/String;IILnet/minecraft/block/MaterialColor;Ljava/lang/String;)V
-
SlabType
- Mappings:
Namespace Name Mixin selector official <init>Lakb$a;<init>(Ljava/lang/String;IILarn;Ljava/lang/String;Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_321$class_322;<init>(Ljava/lang/String;IILnet/minecraft/class_592;Ljava/lang/String;Ljava/lang/String;)Vnamed <init>Lnet/minecraft/block/StoneSlabBlock$SlabType;<init>(Ljava/lang/String;IILnet/minecraft/block/MaterialColor;Ljava/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 aLakb$a;a()Iintermediary method_1027Lnet/minecraft/class_321$class_322;method_1027()Inamed getIdLnet/minecraft/block/StoneSlabBlock$SlabType;getId()I
-
getMaterialColor
- Mappings:
Namespace Name Mixin selector official cLakb$a;c()Larn;intermediary method_1029Lnet/minecraft/class_321$class_322;method_1029()Lnet/minecraft/class_592;named getMaterialColorLnet/minecraft/block/StoneSlabBlock$SlabType;getMaterialColor()Lnet/minecraft/block/MaterialColor;
-
toString
- Overrides:
toStringin classEnum<StoneSlabBlock.SlabType>- Mappings:
Namespace Name Mixin selector official toStringLakb$a;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_321$class_322;toString()Ljava/lang/String;named toStringLnet/minecraft/block/StoneSlabBlock$SlabType;toString()Ljava/lang/String;
-
getById
- Mappings:
Namespace Name Mixin selector official aLakb$a;a(I)Lakb$a;intermediary method_1028Lnet/minecraft/class_321$class_322;method_1028(I)Lnet/minecraft/class_321$class_322;named getByIdLnet/minecraft/block/StoneSlabBlock$SlabType;getById(I)Lnet/minecraft/block/StoneSlabBlock$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;
-
getTranslationKey
- Mappings:
Namespace Name Mixin selector official dLakb$a;d()Ljava/lang/String;intermediary method_1030Lnet/minecraft/class_321$class_322;method_1030()Ljava/lang/String;named getTranslationKeyLnet/minecraft/block/StoneSlabBlock$SlabType;getTranslationKey()Ljava/lang/String;
-