Enum Class BrushShape

java.lang.Object
java.lang.Enum<BrushShape>
com.hypixel.hytale.protocol.packets.buildertools.BrushShape
All Implemented Interfaces:
Serializable, Comparable<BrushShape>, Constable

public enum BrushShape extends Enum<BrushShape>
  • Enum Constant Details

    • Cube

      public static final BrushShape Cube
    • Sphere

      public static final BrushShape Sphere
    • Cylinder

      public static final BrushShape Cylinder
    • Cone

      public static final BrushShape Cone
    • InvertedCone

      public static final BrushShape InvertedCone
    • Pyramid

      public static final BrushShape Pyramid
    • InvertedPyramid

      public static final BrushShape InvertedPyramid
    • Dome

      public static final BrushShape Dome
    • InvertedDome

      public static final BrushShape InvertedDome
    • Diamond

      public static final BrushShape Diamond
    • Torus

      public static final BrushShape Torus
  • Field Details

    • VALUES

      public static final BrushShape[] VALUES
    • value

      private final int value
  • Constructor Details

    • BrushShape

      private BrushShape(int value)
  • Method Details

    • values

      public static BrushShape[] 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 BrushShape 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
    • getValue

      public int getValue()
    • fromValue

      public static BrushShape fromValue(int value)