Skip to content

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.

actor property

actor: Actor

Get the actor that caused the damage to occur.

damaging_actor property

damaging_actor: Actor

Get the actor that directly caused the damage.

is_indirect property

is_indirect: bool

Get if this damage is indirect.

type property

type: str

Get the damage type.