Uses of Interface
de.marcely.bedwars.api.game.upgrade.UpgradeLevel
Package
Description
Events related to
Player
actions, or changes to player properties.Classes relevant to the in game team upgrade shop.
Classes relevant to implement different
UpgradeShopLayouts
for the in game shop.-
Uses of UpgradeLevel in de.marcely.bedwars.api.event.player
Modifier and TypeMethodDescriptionPlayerBuyUpgradeEvent.getUpgradeLevel()
The upgrade level that was purchased by the playerPlayerTriggerUpgradeEvent.getUpgradeLevel()
Returns the UpgradeLevel that belongs to the upgrade that's being triggered, or the trap that's being purchasedModifierConstructorDescriptionPlayerBuyUpgradeEvent
(Player player, Arena arena, Team team, UpgradeLevel level, List<PlayerBuyUpgradeEvent.Problem> problems, boolean broadcastingMessage, boolean broadcastingSound, boolean doingUpgrade, boolean takePayments) PlayerTriggerUpgradeEvent
(Player player, Arena arena, Team team, UpgradeLevel upgradeLevel, boolean broadcastingMessage, boolean broadcastingTitle, boolean broadcastingSound, boolean takingFromQueue) -
Uses of UpgradeLevel in de.marcely.bedwars.api.game.upgrade
Modifier and TypeMethodDescription@Nullable UpgradeLevel
UpgradeState.getCurrentUpgradeLevel
(Upgrade upgrade) Returns the UpgradeLevel the teams has reached on this upgrade.@Nullable UpgradeLevel
Upgrade.getLevel
(int level) Gets the upgrade levels at a certain levelUpgrade.getMaxLevel()
Returns the maximum level in this upgradeUpgradeState.getNextUpgradeLevel
(Upgrade upgrade) Returns the next upgrade level players can buy of the specified type.Modifier and TypeMethodDescriptionUpgradeState.getActiveUpgrades()
The upgrade levels that currently effect the team.Upgrade.getLevels()
Returns all UpgradeLevels attached to this upgradeUpgradeState.getQueuedTraps()
The traps currently queued for this team.Modifier and TypeMethodDescriptionboolean
UpgradeState.doUpgrade
(UpgradeLevel level, Player player) Runs an upgrade for a team.boolean
UpgradeState.queueTrap
(UpgradeLevel level, boolean force) Adds a trap to the queue. -
Uses of UpgradeLevel in de.marcely.bedwars.api.game.upgrade.layout
Modifier and TypeMethodDescriptionUpgradeShopLayoutHandler.OpenEvent.getUpgradeLevels()
Gets all the upgrade levels that should be displayed in the GUIModifier and TypeMethodDescriptionUpgradeShopLayoutHandler.OpenEvent.build
(UpgradeLevel upgradeLevel) Builds a GUIItem that can be used to set the upgrade inside the GUIUpgradeShopLayoutHandler.OpenEvent.build
(UpgradeLevel upgradeLevel, Object data) Builds a GUIItem that can be used to set the upgrade inside the GUI the data is only passed if the purchase was successful