mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-11-22 18:39:46 +00:00
update doc/*/entity-properties.md, doc/*/scripting/builtins/libentities.md
This commit is contained in:
parent
283e3c041e
commit
aab363cfb7
4 changed files with 34 additions and 0 deletions
|
|
@ -41,6 +41,11 @@ entities.defs_count() -> int
|
|||
|
||||
```
|
||||
|
||||
```lua
|
||||
-- Table of custom entity properties (see ../../entity-properties.md)
|
||||
entities.properties: table<int, table<string, object>>
|
||||
```
|
||||
|
||||
> [!NOTE]
|
||||
> The following functions for retrieving multiple entities return tables with integer keys (uid).
|
||||
> For iteration, use `pairs`, and for calculating the table size, use `table.count_pairs`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue