A B C G I N O P R S U V 
All Classes All Packages

A

addOnClickFunction(Consumer<PageClick>) - Method in interface com.mrivanplays.pagedinventory.api.PagedInventory
Adds a click listener, when a Page got clicked.
addOnClickFunction(Consumer<PageClick>) - Method in class com.mrivanplays.pagedinventory.internal.PagedInventoryImpl
 
addOnCloseFunction(Consumer<PageClose>) - Method in interface com.mrivanplays.pagedinventory.api.PagedInventory
Adds a close listener, when a Page got closed.
addOnCloseFunction(Consumer<PageClose>) - Method in class com.mrivanplays.pagedinventory.internal.PagedInventoryImpl
 
addPage(Page) - Method in interface com.mrivanplays.pagedinventory.api.PagedInventory
Adds a Page to this PagedInventory
addPage(Page) - Method in class com.mrivanplays.pagedinventory.internal.PagedInventoryImpl
 

B

build() - Method in class com.mrivanplays.pagedinventory.api.PagedInventoryBuilder
Builds into a PagedInventory
builder(Plugin) - Static method in interface com.mrivanplays.pagedinventory.api.PagedInventory
Creates a new builder for a paged inventory.

C

clickFunction(Consumer<PageClick>) - Method in class com.mrivanplays.pagedinventory.api.PagedInventoryBuilder
Adds a click function to listen for click events on the inventories.
CLOSE - com.mrivanplays.pagedinventory.api.NavigationItem.Action
The NavigationItem should listen to close the inventory
closeFunction(Consumer<PageClose>) - Method in class com.mrivanplays.pagedinventory.api.PagedInventoryBuilder
Adds a close function to listen for close events on the inventories.
com.mrivanplays.pagedinventory.api - package com.mrivanplays.pagedinventory.api
 
com.mrivanplays.pagedinventory.internal - package com.mrivanplays.pagedinventory.internal
 
create(Inventory) - Static method in interface com.mrivanplays.pagedinventory.api.Page
Creates a new page instance
create(ItemStack, NavigationItem.Action) - Static method in class com.mrivanplays.pagedinventory.api.NavigationItem
Creates a new NavigationItem
createBuilder(Plugin) - Static method in class com.mrivanplays.pagedinventory.api.PagedInventoryBuilder
Creates a new builder instance

G

getAction() - Method in class com.mrivanplays.pagedinventory.api.NavigationItem
Returns the NavigationItem.Action for which the item will trigger.
getClickedItem() - Method in class com.mrivanplays.pagedinventory.api.PageClick
Returns the clicked ItemStack
getClicker() - Method in class com.mrivanplays.pagedinventory.api.PageClick
Returns the Player, whom have clicked on the item.
getClickType() - Method in class com.mrivanplays.pagedinventory.api.PageClick
Returns the PageClick.getClickedItem() 's triggered click type.
getCloser() - Method in class com.mrivanplays.pagedinventory.api.PageClose
Returns the player, whom have closed the specified Page
getHotbarButton() - Method in class com.mrivanplays.pagedinventory.api.PageClick
Took from InventoryClickEvent: If the ClickType is NUMBER_KEY, this method will return the index of the pressed key (0-8).
getInventory() - Method in interface com.mrivanplays.pagedinventory.api.Page
Returns the actual page as an Inventory
getItem() - Method in class com.mrivanplays.pagedinventory.api.NavigationItem
Returns the actual ItemStack of the navigation item.
getNavigationItems() - Method in interface com.mrivanplays.pagedinventory.api.PagedInventory
Returns a immutable map of the NavigationItems added.
getNavigationItems() - Method in class com.mrivanplays.pagedinventory.internal.PagedInventoryImpl
 
getPage() - Method in class com.mrivanplays.pagedinventory.api.PageClick
Returns the clicked Page
getPage() - Method in class com.mrivanplays.pagedinventory.api.PageClose
Returns the Page closed.
getPage(int) - Method in interface com.mrivanplays.pagedinventory.api.PagedInventory
Retrieves the page specified.
getPage(int) - Method in class com.mrivanplays.pagedinventory.internal.PagedInventoryImpl
 
getPage(UUID) - Method in interface com.mrivanplays.pagedinventory.api.PagedInventory
Retrieves the page by the specified page uuid
getPage(UUID) - Method in class com.mrivanplays.pagedinventory.internal.PagedInventoryImpl
 
getPagedInventory() - Method in class com.mrivanplays.pagedinventory.api.PageClick
Returns the PagedInventory instance from which the click came.
getPagedInventory() - Method in class com.mrivanplays.pagedinventory.api.PageClose
Returns the PagedInventory, where the closed Page is registered.
getPagedInventoryUUID() - Method in interface com.mrivanplays.pagedinventory.api.PagedInventory
Returns the UniqueId of this PagedInventory, in case you want to store it somewhere
getPagedInventoryUUID() - Method in class com.mrivanplays.pagedinventory.internal.PagedInventoryImpl
 
getPageNumber(Page) - Method in interface com.mrivanplays.pagedinventory.api.PagedInventory
Retrieves the page number of the page specified.
getPageNumber(Page) - Method in class com.mrivanplays.pagedinventory.internal.PagedInventoryImpl
 
getPageNumber(UUID) - Method in interface com.mrivanplays.pagedinventory.api.PagedInventory
Retrieves the page number of the page uuid specified
getPageNumber(UUID) - Method in class com.mrivanplays.pagedinventory.internal.PagedInventoryImpl
 
getPages() - Method in interface com.mrivanplays.pagedinventory.api.PagedInventory
Returns a immutable map of the Pages this PagedInventory has
getPages() - Method in class com.mrivanplays.pagedinventory.internal.PagedInventoryImpl
 
getPageUUID() - Method in interface com.mrivanplays.pagedinventory.api.Page
Returns the UniqueId of the Page in case you want to store it.
getPageViewed(Player) - Method in interface com.mrivanplays.pagedinventory.api.PagedInventory
Returns the page, currently viewed by the specified Player viewer
getPageViewed(Player) - Method in class com.mrivanplays.pagedinventory.internal.PagedInventoryImpl
 
getRawSlot() - Method in class com.mrivanplays.pagedinventory.api.PageClick
Took from InventoryClickEvent: The raw slot number clicked, ready for passing to #getItem(int) This slot number is unique for the view.
getSlot() - Method in class com.mrivanplays.pagedinventory.api.PageClick
Took from InventoryClickEvent: The slot number that was clicked, ready for passing to Inventory.getItem(int).
getViewers() - Method in interface com.mrivanplays.pagedinventory.api.PagedInventory
Returns a immutable map of the known viewers and the viewed pages, key being a Player's UUID, and value being a Page's UUID
getViewers() - Method in class com.mrivanplays.pagedinventory.internal.PagedInventoryImpl
 

I

isSwitching(UUID) - Method in class com.mrivanplays.pagedinventory.internal.PageSwitchRegistrar
 

N

navigationItem(int, NavigationItem) - Method in class com.mrivanplays.pagedinventory.api.PagedInventoryBuilder
Sets the specified inventory slot to the specified NavigationItem
NavigationItem - Class in com.mrivanplays.pagedinventory.api
Represents a navigation item
NavigationItem.Action - Enum in com.mrivanplays.pagedinventory.api
Represents action
NEXT_PAGE - com.mrivanplays.pagedinventory.api.NavigationItem.Action
The NavigationItem should listen to get to the next page.

O

onClick(InventoryClickEvent) - Method in class com.mrivanplays.pagedinventory.internal.PIEventsListener
 
onClose(InventoryCloseEvent) - Method in class com.mrivanplays.pagedinventory.internal.PIEventsListener
 
onQuit(PlayerQuitEvent) - Method in class com.mrivanplays.pagedinventory.internal.PIEventsListener
 
open(Player, int) - Method in interface com.mrivanplays.pagedinventory.api.PagedInventory
Opens the specified page and adds the Player to the cache.
open(Player, int) - Method in class com.mrivanplays.pagedinventory.internal.PagedInventoryImpl
 
openNext(Player) - Method in interface com.mrivanplays.pagedinventory.api.PagedInventory
Opens the next page of the page viewed by the player if present
openNext(Player) - Method in class com.mrivanplays.pagedinventory.internal.PagedInventoryImpl
 
openPrevious(Player) - Method in interface com.mrivanplays.pagedinventory.api.PagedInventory
Opens the previous page of the page viewed by the player if present
openPrevious(Player) - Method in class com.mrivanplays.pagedinventory.internal.PagedInventoryImpl
 

P

page(int, Page) - Method in class com.mrivanplays.pagedinventory.api.PagedInventoryBuilder
Sets the page number to the specified page
page(int, Inventory) - Method in class com.mrivanplays.pagedinventory.api.PagedInventoryBuilder
Sets the page number to the specified page
Page - Interface in com.mrivanplays.pagedinventory.api
Represents a page
PageClick - Class in com.mrivanplays.pagedinventory.api
Represents a object, created when InventoryClickEvent was fired.
PageClick(PagedInventory, Page, ItemStack, Player, ClickType, int, int, int) - Constructor for class com.mrivanplays.pagedinventory.api.PageClick
 
PageClose - Class in com.mrivanplays.pagedinventory.api
Represents a object, created when InventoryCloseEvent was fired.
PageClose(Player, PagedInventory, Page) - Constructor for class com.mrivanplays.pagedinventory.api.PageClose
 
PagedInventory - Interface in com.mrivanplays.pagedinventory.api
Represents a paged inventory
PagedInventoryBuilder - Class in com.mrivanplays.pagedinventory.api
Represents a builder of PagedInventory
PagedInventoryImpl - Class in com.mrivanplays.pagedinventory.internal
 
PagedInventoryImpl() - Constructor for class com.mrivanplays.pagedinventory.internal.PagedInventoryImpl
 
PageSwitchRegistrar - Class in com.mrivanplays.pagedinventory.internal
 
PageSwitchRegistrar() - Constructor for class com.mrivanplays.pagedinventory.internal.PageSwitchRegistrar
 
PIEventsListener - Class in com.mrivanplays.pagedinventory.internal
 
PIEventsListener(PagedInventoryImpl, Plugin) - Constructor for class com.mrivanplays.pagedinventory.internal.PIEventsListener
 
PREVIOUS_PAGE - com.mrivanplays.pagedinventory.api.NavigationItem.Action
The NavigationItem should listen to get to previous page.

R

register(UUID) - Method in class com.mrivanplays.pagedinventory.internal.PageSwitchRegistrar
 
removeNavigationItem(int) - Method in interface com.mrivanplays.pagedinventory.api.PagedInventory
Removes the specified NavigationItem on that position.
removeNavigationItem(int) - Method in class com.mrivanplays.pagedinventory.internal.PagedInventoryImpl
 
removePage(int) - Method in interface com.mrivanplays.pagedinventory.api.PagedInventory
Removes the specified page from this PagedInventory
removePage(int) - Method in class com.mrivanplays.pagedinventory.internal.PagedInventoryImpl
 

S

setNavigationItem(int, NavigationItem) - Method in interface com.mrivanplays.pagedinventory.api.PagedInventory
Sets the specified NavigationItem on the specified Inventory position.
setNavigationItem(int, NavigationItem) - Method in class com.mrivanplays.pagedinventory.internal.PagedInventoryImpl
 
setPage(int, Page) - Method in interface com.mrivanplays.pagedinventory.api.PagedInventory
Sets the specified Page number to the specified Page in this PagedInventory
setPage(int, Page) - Method in class com.mrivanplays.pagedinventory.internal.PagedInventoryImpl
 

U

unregister(UUID) - Method in class com.mrivanplays.pagedinventory.internal.PageSwitchRegistrar
 

V

valueOf(String) - Static method in enum com.mrivanplays.pagedinventory.api.NavigationItem.Action
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.mrivanplays.pagedinventory.api.NavigationItem.Action
Returns an array containing the constants of this enum type, in the order they are declared.
A B C G I N O P R S U V 
All Classes All Packages