- attackImpl
void attackImpl(EntityDamageEvent event)
Undocumented in source. Be warned that the author may not have intended to support it.
- despawn
void despawn()
Undocumented in source. Be warned that the author may not have intended to support it.
- die
void die()
Undocumented in source. Be warned that the author may not have intended to support it.
- exhaust
void exhaust(float amount)
Undocumented in source. Be warned that the author may not have intended to support it.
- experienceUpdated
void experienceUpdated()
Undocumented in source. Be warned that the author may not have intended to support it.
- firstspawn
void firstspawn()
Undocumented in source. Be warned that the author may not have intended to support it.
- healthUpdated
void healthUpdated()
Undocumented in source. Be warned that the author may not have intended to support it.
- hungerUpdated
void hungerUpdated()
Undocumented in source. Be warned that the author may not have intended to support it.
- onCollect
bool onCollect(Collectable collectable)
Undocumented in source. Be warned that the author may not have intended to support it.
- respawn
void respawn()
Undocumented in source. Be warned that the author may not have intended to support it.
- saturate
void saturate(float amount)
Undocumented in source. Be warned that the author may not have intended to support it.
- tick
void tick()
Undocumented in source. Be warned that the author may not have intended to support it.
- canAttack
bool canAttack [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- despawnAfter
tick_t despawnAfter [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- experience
float experience [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- experience
float experience [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
- hunger
uint hunger [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- hunger
uint hunger [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
- level
uint level [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- level
uint level [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
- saturation
float saturation [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- spawn
EntityPosition spawn [@property getter]
- spawn
EntityPosition spawn [@property setter]
BlockPosition spawn [@property setter]
- spawned
bool spawned [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- type
string type [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- m_health
Health m_health;
Undocumented in source.
- effects
Effect[ubyte] effects;
Undocumented in source.
- immortal
bool immortal;
Undocumented in source.
- last_received_attack
tick_t last_received_attack;
Undocumented in source.
- last_void_damage
tick_t last_void_damage;
Undocumented in source.
- tick
void tick()
Undocumented in source. Be warned that the author may not have intended to support it.
- speed
float speed [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- health
uint health [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- health
uint health [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
- maxHealth
uint maxHealth [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- maxHealth
uint maxHealth [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
- healthNoAbs
uint healthNoAbs [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- maxHealthNoAbs
uint maxHealthNoAbs [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- absorption
uint absorption [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- maxAbsorption
uint maxAbsorption [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- healthUpdated
void healthUpdated()
Undocumented in source. Be warned that the author may not have intended to support it.
- validateAttack
bool validateAttack(EntityDamageEvent event)
Undocumented in source. Be warned that the author may not have intended to support it.
- attackImpl
void attackImpl(EntityDamageEvent event)
Undocumented in source. Be warned that the author may not have intended to support it.
- callDeathEvent
EntityDeathEvent callDeathEvent(EntityDamageEvent last)
Undocumented in source. Be warned that the author may not have intended to support it.
- heal
void heal(EntityHealEvent event)
Undocumented in source. Be warned that the author may not have intended to support it.
- alive
bool alive [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- dead
bool dead [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- die
void die()
Die and send the packets to the viewers
- despawnAfter
tick_t despawnAfter [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- addEffect
bool addEffect(sul.effects.Effect effect, ubyte level, tick_t duration, Living thrower)
Adds an effect to the entity.
- addEffect
bool addEffect(Effect effect)
Undocumented in source. Be warned that the author may not have intended to support it.
- onEffectAdded
void onEffectAdded(Effect effect, bool modified)
Undocumented in source. Be warned that the author may not have intended to support it.
- opBinaryRight
Effect* opBinaryRight(ubyte id)
Effect* opBinaryRight(sul.effects.Effect effect)
Gets a pointer to an effect.
- removeEffect
bool removeEffect(sul.effects.Effect effect)
bool removeEffect(ubyte effect)
Removes an effect from the entity.
- onEffectRemoved
void onEffectRemoved(Effect effect)
Undocumented in source. Be warned that the author may not have intended to support it.
- clearEffects
bool clearEffects()
- recalculateColors
void recalculateColors()
Undocumented in source. Be warned that the author may not have intended to support it.
- recalculateSpeed
void recalculateSpeed()
Undocumented in source. Be warned that the author may not have intended to support it.
- potionColor
Color potionColor [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
- potionAmbient
bool potionAmbient [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.