Uses of Interface
de.marcely.bedwars.api.game.specialitem.SpecialItem
Packages that use SpecialItem
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.
Classes relevant to each
ShopProduct in the in game shop.Classes dedicated to handling
SpecialItems in MBedwars.-
Uses of SpecialItem in de.marcely.bedwars.api
Methods in de.marcely.bedwars.api that return SpecialItemModifier and TypeMethodDescription@Nullable SpecialItemGameAPI.getSpecialItem(String id) Tries to locate and return aSpecialItemgiven by its id.@Nullable SpecialItemGameAPI.getSpecialItem(ItemStack itemStack) Tries to locate and return aSpecialItemgiven by its usable item.@Nullable SpecialItemGameAPI.registerSpecialItem(String id, Plugin plugin, String name, ItemStack item) Registers a customSpecialItemfor the later ingame use.Methods in de.marcely.bedwars.api that return types with arguments of type SpecialItemModifier and TypeMethodDescriptionGameAPI.getSpecialItems()Returns all registered (including the default ones) SpecialItems.Methods in de.marcely.bedwars.api with parameters of type SpecialItemModifier and TypeMethodDescriptionbooleanGameAPI.registerSpecialItem(SpecialItem specialItem) Reregisters a SpecialItem that previously has been unregistered.booleanGameAPI.unregisterSpecialItem(SpecialItem specialItem) Tries to unregister an existing SpecialItem.voidGameAPI.useSpecialItem(SpecialItem item, Player player, Arena arena, ItemStack is) Simulates the player using the special item. -
Uses of SpecialItem in de.marcely.bedwars.api.event.player
Methods in de.marcely.bedwars.api.event.player that return SpecialItemModifier and TypeMethodDescriptionPlayerStopSpecialItemEvent.getSpecialItem()Returns the special item that the player has used.PlayerUseSpecialItemEvent.getSpecialItem()Returns the special item that the player has used.Constructors in de.marcely.bedwars.api.event.player with parameters of type SpecialItemModifierConstructorDescriptionPlayerStopSpecialItemEvent(Player player, SpecialItem specialItem, Arena arena, SpecialItemUseSession session) PlayerUseSpecialItemEvent(Player player, SpecialItem specialItem, Arena arena, ItemStack item, boolean isOffHand, @Nullable Block clickedBlock, @Nullable BlockFace clickedBlockFace, boolean takeItem) -
Uses of SpecialItem in de.marcely.bedwars.api.game.shop
Methods in de.marcely.bedwars.api.game.shop with parameters of type SpecialItemModifier and TypeMethodDescriptionShopItem.addProductSpecialItem(SpecialItem specialItem, int amount) Adds a product that gives the player a SpecialItem when this item is being bought. -
Uses of SpecialItem in de.marcely.bedwars.api.game.shop.product
Methods in de.marcely.bedwars.api.game.shop.product that return SpecialItemModifier and TypeMethodDescription@Nullable SpecialItemSpecialItemShopProduct.getSpecialItem()Returns the special item that will be given on purchase.Methods in de.marcely.bedwars.api.game.shop.product with parameters of type SpecialItemModifier and TypeMethodDescriptionvoidSpecialItemShopProduct.setSpecialItem(SpecialItem item) Set theSpecialItemthat shall be given on purchase -
Uses of SpecialItem in de.marcely.bedwars.api.game.specialitem
Methods in de.marcely.bedwars.api.game.specialitem that return SpecialItemModifier and TypeMethodDescription@Nullable SpecialItemSpecialItemType.getItem()Returns the SpecialItem instance for the given type.