Uses of Interface
de.marcely.bedwars.api.game.shop.ShopPage
Package
Description
-
Uses of ShopPage in de.marcely.bedwars.api
Modifier and TypeMethodDescriptionGameAPI.getShopPages()
Returns all existing pages inside the shopModifier and TypeMethodDescriptionvoid
GameAPI.openShop
(Player player, ShopLayout layout, ShopOpenCause cause, @Nullable ShopPage shopPage) Opens the shop for a player. -
Uses of ShopPage in de.marcely.bedwars.api.event
Modifier and TypeMethodDescription@Nullable ShopPage
ShopGUIPostProcessEvent.getPage()
Returns the page that was used to build the shop GUIModifierConstructorDescriptionShopGUIPostProcessEvent
(Player player, ShopLayout design, ShopPage page, @Nullable GUI gui) -
Uses of ShopPage in de.marcely.bedwars.api.event.player
Modifier and TypeMethodDescription@Nullable ShopPage
PlayerOpenShopEvent.getClonedPage()
Returns the cloned page that was opened.Modifier and TypeMethodDescriptionvoid
Sets the page that shall be opened.ModifierConstructorDescriptionPlayerOpenShopEvent
(Player player, @Nullable Arena arena, ShopLayout layout, ShopOpenCause cause, @Nullable ShopPage page, @Nullable Object layoutData) -
Uses of ShopPage in de.marcely.bedwars.api.game.shop
-
Uses of ShopPage in de.marcely.bedwars.api.game.shop.layout
Modifier and TypeMethodDescription@Nullable ShopPage
ShopLayoutHandler.OpenEvent.getOpenPage()
The currently open page
Can be null when there's no page openModifier and TypeMethodDescriptionShopLayoutHandler.OpenEvent.getPages()
The available pages with which the handler has to work with
The collections and EVERYTHING in the collection has been cloned,
meaning the handler can do anything with it that he wantsModifier and TypeMethodDescriptiondefault 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 GUIvoid
ShopLayoutHandler.OpenEvent.setOpenPage
(@Nullable ShopPage page) Sets the new open page.
Won't reopen the GUI when set