Experimental implementation
Some examples (working ones):
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
_("default:dirt"):on("place", function(me)
me:name("default:dirt_with_grass")
end)
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
_({0, 0, 0}, {1, 1, 1}):name("air")
Also see an example mod.
To use stress in your mods just depend on it — add
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
stress
to depends.txt
Try not to distribute stress with your mods, instead, link to my github repo.