Enum FlowerBlock.Color

java.lang.Object
java.lang.Enum<FlowerBlock.Color>
net.minecraft.block.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$b
intermediary net/minecraft/class_211$class_213
named net/minecraft/block/FlowerBlock$Color
  • Enum Constant Details

    • YELLOW

      public static final FlowerBlock.Color YELLOW
      Mappings:
      Namespace Name Mixin selector
      official a Lagw$b;a:Lagw$b;
      intermediary field_940 Lnet/minecraft/class_211$class_213;field_940:Lnet/minecraft/class_211$class_213;
      named YELLOW Lnet/minecraft/block/FlowerBlock$Color;YELLOW:Lnet/minecraft/block/FlowerBlock$Color;
    • RED

      public static final FlowerBlock.Color RED
      Mappings:
      Namespace Name Mixin selector
      official b Lagw$b;b:Lagw$b;
      intermediary field_941 Lnet/minecraft/class_211$class_213;field_941:Lnet/minecraft/class_211$class_213;
      named RED Lnet/minecraft/block/FlowerBlock$Color;RED:Lnet/minecraft/block/FlowerBlock$Color;
  • Constructor Details

    • Color

      private Color()
  • Method Details

    • values

      public static FlowerBlock.Color[] 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

      public static FlowerBlock.Color valueOf​(String name)
      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 name
      NullPointerException - if the argument is null
    • getBlock

      public FlowerBlock getBlock()
      Mappings:
      Namespace Name Mixin selector
      official a Lagw$b;a()Lagw;
      intermediary method_867 Lnet/minecraft/class_211$class_213;method_867()Lnet/minecraft/class_211;
      named getBlock Lnet/minecraft/block/FlowerBlock$Color;getBlock()Lnet/minecraft/block/FlowerBlock;