selery v0.1.1 (2018-02-09T09:47:44Z)
Dub
Repo
Living.removeEffect
selery
entity
living
Living
Removes an effect from the entity.
bool
removeEffect
(sul.effects.Effect effect)
class
Living
bool
removeEffect
(
sul.effects.Effect
effect
)
bool
removeEffect
(ubyte effect)
Return Value
Type:
bool
whether the effect has been removed
Meta
Source
See Implementation
selery
entity
living
Living
constructors
this
functions
addEffect
attackImpl
callDeathEvent
clearEffects
die
heal
healthUpdated
onEffectAdded
onEffectRemoved
opBinaryRight
recalculateColors
recalculateSpeed
removeEffect
tick
validateAttack
properties
absorption
alive
dead
despawnAfter
health
healthNoAbs
maxAbsorption
maxHealth
maxHealthNoAbs
potionAmbient
potionColor
speed
variables
effects
immortal
last_received_attack
last_void_damage
m_health
Removes an effect from the entity.