<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [server](./server.md) &gt; [EntityOptions](./server.entityoptions.md)

## EntityOptions type

The options for creating an `Entity` instance.

Use for: constructing an entity; choose `BlockEntityOptions` or `ModelEntityOptions`<!-- -->. Do NOT use for: mutating entity state after spawn; use entity setters and methods.

\*\*Category:\*\* Entities

**Signature:**

```typescript
export type EntityOptions = BlockEntityOptions | ModelEntityOptions;
```
**References:** [BlockEntityOptions](./server.blockentityoptions.md)<!-- -->, [ModelEntityOptions](./server.modelentityoptions.md)

