Skip to content

Actor

endstone.actor

Actor

Bases: CommandSender

Represents a base actor in the level.

is_in_lava property

is_in_lava: bool

Returns true if the actor is in lava.

is_in_water property

is_in_water: bool

Returns true if the actor is in water.

is_on_ground property

is_on_ground: bool

Returns true if the actor is supported by a block, i.e. on ground.

level property

level: Level

Gets the current Level this actor resides in.

location property

location: Location

Gets the actor's current position.

runtime_id property

runtime_id: int

Returns the runtime id for this actor.

velocity property

velocity: Vector

Gets this actor's current velocity.