Modules
| controls.lua | This module simply returns the controls mod as is. |
| debounce.lua | Returns a debounced version of a function. |
| debug.lua | |
| deferred_batch.lua | deferred_batch Creates a batch-style deferred handler for multiple asynchronous tasks. |
| emerge_node.lua | Ensure a node is loaded and call a callback with it. |
| extend_function.lua | Takes the original function and a callback that receives the old function and arguments. |
| extend_group.lua | Extend callbacks for all nodes in a specific group. |
| extend_item.lua | Extend callbacks of a registered node by wrapping them. |
| init.lua | Luanti init.lua for luanti_utils. |
| is_buildable_to.lua | Checks whether a node or position is buildable to. |
| migrate_inventory.lua | Migrate the player and node inventories Monkey patches the get_meta to swap out stacks. |
| migrate_node.lua | Migrate world nodes |
| mod_proxy.lua | Better feedback when mod does not exist or is not enabled. |
| modify_texture.lua | Modify texture |
| node_matches.lua | Predicate to check if a node name is part of a group or matches a name exactly. |
| node_on_player_walk.lua | Node extension to support walk-related callbacks based on player position. |
| noop.lua | A function that does nothing. |
| on_server_idle.lua | Run tasks when the server is idle (spread work across globalsteps). |
| on_server_idle_each.lua | Iterate over a table in small increments during server idle frames. |
| on_server_idle_filter.lua | Filter a table in small increments during server idle frames. |
| on_server_idle_map.lua | Map over a table in small increments during server idle frames. |
| on_server_idle_reduce.lua | Reduce a table asynchronously using idle callbacks. |
| persistent_queue.lua | Persistent FIFO queue backed by Luanti ModStorage. |
| queue.lua | Simple FIFO queue implementation. |
| random_vector_direction.lua | randomvectordirection Compatibility issue I ran into. |
| random_each.lua | More efficient loops over random set of items. |
| register_decoration.lua | Wraps the register decoration and makes it easier to use gennotify. |
| register_node_copy.lua | Re-use existing node definitions and build ontop of them. |
| register_on_player_walk.lua | Global player walk callbacks This module allows other modules to register callbacks that run whenever a player moves from one node to another. |
| register_timer.lua | |
| table_lookup.lua | Get values by key or value. |
| table_merge.lua | Merges two tables without mutating them |
| wallmounted_to_facedir.lua | Convert wallmounted to facedir and back param2 |
Topics
| README.md |