Interface AdvancementRenderContext.Icon

All Superinterfaces:
AdvancementRenderContext
Enclosing interface:
AdvancementRenderContext

@NonExtendable public static non-sealed interface AdvancementRenderContext.Icon extends AdvancementRenderContext
  • Method Details

    • x

      int x()
      Returns:
      The x coordinate of the icon's top-left corner.
    • y

      int y()
      Returns:
      The y coordinate of the icon's top-left corner.
    • isHovered

      boolean isHovered()
      Returns:
      true if the mouse is hovered over the icon.
    • isSelected

      boolean isSelected()
      Returns:
      true if the icon is rendered as a selected tab.