Uses of Enum
de.marcely.bedwars.api.game.shop.ShopOpenCause
Packages that use ShopOpenCause
Package
Description
The root package of the MBedwars API
Events related to
Player
actions, or changes to player properties.Classes relevant to the in game shop.
-
Uses of ShopOpenCause in de.marcely.bedwars.api
Methods in de.marcely.bedwars.api with parameters of type ShopOpenCauseModifier and TypeMethodDescriptiondefault 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.default void
GameAPI.openShop
(Player player, ShopOpenCause cause) Opens the shop for a player. -
Uses of ShopOpenCause in de.marcely.bedwars.api.event.player
Methods in de.marcely.bedwars.api.event.player that return ShopOpenCauseModifier and TypeMethodDescriptionPlayerOpenShopEvent.getCause()
Returns the way how the player opened the shopPlayerBuyInShopEvent.getOpenCause()
Returns they way the player opened the shop.Constructors in de.marcely.bedwars.api.event.player with parameters of type ShopOpenCauseModifierConstructorDescriptionPlayerBuyInShopEvent
(Player player, Arena arena, ShopItem item, @Nullable ShopItem clonedItem, ShopOpenCause openCause, boolean shiftClick, @Nullable Integer targetInvSlot, int multiplier, List<PlayerBuyInShopEvent.Problem> problems, boolean giveProducts, boolean takePayments) PlayerOpenShopEvent
(Player player, @Nullable Arena arena, ShopLayout layout, ShopOpenCause cause, @Nullable ShopPage page, @Nullable Object layoutData) -
Uses of ShopOpenCause in de.marcely.bedwars.api.game.shop
Methods in de.marcely.bedwars.api.game.shop that return ShopOpenCauseModifier and TypeMethodDescriptionstatic ShopOpenCause
Returns the enum constant of this type with the specified name.static ShopOpenCause[]
ShopOpenCause.values()
Returns an array containing the constants of this enum type, in the order they are declared.