Uses of Interface
de.marcely.bedwars.api.game.shop.layout.ShopLayout
Packages that use ShopLayout
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 implement different
ShopLayouts for the in game shop.-
Uses of ShopLayout in de.marcely.bedwars.api
Methods in de.marcely.bedwars.api that return ShopLayoutModifier and TypeMethodDescriptionGameAPI.getDefaultShopLayout()Returns the defaultShopLayoutthat's being used whenever the player clicks on the dealer@Nullable ShopLayoutGameAPI.getShopLayout(String layoutName) Tries to look up for a registered layout that has the given name.Methods in de.marcely.bedwars.api that return types with arguments of type ShopLayoutModifier and TypeMethodDescriptionGameAPI.getShopLayouts()Returns all existing layouts for the shopMethods in de.marcely.bedwars.api with parameters of type ShopLayoutModifier and TypeMethodDescriptiondefault voidGameAPI.openShop(Player player, ShopLayout layout) Opens the shop for a player.default voidGameAPI.openShop(Player player, ShopLayout layout, ShopOpenCause cause) Opens the shop for a player.voidGameAPI.openShop(Player player, ShopLayout layout, ShopOpenCause cause, @Nullable ShopPage shopPage) Opens the shop for a player.booleanGameAPI.registerShopLayout(ShopLayout layout) Create and register your own custom ShopLayout using this method.booleanGameAPI.unregisterShopLayout(ShopLayout layout) Unregister an already existing ShopLayout using this method. -
Uses of ShopLayout in de.marcely.bedwars.api.event
Methods in de.marcely.bedwars.api.event that return ShopLayoutModifier and TypeMethodDescriptionShopGUIPostProcessEvent.getLayout()Returns the layout that was used for the shop GUIConstructors in de.marcely.bedwars.api.event with parameters of type ShopLayoutModifierConstructorDescriptionShopGUIPostProcessEvent(Player player, ShopLayout design, ShopPage page, @Nullable GUI gui) -
Uses of ShopLayout in de.marcely.bedwars.api.event.player
Methods in de.marcely.bedwars.api.event.player that return ShopLayoutModifier and TypeMethodDescriptionPlayerOpenShopEvent.getLayout()Returns the layout that will be used for the GUI.Methods in de.marcely.bedwars.api.event.player with parameters of type ShopLayoutModifier and TypeMethodDescriptionvoidPlayerOpenShopEvent.setLayout(ShopLayout layout) Set the layout of the shop GUI that shall be shown.Constructors in de.marcely.bedwars.api.event.player with parameters of type ShopLayoutModifierConstructorDescriptionPlayerOpenShopEvent(Player player, @Nullable Arena arena, ShopLayout layout, ShopOpenCause cause, @Nullable ShopPage page, @Nullable Object layoutData) -
Uses of ShopLayout in de.marcely.bedwars.api.game.shop.layout
Methods in de.marcely.bedwars.api.game.shop.layout that return ShopLayoutModifier and TypeMethodDescriptionShopLayoutHandler.OpenEvent.getLayout()Returns the layout that has been opened@Nullable ShopLayoutShopLayoutType.getLayout()Returns the corresponding layout to this type.
Might return null if the type isShopLayoutType.PLUGIN