Uses of Interface
de.marcely.bedwars.api.game.upgrade.layout.UpgradeShopLayout
Packages that use UpgradeShopLayout
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
UpgradeShopLayouts
for the in game shop.DO NOT USE: These classes are for internal use only, and may change at any time.
-
Uses of UpgradeShopLayout in de.marcely.bedwars.api
Methods in de.marcely.bedwars.api that return UpgradeShopLayoutModifier and TypeMethodDescriptionGameAPI.getDefaultUpgradeShopLayout()
Returns the defaultUpgradeShopLayout
that's being used whenever the player clicks on the upgrade dealer@Nullable UpgradeShopLayout
GameAPI.getUpgradeShopLayout
(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 UpgradeShopLayoutModifier and TypeMethodDescriptionGameAPI.getUpgradeShopLayouts()
Returns all existing layouts for the upgrade shopMethods in de.marcely.bedwars.api with parameters of type UpgradeShopLayoutModifier and TypeMethodDescriptionboolean
GameAPI.registerUpgradeShopLayout
(UpgradeShopLayout layout) Create and register your own custom UpgradeShopLayout using this method.boolean
GameAPI.unregisterUpgradeShopLayout
(UpgradeShopLayout layout) Unregister an already existing UpgradeShopLayout using this method. -
Uses of UpgradeShopLayout in de.marcely.bedwars.api.event
Methods in de.marcely.bedwars.api.event that return UpgradeShopLayoutModifier and TypeMethodDescriptionUpgradeShopGUIPostProcessEvent.getLayout()
Returns the layout that was used for the upgrade shop GUIConstructors in de.marcely.bedwars.api.event with parameters of type UpgradeShopLayoutModifierConstructorDescriptionUpgradeShopGUIPostProcessEvent
(Player player, UpgradeShopLayout layout, @Nullable GUI gui) -
Uses of UpgradeShopLayout in de.marcely.bedwars.api.event.player
Methods in de.marcely.bedwars.api.event.player that return UpgradeShopLayoutModifier and TypeMethodDescriptionPlayerOpenUpgradeShopEvent.getLayout()
Returns the layout that will be used for the GUI.Methods in de.marcely.bedwars.api.event.player with parameters of type UpgradeShopLayoutModifier and TypeMethodDescriptionvoid
PlayerOpenUpgradeShopEvent.setLayout
(UpgradeShopLayout layout) Set the layout of the shop GUI that shall be shown.Constructors in de.marcely.bedwars.api.event.player with parameters of type UpgradeShopLayoutModifierConstructorDescriptionPlayerOpenUpgradeShopEvent
(Player player, @Nullable Arena arena, Team team, UpgradeShopLayout layout, UpgradeShopOpenCause cause, @Nullable Object layoutData) -
Uses of UpgradeShopLayout in de.marcely.bedwars.api.game.upgrade.layout
Methods in de.marcely.bedwars.api.game.upgrade.layout that return UpgradeShopLayoutModifier and TypeMethodDescriptionUpgradeShopLayoutHandler.OpenEvent.getLayout()
Returns the layout that has been opened@Nullable UpgradeShopLayout
UpgradeShopLayoutType.getLayout()
Returns the corresponding layout to this type.
Might return null if the type isUpgradeShopLayoutType.PLUGIN
-
Uses of UpgradeShopLayout in de.marcely.bedwars.api.unsafe
Methods in de.marcely.bedwars.api.unsafe that return UpgradeShopLayout