Package net.minecraft.block
Enum FlowerBlock.Color
- All Implemented Interfaces:
Serializable,Comparable<FlowerBlock.Color>,java.lang.constant.Constable
- Enclosing class:
- FlowerBlock
public static enum FlowerBlock.Color extends Enum<FlowerBlock.Color>
- Mappings:
Namespace Name official agw$bintermediary net/minecraft/class_211$class_213named net/minecraft/block/FlowerBlock$Color
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
-
Constructor Summary
Constructors Modifier Constructor Description privateColor() -
Method Summary
Modifier and Type Method Description FlowerBlockgetBlock()static FlowerBlock.ColorvalueOf(String name)Returns the enum constant of this type with the specified name.static FlowerBlock.Color[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
YELLOW
- Mappings:
Namespace Name Mixin selector official aLagw$b;a:Lagw$b;intermediary field_940Lnet/minecraft/class_211$class_213;field_940:Lnet/minecraft/class_211$class_213;named YELLOWLnet/minecraft/block/FlowerBlock$Color;YELLOW:Lnet/minecraft/block/FlowerBlock$Color;
-
RED
- Mappings:
Namespace Name Mixin selector official bLagw$b;b:Lagw$b;intermediary field_941Lnet/minecraft/class_211$class_213;field_941:Lnet/minecraft/class_211$class_213;named REDLnet/minecraft/block/FlowerBlock$Color;RED:Lnet/minecraft/block/FlowerBlock$Color;
-
-
Constructor Details
-
Color
private Color()
-
-
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
-
getBlock
- Mappings:
Namespace Name Mixin selector official aLagw$b;a()Lagw;intermediary method_867Lnet/minecraft/class_211$class_213;method_867()Lnet/minecraft/class_211;named getBlockLnet/minecraft/block/FlowerBlock$Color;getBlock()Lnet/minecraft/block/FlowerBlock;
-