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.DO NOT USE: These classes are for internal use only, and may change at any time.
-
Uses of ShopLayout in de.marcely.bedwars.api
Methods in de.marcely.bedwars.api that return ShopLayoutModifier and TypeMethodDescriptionGameAPI.getDefaultShopLayout()
Returns the defaultShopLayout
that's being used whenever the player clicks on the dealer@Nullable ShopLayout
GameAPI.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 void
GameAPI.openShop
(Player player, ShopLayout layout) Opens the shop for a player.default void
GameAPI.openShop
(Player player, ShopLayout layout, ShopOpenCause cause) Opens the shop for a player.void
GameAPI.openShop
(Player player, ShopLayout layout, ShopOpenCause cause, @Nullable ShopPage shopPage) Opens the shop for a player.boolean
GameAPI.registerShopLayout
(ShopLayout layout) Create and register your own custom ShopLayout using this method.boolean
GameAPI.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 TypeMethodDescriptionvoid
PlayerOpenShopEvent.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 ShopLayout
ShopLayoutType.getLayout()
Returns the corresponding layout to this type.
Might return null if the type isShopLayoutType.PLUGIN
-
Uses of ShopLayout in de.marcely.bedwars.api.unsafe
Methods in de.marcely.bedwars.api.unsafe that return ShopLayout