Jordan Irwin
2c127af4af
Use "register_lbm" with "run_at_every_load" instead of...
..."register_abm" to save resources. Suggested by bell07: https://forum.minetest.net/viewtopic.php?p=325519#p325519
Cleaner mod for Minetest
Description:
A Minetest mod that can be used to remove/replace unknown entities, nodes, & items. Forked from PilzAdam's clean mod.
Licensing:
Requirements:
- Minetest 0.4.16 or newer
- Depends: none
Usage:
There are three files in the world path that can be edited: clean_entities.json
, clean_nodes.json
, & clean_items.json
. If they do not already exist with the server is started they will be created automatically.
They are formatted as follows:
{
"remove":
[
"creatures:ghost",
"creatures:chicken",
"creatures:sheep",
"creatures:skeleton",
"creatures:zombie",
"creatures:oerkki",
"creatures:shark",
],
"replace":
{
"biofuel:biofuel":"default:leaves",
"helicopter:heli":"default:copper_lump",
"spawneggs:ghost":"alternode:key",
"spawneggs:oerkki":"default:mese_crystal",
"unifieddyes:airbrush":"default:coal_lump",
},
}
remove
key works for nodes & entities. replace
key works for nodes & items. Their functions are self-explanatory.
Links:
Description
Languages
Lua
86.6%
Shell
9.5%
Python
3.9%