Uses of Class
de.marcely.bedwars.tools.gui.GUIItem
Package
Description
Classes relevant to implement different
ShopLayouts
for the in game shop.Classes relevant to implement different
UpgradeShopLayouts
for the in game shop.Tools for easily implementing in game GUIs.
All the different types of GUIs that can be created.
-
Uses of GUIItem in de.marcely.bedwars.api.game.shop.layout
Modifier and TypeMethodDescriptionBuilds a GUIItem that can be used to set the item inside the GUIdefault GUIItem
Builds a GUIItem that can be used to set the page inside the GUI.
Also resets the current data back to null once pressedBuilds a GUIItem that can be used to set the page inside the GUIBuilds a GUIItem that will flush any info about the info on click.
This behavior is similar to as if the player is closing and reopening the shop -
Uses of GUIItem in de.marcely.bedwars.api.game.upgrade.layout
Modifier and TypeMethodDescriptionUpgradeShopLayoutHandler.OpenEvent.build
(UpgradeLevel upgradeLevel) Builds a GUIItem that can be used to set the upgrade inside the GUIUpgradeShopLayoutHandler.OpenEvent.build
(UpgradeLevel upgradeLevel, Object data) Builds a GUIItem that can be used to set the upgrade inside the GUI the data is only passed if the purchase was successful -
Uses of GUIItem in de.marcely.bedwars.tools.gui
Modifier and TypeMethodDescriptionGUIItem.clone()
@Nullable GUIItem
ClickableGUI.getItem
(int slot) Returns the item at the specific slot.default @Nullable GUIItem
ClickableGUI.getItem
(int x, int y) Returns the item at the specific x and y slot.Modifier and TypeMethodDescriptiondefault int
default int
ClickableGUI.addItem
(GUIItem item, @Nullable AddItemCondition condition) Adds the item at the next available slot.void
Replaces any slot with the given itemvoid
Replaces any empty/air slot with the given itemvoid
Set an item at a specific slotdefault void
-
Uses of GUIItem in de.marcely.bedwars.tools.gui.type