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
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
Position
Position of this mountable
EntityPos Position { get; }
Property Value
Seats
The seats of this mountable
IMountableSeat[] Seats { get; }
Property Value
Methods
AnyMounted()
bool AnyMounted()