Closed asl97 closed 9 years ago
which mapgen version?
mapgen: v6
main post updated
strange… when l enable moreblocks it works again and when l make the snow mod become loaded after technic_worldgen it also works
enabling moreblocks doesn't do anything for me but i did notice that making snow load after technic_worldgen does work
although i don't know if the ores from the worldgen still exist though
maybe somewhere is a depends.txt problem, e.g. two mods depending on each other
this seem more like the (old?) snow + plantlib problem
it couldn't be a depends.txt problem though, technic_worldgen doesn't depend on anything other than default, intllib?, mg?
now it's just a matter of waiting for someone to push https://github.com/minetest-technic/technic/pull/229
l don't think that this is the problem https://github.com/HybridDog/sumpf/blob/master/sumpf/mapgen.lua#L214
it works when i put it the same as what is use in the v6 though https://github.com/Splizard/minetest-mod-snow/blob/master/src/mapgen_v6.lua#L91
l think if vm:read_from_map is used for emin and emax the area is not complete because else emin and emax expand 16 nodes further. And l think @paramat knows more about this. Does it work if emin and emax of minetest.get_voxel_manip() is used in mapgen_v6.lua?
i tried putting some print before https://github.com/HybridDog/sumpf/blob/master/sumpf/mapgen.lua#L214 and notice that it doesn't always enter it.
i really thought putting sumpf.always_generate = true
would stop it from working but it didn't
this is weird...
also, what do you mean by Does it work if emin and emax of minetest.get_voxel_manip() is used in mapgen_v6.lua?
?
i really thought putting sumpf.always_generate = true would stop it from working but it didn't
https://github.com/HybridDog/sumpf/blob/master/sumpf/mapgen.lua#L154 swamps are generated only in specific heights
also, what do you mean by Does […]
l mean doing it the other way round, changing mapgen_v6.lua instead of oregen.lua
it seem to work, but it still is weird.
why does snow work with sumpf and not technic_worldgen even after commenting out the height filter?
ldk, it might have something to do with the order the minetest.register_on_generated are called
maybe minetest.get_mapgen_object needs to be used for the snow mod that calc_lighting works
Edit: it's not only necessary for calc_lighting
ok, using the mapgen voxelmanip object fixes the problem l think @asl97 thanks a lot for reporting the bug and please tell me if the fix didn't work
when technic_worldgen is enable along with snow, the snow biome doesn't generate.