This component is added to any entity when it is riding another entity.

Hierarchy (View Summary)

Constructors

Properties

entity: Entity

The entity that owns this component. The entity will be undefined if it has been removed.

entityRidingOn: Entity

The entity this entity is currently riding on.

This property can throw when used.

typeId: string

Identifier of the component.

componentId: "minecraft:riding" = 'minecraft:riding'

Methods