UNPKG

hytopia

Version:

The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.

50 lines (24 loc) 704 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [server](./server.md) &gt; [BlockType](./server.blocktype.md) &gt; [(constructor)](./server.blocktype._constructor_.md) ## BlockType.(constructor) Creates a new block type instance. **Signature:** ```typescript constructor(options?: BlockTypeOptions); ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> options </td><td> [BlockTypeOptions](./server.blocktypeoptions.md) </td><td> _(Optional)_ The options for the block type. </td></tr> </tbody></table>