All Superinterfaces:
MenuIconModifier

public non-sealed interface StaticIconModifier extends MenuIconModifier
A static modifier for an icon's ItemBuilder it wants to place in a menu.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull ItemBuilder
    modify(@NotNull ItemBuilder builder)
    A simple modify method to edit the state of the builder.
    There is no return value because the builder is modified in place.
  • Method Details

    • modify

      @NotNull @NotNull ItemBuilder modify(@NotNull @NotNull ItemBuilder builder)
      A simple modify method to edit the state of the builder.
      There is no return value because the builder is modified in place.
      Parameters:
      builder - The builder to modify.
      Returns:
      The modified builder (can be the same instance modified in place).