Uses of Interface
net.tnemc.menu.core.compatibility.MenuPlayer
Package
Description
-
Uses of MenuPlayer in net.tnemc.menu.bukkit
Modifier and TypeMethodDescriptionorg.bukkit.inventory.Inventory
BukkitInventory.build
(MenuPlayer player, Menu menu, int page) Builds an inventory object from a menu. -
Uses of MenuPlayer in net.tnemc.menu.core
Modifier and TypeMethodDescriptionvoid
Menu.onClose
(MenuPlayer player) void
Menu.onOpen
(MenuPlayer player, int page) -
Uses of MenuPlayer in net.tnemc.menu.core.builder
Modifier and TypeFieldDescriptionprivate Function<MenuPlayer,
net.tnemc.item.AbstractItemStack<?>> IconBuilder.itemProvider
Modifier and TypeMethodDescriptionIconBuilder.withItemProvider
(@Nullable Function<MenuPlayer, net.tnemc.item.AbstractItemStack<?>> itemProvider) Sets the item provider function for the icon. -
Uses of MenuPlayer in net.tnemc.menu.core.callbacks
ModifierConstructorDescriptionChatCallback
(MenuPlayer player, String message, String menu, int page) -
Uses of MenuPlayer in net.tnemc.menu.core.callbacks.menu
Modifier and TypeFieldDescriptionprotected final MenuPlayer
MenuCloseCallback.player
protected final MenuPlayer
MenuOpenCallback.player
ModifierConstructorDescriptionMenuCloseCallback
(Menu menu, Page page, MenuPlayer player) MenuOpenCallback
(Menu menu, Page page, MenuPlayer player) -
Uses of MenuPlayer in net.tnemc.menu.core.callbacks.page
-
Uses of MenuPlayer in net.tnemc.menu.core.compatibility
Modifier and TypeMethodDescriptiondefault I
PlayerInventory.build
(MenuPlayer player, Menu menu) Builds an inventory object from a menu.PlayerInventory.build
(MenuPlayer player, Menu menu, int page) Builds an inventory object from a menu.default void
PlayerInventory.openMenu
(MenuPlayer player, String menu) Used to open the provided menu for this player.default void
PlayerInventory.openMenu
(MenuPlayer player, String menu, int page) Used to open the provided menu for this player on the specified page.default void
PlayerInventory.openMenu
(MenuPlayer player, Menu menu) Used to open the provided menu for this player.default void
PlayerInventory.openMenu
(MenuPlayer player, Menu menu, int page) Used to open the provided menu for this player on the specified page. -
Uses of MenuPlayer in net.tnemc.menu.core.handlers
ModifierConstructorDescriptionMenuClickHandler
(@NotNull SlotPos slot, @NotNull MenuPlayer player, @NotNull Menu menu, @Nullable Integer page, @NotNull ActionType actionType) -
Uses of MenuPlayer in net.tnemc.menu.core.icon
Modifier and TypeFieldDescriptionprotected final Function<MenuPlayer,
net.tnemc.item.AbstractItemStack<?>> Icon.itemProvider
Modifier and TypeMethodDescriptionnet.tnemc.item.AbstractItemStack<?>
Icon.getItem
(@Nullable MenuPlayer player) ModifierConstructorDescriptionIcon
(@NotNull net.tnemc.item.AbstractItemStack<?> item, @Nullable Function<MenuPlayer, net.tnemc.item.AbstractItemStack<?>> itemProvider) -
Uses of MenuPlayer in net.tnemc.menu.core.icon.impl
Modifier and TypeMethodDescriptionnet.tnemc.item.AbstractItemStack<?>
StateIcon.getItem
(@Nullable MenuPlayer player) Retrieves the currentitem
of the icon by applying the state handler. -
Uses of MenuPlayer in net.tnemc.menu.core.manager
Modifier and TypeMethodDescriptionvoid
MenuManager.open
(String menu, int page, MenuPlayer player) -
Uses of MenuPlayer in net.tnemc.menu.core.viewer
Modifier and TypeMethodDescriptionvoid
MenuViewer.close
(MenuPlayer player) Closes the menu for a specific player and removes the associatedviewer data
. -
Uses of MenuPlayer in net.tnemc.menu.folia
-
Uses of MenuPlayer in net.tnemc.menu.paper
Modifier and TypeMethodDescriptionorg.bukkit.inventory.Inventory
PaperInventory.build
(MenuPlayer player, Menu menu, int page) Builds an inventory object from a menu. -
Uses of MenuPlayer in net.tnemc.menu.sponge8
Modifier and TypeMethodDescriptionorg.spongepowered.api.item.inventory.Inventory
SpongeInventory.build
(MenuPlayer player, Menu menu, int page) Builds an inventory object from a menu.