Script API - v1.20.0
    Preparing search index...

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

    Hierarchy (View Summary)

    Index

    Properties

    entity: Entity

    The entity that owns this component.

    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'

    Identifier of this component. Should always be minecraft:riding.