Package net.minecraft.block
Enum StoneBlock.StoneType
- All Implemented Interfaces:
Serializable,Comparable<StoneBlock.StoneType>,java.lang.constant.Constable,StringIdentifiable
- Enclosing class:
- StoneBlock
public static enum StoneBlock.StoneType extends Enum<StoneBlock.StoneType> implements StringIdentifiable
- Mappings:
Namespace Name official ajy$aintermediary net/minecraft/class_315$class_316named net/minecraft/block/StoneBlock$StoneType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants Enum Constant Description ANDESITEDIORITEGRANITEPOLISHED_ANDESITEPOLISHED_DIORITEPOLISHED_GRANITESTONE -
Field Summary
Fields Modifier and Type Field Description private MaterialColorcolorprivate intidprivate Stringnameprivate StringtranslationKeyprivate static StoneBlock.StoneType[]TYPES -
Constructor Summary
Constructors Modifier Constructor Description privateStoneType(int id, MaterialColor color, String name)privateStoneType(int id, MaterialColor color, String name, String translationKey) -
Method Summary
Modifier and Type Method Description StringasString()intbyId()static StoneBlock.StoneTypegetById(int id)MaterialColorgetColor()StringgetTranslationKey()StringtoString()static StoneBlock.StoneTypevalueOf(String name)Returns the enum constant of this type with the specified name.static StoneBlock.StoneType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STONE
- Mappings:
Namespace Name Mixin selector official aLajy$a;a:Lajy$a;intermediary field_1219Lnet/minecraft/class_315$class_316;field_1219:Lnet/minecraft/class_315$class_316;named STONELnet/minecraft/block/StoneBlock$StoneType;STONE:Lnet/minecraft/block/StoneBlock$StoneType;
-
GRANITE
- Mappings:
Namespace Name Mixin selector official bLajy$a;b:Lajy$a;intermediary field_1220Lnet/minecraft/class_315$class_316;field_1220:Lnet/minecraft/class_315$class_316;named GRANITELnet/minecraft/block/StoneBlock$StoneType;GRANITE:Lnet/minecraft/block/StoneBlock$StoneType;
-
POLISHED_GRANITE
- Mappings:
Namespace Name Mixin selector official cLajy$a;c:Lajy$a;intermediary field_1221Lnet/minecraft/class_315$class_316;field_1221:Lnet/minecraft/class_315$class_316;named POLISHED_GRANITELnet/minecraft/block/StoneBlock$StoneType;POLISHED_GRANITE:Lnet/minecraft/block/StoneBlock$StoneType;
-
DIORITE
- Mappings:
Namespace Name Mixin selector official dLajy$a;d:Lajy$a;intermediary field_1222Lnet/minecraft/class_315$class_316;field_1222:Lnet/minecraft/class_315$class_316;named DIORITELnet/minecraft/block/StoneBlock$StoneType;DIORITE:Lnet/minecraft/block/StoneBlock$StoneType;
-
POLISHED_DIORITE
- Mappings:
Namespace Name Mixin selector official eLajy$a;e:Lajy$a;intermediary field_1223Lnet/minecraft/class_315$class_316;field_1223:Lnet/minecraft/class_315$class_316;named POLISHED_DIORITELnet/minecraft/block/StoneBlock$StoneType;POLISHED_DIORITE:Lnet/minecraft/block/StoneBlock$StoneType;
-
ANDESITE
- Mappings:
Namespace Name Mixin selector official fLajy$a;f:Lajy$a;intermediary field_1224Lnet/minecraft/class_315$class_316;field_1224:Lnet/minecraft/class_315$class_316;named ANDESITELnet/minecraft/block/StoneBlock$StoneType;ANDESITE:Lnet/minecraft/block/StoneBlock$StoneType;
-
POLISHED_ANDESITE
- Mappings:
Namespace Name Mixin selector official gLajy$a;g:Lajy$a;intermediary field_1225Lnet/minecraft/class_315$class_316;field_1225:Lnet/minecraft/class_315$class_316;named POLISHED_ANDESITELnet/minecraft/block/StoneBlock$StoneType;POLISHED_ANDESITE:Lnet/minecraft/block/StoneBlock$StoneType;
-
-
Field Details
-
TYPES
- Mappings:
Namespace Name Mixin selector official hLajy$a;h:[Lajy$a;intermediary field_1226Lnet/minecraft/class_315$class_316;field_1226:[Lnet/minecraft/class_315$class_316;named TYPESLnet/minecraft/block/StoneBlock$StoneType;TYPES:[Lnet/minecraft/block/StoneBlock$StoneType;
-
id
private final int id- Mappings:
Namespace Name Mixin selector official iLajy$a;i:Iintermediary field_1227Lnet/minecraft/class_315$class_316;field_1227:Inamed idLnet/minecraft/block/StoneBlock$StoneType;id:I
-
name
- Mappings:
Namespace Name Mixin selector official jLajy$a;j:Ljava/lang/String;intermediary field_1228Lnet/minecraft/class_315$class_316;field_1228:Ljava/lang/String;named nameLnet/minecraft/block/StoneBlock$StoneType;name:Ljava/lang/String;
-
translationKey
- Mappings:
Namespace Name Mixin selector official kLajy$a;k:Ljava/lang/String;intermediary field_1229Lnet/minecraft/class_315$class_316;field_1229:Ljava/lang/String;named translationKeyLnet/minecraft/block/StoneBlock$StoneType;translationKey:Ljava/lang/String;
-
color
- Mappings:
Namespace Name Mixin selector official lLajy$a;l:Larn;intermediary field_1230Lnet/minecraft/class_315$class_316;field_1230:Lnet/minecraft/class_592;named colorLnet/minecraft/block/StoneBlock$StoneType;color:Lnet/minecraft/block/MaterialColor;
-
-
Constructor Details
-
StoneType
- Mappings:
Namespace Name Mixin selector official <init>Lajy$a;<init>(Ljava/lang/String;IILarn;Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_315$class_316;<init>(Ljava/lang/String;IILnet/minecraft/class_592;Ljava/lang/String;)Vnamed <init>Lnet/minecraft/block/StoneBlock$StoneType;<init>(Ljava/lang/String;IILnet/minecraft/block/MaterialColor;Ljava/lang/String;)V
-
StoneType
- Mappings:
Namespace Name Mixin selector official <init>Lajy$a;<init>(Ljava/lang/String;IILarn;Ljava/lang/String;Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_315$class_316;<init>(Ljava/lang/String;IILnet/minecraft/class_592;Ljava/lang/String;Ljava/lang/String;)Vnamed <init>Lnet/minecraft/block/StoneBlock$StoneType;<init>(Ljava/lang/String;IILnet/minecraft/block/MaterialColor;Ljava/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
-
byId
public int byId()- Mappings:
Namespace Name Mixin selector official aLajy$a;a()Iintermediary method_1018Lnet/minecraft/class_315$class_316;method_1018()Inamed byIdLnet/minecraft/block/StoneBlock$StoneType;byId()I
-
getColor
- Mappings:
Namespace Name Mixin selector official cLajy$a;c()Larn;intermediary method_1020Lnet/minecraft/class_315$class_316;method_1020()Lnet/minecraft/class_592;named getColorLnet/minecraft/block/StoneBlock$StoneType;getColor()Lnet/minecraft/block/MaterialColor;
-
toString
- Overrides:
toStringin classEnum<StoneBlock.StoneType>- Mappings:
Namespace Name Mixin selector official toStringLajy$a;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_315$class_316;toString()Ljava/lang/String;named toStringLnet/minecraft/block/StoneBlock$StoneType;toString()Ljava/lang/String;
-
getById
- Mappings:
Namespace Name Mixin selector official aLajy$a;a(I)Lajy$a;intermediary method_1019Lnet/minecraft/class_315$class_316;method_1019(I)Lnet/minecraft/class_315$class_316;named getByIdLnet/minecraft/block/StoneBlock$StoneType;getById(I)Lnet/minecraft/block/StoneBlock$StoneType;
-
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;
-
getTranslationKey
- Mappings:
Namespace Name Mixin selector official dLajy$a;d()Ljava/lang/String;intermediary method_1021Lnet/minecraft/class_315$class_316;method_1021()Ljava/lang/String;named getTranslationKeyLnet/minecraft/block/StoneBlock$StoneType;getTranslationKey()Ljava/lang/String;
-