Package net.minecraft.block
Enum Class StoneSlabBlock.SlabType
- All Implemented Interfaces:
Serializable,Comparable<StoneSlabBlock.SlabType>,Constable,StringIdentifiable
- Enclosing class:
- StoneSlabBlock
public static enum StoneSlabBlock.SlabType
extends Enum<StoneSlabBlock.SlabType>
implements StringIdentifiable
- Mappings:
Namespace Name official arf$aintermediary net/minecraft/class_191$class_2219named 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 -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MaterialColorprivate final intprivate final Stringprivate final Stringprivate static final StoneSlabBlock.SlabType[] -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateSlabType(int id, MaterialColor color, String name) privateSlabType(int id, MaterialColor color, String name, String translationKey) -
Method Summary
Modifier and TypeMethodDescriptionasString()static StoneSlabBlock.SlabTypegetById(int id) intgetId()toString()static StoneSlabBlock.SlabTypeReturns the enum constant of this class with the specified name.static StoneSlabBlock.SlabType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STONE
- Mappings:
Namespace Name Mixin selector official aLarf$a;a:Larf$a;intermediary field_9721Lnet/minecraft/class_191$class_2219;field_9721:Lnet/minecraft/class_191$class_2219;named STONELnet/minecraft/block/StoneSlabBlock$SlabType;STONE:Lnet/minecraft/block/StoneSlabBlock$SlabType;
-
SANDSTONE
- Mappings:
Namespace Name Mixin selector official bLarf$a;b:Larf$a;intermediary field_9722Lnet/minecraft/class_191$class_2219;field_9722:Lnet/minecraft/class_191$class_2219;named SANDSTONELnet/minecraft/block/StoneSlabBlock$SlabType;SANDSTONE:Lnet/minecraft/block/StoneSlabBlock$SlabType;
-
WOOD
- Mappings:
Namespace Name Mixin selector official cLarf$a;c:Larf$a;intermediary field_9723Lnet/minecraft/class_191$class_2219;field_9723:Lnet/minecraft/class_191$class_2219;named WOODLnet/minecraft/block/StoneSlabBlock$SlabType;WOOD:Lnet/minecraft/block/StoneSlabBlock$SlabType;
-
COBBLESTONE
- Mappings:
Namespace Name Mixin selector official dLarf$a;d:Larf$a;intermediary field_9724Lnet/minecraft/class_191$class_2219;field_9724:Lnet/minecraft/class_191$class_2219;named COBBLESTONELnet/minecraft/block/StoneSlabBlock$SlabType;COBBLESTONE:Lnet/minecraft/block/StoneSlabBlock$SlabType;
-
BRICK
- Mappings:
Namespace Name Mixin selector official eLarf$a;e:Larf$a;intermediary field_9725Lnet/minecraft/class_191$class_2219;field_9725:Lnet/minecraft/class_191$class_2219;named BRICKLnet/minecraft/block/StoneSlabBlock$SlabType;BRICK:Lnet/minecraft/block/StoneSlabBlock$SlabType;
-
STONE_BRICK
- Mappings:
Namespace Name Mixin selector official fLarf$a;f:Larf$a;intermediary field_9726Lnet/minecraft/class_191$class_2219;field_9726:Lnet/minecraft/class_191$class_2219;named STONE_BRICKLnet/minecraft/block/StoneSlabBlock$SlabType;STONE_BRICK:Lnet/minecraft/block/StoneSlabBlock$SlabType;
-
NETHER_BRICK
- Mappings:
Namespace Name Mixin selector official gLarf$a;g:Larf$a;intermediary field_9727Lnet/minecraft/class_191$class_2219;field_9727:Lnet/minecraft/class_191$class_2219;named NETHER_BRICKLnet/minecraft/block/StoneSlabBlock$SlabType;NETHER_BRICK:Lnet/minecraft/block/StoneSlabBlock$SlabType;
-
QUARTZ
- Mappings:
Namespace Name Mixin selector official hLarf$a;h:Larf$a;intermediary field_9728Lnet/minecraft/class_191$class_2219;field_9728:Lnet/minecraft/class_191$class_2219;named QUARTZLnet/minecraft/block/StoneSlabBlock$SlabType;QUARTZ:Lnet/minecraft/block/StoneSlabBlock$SlabType;
-
-
Field Details
-
TYPES
- Mappings:
Namespace Name Mixin selector official iLarf$a;i:[Larf$a;intermediary field_9729Lnet/minecraft/class_191$class_2219;field_9729:[Lnet/minecraft/class_191$class_2219;named TYPESLnet/minecraft/block/StoneSlabBlock$SlabType;TYPES:[Lnet/minecraft/block/StoneSlabBlock$SlabType;
-
id
private final int id- Mappings:
Namespace Name Mixin selector official jLarf$a;j:Iintermediary field_9730Lnet/minecraft/class_191$class_2219;field_9730:Inamed idLnet/minecraft/block/StoneSlabBlock$SlabType;id:I
-
color
- Mappings:
Namespace Name Mixin selector official kLarf$a;k:Lazt;intermediary field_9731Lnet/minecraft/class_191$class_2219;field_9731:Lnet/minecraft/class_65;named colorLnet/minecraft/block/StoneSlabBlock$SlabType;color:Lnet/minecraft/block/MaterialColor;
-
name
- Mappings:
Namespace Name Mixin selector official lLarf$a;l:Ljava/lang/String;intermediary field_9732Lnet/minecraft/class_191$class_2219;field_9732:Ljava/lang/String;named nameLnet/minecraft/block/StoneSlabBlock$SlabType;name:Ljava/lang/String;
-
translationKey
- Mappings:
Namespace Name Mixin selector official mLarf$a;m:Ljava/lang/String;intermediary field_9733Lnet/minecraft/class_191$class_2219;field_9733:Ljava/lang/String;named translationKeyLnet/minecraft/block/StoneSlabBlock$SlabType;translationKey:Ljava/lang/String;
-
-
Constructor Details
-
SlabType
- Mappings:
Namespace Name Mixin selector official <init>Larf$a;<init>(Ljava/lang/String;IILazt;Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_191$class_2219;<init>(Ljava/lang/String;IILnet/minecraft/class_65;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>Larf$a;<init>(Ljava/lang/String;IILazt;Ljava/lang/String;Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_191$class_2219;<init>(Ljava/lang/String;IILnet/minecraft/class_65;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 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 aLarf$a;a()Iintermediary method_8926Lnet/minecraft/class_191$class_2219;method_8926()Inamed getIdLnet/minecraft/block/StoneSlabBlock$SlabType;getId()I
-
getMaterialColor
- Mappings:
Namespace Name Mixin selector official cLarf$a;c()Lazt;intermediary method_8928Lnet/minecraft/class_191$class_2219;method_8928()Lnet/minecraft/class_65;named getMaterialColorLnet/minecraft/block/StoneSlabBlock$SlabType;getMaterialColor()Lnet/minecraft/block/MaterialColor;
-
toString
- Overrides:
toStringin classEnum<StoneSlabBlock.SlabType>- Mappings:
Namespace Name Mixin selector official toStringLarf$a;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_191$class_2219;toString()Ljava/lang/String;named toStringLnet/minecraft/block/StoneSlabBlock$SlabType;toString()Ljava/lang/String;
-
getById
- Mappings:
Namespace Name Mixin selector official aLarf$a;a(I)Larf$a;intermediary method_8927Lnet/minecraft/class_191$class_2219;method_8927(I)Lnet/minecraft/class_191$class_2219;named getByIdLnet/minecraft/block/StoneSlabBlock$SlabType;getById(I)Lnet/minecraft/block/StoneSlabBlock$SlabType;
-
asString
- Specified by:
asStringin interfaceStringIdentifiable- Mappings:
Namespace Name Mixin selector official mLox;m()Ljava/lang/String;intermediary method_10853Lnet/minecraft/class_2604;method_10853()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-
getTranslationKey
- Mappings:
Namespace Name Mixin selector official dLarf$a;d()Ljava/lang/String;intermediary method_8929Lnet/minecraft/class_191$class_2219;method_8929()Ljava/lang/String;named getTranslationKeyLnet/minecraft/block/StoneSlabBlock$SlabType;getTranslationKey()Ljava/lang/String;
-