Package | Description |
---|---|
org.bukkit.event.entity |
Modifier and Type | Method and Description |
---|---|
EntityDamageEvent.DamageCause |
EntityDamageEvent.getCause()
Gets the cause of the damage.
|
static EntityDamageEvent.DamageCause |
EntityDamageEvent.DamageCause.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntityDamageEvent.DamageCause[] |
EntityDamageEvent.DamageCause.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
EntityDamageByBlockEvent(Block damager,
Entity damagee,
EntityDamageEvent.DamageCause cause,
double damage) |
EntityDamageByBlockEvent(Block damager,
Entity damagee,
EntityDamageEvent.DamageCause cause,
int damage)
Deprecated.
|
EntityDamageByEntityEvent(Entity damager,
Entity damagee,
EntityDamageEvent.DamageCause cause,
double damage) |
EntityDamageByEntityEvent(Entity damager,
Entity damagee,
EntityDamageEvent.DamageCause cause,
int damage)
Deprecated.
|
EntityDamageEvent(Entity damagee,
EntityDamageEvent.DamageCause cause,
double damage) |
EntityDamageEvent(Entity damagee,
EntityDamageEvent.DamageCause cause,
int damage)
Deprecated.
|
Copyright © 2014. All rights reserved.