Package net.minecraft.block
Enum QuartzBlock.QuartzType
- All Implemented Interfaces:
Serializable,Comparable<QuartzBlock.QuartzType>,java.lang.constant.Constable,StringIdentifiable
- Enclosing class:
- QuartzBlock
public static enum QuartzBlock.QuartzType extends Enum<QuartzBlock.QuartzType> implements StringIdentifiable
- Mappings:
Namespace Name official aiw$aintermediary net/minecraft/class_278$class_279named net/minecraft/block/QuartzBlock$QuartzType
-
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 privateQuartzType(int id, String name, String stateName) -
Method Summary
Modifier and Type Method Description StringasString()static QuartzBlock.QuartzTypegetById(int id)intgetId()StringtoString()static QuartzBlock.QuartzTypevalueOf(String name)Returns the enum constant of this type with the specified name.static QuartzBlock.QuartzType[]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 aLaiw$a;a:Laiw$a;intermediary field_1122Lnet/minecraft/class_278$class_279;field_1122:Lnet/minecraft/class_278$class_279;named DEFAULTLnet/minecraft/block/QuartzBlock$QuartzType;DEFAULT:Lnet/minecraft/block/QuartzBlock$QuartzType;
-
CHISELED
- Mappings:
Namespace Name Mixin selector official bLaiw$a;b:Laiw$a;intermediary field_1123Lnet/minecraft/class_278$class_279;field_1123:Lnet/minecraft/class_278$class_279;named CHISELEDLnet/minecraft/block/QuartzBlock$QuartzType;CHISELED:Lnet/minecraft/block/QuartzBlock$QuartzType;
-
LINES_X
- Mappings:
Namespace Name Mixin selector official cLaiw$a;c:Laiw$a;intermediary field_1124Lnet/minecraft/class_278$class_279;field_1124:Lnet/minecraft/class_278$class_279;named LINES_XLnet/minecraft/block/QuartzBlock$QuartzType;LINES_X:Lnet/minecraft/block/QuartzBlock$QuartzType;
-
LINES_Y
- Mappings:
Namespace Name Mixin selector official dLaiw$a;d:Laiw$a;intermediary field_1125Lnet/minecraft/class_278$class_279;field_1125:Lnet/minecraft/class_278$class_279;named LINES_YLnet/minecraft/block/QuartzBlock$QuartzType;LINES_Y:Lnet/minecraft/block/QuartzBlock$QuartzType;
-
LINES_Z
- Mappings:
Namespace Name Mixin selector official eLaiw$a;e:Laiw$a;intermediary field_1126Lnet/minecraft/class_278$class_279;field_1126:Lnet/minecraft/class_278$class_279;named LINES_ZLnet/minecraft/block/QuartzBlock$QuartzType;LINES_Z:Lnet/minecraft/block/QuartzBlock$QuartzType;
-
-
Field Details
-
TYPES
- Mappings:
Namespace Name Mixin selector official fLaiw$a;f:[Laiw$a;intermediary field_1127Lnet/minecraft/class_278$class_279;field_1127:[Lnet/minecraft/class_278$class_279;named TYPESLnet/minecraft/block/QuartzBlock$QuartzType;TYPES:[Lnet/minecraft/block/QuartzBlock$QuartzType;
-
id
private final int id- Mappings:
Namespace Name Mixin selector official gLaiw$a;g:Iintermediary field_1128Lnet/minecraft/class_278$class_279;field_1128:Inamed idLnet/minecraft/block/QuartzBlock$QuartzType;id:I
-
name
- Mappings:
Namespace Name Mixin selector official hLaiw$a;h:Ljava/lang/String;intermediary field_1129Lnet/minecraft/class_278$class_279;field_1129:Ljava/lang/String;named nameLnet/minecraft/block/QuartzBlock$QuartzType;name:Ljava/lang/String;
-
stateName
- Mappings:
Namespace Name Mixin selector official iLaiw$a;i:Ljava/lang/String;intermediary field_1130Lnet/minecraft/class_278$class_279;field_1130:Ljava/lang/String;named stateNameLnet/minecraft/block/QuartzBlock$QuartzType;stateName:Ljava/lang/String;
-
-
Constructor Details
-
QuartzType
- Mappings:
Namespace Name Mixin selector official <init>Laiw$a;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_278$class_279;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)Vnamed <init>Lnet/minecraft/block/QuartzBlock$QuartzType;<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 aLaiw$a;a()Iintermediary method_963Lnet/minecraft/class_278$class_279;method_963()Inamed getIdLnet/minecraft/block/QuartzBlock$QuartzType;getId()I
-
toString
- Overrides:
toStringin classEnum<QuartzBlock.QuartzType>- Mappings:
Namespace Name Mixin selector official toStringLaiw$a;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_278$class_279;toString()Ljava/lang/String;named toStringLnet/minecraft/block/QuartzBlock$QuartzType;toString()Ljava/lang/String;
-
getById
- Mappings:
Namespace Name Mixin selector official aLaiw$a;a(I)Laiw$a;intermediary method_964Lnet/minecraft/class_278$class_279;method_964(I)Lnet/minecraft/class_278$class_279;named getByIdLnet/minecraft/block/QuartzBlock$QuartzType;getById(I)Lnet/minecraft/block/QuartzBlock$QuartzType;
-
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;
-