hytopia
Version:
The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.
78 lines (36 loc) • 1.31 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [server](./server.md) > [BlockEntityOptions](./server.blockentityoptions.md)
## BlockEntityOptions interface
The options for creating a block entity.
**Signature:**
```typescript
export interface BlockEntityOptions extends BaseEntityOptions
```
**Extends:** [BaseEntityOptions](./server.baseentityoptions.md)
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[blockHalfExtents?](./server.blockentityoptions.blockhalfextents.md)
</td><td>
</td><td>
[Vector3Like](./server.vector3like.md)
</td><td>
_(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.
</td></tr>
<tr><td>
[blockTextureUri?](./server.blockentityoptions.blocktextureuri.md)
</td><td>
</td><td>
string
</td><td>
_(Optional)_ The texture uri of a entity if the entity is a block entity, if set rigidBodyOptions collider shape \[0\] must be a block
</td></tr>
</tbody></table>