Skip to content

Commit

Permalink
builtin_entities.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Zughy committed Oct 14, 2024
1 parent dcdc8f5 commit 4e0cc09
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/builtin_entities.md
Original file line number Diff line number Diff line change
@@ -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`.

Expand Down Expand Up @@ -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`.

Expand Down

0 comments on commit 4e0cc09

Please sign in to comment.