Table of Contents

Interface IMountable

Namespace
Vintagestory.API.Common
Assembly
VintagestoryAPI.dll

Represents something the player can mount. Usually a block or an entity.

public interface IMountable
Extension Methods

Properties

Controller

The entity that controls this mountable - there can only be one

Entity Controller { get; }

Property Value

Entity

OnEntity

The entity which this mountable really is (for example raft, boat or elk) - may be null if the IMountable is a bed or other block

Entity OnEntity { get; }

Property Value

Entity

Position

Position of this mountable

EntityPos Position { get; }

Property Value

EntityPos

Seats

The seats of this mountable

IMountableSeat[] Seats { get; }

Property Value

IMountableSeat[]

Methods

AnyMounted()

bool AnyMounted()

Returns

bool