Enum RedSandstoneSlabBlock.SlabType

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

    • RED_SANDSTONE

      public static final RedSandstoneSlabBlock.SlabType RED_SANDSTONE
      Mappings:
      Namespace Name Mixin selector
      official a Laih$a;a:Laih$a;
      intermediary field_1061 Lnet/minecraft/class_258$class_259;field_1061:Lnet/minecraft/class_258$class_259;
      named RED_SANDSTONE Lnet/minecraft/block/RedSandstoneSlabBlock$SlabType;RED_SANDSTONE:Lnet/minecraft/block/RedSandstoneSlabBlock$SlabType;
  • Field Details

    • TYPES

      private static final RedSandstoneSlabBlock.SlabType[] TYPES
      Mappings:
      Namespace Name Mixin selector
      official b Laih$a;b:[Laih$a;
      intermediary field_1062 Lnet/minecraft/class_258$class_259;field_1062:[Lnet/minecraft/class_258$class_259;
      named TYPES Lnet/minecraft/block/RedSandstoneSlabBlock$SlabType;TYPES:[Lnet/minecraft/block/RedSandstoneSlabBlock$SlabType;
    • id

      private final int id
      Mappings:
      Namespace Name Mixin selector
      official c Laih$a;c:I
      intermediary field_1063 Lnet/minecraft/class_258$class_259;field_1063:I
      named id Lnet/minecraft/block/RedSandstoneSlabBlock$SlabType;id:I
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official d Laih$a;d:Ljava/lang/String;
      intermediary field_1064 Lnet/minecraft/class_258$class_259;field_1064:Ljava/lang/String;
      named name Lnet/minecraft/block/RedSandstoneSlabBlock$SlabType;name:Ljava/lang/String;
    • color

      private final MaterialColor color
      Mappings:
      Namespace Name Mixin selector
      official e Laih$a;e:Larn;
      intermediary field_1065 Lnet/minecraft/class_258$class_259;field_1065:Lnet/minecraft/class_592;
      named color Lnet/minecraft/block/RedSandstoneSlabBlock$SlabType;color:Lnet/minecraft/block/MaterialColor;
  • Constructor Details

    • SlabType

      private SlabType​(int id, String name, MaterialColor color)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laih$a;<init>(Ljava/lang/String;IILjava/lang/String;Larn;)V
      intermediary <init> Lnet/minecraft/class_258$class_259;<init>(Ljava/lang/String;IILjava/lang/String;Lnet/minecraft/class_592;)V
      named <init> Lnet/minecraft/block/RedSandstoneSlabBlock$SlabType;<init>(Ljava/lang/String;IILjava/lang/String;Lnet/minecraft/block/MaterialColor;)V
  • Method Details

    • values

      public static RedSandstoneSlabBlock.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 RedSandstoneSlabBlock.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 Laih$a;a()I
      intermediary method_924 Lnet/minecraft/class_258$class_259;method_924()I
      named getId Lnet/minecraft/block/RedSandstoneSlabBlock$SlabType;getId()I
    • getColor

      public MaterialColor getColor()
      Mappings:
      Namespace Name Mixin selector
      official c Laih$a;c()Larn;
      intermediary method_926 Lnet/minecraft/class_258$class_259;method_926()Lnet/minecraft/class_592;
      named getColor Lnet/minecraft/block/RedSandstoneSlabBlock$SlabType;getColor()Lnet/minecraft/block/MaterialColor;
    • toString

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

      public static RedSandstoneSlabBlock.SlabType getById​(int id)
      Mappings:
      Namespace Name Mixin selector
      official a Laih$a;a(I)Laih$a;
      intermediary method_925 Lnet/minecraft/class_258$class_259;method_925(I)Lnet/minecraft/class_258$class_259;
      named getById Lnet/minecraft/block/RedSandstoneSlabBlock$SlabType;getById(I)Lnet/minecraft/block/RedSandstoneSlabBlock$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;
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      official d Laih$a;d()Ljava/lang/String;
      intermediary method_927 Lnet/minecraft/class_258$class_259;method_927()Ljava/lang/String;
      named getName Lnet/minecraft/block/RedSandstoneSlabBlock$SlabType;getName()Ljava/lang/String;