Enum Class FireworkRocketItem.Shape

java.lang.Object
java.lang.Enum<FireworkRocketItem.Shape>
net.minecraft.world.item.FireworkRocketItem.Shape
All Implemented Interfaces:
Serializable, Comparable<FireworkRocketItem.Shape>, Constable
Enclosing class:
FireworkRocketItem

public static enum FireworkRocketItem.Shape extends Enum<FireworkRocketItem.Shape>
  • Enum Constant Details

  • Field Details

  • Constructor Details

    • Shape

      private Shape(int p_41234_, String p_41235_)
  • Method Details

    • values

      public static FireworkRocketItem.Shape[] 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 FireworkRocketItem.Shape 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
    • getId

      public int getId()
    • getName

      public String getName()
    • byId

      public static FireworkRocketItem.Shape byId(int p_41238_)