Package net.minecraft.block
Enum InfestedBlock.Variants
- All Implemented Interfaces:
Serializable,Comparable<InfestedBlock.Variants>,java.lang.constant.Constable,StringIdentifiable
- Enclosing class:
- InfestedBlock
public static enum InfestedBlock.Variants extends Enum<InfestedBlock.Variants> implements StringIdentifiable
- Mappings:
Namespace Name official ahz$aintermediary net/minecraft/class_248$class_249named net/minecraft/block/InfestedBlock$Variants
-
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 CHISELED_STONE_BRICKCOBBLESTONECRACKED_STONE_BRICKMOSSY_STONE_BRICKSTONESTONE_BRICK -
Field Summary
Fields Modifier and Type Field Description private intidprivate Stringnameprivate StringtranslationKeyprivate static InfestedBlock.Variants[]VARIANTS -
Constructor Summary
-
Method Summary
Modifier and Type Method Description StringasString()abstract BlockStategetBlockState()static InfestedBlock.VariantsgetByBlockState(BlockState state)static InfestedBlock.VariantsgetById(int id)intgetId()StringgetTranslationKey()StringtoString()static InfestedBlock.VariantsvalueOf(String name)Returns the enum constant of this type with the specified name.static InfestedBlock.Variants[]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 aLahz$a;a:Lahz$a;intermediary field_1042Lnet/minecraft/class_248$class_249;field_1042:Lnet/minecraft/class_248$class_249;named STONELnet/minecraft/block/InfestedBlock$Variants;STONE:Lnet/minecraft/block/InfestedBlock$Variants;
-
COBBLESTONE
- Mappings:
Namespace Name Mixin selector official bLahz$a;b:Lahz$a;intermediary field_1043Lnet/minecraft/class_248$class_249;field_1043:Lnet/minecraft/class_248$class_249;named COBBLESTONELnet/minecraft/block/InfestedBlock$Variants;COBBLESTONE:Lnet/minecraft/block/InfestedBlock$Variants;
-
STONE_BRICK
- Mappings:
Namespace Name Mixin selector official cLahz$a;c:Lahz$a;intermediary field_1044Lnet/minecraft/class_248$class_249;field_1044:Lnet/minecraft/class_248$class_249;named STONE_BRICKLnet/minecraft/block/InfestedBlock$Variants;STONE_BRICK:Lnet/minecraft/block/InfestedBlock$Variants;
-
MOSSY_STONE_BRICK
- Mappings:
Namespace Name Mixin selector official dLahz$a;d:Lahz$a;intermediary field_1045Lnet/minecraft/class_248$class_249;field_1045:Lnet/minecraft/class_248$class_249;named MOSSY_STONE_BRICKLnet/minecraft/block/InfestedBlock$Variants;MOSSY_STONE_BRICK:Lnet/minecraft/block/InfestedBlock$Variants;
-
CRACKED_STONE_BRICK
- Mappings:
Namespace Name Mixin selector official eLahz$a;e:Lahz$a;intermediary field_1046Lnet/minecraft/class_248$class_249;field_1046:Lnet/minecraft/class_248$class_249;named CRACKED_STONE_BRICKLnet/minecraft/block/InfestedBlock$Variants;CRACKED_STONE_BRICK:Lnet/minecraft/block/InfestedBlock$Variants;
-
CHISELED_STONE_BRICK
- Mappings:
Namespace Name Mixin selector official fLahz$a;f:Lahz$a;intermediary field_1047Lnet/minecraft/class_248$class_249;field_1047:Lnet/minecraft/class_248$class_249;named CHISELED_STONE_BRICKLnet/minecraft/block/InfestedBlock$Variants;CHISELED_STONE_BRICK:Lnet/minecraft/block/InfestedBlock$Variants;
-
-
Field Details
-
VARIANTS
- Mappings:
Namespace Name Mixin selector official gLahz$a;g:[Lahz$a;intermediary field_1048Lnet/minecraft/class_248$class_249;field_1048:[Lnet/minecraft/class_248$class_249;named VARIANTSLnet/minecraft/block/InfestedBlock$Variants;VARIANTS:[Lnet/minecraft/block/InfestedBlock$Variants;
-
id
private final int id- Mappings:
Namespace Name Mixin selector official hLahz$a;h:Iintermediary field_1049Lnet/minecraft/class_248$class_249;field_1049:Inamed idLnet/minecraft/block/InfestedBlock$Variants;id:I
-
name
- Mappings:
Namespace Name Mixin selector official iLahz$a;i:Ljava/lang/String;intermediary field_1050Lnet/minecraft/class_248$class_249;field_1050:Ljava/lang/String;named nameLnet/minecraft/block/InfestedBlock$Variants;name:Ljava/lang/String;
-
translationKey
- Mappings:
Namespace Name Mixin selector official jLahz$a;j:Ljava/lang/String;intermediary field_1051Lnet/minecraft/class_248$class_249;field_1051:Ljava/lang/String;named translationKeyLnet/minecraft/block/InfestedBlock$Variants;translationKey:Ljava/lang/String;
-
-
Constructor Details
-
Variants
- Mappings:
Namespace Name Mixin selector official <init>Lahz$a;<init>(Ljava/lang/String;IILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_248$class_249;<init>(Ljava/lang/String;IILjava/lang/String;)Vnamed <init>Lnet/minecraft/block/InfestedBlock$Variants;<init>(Ljava/lang/String;IILjava/lang/String;)V
-
Variants
- Mappings:
Namespace Name Mixin selector official <init>Lahz$a;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_248$class_249;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)Vnamed <init>Lnet/minecraft/block/InfestedBlock$Variants;<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 aLahz$a;a()Iintermediary method_914Lnet/minecraft/class_248$class_249;method_914()Inamed getIdLnet/minecraft/block/InfestedBlock$Variants;getId()I
-
toString
- Overrides:
toStringin classEnum<InfestedBlock.Variants>- Mappings:
Namespace Name Mixin selector official toStringLahz$a;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_248$class_249;toString()Ljava/lang/String;named toStringLnet/minecraft/block/InfestedBlock$Variants;toString()Ljava/lang/String;
-
getById
- Mappings:
Namespace Name Mixin selector official aLahz$a;a(I)Lahz$a;intermediary method_915Lnet/minecraft/class_248$class_249;method_915(I)Lnet/minecraft/class_248$class_249;named getByIdLnet/minecraft/block/InfestedBlock$Variants;getById(I)Lnet/minecraft/block/InfestedBlock$Variants;
-
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 cLahz$a;c()Ljava/lang/String;intermediary method_917Lnet/minecraft/class_248$class_249;method_917()Ljava/lang/String;named getTranslationKeyLnet/minecraft/block/InfestedBlock$Variants;getTranslationKey()Ljava/lang/String;
-
getBlockState
- Mappings:
Namespace Name Mixin selector official dLahz$a;d()Lalz;intermediary method_918Lnet/minecraft/class_248$class_249;method_918()Lnet/minecraft/class_376;named getBlockStateLnet/minecraft/block/InfestedBlock$Variants;getBlockState()Lnet/minecraft/block/BlockState;
-
getByBlockState
- Mappings:
Namespace Name Mixin selector official aLahz$a;a(Lalz;)Lahz$a;intermediary method_916Lnet/minecraft/class_248$class_249;method_916(Lnet/minecraft/class_376;)Lnet/minecraft/class_248$class_249;named getByBlockStateLnet/minecraft/block/InfestedBlock$Variants;getByBlockState(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/InfestedBlock$Variants;
-