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. |
actor
actor: ActorGet the actor that caused the damage to occur.
damaging_actor
damaging_actor: ActorGet the actor that directly caused the damage.
is_indirect
is_indirect: boolGet if this damage is indirect.
type
type: strGet the damage type.
Last updated on