Enum Class GuiView.Segment

java.lang.Object
java.lang.Enum<GuiView.Segment>
com.github.darksoulq.abyssallib.world.gui.GuiView.Segment
All Implemented Interfaces:
Serializable, Comparable<GuiView.Segment>, Constable
Enclosing class:
GuiView

public static enum GuiView.Segment extends Enum<GuiView.Segment>
Defines the target inventory segment for rendering or interaction.
  • Enum Constant Details

    • TOP

      public static final GuiView.Segment TOP
      The custom GUI inventory.
    • BOTTOM

      public static final GuiView.Segment BOTTOM
      The viewing player's inventory.
  • Method Details

    • values

      public static GuiView.Segment[] 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 GuiView.Segment 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