entity.components
Overview
- List all component type names attached to an entity.
Metadata
| Field | Value |
|---|---|
| Display | Entity Components |
| Category | entity |
| Access | UserCheat |
| Scope | B2Authority |
| Tags | — |
| Aliases | EntityComponents |
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| entity_id | entityId | no | — | Target entity ID (default: possessed) |
Returns
- Return shape is not declared for this command.
Usage
await inzoi.cli.execute('entity.components', {
entity_id: 0, // optional
});