public final class MultiMenu extends Menu
| Modifier and Type | Method and Description |
|---|---|
org.bukkit.inventory.ItemStack |
backItem() |
static MultiMenu |
create(String name,
int size)
Creates a MultiMenu with 5 empty menus/pages
|
static MultiMenu |
create(String name,
int size,
int pages)
Create a MultiMenu with the following specifications
|
Menu |
menuAt(int index) |
org.bukkit.inventory.ItemStack |
nextItem() |
void |
setBack(org.bukkit.inventory.ItemStack back) |
void |
setMenu(int index,
Menu menu)
Set menu at the specified index, can be over the size.
|
void |
setNext(org.bukkit.inventory.ItemStack next) |
protected Menu[] menus
public static MultiMenu create(String name, int size)
name - Name of the main menusize - Size of the main menupublic static MultiMenu create(String name, int size, int pages)
name - Name of the main menusize - Size of the main menupages - Amount of pages or menus in this MultiMenu, not graved in stonepublic void setMenu(int index,
Menu menu)
index - Index you wish to set the menu atmenu - Menu you wish to setpublic Menu menuAt(int index)
public org.bukkit.inventory.ItemStack nextItem()
public org.bukkit.inventory.ItemStack backItem()
public void setNext(org.bukkit.inventory.ItemStack next)
public void setBack(org.bukkit.inventory.ItemStack back)
Copyright © 2015. All rights reserved.