Enum StoneSlabBlock.SlabType

java.lang.Object
java.lang.Enum<StoneSlabBlock.SlabType>
net.minecraft.block.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$a
intermediary net/minecraft/class_321$class_322
named net/minecraft/block/StoneSlabBlock$SlabType
  • Enum Constant Details

    • STONE

      public static final StoneSlabBlock.SlabType STONE
      Mappings:
      Namespace Name Mixin selector
      official a Lakb$a;a:Lakb$a;
      intermediary field_1248 Lnet/minecraft/class_321$class_322;field_1248:Lnet/minecraft/class_321$class_322;
      named STONE Lnet/minecraft/block/StoneSlabBlock$SlabType;STONE:Lnet/minecraft/block/StoneSlabBlock$SlabType;
    • SANDSTONE

      public static final StoneSlabBlock.SlabType SANDSTONE
      Mappings:
      Namespace Name Mixin selector
      official b Lakb$a;b:Lakb$a;
      intermediary field_1249 Lnet/minecraft/class_321$class_322;field_1249:Lnet/minecraft/class_321$class_322;
      named SANDSTONE Lnet/minecraft/block/StoneSlabBlock$SlabType;SANDSTONE:Lnet/minecraft/block/StoneSlabBlock$SlabType;
    • WOOD

      public static final StoneSlabBlock.SlabType WOOD
      Mappings:
      Namespace Name Mixin selector
      official c Lakb$a;c:Lakb$a;
      intermediary field_1250 Lnet/minecraft/class_321$class_322;field_1250:Lnet/minecraft/class_321$class_322;
      named WOOD Lnet/minecraft/block/StoneSlabBlock$SlabType;WOOD:Lnet/minecraft/block/StoneSlabBlock$SlabType;
    • COBBLESTONE

      public static final StoneSlabBlock.SlabType COBBLESTONE
      Mappings:
      Namespace Name Mixin selector
      official d Lakb$a;d:Lakb$a;
      intermediary field_1251 Lnet/minecraft/class_321$class_322;field_1251:Lnet/minecraft/class_321$class_322;
      named COBBLESTONE Lnet/minecraft/block/StoneSlabBlock$SlabType;COBBLESTONE:Lnet/minecraft/block/StoneSlabBlock$SlabType;
    • BRICK

      public static final StoneSlabBlock.SlabType BRICK
      Mappings:
      Namespace Name Mixin selector
      official e Lakb$a;e:Lakb$a;
      intermediary field_1252 Lnet/minecraft/class_321$class_322;field_1252:Lnet/minecraft/class_321$class_322;
      named BRICK Lnet/minecraft/block/StoneSlabBlock$SlabType;BRICK:Lnet/minecraft/block/StoneSlabBlock$SlabType;
    • STONE_BRICK

      public static final StoneSlabBlock.SlabType STONE_BRICK
      Mappings:
      Namespace Name Mixin selector
      official f Lakb$a;f:Lakb$a;
      intermediary field_1253 Lnet/minecraft/class_321$class_322;field_1253:Lnet/minecraft/class_321$class_322;
      named STONE_BRICK Lnet/minecraft/block/StoneSlabBlock$SlabType;STONE_BRICK:Lnet/minecraft/block/StoneSlabBlock$SlabType;
    • NETHER_BRICK

      public static final StoneSlabBlock.SlabType NETHER_BRICK
      Mappings:
      Namespace Name Mixin selector
      official g Lakb$a;g:Lakb$a;
      intermediary field_1254 Lnet/minecraft/class_321$class_322;field_1254:Lnet/minecraft/class_321$class_322;
      named NETHER_BRICK Lnet/minecraft/block/StoneSlabBlock$SlabType;NETHER_BRICK:Lnet/minecraft/block/StoneSlabBlock$SlabType;
    • QUARTZ

      public static final StoneSlabBlock.SlabType QUARTZ
      Mappings:
      Namespace Name Mixin selector
      official h Lakb$a;h:Lakb$a;
      intermediary field_1255 Lnet/minecraft/class_321$class_322;field_1255:Lnet/minecraft/class_321$class_322;
      named QUARTZ Lnet/minecraft/block/StoneSlabBlock$SlabType;QUARTZ:Lnet/minecraft/block/StoneSlabBlock$SlabType;
  • Field Details

    • TYPES

      private static final StoneSlabBlock.SlabType[] TYPES
      Mappings:
      Namespace Name Mixin selector
      official i Lakb$a;i:[Lakb$a;
      intermediary field_1256 Lnet/minecraft/class_321$class_322;field_1256:[Lnet/minecraft/class_321$class_322;
      named TYPES Lnet/minecraft/block/StoneSlabBlock$SlabType;TYPES:[Lnet/minecraft/block/StoneSlabBlock$SlabType;
    • id

      private final int id
      Mappings:
      Namespace Name Mixin selector
      official j Lakb$a;j:I
      intermediary field_1257 Lnet/minecraft/class_321$class_322;field_1257:I
      named id Lnet/minecraft/block/StoneSlabBlock$SlabType;id:I
    • color

      private final MaterialColor color
      Mappings:
      Namespace Name Mixin selector
      official k Lakb$a;k:Larn;
      intermediary field_1258 Lnet/minecraft/class_321$class_322;field_1258:Lnet/minecraft/class_592;
      named color Lnet/minecraft/block/StoneSlabBlock$SlabType;color:Lnet/minecraft/block/MaterialColor;
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official l Lakb$a;l:Ljava/lang/String;
      intermediary field_1259 Lnet/minecraft/class_321$class_322;field_1259:Ljava/lang/String;
      named name Lnet/minecraft/block/StoneSlabBlock$SlabType;name:Ljava/lang/String;
    • translationKey

      private final String translationKey
      Mappings:
      Namespace Name Mixin selector
      official m Lakb$a;m:Ljava/lang/String;
      intermediary field_1260 Lnet/minecraft/class_321$class_322;field_1260:Ljava/lang/String;
      named translationKey Lnet/minecraft/block/StoneSlabBlock$SlabType;translationKey:Ljava/lang/String;
  • Constructor Details

    • SlabType

      private SlabType​(int id, MaterialColor color, String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lakb$a;<init>(Ljava/lang/String;IILarn;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_321$class_322;<init>(Ljava/lang/String;IILnet/minecraft/class_592;Ljava/lang/String;)V
      named <init> Lnet/minecraft/block/StoneSlabBlock$SlabType;<init>(Ljava/lang/String;IILnet/minecraft/block/MaterialColor;Ljava/lang/String;)V
    • SlabType

      private SlabType​(int id, MaterialColor color, String name, String translationKey)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lakb$a;<init>(Ljava/lang/String;IILarn;Ljava/lang/String;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_321$class_322;<init>(Ljava/lang/String;IILnet/minecraft/class_592;Ljava/lang/String;Ljava/lang/String;)V
      named <init> Lnet/minecraft/block/StoneSlabBlock$SlabType;<init>(Ljava/lang/String;IILnet/minecraft/block/MaterialColor;Ljava/lang/String;Ljava/lang/String;)V
  • Method Details

    • values

      public static StoneSlabBlock.SlabType[] 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

      public static StoneSlabBlock.SlabType valueOf​(String name)
      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 name
      NullPointerException - if the argument is null
    • getId

      public int getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lakb$a;a()I
      intermediary method_1027 Lnet/minecraft/class_321$class_322;method_1027()I
      named getId Lnet/minecraft/block/StoneSlabBlock$SlabType;getId()I
    • getMaterialColor

      public MaterialColor getMaterialColor()
      Mappings:
      Namespace Name Mixin selector
      official c Lakb$a;c()Larn;
      intermediary method_1029 Lnet/minecraft/class_321$class_322;method_1029()Lnet/minecraft/class_592;
      named getMaterialColor Lnet/minecraft/block/StoneSlabBlock$SlabType;getMaterialColor()Lnet/minecraft/block/MaterialColor;
    • toString

      public String toString()
      Overrides:
      toString in class Enum<StoneSlabBlock.SlabType>
      Mappings:
      Namespace Name Mixin selector
      official toString Lakb$a;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_321$class_322;toString()Ljava/lang/String;
      named toString Lnet/minecraft/block/StoneSlabBlock$SlabType;toString()Ljava/lang/String;
    • getById

      public static StoneSlabBlock.SlabType getById​(int id)
      Mappings:
      Namespace Name Mixin selector
      official a Lakb$a;a(I)Lakb$a;
      intermediary method_1028 Lnet/minecraft/class_321$class_322;method_1028(I)Lnet/minecraft/class_321$class_322;
      named getById Lnet/minecraft/block/StoneSlabBlock$SlabType;getById(I)Lnet/minecraft/block/StoneSlabBlock$SlabType;
    • asString

      public String asString()
      Specified by:
      asString in interface StringIdentifiable
      Mappings:
      Namespace Name Mixin selector
      official l Lnw;l()Ljava/lang/String;
      intermediary method_6682 Lnet/minecraft/class_1709;method_6682()Ljava/lang/String;
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
    • getTranslationKey

      public String getTranslationKey()
      Mappings:
      Namespace Name Mixin selector
      official d Lakb$a;d()Ljava/lang/String;
      intermediary method_1030 Lnet/minecraft/class_321$class_322;method_1030()Ljava/lang/String;
      named getTranslationKey Lnet/minecraft/block/StoneSlabBlock$SlabType;getTranslationKey()Ljava/lang/String;