Skip to content

@minecraft/server


@minecraft/server / CameraAttachOptions

Interface: CameraAttachOptions ​

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

Used to attach the camera to a non player entity.

Properties ​

entity ​

entity: Entity

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

Remarks ​

Set a non player entity for the camera to target.


locator ​

locator: EntityAttachPoint

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

Remarks ​

The location of the entity that you want to target (eg. head, feet, eyes).