Uses of Interface
de.marcely.bedwars.api.game.spawner.DropType
Packages that use DropType
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 each
ShopPrice
in the in game shop.Classes relevant to each
ShopProduct
in the in game shop.Classes related to the in game
Spawners
.Classes relevant to the in game team upgrade shop.
-
Uses of DropType in de.marcely.bedwars.api
Methods in de.marcely.bedwars.api that return DropTypeModifier and TypeMethodDescription@Nullable DropType
GameAPI.getDropTypeByDrop
(ItemStack is) Tries to find a DropType who could've dropped the itemis
@Nullable DropType
GameAPI.getDropTypeById
(String id) Tries to find a DropType given by its id.Methods in de.marcely.bedwars.api that return types with arguments of type DropTypeModifier and TypeMethodDescriptionGameAPI.getDropTypes()
Returns all currently existing drop type. -
Uses of DropType in de.marcely.bedwars.api.arena
Methods in de.marcely.bedwars.api.arena with parameters of type DropTypeModifier and TypeMethodDescriptionArena.addSpawner
(XYZ location, DropType type) Adds a spawner to the arena -
Uses of DropType in de.marcely.bedwars.api.event.player
Methods in de.marcely.bedwars.api.event.player that return DropTypeModifier and TypeMethodDescriptionPlayerPickupDropEvent.getDropType()
Returns the potentialDropType
of the spawner that dropped this item.Constructors in de.marcely.bedwars.api.event.player with parameters of type DropTypeModifierConstructorDescriptionPlayerPickupDropEvent
(Player who, Arena arena, DropType dropType, Item item, boolean fromSpawner) -
Uses of DropType in de.marcely.bedwars.api.game.shop
Methods in de.marcely.bedwars.api.game.shop with parameters of type DropTypeModifier and TypeMethodDescriptionShopItem.addPriceSpawner
(DropType price, int amount) Adds a Spawner price to this instance.ShopItem.addProductSpawner
(DropType dropType, int amount) Adds a product that gives the player a spawner drops when this item is being bought. -
Uses of DropType in de.marcely.bedwars.api.game.shop.price
Methods in de.marcely.bedwars.api.game.shop.price that return DropTypeModifier and TypeMethodDescriptionSpawnerItemShopPrice.getDropType()
Returns theDropType
aka spawner that will be taken from the player on purchase.Methods in de.marcely.bedwars.api.game.shop.price with parameters of type DropTypeModifier and TypeMethodDescriptionvoid
SpawnerItemShopPrice.setDropType
(DropType dropType) Set theDropType
aka the spawner that will be taken from the player on purchase. -
Uses of DropType in de.marcely.bedwars.api.game.shop.product
Methods in de.marcely.bedwars.api.game.shop.product that return DropTypeModifier and TypeMethodDescriptionSpawnerItemShopProduct.getDropType()
Returns the drop type aka spawner that will be givenMethods in de.marcely.bedwars.api.game.shop.product with parameters of type DropTypeModifier and TypeMethodDescriptionvoid
SpawnerItemShopProduct.setDropType
(DropType dropType) Set the drop type aka the spawner that shall be given. -
Uses of DropType in de.marcely.bedwars.api.game.spawner
Methods in de.marcely.bedwars.api.game.spawner that return DropType -
Uses of DropType in de.marcely.bedwars.api.game.upgrade
Methods in de.marcely.bedwars.api.game.upgrade that return DropTypeModifier and TypeMethodDescriptionUpgradeLevel.getPriceDropType()
Returns the DropType required to purchase the itemMethods in de.marcely.bedwars.api.game.upgrade with parameters of type DropTypeModifier and TypeMethodDescriptionvoid
UpgradeLevel.setPriceDropType
(DropType dropType) Sets the DropType required to purchase the item