2 liquid tricks

^ Source node spawns surroounding source nodes, unlimited horizontal liquid spread.
Here testing swampwater, for default:water you would use this line in node definition:
liquid_alternative_flowing = "default:water_source"

^ Liquids can be contained by nodes with ' drawtype = "airlike" '. Airlike nodes are invisible and can be walked through, you can also disable the selection box with 'pointable = false'. Example node:
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
minetest.register_node("paragenv7:airlike", {
drawtype = "airlike",
tiles = {""},
paramtype = "light",
sunlight_propagates = true,
walkable = false,
pointable = true,
diggable = false,
buildable_to = true,
groups = {not_in_creative_inventory=1},
})