Skip to content

@minecraft/server


@minecraft/server / Seat

Class: Seat ​

Defined in: @minecraft/server/index.d.ts:19601

Describes a particular seating position on this rideable entity.

Properties ​

lockRiderRotation ​

readonly lockRiderRotation: number

Defined in: @minecraft/server/index.d.ts:19609

Remarks ​

Angle in degrees that a rider is allowed to rotate while riding this entity.


maxRiderCount ​

readonly maxRiderCount: number

Defined in: @minecraft/server/index.d.ts:19615

Remarks ​

A maximum number of riders that this seat can support.


minRiderCount ​

readonly minRiderCount: number

Defined in: @minecraft/server/index.d.ts:19622

Remarks ​

A minimum number of riders that can be placed in this seat position, if this seat is to be filled.


position ​

readonly position: Vector3

Defined in: @minecraft/server/index.d.ts:19629

Remarks ​

Physical location of this seat, relative to the entity's location.


seatRotation ​

readonly seatRotation: number

Defined in: @minecraft/server/index.d.ts:19635

Remarks ​

Angle in degrees to rotate riders by.