Package net.minecraft.entity.passive
Enum Class MooshroomEntity.Type
- All Implemented Interfaces:
Serializable,Comparable<MooshroomEntity.Type>,Constable
- Enclosing class:
MooshroomEntity
- Mappings:
Namespace Name official bmu$aintermediary net/minecraft/class_1438$class_4053named net/minecraft/entity/passive/MooshroomEntity$Type
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final BlockState(package private) final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static MooshroomEntity.Typestatic MooshroomEntity.TypeReturns the enum constant of this class with the specified name.static MooshroomEntity.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RED
- Mappings:
Namespace Name Mixin selector official aLbmu$a;a:Lbmu$a;intermediary field_18109Lnet/minecraft/class_1438$class_4053;field_18109:Lnet/minecraft/class_1438$class_4053;named REDLnet/minecraft/entity/passive/MooshroomEntity$Type;RED:Lnet/minecraft/entity/passive/MooshroomEntity$Type;
-
BROWN
- Mappings:
Namespace Name Mixin selector official bLbmu$a;b:Lbmu$a;intermediary field_18110Lnet/minecraft/class_1438$class_4053;field_18110:Lnet/minecraft/class_1438$class_4053;named BROWNLnet/minecraft/entity/passive/MooshroomEntity$Type;BROWN:Lnet/minecraft/entity/passive/MooshroomEntity$Type;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official cLbmu$a;c:Ljava/lang/String;intermediary field_18111Lnet/minecraft/class_1438$class_4053;field_18111:Ljava/lang/String;named nameLnet/minecraft/entity/passive/MooshroomEntity$Type;name:Ljava/lang/String;
-
mushroom
- Mappings:
Namespace Name Mixin selector official dLbmu$a;d:Lcur;intermediary field_18112Lnet/minecraft/class_1438$class_4053;field_18112:Lnet/minecraft/class_2680;named mushroomLnet/minecraft/entity/passive/MooshroomEntity$Type;mushroom:Lnet/minecraft/block/BlockState;
-
-
Constructor Details
-
Type
- Mappings:
Namespace Name Mixin selector official <init>Lbmu$a;<init>(Ljava/lang/String;ILjava/lang/String;Lcur;)Vintermediary <init>Lnet/minecraft/class_1438$class_4053;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_2680;)Vnamed <init>Lnet/minecraft/entity/passive/MooshroomEntity$Type;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/block/BlockState;)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
-
getMushroomState
- Mappings:
Namespace Name Mixin selector official aLbmu$a;a()Lcur;intermediary method_18437Lnet/minecraft/class_1438$class_4053;method_18437()Lnet/minecraft/class_2680;named getMushroomStateLnet/minecraft/entity/passive/MooshroomEntity$Type;getMushroomState()Lnet/minecraft/block/BlockState;
-
fromName
- Mappings:
Namespace Name Mixin selector official aLbmu$a;a(Ljava/lang/String;)Lbmu$a;intermediary method_18441Lnet/minecraft/class_1438$class_4053;method_18441(Ljava/lang/String;)Lnet/minecraft/class_1438$class_4053;named fromNameLnet/minecraft/entity/passive/MooshroomEntity$Type;fromName(Ljava/lang/String;)Lnet/minecraft/entity/passive/MooshroomEntity$Type;
-