Package net.jeqo.bloons.gui.menus
Class BalloonMenu
java.lang.Object
net.jeqo.bloons.gui.menus.BalloonMenu
A class that represents a balloon menu
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
The current page indexThe unique identifier of the menuArrayList
<org.bukkit.inventory.Inventory> The pages of the menustatic HashMap
<UUID, BalloonMenu> The users that have the menu open -
Constructor Summary
ConstructorsConstructorDescriptionBalloonMenu
(ArrayList<org.bukkit.inventory.ItemStack> items, String name, org.bukkit.entity.Player player) Creates a new balloon menu -
Method Summary
-
Field Details
-
pages
The pages of the menu -
id
The unique identifier of the menu -
currentPageIndex
public int currentPageIndexThe current page index -
users
The users that have the menu open
-
-
Constructor Details
-
BalloonMenu
public BalloonMenu(ArrayList<org.bukkit.inventory.ItemStack> items, String name, org.bukkit.entity.Player player) Creates a new balloon menu- Parameters:
items
- The items to display in the menu, type java.util.ArrayList[org.bukkit.inventory.ItemStack]name
- The name of the menu, type java.lang.Stringplayer
- The player to open the menu for, type org.bukkit.entity.Player
-