Package net.minecraft.block
Enum Class InfestedBlock.Variants
- All Implemented Interfaces:
Serializable,Comparable<InfestedBlock.Variants>,Constable,StringIdentifiable
- Enclosing class:
- InfestedBlock
public static enum InfestedBlock.Variants
extends Enum<InfestedBlock.Variants>
implements StringIdentifiable
- Mappings:
Namespace Name official amt$aintermediary net/minecraft/class_190$class_2198named 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 ConstantsEnum ConstantDescription -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate final Stringprivate final Stringprivate static final InfestedBlock.Variants[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()abstract BlockStatestatic InfestedBlock.VariantsgetByBlockState(BlockState state) static InfestedBlock.VariantsgetById(int id) intgetId()toString()static InfestedBlock.VariantsReturns the enum constant of this class with the specified name.static InfestedBlock.Variants[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STONE
- Mappings:
Namespace Name Mixin selector official aLamt$a;a:Lamt$a;intermediary field_9534Lnet/minecraft/class_190$class_2198;field_9534:Lnet/minecraft/class_190$class_2198;named STONELnet/minecraft/block/InfestedBlock$Variants;STONE:Lnet/minecraft/block/InfestedBlock$Variants;
-
COBBLESTONE
- Mappings:
Namespace Name Mixin selector official bLamt$a;b:Lamt$a;intermediary field_9535Lnet/minecraft/class_190$class_2198;field_9535:Lnet/minecraft/class_190$class_2198;named COBBLESTONELnet/minecraft/block/InfestedBlock$Variants;COBBLESTONE:Lnet/minecraft/block/InfestedBlock$Variants;
-
STONE_BRICK
- Mappings:
Namespace Name Mixin selector official cLamt$a;c:Lamt$a;intermediary field_9536Lnet/minecraft/class_190$class_2198;field_9536:Lnet/minecraft/class_190$class_2198;named STONE_BRICKLnet/minecraft/block/InfestedBlock$Variants;STONE_BRICK:Lnet/minecraft/block/InfestedBlock$Variants;
-
MOSSY_STONE_BRICK
- Mappings:
Namespace Name Mixin selector official dLamt$a;d:Lamt$a;intermediary field_9537Lnet/minecraft/class_190$class_2198;field_9537:Lnet/minecraft/class_190$class_2198;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 eLamt$a;e:Lamt$a;intermediary field_9538Lnet/minecraft/class_190$class_2198;field_9538:Lnet/minecraft/class_190$class_2198;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 fLamt$a;f:Lamt$a;intermediary field_9539Lnet/minecraft/class_190$class_2198;field_9539:Lnet/minecraft/class_190$class_2198;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 gLamt$a;g:[Lamt$a;intermediary field_9540Lnet/minecraft/class_190$class_2198;field_9540:[Lnet/minecraft/class_190$class_2198;named VARIANTSLnet/minecraft/block/InfestedBlock$Variants;VARIANTS:[Lnet/minecraft/block/InfestedBlock$Variants;
-
id
private final int id- Mappings:
Namespace Name Mixin selector official hLamt$a;h:Iintermediary field_9541Lnet/minecraft/class_190$class_2198;field_9541:Inamed idLnet/minecraft/block/InfestedBlock$Variants;id:I
-
name
- Mappings:
Namespace Name Mixin selector official iLamt$a;i:Ljava/lang/String;intermediary field_9542Lnet/minecraft/class_190$class_2198;field_9542:Ljava/lang/String;named nameLnet/minecraft/block/InfestedBlock$Variants;name:Ljava/lang/String;
-
translationKey
- Mappings:
Namespace Name Mixin selector official jLamt$a;j:Ljava/lang/String;intermediary field_9543Lnet/minecraft/class_190$class_2198;field_9543:Ljava/lang/String;named translationKeyLnet/minecraft/block/InfestedBlock$Variants;translationKey:Ljava/lang/String;
-
-
Constructor Details
-
Variants
- Mappings:
Namespace Name Mixin selector official <init>Lamt$a;<init>(Ljava/lang/String;IILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_190$class_2198;<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>Lamt$a;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_190$class_2198;<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 class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getId
public int getId()- Mappings:
Namespace Name Mixin selector official aLamt$a;a()Iintermediary method_8826Lnet/minecraft/class_190$class_2198;method_8826()Inamed getIdLnet/minecraft/block/InfestedBlock$Variants;getId()I
-
toString
- Overrides:
toStringin classEnum<InfestedBlock.Variants>- Mappings:
Namespace Name Mixin selector official toStringLamt$a;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_190$class_2198;toString()Ljava/lang/String;named toStringLnet/minecraft/block/InfestedBlock$Variants;toString()Ljava/lang/String;
-
getById
- Mappings:
Namespace Name Mixin selector official aLamt$a;a(I)Lamt$a;intermediary method_8827Lnet/minecraft/class_190$class_2198;method_8827(I)Lnet/minecraft/class_190$class_2198;named getByIdLnet/minecraft/block/InfestedBlock$Variants;getById(I)Lnet/minecraft/block/InfestedBlock$Variants;
-
asString
- Specified by:
asStringin interfaceStringIdentifiable- Mappings:
Namespace Name Mixin selector official mLor;m()Ljava/lang/String;intermediary method_10853Lnet/minecraft/class_2604;method_10853()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-
getTranslationKey
- Mappings:
Namespace Name Mixin selector official cLamt$a;c()Ljava/lang/String;intermediary method_8829Lnet/minecraft/class_190$class_2198;method_8829()Ljava/lang/String;named getTranslationKeyLnet/minecraft/block/InfestedBlock$Variants;getTranslationKey()Ljava/lang/String;
-
getBlockState
- Mappings:
Namespace Name Mixin selector official dLamt$a;d()Lard;intermediary method_8830Lnet/minecraft/class_190$class_2198;method_8830()Lnet/minecraft/class_2232;named getBlockStateLnet/minecraft/block/InfestedBlock$Variants;getBlockState()Lnet/minecraft/block/BlockState;
-
getByBlockState
- Mappings:
Namespace Name Mixin selector official aLamt$a;a(Lard;)Lamt$a;intermediary method_8828Lnet/minecraft/class_190$class_2198;method_8828(Lnet/minecraft/class_2232;)Lnet/minecraft/class_190$class_2198;named getByBlockStateLnet/minecraft/block/InfestedBlock$Variants;getByBlockState(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/InfestedBlock$Variants;
-