Class TeamEnchantment
java.lang.Object
de.marcely.bedwars.api.game.upgrade.TeamEnchantment
Represents an enchantment that is being applied to all items of a specific type for all team members
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the enchantment that shall be applied on the items.int
getLevel()
Get the level of the enchantment that gets appliedGet the item this enchantment should target.
-
Constructor Details
-
TeamEnchantment
- Parameters:
target
- The item type it should targetench
- The enchantmentlvl
- The level of the enchantment
-
-
Method Details
-
getTarget
Get the item this enchantment should target.- Returns:
- The items for which the enchantment gets applied on
-
getEnchantment
Get the enchantment that shall be applied on the items.- Returns:
- The enchantment that gets applied
-
getLevel
public int getLevel()Get the level of the enchantment that gets applied- Returns:
- The level of the enchantment that gets applied
-