Enum Class SandBlock.SandType

java.lang.Object
java.lang.Enum<SandBlock.SandType>
net.minecraft.block.SandBlock.SandType
All Implemented Interfaces:
Serializable, Comparable<SandBlock.SandType>, Constable, StringIdentifiable
Enclosing class:
SandBlock

public static enum SandBlock.SandType extends Enum<SandBlock.SandType> implements StringIdentifiable
Mappings:
Namespace Name
official atn$a
intermediary net/minecraft/class_182$class_2210
named net/minecraft/block/SandBlock$SandType
  • Enum Constant Details

    • SAND

      public static final SandBlock.SandType SAND
      Mappings:
      Namespace Name Mixin selector
      official a Latn$a;a:Latn$a;
      intermediary field_9643 Lnet/minecraft/class_182$class_2210;field_9643:Lnet/minecraft/class_182$class_2210;
      named SAND Lnet/minecraft/block/SandBlock$SandType;SAND:Lnet/minecraft/block/SandBlock$SandType;
    • RED_SAND

      public static final SandBlock.SandType RED_SAND
      Mappings:
      Namespace Name Mixin selector
      official b Latn$a;b:Latn$a;
      intermediary field_9644 Lnet/minecraft/class_182$class_2210;field_9644:Lnet/minecraft/class_182$class_2210;
      named RED_SAND Lnet/minecraft/block/SandBlock$SandType;RED_SAND:Lnet/minecraft/block/SandBlock$SandType;
  • Field Details

    • TYPES

      private static final SandBlock.SandType[] TYPES
      Mappings:
      Namespace Name Mixin selector
      official c Latn$a;c:[Latn$a;
      intermediary field_9645 Lnet/minecraft/class_182$class_2210;field_9645:[Lnet/minecraft/class_182$class_2210;
      named TYPES Lnet/minecraft/block/SandBlock$SandType;TYPES:[Lnet/minecraft/block/SandBlock$SandType;
    • id

      private final int id
      Mappings:
      Namespace Name Mixin selector
      official d Latn$a;d:I
      intermediary field_9646 Lnet/minecraft/class_182$class_2210;field_9646:I
      named id Lnet/minecraft/block/SandBlock$SandType;id:I
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official e Latn$a;e:Ljava/lang/String;
      intermediary field_9647 Lnet/minecraft/class_182$class_2210;field_9647:Ljava/lang/String;
      named name Lnet/minecraft/block/SandBlock$SandType;name:Ljava/lang/String;
    • color

      private final MaterialColor color
      Mappings:
      Namespace Name Mixin selector
      official f Latn$a;f:Lbda;
      intermediary field_9648 Lnet/minecraft/class_182$class_2210;field_9648:Lnet/minecraft/class_65;
      named color Lnet/minecraft/block/SandBlock$SandType;color:Lnet/minecraft/block/MaterialColor;
    • translationKey

      private final String translationKey
      Mappings:
      Namespace Name Mixin selector
      official g Latn$a;g:Ljava/lang/String;
      intermediary field_9649 Lnet/minecraft/class_182$class_2210;field_9649:Ljava/lang/String;
      named translationKey Lnet/minecraft/block/SandBlock$SandType;translationKey:Ljava/lang/String;
    • field_14835

      private final int field_14835
      Mappings:
      Namespace Name Mixin selector
      official h Latn$a;h:I
      intermediary field_14835 Lnet/minecraft/class_182$class_2210;field_14835:I
      named field_14835 Lnet/minecraft/block/SandBlock$SandType;field_14835:I
  • Constructor Details

  • Method Details

    • values

      public static SandBlock.SandType[] 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 SandBlock.SandType 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
    • method_13318

      @Environment(CLIENT) public int method_13318()
      Mappings:
      Namespace Name Mixin selector
      official a Latn$a;a()I
      intermediary method_13318 Lnet/minecraft/class_182$class_2210;method_13318()I
      named method_13318 Lnet/minecraft/block/SandBlock$SandType;method_13318()I
    • getId

      public int getId()
      Mappings:
      Namespace Name Mixin selector
      official b Latn$a;b()I
      intermediary method_8888 Lnet/minecraft/class_182$class_2210;method_8888()I
      named getId Lnet/minecraft/block/SandBlock$SandType;getId()I
    • toString

      public String toString()
      Overrides:
      toString in class Enum<SandBlock.SandType>
      Mappings:
      Namespace Name Mixin selector
      official toString Latn$a;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_182$class_2210;toString()Ljava/lang/String;
      named toString Lnet/minecraft/block/SandBlock$SandType;toString()Ljava/lang/String;
    • getColor

      public MaterialColor getColor()
      Mappings:
      Namespace Name Mixin selector
      official d Latn$a;d()Lbda;
      intermediary method_8890 Lnet/minecraft/class_182$class_2210;method_8890()Lnet/minecraft/class_65;
      named getColor Lnet/minecraft/block/SandBlock$SandType;getColor()Lnet/minecraft/block/MaterialColor;
    • getById

      public static SandBlock.SandType getById(int id)
      Mappings:
      Namespace Name Mixin selector
      official a Latn$a;a(I)Latn$a;
      intermediary method_8889 Lnet/minecraft/class_182$class_2210;method_8889(I)Lnet/minecraft/class_182$class_2210;
      named getById Lnet/minecraft/block/SandBlock$SandType;getById(I)Lnet/minecraft/block/SandBlock$SandType;
    • asString

      public String asString()
      Specified by:
      asString in interface StringIdentifiable
      Mappings:
      Namespace Name Mixin selector
      official m Lro;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;
    • getTranslationKey

      public String getTranslationKey()
      Mappings:
      Namespace Name Mixin selector
      official e Latn$a;e()Ljava/lang/String;
      intermediary method_8891 Lnet/minecraft/class_182$class_2210;method_8891()Ljava/lang/String;
      named getTranslationKey Lnet/minecraft/block/SandBlock$SandType;getTranslationKey()Ljava/lang/String;