Enum Class FlowerBlock.Color

java.lang.Object
java.lang.Enum<FlowerBlock.Color>
net.minecraft.block.FlowerBlock.Color
All Implemented Interfaces:
Serializable, Comparable<FlowerBlock.Color>, Constable
Enclosing class:
FlowerBlock

public static enum FlowerBlock.Color extends Enum<FlowerBlock.Color>
Mappings:
Namespace Name
official alm$b
intermediary net/minecraft/class_112$class_2186
named net/minecraft/block/FlowerBlock$Color
  • Enum Constant Details

    • YELLOW

      public static final FlowerBlock.Color YELLOW
      Mappings:
      Namespace Name Mixin selector
      official a Lalm$b;a:Lalm$b;
      intermediary field_9438 Lnet/minecraft/class_112$class_2186;field_9438:Lnet/minecraft/class_112$class_2186;
      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 Lalm$b;b:Lalm$b;
      intermediary field_9439 Lnet/minecraft/class_112$class_2186;field_9439:Lnet/minecraft/class_112$class_2186;
      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 class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

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

      public FlowerBlock getBlock()
      Mappings:
      Namespace Name Mixin selector
      official a Lalm$b;a()Lalm;
      intermediary method_8789 Lnet/minecraft/class_112$class_2186;method_8789()Lnet/minecraft/class_112;
      named getBlock Lnet/minecraft/block/FlowerBlock$Color;getBlock()Lnet/minecraft/block/FlowerBlock;