Skip navigation links
A B C D E G I L M N O P S T V 

A

actions - Variable in class com.github.ms5984.api.menuman.MenuBuilder
 
addElement(ItemStack) - Method in class com.github.ms5984.api.menuman.MenuBuilder
Add a previously styled ItemStack directly to the menu.
addElement(ItemStack, String, String...) - Method in class com.github.ms5984.api.menuman.MenuBuilder
Add an ItemStack to the menu of specified display name and lore.
addLore(String) - Method in class com.github.ms5984.api.menuman.ElementBuilder
Add a line to lore for this element.
allowClick() - Method in class com.github.ms5984.api.menuman.MenuClick
Uncancel the event and allow the click to follow through.
allowItemPickup - Variable in class com.github.ms5984.api.menuman.MenuBuilder
 
allowPickupFromMenu - Variable in class com.github.ms5984.api.menuman.Menu
 
assignToSlots(int...) - Method in class com.github.ms5984.api.menuman.ElementBuilder
Assign this element to slots of the menu.

B

baseItem - Variable in class com.github.ms5984.api.menuman.MenuElement
 

C

cancelClickLower - Variable in class com.github.ms5984.api.menuman.Menu
 
cancelLowerInvClick - Variable in class com.github.ms5984.api.menuman.MenuBuilder
 
cancelLowerInventoryClicks(boolean) - Method in class com.github.ms5984.api.menuman.MenuBuilder
Should ALL clicks on the lower inventory be cancelled as well?
CloseInventory(MenuClick) - Static method in interface com.github.ms5984.api.menuman.MenuAction
Close the inventory of the player.
com.github.ms5984.api.menuman - package com.github.ms5984.api.menuman
 
create(JavaPlugin) - Method in class com.github.ms5984.api.menuman.MenuBuilder
Create the Menu specified by the contents of this builder.

D

defaultClickBehavior(boolean) - Method in class com.github.ms5984.api.menuman.MenuBuilder
Determine default pickup behavior when clicking ItemStacks.
disallowClick() - Method in class com.github.ms5984.api.menuman.MenuClick
Cancel the click event, preventing pickup of the item.
displayName - Variable in class com.github.ms5984.api.menuman.MenuElement
 

E

ElementBuilder - Class in com.github.ms5984.api.menuman
 
ElementBuilder(MenuBuilder, MenuElement) - Constructor for class com.github.ms5984.api.menuman.ElementBuilder
 

G

generateComplete() - Method in class com.github.ms5984.api.menuman.MenuElement
Generate the final ItemStack, styled if needed.
getClickType() - Method in class com.github.ms5984.api.menuman.MenuClick
Get the ClickType of this event.
getInventoryView() - Method in class com.github.ms5984.api.menuman.MenuClick
Get the full InventoryView of the transaction.
getItemOnMouseCursor() - Method in class com.github.ms5984.api.menuman.MenuClick
Check for the item currently on the cursor.
getPlayer() - Method in class com.github.ms5984.api.menuman.MenuClick
Get the player that clicked the Menu.
getSlotClicked() - Method in class com.github.ms5984.api.menuman.MenuClick
Get an Optional describing the slot clicked, if applicable.

I

initialContents - Variable in class com.github.ms5984.api.menuman.MenuBuilder
 
items - Variable in class com.github.ms5984.api.menuman.MenuBuilder
 

L

lore - Variable in class com.github.ms5984.api.menuman.MenuElement
 

M

Menu - Class in com.github.ms5984.api.menuman
A class representing a created Menu.
Menu(MenuBuilder, JavaPlugin) - Constructor for class com.github.ms5984.api.menuman.Menu
 
Menu.InventoryRows - Enum in com.github.ms5984.api.menuman
Helpful enumeration to enforce slot parameter contract.
menuAction - Variable in class com.github.ms5984.api.menuman.ElementBuilder
 
MenuAction - Interface in com.github.ms5984.api.menuman
Functional interface which defines behavior on use of a Menu's actions.
menuBuilder - Variable in class com.github.ms5984.api.menuman.ElementBuilder
 
MenuBuilder - Class in com.github.ms5984.api.menuman
Fluid interface menu builder
MenuBuilder(Menu.InventoryRows, String) - Constructor for class com.github.ms5984.api.menuman.MenuBuilder
Create a new MenuBuilder with a number of rows and a title.
MenuBuilder(Menu.InventoryRows, String, ItemStack[]) - Constructor for class com.github.ms5984.api.menuman.MenuBuilder
Create a new MenuBuilder with rows, title and initial contents.
MenuClick - Class in com.github.ms5984.api.menuman
Class which encapsulates relevant data of InventoryClickEvent
MenuClick(InventoryClickEvent, Player) - Constructor for class com.github.ms5984.api.menuman.MenuClick
 
menuElement - Variable in class com.github.ms5984.api.menuman.ElementBuilder
 
MenuElement - Class in com.github.ms5984.api.menuman
Encapsulation to promote lazy-initialization of ItemStacks
MenuElement(ItemStack) - Constructor for class com.github.ms5984.api.menuman.MenuElement
 
MenuElement(ItemStack, String, String...) - Constructor for class com.github.ms5984.api.menuman.MenuElement
 

N

numberOfRows - Variable in class com.github.ms5984.api.menuman.Menu
 
numberOfRows - Variable in class com.github.ms5984.api.menuman.MenuBuilder
 

O

onClick(MenuClick) - Method in interface com.github.ms5984.api.menuman.MenuAction
When this action is called, what should happen?
open(Player) - Method in class com.github.ms5984.api.menuman.Menu
Open this Menu for the given player.

P

player - Variable in class com.github.ms5984.api.menuman.MenuClick
 

S

setAction(MenuAction) - Method in class com.github.ms5984.api.menuman.ElementBuilder
Set a new action for this element.
setInitialContents(ItemStack[]) - Method in class com.github.ms5984.api.menuman.MenuBuilder
Set the initial contents of the inventory.
setItem(ItemStack) - Method in class com.github.ms5984.api.menuman.ElementBuilder
Set a new base item for this element.
setLore(String...) - Method in class com.github.ms5984.api.menuman.ElementBuilder
Set new lore text for this element.
setText(String) - Method in class com.github.ms5984.api.menuman.ElementBuilder
Set a new display text for this element.
setTitle(String) - Method in class com.github.ms5984.api.menuman.MenuBuilder
Set a new title for the menu
slotCount - Variable in enum com.github.ms5984.api.menuman.Menu.InventoryRows
 

T

title - Variable in class com.github.ms5984.api.menuman.Menu
 
title - Variable in class com.github.ms5984.api.menuman.MenuBuilder
 

V

valueOf(String) - Static method in enum com.github.ms5984.api.menuman.Menu.InventoryRows
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.ms5984.api.menuman.Menu.InventoryRows
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E G I L M N O P S T V 
Skip navigation links

Copyright © 2021. All rights reserved.