Uses of Interface
de.marcely.bedwars.api.game.shop.ShopItem
Packages that use ShopItem
Package
Description
The root package of the MBedwars API
Contains classes that are related to the 
Arena.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.Classes relevant to each 
ShopPrice in the in game shop.Classes relevant to each 
ShopProduct in the in game shop.Classes dedicated to fetching, updating, and saving player data/properties/stats in MBedwars.
- 
Uses of ShopItem in de.marcely.bedwars.apiMethods in de.marcely.bedwars.api that return ShopItemModifier and TypeMethodDescription@Nullable ShopItemGameAPI.getShopItemById(String id) Tries to locate and return aShopItemby its id.Methods in de.marcely.bedwars.api that return types with arguments of type ShopItemModifier and TypeMethodDescriptionGameAPI.getShopItems()Returns all existing items inside the shop
- 
Uses of ShopItem in de.marcely.bedwars.api.arenaMethods in de.marcely.bedwars.api.arena that return types with arguments of type ShopItemModifier and TypeMethodDescriptionQuitPlayerMemory.getOneTimePurchaseBoughtItems()Returns all ShopItems the player has bought which haveisOneTimePurchase()set to true.
- 
Uses of ShopItem in de.marcely.bedwars.api.event.playerMethods in de.marcely.bedwars.api.event.player that return ShopItemModifier and TypeMethodDescription@Nullable ShopItemPlayerBuyInShopEvent.getClonedItem()Get the cloned item that was used withinPlayerOpenShopEvent.getClonedPage().PlayerBuyInShopEvent.getItem()Returns the item that the player wants to buy.Methods in de.marcely.bedwars.api.event.player that return types with arguments of type ShopItemModifier and TypeMethodDescriptionPlayerOpenShopEvent.getItems()Gets all the items that the player would theoretically see in the GUI.Methods in de.marcely.bedwars.api.event.player with parameters of type ShopItemModifier and TypeMethodDescriptionbooleanPlayerOpenShopEvent.addShopItem(ShopItem shopItem) Tries to add a shopItem.booleanPlayerOpenShopEvent.removeShopItem(ShopItem shopItem) Tries to remove a shop item and causes it to not be seen.Constructors in de.marcely.bedwars.api.event.player with parameters of type ShopItemModifierConstructorDescriptionPlayerBuyInShopEvent(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) 
- 
Uses of ShopItem in de.marcely.bedwars.api.game.shopMethods in de.marcely.bedwars.api.game.shop that return ShopItemModifier and TypeMethodDescriptionConstructs a new ShopItem, and adds it to the ShopPage.ShopItem.clone()Returns a clone of this instance.ShopItem.getOriginal()Returns the original "non-cloned" instance.Methods in de.marcely.bedwars.api.game.shop that return types with arguments of type ShopItemModifier and TypeMethodDescription@Nullable Collection<? extends ShopItem> BuyGroup.getItems(int level) Returns a map with all items at that level.ShopPage.getItems()Returns all the possible items that are inside the page.ShopPage.getVisiblePageItems(@Nullable Arena arena, @Nullable Player player) Returns the items that are inside the page for a specific player.Methods in de.marcely.bedwars.api.game.shop with parameters of type ShopItemModifier and TypeMethodDescriptionbooleanAdds an item to a shop page.intShopPage.removeConnectedItems(ShopItem shopItem) Removes all ShopItems that share the original instance.booleanShopPage.removeItem(ShopItem shopItem) Removes an item from this shop page.
- 
Uses of ShopItem in de.marcely.bedwars.api.game.shop.layoutMethods in de.marcely.bedwars.api.game.shop.layout that return types with arguments of type ShopItemModifier and TypeMethodDescriptionShopLayoutHandler.OpenEvent.getPageItems()All items that should be displayed to the playerMethods in de.marcely.bedwars.api.game.shop.layout with parameters of type ShopItemModifier and TypeMethodDescriptionBuilds a GUIItem that can be used to set the item inside the GUIShopLayoutHandler.OpenEvent.buildOffer(ShopItem item) Builds a GUIItem that can be used to set the page inside the villager GUI
- 
Uses of ShopItem in de.marcely.bedwars.api.game.shop.priceMethods in de.marcely.bedwars.api.game.shop.price that return ShopItem
- 
Uses of ShopItem in de.marcely.bedwars.api.game.shop.productMethods in de.marcely.bedwars.api.game.shop.product that return ShopItem
- 
Uses of ShopItem in de.marcely.bedwars.api.playerMethods in de.marcely.bedwars.api.player that return ShopItemModifier and TypeMethodDescriptionShopItem[]PlayerProperties.getShopHypixelV2QuickBuyItems()Parses the entryDefaultPlayerProperty.SHOPDESIGN_HYPIXELV2_QUICKBUYand returns all the items stored in the quick buy.Methods in de.marcely.bedwars.api.player with parameters of type ShopItemModifier and TypeMethodDescriptionvoidPlayerProperties.setShopHypixelV2QuickBuyItems(ShopItem[] items) Serializes and sets the entryDefaultPlayerProperty.SHOPDESIGN_HYPIXELV2_QUICKBUYfor all the items that are stored in the quick buy.