mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
Update libentities.md
This commit is contained in:
parent
26613b8741
commit
8caa536a6a
1 changed files with 2 additions and 1 deletions
|
|
@ -15,7 +15,8 @@ entities.get(uid: int) -> table
|
|||
-- prefix - component pack id
|
||||
-- name - component name
|
||||
-- component prefix and name are separated with two underscores
|
||||
entities.spawn(name: str, pos: vec3, [optional] args: table)
|
||||
-- Returns an entity object
|
||||
entities.spawn(name: str, pos: vec3, [optional] args: table) -> table
|
||||
|
||||
-- Checks the existence of an entity by a unique identifier.
|
||||
entities.exists(uid: int) -> bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue