From 8e3a85546cd11505ee79d4f5d3838f0972ffc307 Mon Sep 17 00:00:00 2001 From: tenplus1 Date: Sat, 1 Oct 2022 07:17:07 +0100 Subject: [PATCH] api.txt updated with mapgen_dirt entry --- api.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/api.txt b/api.txt index cae7a6f..db28996 100644 --- a/api.txt +++ b/api.txt @@ -6,6 +6,17 @@ Welcome to the world of mobs in minetest and hopefully an easy guide to defining your own mobs and having them appear in your worlds. +Quick Note +---------- + +Since the mobs redo api checks for nodes around the mob to function, it relies on a +default node incase anything goes wrong, so in the default game this is default:dirt +but for any custom game please make sure the following line is registered with your +preferred dirt node of choice: + +minetest.register_alias("mapgen_dirt", "mymod:my_dirt_node") + + Registering Mobs ----------------