Skip to content

API reference Obsidian.API

IRideable interface

A mob players ride and steer, like vanilla's PlayerRideable. A player boards it through IEntity.StartRiding, or by interacting with it once it's ready, like a saddled pig.

public interface IRideable : IEntity, IAttachmentHolder

In Obsidian.API.

Properties

Rider

IPlayer Rider { get; }

The player in the controlling seat, or null when nobody or a non-player sits there.

On this page