minetest.register_on_generated(function(minp, maxp, seed)
local debug = "minp="..(minetest.pos_to_string(minp))..", maxp="..(minetest.pos_to_string(maxp))..", seed="..seed
print(debug)
minetest.chat_send_all(debug)
end)
The output was quite strange though.
minp=(0,0,0), maxp=(15,15,15), seed=0
minp=(0,0,0), maxp=(15,15,15), seed=0
minp=(0,0,0), maxp=(15,15,15), seed=0
minp=(-30832,-112,30768), maxp=(-30753,-33,30847), seed=782612992
minp=(-30832,-112,30848), maxp=(-30753,-33,30927), seed=3833351712
minp=(-30832,48,30768), maxp=(-30753,127,30847), seed=789352672
minp=(0,0,0), maxp=(15,15,15), seed=0
minp=(0,0,0), maxp=(15,15,15), seed=0
minp=(0,0,0), maxp=(15,15,15), seed=0
minp=(0,0,0), maxp=(15,15,15), seed=0
minp=(0,0,0), maxp=(15,15,15), seed=0
minp=(0,0,0), maxp=(15,15,15), seed=0
minp=(0,0,0), maxp=(15,15,15), seed=0
minp=(0,0,0), maxp=(15,15,15), seed=0
minp=(-30832,-32,30688), maxp=(-30753,47,30767), seed=2030211408
minp=(0,0,0), maxp=(15,15,15), seed=0
minp=(-30912,-32,30688), maxp=(-30833,47,30767), seed=2030209568
minp=(0,0,0), maxp=(15,15,15), seed=0
minp=(0,0,0), maxp=(15,15,15), seed=0
minp=(-30832,48,30688), maxp=(-30753,127,30767), seed=2033581248
minp=(-30832,-112,30688), maxp=(-30753,-33,30767), seed=2026841568
The seed keeps changing, which I imagine is because the seed used by the function is some permutation to the coordinates and the world seed or something. But almost every line is "minp=(0,0,0), maxp=(15,15,15), seed=0" (My exert doesn't show that, but about 90% of the time, that's the line that is displayed.) Is there some reason why it keeps trying to edit the center map chunk? I'm at the edge of the world (to insure new chunks are generated) and the most common coordinates are still positioned in the spawn area.