Package net.minecraft.block
Enum RedSandstoneBlock.RedSandstoneType
java.lang.Object
java.lang.Enum<RedSandstoneBlock.RedSandstoneType>
net.minecraft.block.RedSandstoneBlock.RedSandstoneType
- All Implemented Interfaces:
Serializable,Comparable<RedSandstoneBlock.RedSandstoneType>,java.lang.constant.Constable,StringIdentifiable
- Enclosing class:
- RedSandstoneBlock
public static enum RedSandstoneBlock.RedSandstoneType extends Enum<RedSandstoneBlock.RedSandstoneType> implements StringIdentifiable
- Mappings:
Namespace Name official aiz$aintermediary net/minecraft/class_282$class_283named net/minecraft/block/RedSandstoneBlock$RedSandstoneType
-
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 privateRedSandstoneType(int id, String name, String stateName) -
Method Summary
Modifier and Type Method Description StringasString()StringgetBlockStateName()static RedSandstoneBlock.RedSandstoneTypegetById(int id)intgetId()StringtoString()static RedSandstoneBlock.RedSandstoneTypevalueOf(String name)Returns the enum constant of this type with the specified name.static RedSandstoneBlock.RedSandstoneType[]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 aLaiz$a;a:Laiz$a;intermediary field_1134Lnet/minecraft/class_282$class_283;field_1134:Lnet/minecraft/class_282$class_283;named DEFAULTLnet/minecraft/block/RedSandstoneBlock$RedSandstoneType;DEFAULT:Lnet/minecraft/block/RedSandstoneBlock$RedSandstoneType;
-
CHISELED
- Mappings:
Namespace Name Mixin selector official bLaiz$a;b:Laiz$a;intermediary field_1135Lnet/minecraft/class_282$class_283;field_1135:Lnet/minecraft/class_282$class_283;named CHISELEDLnet/minecraft/block/RedSandstoneBlock$RedSandstoneType;CHISELED:Lnet/minecraft/block/RedSandstoneBlock$RedSandstoneType;
-
SMOOTH
- Mappings:
Namespace Name Mixin selector official cLaiz$a;c:Laiz$a;intermediary field_1136Lnet/minecraft/class_282$class_283;field_1136:Lnet/minecraft/class_282$class_283;named SMOOTHLnet/minecraft/block/RedSandstoneBlock$RedSandstoneType;SMOOTH:Lnet/minecraft/block/RedSandstoneBlock$RedSandstoneType;
-
-
Field Details
-
TYPES
- Mappings:
Namespace Name Mixin selector official dLaiz$a;d:[Laiz$a;intermediary field_1137Lnet/minecraft/class_282$class_283;field_1137:[Lnet/minecraft/class_282$class_283;named TYPESLnet/minecraft/block/RedSandstoneBlock$RedSandstoneType;TYPES:[Lnet/minecraft/block/RedSandstoneBlock$RedSandstoneType;
-
id
private final int id- Mappings:
Namespace Name Mixin selector official eLaiz$a;e:Iintermediary field_1138Lnet/minecraft/class_282$class_283;field_1138:Inamed idLnet/minecraft/block/RedSandstoneBlock$RedSandstoneType;id:I
-
name
- Mappings:
Namespace Name Mixin selector official fLaiz$a;f:Ljava/lang/String;intermediary field_1139Lnet/minecraft/class_282$class_283;field_1139:Ljava/lang/String;named nameLnet/minecraft/block/RedSandstoneBlock$RedSandstoneType;name:Ljava/lang/String;
-
stateName
- Mappings:
Namespace Name Mixin selector official gLaiz$a;g:Ljava/lang/String;intermediary field_1140Lnet/minecraft/class_282$class_283;field_1140:Ljava/lang/String;named stateNameLnet/minecraft/block/RedSandstoneBlock$RedSandstoneType;stateName:Ljava/lang/String;
-
-
Constructor Details
-
RedSandstoneType
- Mappings:
Namespace Name Mixin selector official <init>Laiz$a;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_282$class_283;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)Vnamed <init>Lnet/minecraft/block/RedSandstoneBlock$RedSandstoneType;<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 aLaiz$a;a()Iintermediary method_965Lnet/minecraft/class_282$class_283;method_965()Inamed getIdLnet/minecraft/block/RedSandstoneBlock$RedSandstoneType;getId()I
-
toString
- Overrides:
toStringin classEnum<RedSandstoneBlock.RedSandstoneType>- Mappings:
Namespace Name Mixin selector official toStringLaiz$a;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_282$class_283;toString()Ljava/lang/String;named toStringLnet/minecraft/block/RedSandstoneBlock$RedSandstoneType;toString()Ljava/lang/String;
-
getById
- Mappings:
Namespace Name Mixin selector official aLaiz$a;a(I)Laiz$a;intermediary method_966Lnet/minecraft/class_282$class_283;method_966(I)Lnet/minecraft/class_282$class_283;named getByIdLnet/minecraft/block/RedSandstoneBlock$RedSandstoneType;getById(I)Lnet/minecraft/block/RedSandstoneBlock$RedSandstoneType;
-
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 cLaiz$a;c()Ljava/lang/String;intermediary method_967Lnet/minecraft/class_282$class_283;method_967()Ljava/lang/String;named getBlockStateNameLnet/minecraft/block/RedSandstoneBlock$RedSandstoneType;getBlockStateName()Ljava/lang/String;
-