Deals damage to the given entity. Successor to InnerCore's Entity.damageEntity method, but with wider additional parameters object.
unique ID of the entity to deal damage to
amount of damage (2 damage points = 1 heart)
numeric ID of the damage cause, can be one of KEX.EDamageCause values, or CustomCause.id field
additional parameters object
whether the damage type of given numeric ID is a fire damage type
Generated using TypeDoc
Module to register new entity damage sources and death causes, also containing new method to deal damage to the entity, with wider parameters object than in InnerCore's Entity.damageEntity method.
3.0