mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
* Provide tool and digger to get_node_drops This gives games/mods the ability to modify node drops depending on item and/or player metadata without overriding node_dig or other workarounds. * Copy wielded item to prevent modification in get_node_drops * Also pass node pos to get_node_drops Allowing properties of the node and its surroundings to affect node drops. * Copy pos to prevent modification in get_node_drops Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com> * Don't pass empty item stack to get_node_drops if wielded is nil --------- Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com> |
||
---|---|---|
.. | ||
compiling | ||
developing | ||
ides | ||
mkdocs | ||
android.md | ||
breakages.md | ||
builtin_entities.md | ||
client_lua_api.md | ||
direction.md | ||
docker_server.md | ||
Doxyfile.in | ||
fst_api.txt | ||
lgpl-2.1.txt | ||
lua_api.md | ||
lua_api.txt | ||
luanti.6 | ||
luantiserver.6 | ||
main_page.dox | ||
menu_lua_api.md | ||
mod_channels.png | ||
protocol.txt | ||
texture_packs.md | ||
world_format.md |