Protected constructorReadonly controllingZero-based index of the seat that can used to control this entity.
This property can throw when used.
Readonly crouchingDetermines whether interactions are not supported if the entity is crouching.
This property can throw when used.
Readonly familyA string-list of entity types that this entity can support as riders.
This property can throw when used.
Readonly interactSet of text that should be displayed when a player is looking to ride on this entity (commonly with touch-screen controls).
This property can throw when used.
Readonly pullIf true, this entity will pull in entities that are in the correct family_types into any available seat.
This property can throw when used.
Readonly riderIf true, this entity will be picked when looked at by the rider.
This property can throw when used.
Readonly seatNumber of seats for riders defined for this entity.
This property can throw when used.
Readonly seatsThe list of positions and number of riders for each position for entities riding this entity.
This property can throw when used.
Readonly typeIdentifier of this component. Should always be minecraft:rideable.
Static Readonly componentIdentifier of this component. Should always be minecraft:rideable.
Entity that will become the rider of this entity.
True if the rider entity was successfully added.
Adds an entity to this entity as a rider.
This function can throw errors.
Entity that should be ejected from this entity.
Ejects the specified rider of this entity.
This function can throw errors.
When added, this component adds the capability that an entity can be ridden by another entity.