Package net.minecraft.block
Enum Class 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 ajh$aintermediary net/minecraft/class_182$class_2210named net/minecraft/block/SandBlock$SandType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MaterialColorprivate final intprivate final Stringprivate final Stringprivate static final SandBlock.SandType[] -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateSandType(int id, String name, String translationKey, MaterialColor color) -
Method Summary
Modifier and TypeMethodDescriptionasString()static SandBlock.SandTypegetById(int id) getColor()intgetId()toString()static SandBlock.SandTypeReturns the enum constant of this class with the specified name.static SandBlock.SandType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SAND
- Mappings:
Namespace Name Mixin selector official aLajh$a;a:Lajh$a;intermediary field_9643Lnet/minecraft/class_182$class_2210;field_9643:Lnet/minecraft/class_182$class_2210;named SANDLnet/minecraft/block/SandBlock$SandType;SAND:Lnet/minecraft/block/SandBlock$SandType;
-
RED_SAND
- Mappings:
Namespace Name Mixin selector official bLajh$a;b:Lajh$a;intermediary field_9644Lnet/minecraft/class_182$class_2210;field_9644:Lnet/minecraft/class_182$class_2210;named RED_SANDLnet/minecraft/block/SandBlock$SandType;RED_SAND:Lnet/minecraft/block/SandBlock$SandType;
-
-
Field Details
-
TYPES
- Mappings:
Namespace Name Mixin selector official cLajh$a;c:[Lajh$a;intermediary field_9645Lnet/minecraft/class_182$class_2210;field_9645:[Lnet/minecraft/class_182$class_2210;named TYPESLnet/minecraft/block/SandBlock$SandType;TYPES:[Lnet/minecraft/block/SandBlock$SandType;
-
id
private final int id- Mappings:
Namespace Name Mixin selector official dLajh$a;d:Iintermediary field_9646Lnet/minecraft/class_182$class_2210;field_9646:Inamed idLnet/minecraft/block/SandBlock$SandType;id:I
-
name
- Mappings:
Namespace Name Mixin selector official eLajh$a;e:Ljava/lang/String;intermediary field_9647Lnet/minecraft/class_182$class_2210;field_9647:Ljava/lang/String;named nameLnet/minecraft/block/SandBlock$SandType;name:Ljava/lang/String;
-
color
- Mappings:
Namespace Name Mixin selector official fLajh$a;f:Larn;intermediary field_9648Lnet/minecraft/class_182$class_2210;field_9648:Lnet/minecraft/class_65;named colorLnet/minecraft/block/SandBlock$SandType;color:Lnet/minecraft/block/MaterialColor;
-
translationKey
- Mappings:
Namespace Name Mixin selector official gLajh$a;g:Ljava/lang/String;intermediary field_9649Lnet/minecraft/class_182$class_2210;field_9649:Ljava/lang/String;named translationKeyLnet/minecraft/block/SandBlock$SandType;translationKey:Ljava/lang/String;
-
-
Constructor Details
-
SandType
- Mappings:
Namespace Name Mixin selector official <init>Lajh$a;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;Larn;)Vintermediary <init>Lnet/minecraft/class_182$class_2210;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;Lnet/minecraft/class_65;)Vnamed <init>Lnet/minecraft/block/SandBlock$SandType;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;Lnet/minecraft/block/MaterialColor;)V
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getId
public int getId()- Mappings:
Namespace Name Mixin selector official aLajh$a;a()Iintermediary method_8888Lnet/minecraft/class_182$class_2210;method_8888()Inamed getIdLnet/minecraft/block/SandBlock$SandType;getId()I
-
toString
- Overrides:
toStringin classEnum<SandBlock.SandType>- Mappings:
Namespace Name Mixin selector official toStringLajh$a;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_182$class_2210;toString()Ljava/lang/String;named toStringLnet/minecraft/block/SandBlock$SandType;toString()Ljava/lang/String;
-
getColor
- Mappings:
Namespace Name Mixin selector official cLajh$a;c()Larn;intermediary method_8890Lnet/minecraft/class_182$class_2210;method_8890()Lnet/minecraft/class_65;named getColorLnet/minecraft/block/SandBlock$SandType;getColor()Lnet/minecraft/block/MaterialColor;
-
getById
- Mappings:
Namespace Name Mixin selector official aLajh$a;a(I)Lajh$a;intermediary method_8889Lnet/minecraft/class_182$class_2210;method_8889(I)Lnet/minecraft/class_182$class_2210;named getByIdLnet/minecraft/block/SandBlock$SandType;getById(I)Lnet/minecraft/block/SandBlock$SandType;
-
asString
- Specified by:
asStringin interfaceStringIdentifiable- Mappings:
Namespace Name Mixin selector official lLnw;l()Ljava/lang/String;intermediary method_10853Lnet/minecraft/class_2604;method_10853()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-
getTranslationKey
- Mappings:
Namespace Name Mixin selector official dLajh$a;d()Ljava/lang/String;intermediary method_8891Lnet/minecraft/class_182$class_2210;method_8891()Ljava/lang/String;named getTranslationKeyLnet/minecraft/block/SandBlock$SandType;getTranslationKey()Ljava/lang/String;
-