Skip to content

Latest commit

 

History

History
77 lines (36 loc) · 1.28 KB

File metadata and controls

77 lines (36 loc) · 1.28 KB

Home > server > BlockEntityOptions

BlockEntityOptions interface

The options for creating a block entity.

Signature:

export interface BlockEntityOptions extends BaseEntityOptions 

Extends: BaseEntityOptions

Properties

Property

Modifiers

Type

Description

blockHalfExtents?

Vector3Like

(Optional) The half extents of the visual size of the block entity when blockTextureUri is set. If no rigidBodyOptions.colliders are provided, a block collider with the size of the half extents will be created.

blockTextureUri?

string

(Optional) The texture uri of a entity if the entity is a block entity, if set rigidBodyOptions collider shape [0] must be a block