Skip to Content
⚠ Under Construction
ReferencePython APIendstone.damage

endstone.damage

Classes:

NameDescription
DamageSourceRepresents a source of damage.

DamageSource

Represents a source of damage.

Attributes:

NameTypeDescription
actorActorGet the actor that caused the damage to occur.
damaging_actorActorGet the actor that directly caused the damage.
is_indirectboolGet if this damage is indirect.
typestrGet the damage type.

actor

actor: Actor

Get the actor that caused the damage to occur.

damaging_actor

damaging_actor: Actor

Get the actor that directly caused the damage.

is_indirect

is_indirect: bool

Get if this damage is indirect.

type

type: str

Get the damage type.

Last updated on