Class MenuIconsAccess<M extends Menu<M>>
java.lang.Object
com.kamikazejam.kamicommon.menu.api.icons.access.MenuIconsAccess<M>
- All Implemented Interfaces:
IMenuIconsAccess<M>
-
Constructor Summary
ConstructorsConstructorDescriptionMenuIconsAccess(@NotNull MenuSize menuSize, @NotNull PrioritizedMenuIconMap<M> menuIcons) -
Method Summary
Modifier and TypeMethodDescriptionvoidgetMenuIcon(int slot) Retrieve aMenuIconby a slot number.getMenuIcon(@NotNull PositionIconSlot slot) Retrieve aMenuIconby a position.getMenuIcon(@NotNull String id) Retrieve aMenuIconby its idbooleanhasMenuIcon(int slot) booleanhasMenuIcon(@NotNull PositionIconSlot slot) booleanisValidMenuIconID(@NotNull String id) removeMenuIcon(int slot) removeMenuIcon(@NotNull String id) setMenuIcon(@NotNull MenuIcon<M> menuIcon, @Nullable IconSlot iconSlot) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IMenuIconsAccess
getMenuIcon, hasMenuIcon, setAutoUpdate, setAutoUpdate, setMenuClick, setMenuIcon, setMenuIcon, setMenuIcon, setMenuIcon, setMenuIcon, setMenuIcon, setMenuIcon, setMenuIcon, setMenuIcon, setMenuIcon, setMenuIcon, setMenuIcon, setMenuIcon, setMenuIcon, setMenuIcon, setMenuIcon, setMenuIcon, setModifier, setModifier
-
Constructor Details
-
Method Details
-
removeMenuIcon
- Specified by:
removeMenuIconin interfaceIMenuIconsAccess<M extends Menu<M>>
-
removeMenuIcon
- Specified by:
removeMenuIconin interfaceIMenuIconsAccess<M extends Menu<M>>
-
clearMenuIcons
public void clearMenuIcons()- Specified by:
clearMenuIconsin interfaceIMenuIconsAccess<M extends Menu<M>>
-
getMenuIcon
Description copied from interface:IMenuIconsAccessRetrieve aMenuIconby its id- Specified by:
getMenuIconin interfaceIMenuIconsAccess<M extends Menu<M>>
-
isValidMenuIconID
- Specified by:
isValidMenuIconIDin interfaceIMenuIconsAccess<M extends Menu<M>>
-
getMenuIconIDs
- Specified by:
getMenuIconIDsin interfaceIMenuIconsAccess<M extends Menu<M>>
-
getMenuIcon
Description copied from interface:IMenuIconsAccessRetrieve aMenuIconby a slot number. If the filler MenuIconhas been configured and is enabled, it will be returned if no other MenuIcon is found for the slot. - Specified by:
getMenuIconin interfaceIMenuIconsAccess<M extends Menu<M>>
-
hasMenuIcon
public boolean hasMenuIcon(int slot) - Specified by:
hasMenuIconin interfaceIMenuIconsAccess<M extends Menu<M>>