Enum Class RedSandstoneSlabBlock.SlabType

java.lang.Object
java.lang.Enum<RedSandstoneSlabBlock.SlabType>
net.minecraft.block.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 ape$a
intermediary net/minecraft/class_2200$class_2201
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 Lape$a;a:Lape$a;
      intermediary field_9553 Lnet/minecraft/class_2200$class_2201;field_9553:Lnet/minecraft/class_2200$class_2201;
      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 Lape$a;b:[Lape$a;
      intermediary field_9554 Lnet/minecraft/class_2200$class_2201;field_9554:[Lnet/minecraft/class_2200$class_2201;
      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 Lape$a;c:I
      intermediary field_9555 Lnet/minecraft/class_2200$class_2201;field_9555:I
      named id Lnet/minecraft/block/RedSandstoneSlabBlock$SlabType;id:I
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official d Lape$a;d:Ljava/lang/String;
      intermediary field_9556 Lnet/minecraft/class_2200$class_2201;field_9556: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 Lape$a;e:Lazt;
      intermediary field_9557 Lnet/minecraft/class_2200$class_2201;field_9557:Lnet/minecraft/class_65;
      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> Lape$a;<init>(Ljava/lang/String;IILjava/lang/String;Lazt;)V
      intermediary <init> Lnet/minecraft/class_2200$class_2201;<init>(Ljava/lang/String;IILjava/lang/String;Lnet/minecraft/class_65;)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 class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

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

      public int getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lape$a;a()I
      intermediary method_8835 Lnet/minecraft/class_2200$class_2201;method_8835()I
      named getId Lnet/minecraft/block/RedSandstoneSlabBlock$SlabType;getId()I
    • getColor

      public MaterialColor getColor()
      Mappings:
      Namespace Name Mixin selector
      official c Lape$a;c()Lazt;
      intermediary method_8837 Lnet/minecraft/class_2200$class_2201;method_8837()Lnet/minecraft/class_65;
      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 Lape$a;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_2200$class_2201;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 Lape$a;a(I)Lape$a;
      intermediary method_8836 Lnet/minecraft/class_2200$class_2201;method_8836(I)Lnet/minecraft/class_2200$class_2201;
      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 m Lox;m()Ljava/lang/String;
      intermediary method_10853 Lnet/minecraft/class_2604;method_10853()Ljava/lang/String;
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      official d Lape$a;d()Ljava/lang/String;
      intermediary method_8838 Lnet/minecraft/class_2200$class_2201;method_8838()Ljava/lang/String;
      named getName Lnet/minecraft/block/RedSandstoneSlabBlock$SlabType;getName()Ljava/lang/String;