Package net.minecraft.block
Enum BigMushroomBlock.MushroomType
- All Implemented Interfaces:
Serializable,Comparable<BigMushroomBlock.MushroomType>,java.lang.constant.Constable,StringIdentifiable
- Enclosing class:
- BigMushroomBlock
public static enum BigMushroomBlock.MushroomType extends Enum<BigMushroomBlock.MushroomType> implements StringIdentifiable
- Mappings:
Namespace Name official aho$aintermediary net/minecraft/class_234$class_235named net/minecraft/block/BigMushroomBlock$MushroomType
-
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 ALL_INSIDEALL_OUTSIDEALL_STEMCENTEREASTNORTHNORTH_EASTNORTH_WESTSOUTHSOUTH_EASTSOUTH_WESTSTEMWEST -
Field Summary
Fields Modifier and Type Field Description private intidprivate Stringnameprivate static BigMushroomBlock.MushroomType[]TYPES -
Constructor Summary
Constructors Modifier Constructor Description privateMushroomType(int id, String name) -
Method Summary
Modifier and Type Method Description StringasString()static BigMushroomBlock.MushroomTypegetById(int id)intgetId()StringtoString()static BigMushroomBlock.MushroomTypevalueOf(String name)Returns the enum constant of this type with the specified name.static BigMushroomBlock.MushroomType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NORTH_WEST
- Mappings:
Namespace Name Mixin selector official aLaho$a;a:Laho$a;intermediary field_987Lnet/minecraft/class_234$class_235;field_987:Lnet/minecraft/class_234$class_235;named NORTH_WESTLnet/minecraft/block/BigMushroomBlock$MushroomType;NORTH_WEST:Lnet/minecraft/block/BigMushroomBlock$MushroomType;
-
NORTH
- Mappings:
Namespace Name Mixin selector official bLaho$a;b:Laho$a;intermediary field_988Lnet/minecraft/class_234$class_235;field_988:Lnet/minecraft/class_234$class_235;named NORTHLnet/minecraft/block/BigMushroomBlock$MushroomType;NORTH:Lnet/minecraft/block/BigMushroomBlock$MushroomType;
-
NORTH_EAST
- Mappings:
Namespace Name Mixin selector official cLaho$a;c:Laho$a;intermediary field_989Lnet/minecraft/class_234$class_235;field_989:Lnet/minecraft/class_234$class_235;named NORTH_EASTLnet/minecraft/block/BigMushroomBlock$MushroomType;NORTH_EAST:Lnet/minecraft/block/BigMushroomBlock$MushroomType;
-
WEST
- Mappings:
Namespace Name Mixin selector official dLaho$a;d:Laho$a;intermediary field_990Lnet/minecraft/class_234$class_235;field_990:Lnet/minecraft/class_234$class_235;named WESTLnet/minecraft/block/BigMushroomBlock$MushroomType;WEST:Lnet/minecraft/block/BigMushroomBlock$MushroomType;
-
CENTER
- Mappings:
Namespace Name Mixin selector official eLaho$a;e:Laho$a;intermediary field_991Lnet/minecraft/class_234$class_235;field_991:Lnet/minecraft/class_234$class_235;named CENTERLnet/minecraft/block/BigMushroomBlock$MushroomType;CENTER:Lnet/minecraft/block/BigMushroomBlock$MushroomType;
-
EAST
- Mappings:
Namespace Name Mixin selector official fLaho$a;f:Laho$a;intermediary field_992Lnet/minecraft/class_234$class_235;field_992:Lnet/minecraft/class_234$class_235;named EASTLnet/minecraft/block/BigMushroomBlock$MushroomType;EAST:Lnet/minecraft/block/BigMushroomBlock$MushroomType;
-
SOUTH_WEST
- Mappings:
Namespace Name Mixin selector official gLaho$a;g:Laho$a;intermediary field_993Lnet/minecraft/class_234$class_235;field_993:Lnet/minecraft/class_234$class_235;named SOUTH_WESTLnet/minecraft/block/BigMushroomBlock$MushroomType;SOUTH_WEST:Lnet/minecraft/block/BigMushroomBlock$MushroomType;
-
SOUTH
- Mappings:
Namespace Name Mixin selector official hLaho$a;h:Laho$a;intermediary field_994Lnet/minecraft/class_234$class_235;field_994:Lnet/minecraft/class_234$class_235;named SOUTHLnet/minecraft/block/BigMushroomBlock$MushroomType;SOUTH:Lnet/minecraft/block/BigMushroomBlock$MushroomType;
-
SOUTH_EAST
- Mappings:
Namespace Name Mixin selector official iLaho$a;i:Laho$a;intermediary field_995Lnet/minecraft/class_234$class_235;field_995:Lnet/minecraft/class_234$class_235;named SOUTH_EASTLnet/minecraft/block/BigMushroomBlock$MushroomType;SOUTH_EAST:Lnet/minecraft/block/BigMushroomBlock$MushroomType;
-
STEM
- Mappings:
Namespace Name Mixin selector official jLaho$a;j:Laho$a;intermediary field_996Lnet/minecraft/class_234$class_235;field_996:Lnet/minecraft/class_234$class_235;named STEMLnet/minecraft/block/BigMushroomBlock$MushroomType;STEM:Lnet/minecraft/block/BigMushroomBlock$MushroomType;
-
ALL_INSIDE
- Mappings:
Namespace Name Mixin selector official kLaho$a;k:Laho$a;intermediary field_997Lnet/minecraft/class_234$class_235;field_997:Lnet/minecraft/class_234$class_235;named ALL_INSIDELnet/minecraft/block/BigMushroomBlock$MushroomType;ALL_INSIDE:Lnet/minecraft/block/BigMushroomBlock$MushroomType;
-
ALL_OUTSIDE
- Mappings:
Namespace Name Mixin selector official lLaho$a;l:Laho$a;intermediary field_998Lnet/minecraft/class_234$class_235;field_998:Lnet/minecraft/class_234$class_235;named ALL_OUTSIDELnet/minecraft/block/BigMushroomBlock$MushroomType;ALL_OUTSIDE:Lnet/minecraft/block/BigMushroomBlock$MushroomType;
-
ALL_STEM
- Mappings:
Namespace Name Mixin selector official mLaho$a;m:Laho$a;intermediary field_999Lnet/minecraft/class_234$class_235;field_999:Lnet/minecraft/class_234$class_235;named ALL_STEMLnet/minecraft/block/BigMushroomBlock$MushroomType;ALL_STEM:Lnet/minecraft/block/BigMushroomBlock$MushroomType;
-
-
Field Details
-
TYPES
- Mappings:
Namespace Name Mixin selector official nLaho$a;n:[Laho$a;intermediary field_1000Lnet/minecraft/class_234$class_235;field_1000:[Lnet/minecraft/class_234$class_235;named TYPESLnet/minecraft/block/BigMushroomBlock$MushroomType;TYPES:[Lnet/minecraft/block/BigMushroomBlock$MushroomType;
-
id
private final int id- Mappings:
Namespace Name Mixin selector official oLaho$a;o:Iintermediary field_1001Lnet/minecraft/class_234$class_235;field_1001:Inamed idLnet/minecraft/block/BigMushroomBlock$MushroomType;id:I
-
name
- Mappings:
Namespace Name Mixin selector official pLaho$a;p:Ljava/lang/String;intermediary field_1002Lnet/minecraft/class_234$class_235;field_1002:Ljava/lang/String;named nameLnet/minecraft/block/BigMushroomBlock$MushroomType;name:Ljava/lang/String;
-
-
Constructor Details
-
MushroomType
- Mappings:
Namespace Name Mixin selector official <init>Laho$a;<init>(Ljava/lang/String;IILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_234$class_235;<init>(Ljava/lang/String;IILjava/lang/String;)Vnamed <init>Lnet/minecraft/block/BigMushroomBlock$MushroomType;<init>(Ljava/lang/String;IILjava/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 aLaho$a;a()Iintermediary method_883Lnet/minecraft/class_234$class_235;method_883()Inamed getIdLnet/minecraft/block/BigMushroomBlock$MushroomType;getId()I
-
toString
- Overrides:
toStringin classEnum<BigMushroomBlock.MushroomType>- Mappings:
Namespace Name Mixin selector official toStringLaho$a;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_234$class_235;toString()Ljava/lang/String;named toStringLnet/minecraft/block/BigMushroomBlock$MushroomType;toString()Ljava/lang/String;
-
getById
- Mappings:
Namespace Name Mixin selector official aLaho$a;a(I)Laho$a;intermediary method_884Lnet/minecraft/class_234$class_235;method_884(I)Lnet/minecraft/class_234$class_235;named getByIdLnet/minecraft/block/BigMushroomBlock$MushroomType;getById(I)Lnet/minecraft/block/BigMushroomBlock$MushroomType;
-
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;
-