Class EntityRidingComponentBeta

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

Hierarchy

Constructors

Properties

entity: Entity

Remarks

The entity that owns this component.

entityRidingOn: Entity

Remarks

The entity this entity is currently riding on.

Throws

This property can throw when used.

typeId: string

Remarks

Identifier of the component.

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

Remarks

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