1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00:00

DOCS: replace Minetest -> Luanti, minetest. -> core. (#15292)

Co-authored-by: grorp <gregor.parzefall@posteo.de>
This commit is contained in:
Zughy 2024-10-22 23:05:41 +02:00 committed by GitHub
parent aa273119f2
commit d52e4cdbdb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 873 additions and 865 deletions

View file

@ -1,12 +1,12 @@
# Builtin Entities
Minetest registers two entities by default: Falling nodes and dropped items.
Luanti registers two entities by default: Falling nodes and dropped items.
This document describes how they behave and what you can do with them.
## Falling node (`__builtin:falling_node`)
This entity is created by `minetest.check_for_falling` in place of a node
This entity is created by `core.check_for_falling` in place of a node
with the special group `falling_node=1`. Falling nodes can also be created
artificially with `minetest.spawn_falling_node`.
artificially with `core.spawn_falling_node`.
Needs manual initialization when spawned using `/spawnentity`.
@ -81,7 +81,7 @@ Common cases that spawn a dropped item:
* Item dropped by player
* The root node of a node with the group `attached_node=1` is removed
* `minetest.add_item` is called
* `core.add_item` is called
Needs manual initialization when spawned using `/spawnentity`.