Interface MenuIconModifier

All Known Subinterfaces:
StatefulIconModifier, StaticIconModifier

@NonExtendable public interface MenuIconModifier
Represents a modifier for a MenuIcon.

Do not implement this outside KamiCommon. This was a sealed hierarchy until spigot-utils dropped to Java 8 so that 1.8.x servers could load it; sealed is Java 17 and has no Java 8 spelling. The closed set is still enforced within the library by the verifySealedHierarchies build task, which fails if an implementation appears that is not on the permitted list (StaticIconModifier, StatefulIconModifier). Nothing can enforce it in your code, hence this annotation.