hytopia
Version:
The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.
134 lines (59 loc) • 1.51 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [server](./server.md) > [BlockTypeOptions](./server.blocktypeoptions.md)
## BlockTypeOptions interface
Options for creating a block type instance.
**Signature:**
```typescript
export interface BlockTypeOptions
```
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[customColliderOptions?](./server.blocktypeoptions.customcollideroptions.md)
</td><td>
</td><td>
[TrimeshColliderOptions](./server.trimeshcollideroptions.md)
</td><td>
_(Optional)_ The custom collider options for the block type.
</td></tr>
<tr><td>
[id](./server.blocktypeoptions.id.md)
</td><td>
</td><td>
number
</td><td>
The unique numeric identifier for the block type.
</td></tr>
<tr><td>
[isLiquid?](./server.blocktypeoptions.isliquid.md)
</td><td>
</td><td>
boolean
</td><td>
_(Optional)_ Whether the block type is a liquid.
</td></tr>
<tr><td>
[name](./server.blocktypeoptions.name.md)
</td><td>
</td><td>
string
</td><td>
The name of the block type.
</td></tr>
<tr><td>
[textureUri](./server.blocktypeoptions.textureuri.md)
</td><td>
</td><td>
string
</td><td>
The URI of the texture asset for the block type.
</td></tr>
</tbody></table>