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 aof$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 Laof$a;a:Laof$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 Laof$a;b:Laof$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 Laof$a;c:[Laof$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 Laof$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 Laof$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 Laof$a;f:Laxf;
      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 Laof$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;
  • Constructor Details

    • SandType

      private SandType(int id, String name, String translationKey, MaterialColor color)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laof$a;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;Laxf;)V
      intermediary <init> Lnet/minecraft/class_182$class_2210;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;Lnet/minecraft/class_65;)V
      named <init> Lnet/minecraft/block/SandBlock$SandType;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;Lnet/minecraft/block/MaterialColor;)V
  • 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
    • getId

      public int getId()
      Mappings:
      Namespace Name Mixin selector
      official a Laof$a;a()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 Laof$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 c Laof$a;c()Laxf;
      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 Laof$a;a(I)Laof$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 Lor;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 d Laof$a;d()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;