Skip to content

API reference Obsidian.API

IRideableJumping interface

A rideable mob its rider makes leap, like vanilla's PlayerRideableJumping: a camel's or nautilus's dash.

public interface IRideableJumping : IRideable, IEntity, IAttachmentHolder

In Obsidian.API.

Methods

RequestJump(IPlayer, int)

bool RequestJump(IPlayer rider, int charge);

Asks for a leap on the mob's next tick, with the charge from 0 to 100 that the rider built up holding jump.

Returns

Whether rider is its rider and the mob can leap.

On this page