Package net.minecraft.block
Enum SandstoneBlock.SanstoneType
- All Implemented Interfaces:
Serializable,Comparable<SandstoneBlock.SanstoneType>,java.lang.constant.Constable,StringIdentifiable
- Enclosing class:
- SandstoneBlock
public static enum SandstoneBlock.SanstoneType extends Enum<SandstoneBlock.SanstoneType> implements StringIdentifiable
- Mappings:
Namespace Name official aji$aintermediary net/minecraft/class_296$class_297named net/minecraft/block/SandstoneBlock$SanstoneType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description privateSanstoneType(int id, String name, String stateName) -
Method Summary
Modifier and Type Method Description StringasString()StringgetBlockStateName()static SandstoneBlock.SanstoneTypegetById(int id)intgetId()StringtoString()static SandstoneBlock.SanstoneTypevalueOf(String name)Returns the enum constant of this type with the specified name.static SandstoneBlock.SanstoneType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
- Mappings:
Namespace Name Mixin selector official aLaji$a;a:Laji$a;intermediary field_1174Lnet/minecraft/class_296$class_297;field_1174:Lnet/minecraft/class_296$class_297;named DEFAULTLnet/minecraft/block/SandstoneBlock$SanstoneType;DEFAULT:Lnet/minecraft/block/SandstoneBlock$SanstoneType;
-
CHISELED
- Mappings:
Namespace Name Mixin selector official bLaji$a;b:Laji$a;intermediary field_1175Lnet/minecraft/class_296$class_297;field_1175:Lnet/minecraft/class_296$class_297;named CHISELEDLnet/minecraft/block/SandstoneBlock$SanstoneType;CHISELED:Lnet/minecraft/block/SandstoneBlock$SanstoneType;
-
SMOOTH
- Mappings:
Namespace Name Mixin selector official cLaji$a;c:Laji$a;intermediary field_1176Lnet/minecraft/class_296$class_297;field_1176:Lnet/minecraft/class_296$class_297;named SMOOTHLnet/minecraft/block/SandstoneBlock$SanstoneType;SMOOTH:Lnet/minecraft/block/SandstoneBlock$SanstoneType;
-
-
Field Details
-
TYPES
- Mappings:
Namespace Name Mixin selector official dLaji$a;d:[Laji$a;intermediary field_1177Lnet/minecraft/class_296$class_297;field_1177:[Lnet/minecraft/class_296$class_297;named TYPESLnet/minecraft/block/SandstoneBlock$SanstoneType;TYPES:[Lnet/minecraft/block/SandstoneBlock$SanstoneType;
-
id
private final int id- Mappings:
Namespace Name Mixin selector official eLaji$a;e:Iintermediary field_1178Lnet/minecraft/class_296$class_297;field_1178:Inamed idLnet/minecraft/block/SandstoneBlock$SanstoneType;id:I
-
name
- Mappings:
Namespace Name Mixin selector official fLaji$a;f:Ljava/lang/String;intermediary field_1179Lnet/minecraft/class_296$class_297;field_1179:Ljava/lang/String;named nameLnet/minecraft/block/SandstoneBlock$SanstoneType;name:Ljava/lang/String;
-
stateName
- Mappings:
Namespace Name Mixin selector official gLaji$a;g:Ljava/lang/String;intermediary field_1180Lnet/minecraft/class_296$class_297;field_1180:Ljava/lang/String;named stateNameLnet/minecraft/block/SandstoneBlock$SanstoneType;stateName:Ljava/lang/String;
-
-
Constructor Details
-
SanstoneType
- Mappings:
Namespace Name Mixin selector official <init>Laji$a;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_296$class_297;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)Vnamed <init>Lnet/minecraft/block/SandstoneBlock$SanstoneType;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getId
public int getId()- Mappings:
Namespace Name Mixin selector official aLaji$a;a()Iintermediary method_989Lnet/minecraft/class_296$class_297;method_989()Inamed getIdLnet/minecraft/block/SandstoneBlock$SanstoneType;getId()I
-
toString
- Overrides:
toStringin classEnum<SandstoneBlock.SanstoneType>- Mappings:
Namespace Name Mixin selector official toStringLaji$a;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_296$class_297;toString()Ljava/lang/String;named toStringLnet/minecraft/block/SandstoneBlock$SanstoneType;toString()Ljava/lang/String;
-
getById
- Mappings:
Namespace Name Mixin selector official aLaji$a;a(I)Laji$a;intermediary method_990Lnet/minecraft/class_296$class_297;method_990(I)Lnet/minecraft/class_296$class_297;named getByIdLnet/minecraft/block/SandstoneBlock$SanstoneType;getById(I)Lnet/minecraft/block/SandstoneBlock$SanstoneType;
-
asString
- Specified by:
asStringin interfaceStringIdentifiable- Mappings:
Namespace Name Mixin selector official lLnw;l()Ljava/lang/String;intermediary method_6682Lnet/minecraft/class_1709;method_6682()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-
getBlockStateName
- Mappings:
Namespace Name Mixin selector official cLaji$a;c()Ljava/lang/String;intermediary method_991Lnet/minecraft/class_296$class_297;method_991()Ljava/lang/String;named getBlockStateNameLnet/minecraft/block/SandstoneBlock$SanstoneType;getBlockStateName()Ljava/lang/String;
-