| Package | Description |
|---|---|
| org.bukkit.enchantments |
Classes relating to the specialized enhancements to
item stacks, as part of the meta data. |
| org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world, including all players, monsters, projectiles, etc. |
| Modifier and Type | Method and Description |
|---|---|
abstract float |
Enchantment.getDamageIncrease(int level,
EntityCategory entityCategory)
Gets the damage increase as a result of the level and entity category specified
|
float |
EnchantmentWrapper.getDamageIncrease(int level,
EntityCategory entityCategory) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull EntityCategory |
LivingEntity.getCategory()
Get the category to which this entity belongs.
|
static EntityCategory |
EntityCategory.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntityCategory[] |
EntityCategory.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2021. All rights reserved.