1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-18 10:45:27 +02:00

Add minetest.bulk_swap_node (#15043)

Co-authored-by: sfan5 <sfan5@live.de>
This commit is contained in:
Elias Åström
2024-09-24 22:25:34 +02:00
committed by GitHub
parent d8f1daac25
commit f65fe80e81
5 changed files with 67 additions and 0 deletions

View File

@@ -65,6 +65,10 @@ private:
// pos = {x=num, y=num, z=num}
static int l_bulk_set_node(lua_State *L);
// bulk_swap_node([pos1, pos2, ...], node)
// pos = {x=num, y=num, z=num}
static int l_bulk_swap_node(lua_State *L);
static int l_add_node(lua_State *L);
// remove_node(pos)