Uses of Interface
de.marcely.bedwars.api.game.spawner.DropType
Package
Description
-
Uses of DropType in de.marcely.bedwars.api
Modifier 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.Modifier and TypeMethodDescriptionGameAPI.getDropTypes()
Returns all currently existing drop type. -
Uses of DropType in de.marcely.bedwars.api.arena
Modifier and TypeMethodDescriptionArena.addSpawner
(XYZ location, DropType type) Adds a spawner to the arena -
Uses of DropType in de.marcely.bedwars.api.event.player
Modifier and TypeMethodDescriptionPlayerPickupDropEvent.getDropType()
Returns the potentialDropType
of the spawner that dropped this item.ModifierConstructorDescriptionPlayerPickupDropEvent
(Player who, Arena arena, DropType dropType, Item item, boolean fromSpawner) -
Uses of DropType in de.marcely.bedwars.api.game.shop
Modifier 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
Modifier and TypeMethodDescriptionSpawnerItemShopPrice.getDropType()
Returns theDropType
aka spawner that will be taken from the player on purchase.Modifier 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
Modifier and TypeMethodDescriptionSpawnerItemShopProduct.getDropType()
Returns the drop type aka spawner that will be givenModifier 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
-
Uses of DropType in de.marcely.bedwars.api.game.upgrade
Modifier and TypeMethodDescriptionUpgradeLevel.getPriceDropType()
Returns the DropType required to purchase the itemModifier and TypeMethodDescriptionvoid
UpgradeLevel.setPriceDropType
(DropType dropType) Sets the DropType required to purchase the item