|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use EntityDamageEvent.DamageModifier | |
---|---|
org.bukkit.event.entity | Events relating to entities , excluding some directly referencing
some more specific entity types. |
Uses of EntityDamageEvent.DamageModifier in org.bukkit.event.entity |
---|
Methods in org.bukkit.event.entity that return EntityDamageEvent.DamageModifier | |
---|---|
static EntityDamageEvent.DamageModifier |
EntityDamageEvent.DamageModifier.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static EntityDamageEvent.DamageModifier[] |
EntityDamageEvent.DamageModifier.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods in org.bukkit.event.entity with parameters of type EntityDamageEvent.DamageModifier | |
---|---|
double |
EntityDamageEvent.getDamage(EntityDamageEvent.DamageModifier type)
Gets the damage change for some modifier |
double |
EntityDamageEvent.getOriginalDamage(EntityDamageEvent.DamageModifier type)
Gets the original damage for the specified modifier, as defined at this event's construction. |
boolean |
EntityDamageEvent.isApplicable(EntityDamageEvent.DamageModifier type)
This checks to see if a particular modifier is valid for this event's caller, such that, EntityDamageEvent.setDamage(DamageModifier, double) will not
throw an UnsupportedOperationException . |
void |
EntityDamageEvent.setDamage(EntityDamageEvent.DamageModifier type,
double damage)
Sets the damage for the specified modifier. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |