Uses of Interface
de.marcely.bedwars.api.game.shop.ShopPage
Packages that use ShopPage
Package
Description
The root package of the MBedwars API
The events fired by MBedwars
Events related to
Player
actions, or changes to player properties.Classes relevant to the in game shop.
Classes relevant to implement different
ShopLayouts
for the in game shop.-
Uses of ShopPage in de.marcely.bedwars.api
Methods in de.marcely.bedwars.api that return types with arguments of type ShopPageModifier and TypeMethodDescriptionGameAPI.getShopPages()
Returns all existing pages inside the shopMethods in de.marcely.bedwars.api with parameters of type ShopPageModifier 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
Methods in de.marcely.bedwars.api.event that return ShopPageModifier and TypeMethodDescription@Nullable ShopPage
ShopGUIPostProcessEvent.getPage()
Returns the page that was used to build the shop GUIConstructors in de.marcely.bedwars.api.event with parameters of type ShopPageModifierConstructorDescriptionShopGUIPostProcessEvent
(Player player, ShopLayout design, ShopPage page, @Nullable GUI gui) -
Uses of ShopPage in de.marcely.bedwars.api.event.player
Methods in de.marcely.bedwars.api.event.player that return ShopPageModifier and TypeMethodDescription@Nullable ShopPage
PlayerOpenShopEvent.getClonedPage()
Returns the cloned page that was opened.Methods in de.marcely.bedwars.api.event.player with parameters of type ShopPageModifier and TypeMethodDescriptionvoid
Sets the page that shall be opened.Constructors in de.marcely.bedwars.api.event.player with parameters of type ShopPageModifierConstructorDescriptionPlayerOpenShopEvent
(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
Methods in de.marcely.bedwars.api.game.shop that return ShopPage -
Uses of ShopPage in de.marcely.bedwars.api.game.shop.layout
Methods in de.marcely.bedwars.api.game.shop.layout that return ShopPageModifier and TypeMethodDescription@Nullable ShopPage
ShopLayoutHandler.OpenEvent.getOpenPage()
The currently open page
Can be null when there's no page openMethods in de.marcely.bedwars.api.game.shop.layout that return types with arguments of type ShopPageModifier 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 wantsMethods in de.marcely.bedwars.api.game.shop.layout with parameters of type ShopPageModifier 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