Skip to content

API reference Obsidian.API

IItemSteerable interface

A rideable mob its rider speeds up with an item on a stick, like vanilla's ItemSteerable: a pig with a carrot on a stick, or a strider with a warped fungus on a stick.

public interface IItemSteerable : IRideable, IEntity, IAttachmentHolder

In Obsidian.API.

Properties

BoostItemDamage

int BoostItemDamage { get; }

How much a boost wears the steering item.

SteeringItem

Item SteeringItem { get; }

The item the rider steers and boosts the mob with.

Methods

Boost(IPlayer)

bool Boost(IPlayer rider);

Speeds the mob up for a while.

Returns

Whether rider is its rider and it wasn't speeding already.

On this page