Damage
endstone.damage
¶
Classes:
Name | Description |
---|---|
DamageSource |
Represents a source of damage. |
DamageSource
¶
Represents a source of damage.
Attributes:
Name | Type | Description |
---|---|---|
actor |
Actor
|
Get the actor that caused the damage to occur. |
damaging_actor |
Actor
|
Get the actor that directly caused the damage. |
is_indirect |
bool
|
Get if this damage is indirect. |
type |
str
|
Get the damage type. |