selery ~master (2019-01-01T00:21:55Z)
Dub
Repo
EntityDamageByEntityEvent.Implementation
selery
event
world
damage
EntityDamageByEntityEvent
Undocumented in source.
interface
EntityDamageByEntityEvent
static
mixin template
Implementation (
bool
impl_entity_damage_event
size_t
modifiers
) {
mixin
EntityDamageEvent
.
Implementation
!
modifiers
;
protected
EntityPosition
n_knockback
;
protected
float
knockback_modifier
;
protected
bool
n_critical
;
entityDamageByEntity
(Entity victim, Entity damager, float damage, Translatable translatable);
Entity
damager
[@property getter];
bool
doKnockback
[@property getter];
EntityPosition
knockback
[@property getter];
bool
isCritical
[@property getter];
}
Members
Functions
entityDamageByEntity
entityDamageByEntity
(Entity victim, Entity damager, float damage, Translatable translatable)
Undocumented in source. Be warned that the author may not have intended to support it.
Mixins
__anonymous
mixin
EntityDamageEvent
.
Implementation
!
modifiers
Undocumented in source.
Properties
damager
Entity
damager
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
doKnockback
bool
doKnockback
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isCritical
bool
isCritical
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
knockback
EntityPosition
knockback
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
knockback_modifier
float
knockback_modifier
;
Undocumented in source.
n_critical
bool
n_critical
;
Undocumented in source.
n_knockback
EntityPosition
n_knockback
;
Undocumented in source.
Meta
Source
See Implementation
selery
event
world
damage
EntityDamageByEntityEvent
mixin templates
Implementation
properties
damager
doKnockback
isCritical
knockback