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 atn$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 intprivate final Stringprivate final Stringprivate static final SandBlock.SandType[] -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateSandType(int int2, String string, String string2, MaterialColor materialColor, int int3) -
Method Summary
Modifier and TypeMethodDescriptionasString()static SandBlock.SandTypegetById(int id) getColor()intgetId()inttoString()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 aLatn$a;a:Latn$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 bLatn$a;b:Latn$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 cLatn$a;c:[Latn$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 dLatn$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 eLatn$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 fLatn$a;f:Lbda;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 gLatn$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;
-
field_14835
private final int field_14835- Mappings:
Namespace Name Mixin selector official hLatn$a;h:Iintermediary field_14835Lnet/minecraft/class_182$class_2210;field_14835:Inamed field_14835Lnet/minecraft/block/SandBlock$SandType;field_14835:I
-
-
Constructor Details
-
SandType
-
-
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
-
method_13318
- Mappings:
Namespace Name Mixin selector official aLatn$a;a()Iintermediary method_13318Lnet/minecraft/class_182$class_2210;method_13318()Inamed method_13318Lnet/minecraft/block/SandBlock$SandType;method_13318()I
-
getId
public int getId()- Mappings:
Namespace Name Mixin selector official bLatn$a;b()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 toStringLatn$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 dLatn$a;d()Lbda;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 aLatn$a;a(I)Latn$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 mLro;m()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 eLatn$a;e()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;
-