Modding Discussion • Re: Liquid Rendering Issue
Luanti Forums - Index page [Unofficial]
April 16, 2026
Thank you for the response. I tried adding more lines for the special tiles table, and that did not appear to change anything.
Code:
core.register_node('mossworld:sludge_source', { description = 'Sludge', drawtype = "liquid", tiles = { 'mossworld_sludge.png' }, special_tiles = { {name = "mossworld_sludge_source_animated.png",backface_culling = false,animation = {type = "vertical_frames",aspect_w = 16,aspect_h = 16,length = 3.0,}, name = "mossworld_sludge_source_animated.png",backface_culling = true,animation = {type = "vertical_frames",aspect_w = 16,aspect_h = 16,length = 3.0,}, name = "mossworld_sludge_source_animated.png",backface_culling = false,animation = {type = "vertical_frames",aspect_w = 16,aspect_h = 16,length = 3.0,}, name = "mossworld_sludge_source_animated.png",backface_culling = true,animation = {type = "vertical_frames",aspect_w = 16,aspect_h = 16,length = 3.0,}, name = "mossworld_sludge_source_animated.png",backface_culling = false,animation = {type = "vertical_frames",aspect_w = 16,aspect_h = 16,length = 3.0,}, name = "mossworld_sludge_source_animated.png",backface_culling = true,animation = {type = "vertical_frames",aspect_w = 16,aspect_h = 16,length = 3.0,},},}, groups = { oddly_breakable_by_hand = 3 }, is_ground_content = false, walkable = false, pointable = false, drop = "", paramtype = "light", liquid_viscocity = 7, liquidtype = "source", liquid_range = 2, liquid_move_physics = true, drowning = 1, waving = 3, groups = {sludge = 3, liquid = 2}, post_effect_color = {a = 200,"#5d4336"}, liquid_alternative_flowing = "mossworld:sludge_flowing",liquid_alternative_source = "mossworld:sludge_source"})core.register_node('mossworld:sludge_flowing', { description = 'Sludge', drawtype = "flowingliquid", tiles = { 'mossworld_sludge.png''}, special_tiles = { {name = "mossworld_sludge_source_animated.png",backface_culling = false,animation = {type = "vertical_frames",aspect_w = 16,aspect_h = 16,length = 3.3,},name = "mossworld_sludge_source_animated.png",backface_culling = true,animation = {type = "vertical_frames",aspect_w = 16,aspect_h = 16,length = 3.3,}, name = "mossworld_sludge_source_animated.png",backface_culling = false,animation = {type = "vertical_frames",aspect_w = 16,aspect_h = 16,length = 3.3,},name = "mossworld_sludge_source_animated.png",backface_culling = true,animation = {type = "vertical_frames",aspect_w = 16,aspect_h = 16,length = 3.3,}, name = "mossworld_sludge_source_animated.png",backface_culling = false,animation = {type = "vertical_frames",aspect_w = 16,aspect_h = 16,length = 3.3,},name = "mossworld_sludge_source_animated.png",backface_culling = true,animation = {type = "vertical_frames",aspect_w = 16,aspect_h = 16,length = 3.3,}},}, groups = { oddly_breakable_by_hand = 3 }, is_ground_content = false, walkable = false, pointable = false, drop = "", liquid_viscocity = 7, liquidtype = "flowing", liquid_range = 2, paramtype2 = "flowingliquid", liquid_move_physics = true, drowning = 1, waving = 3, groups = {sludge = 3, liquid = 2}, post_effect_color = {a = 200,"#5d4336"}, liquid_alternative_flowing = "mossworld:sludge_flowing",liquid_alternative_source = "mossworld:sludge_source"})
yo bro..
Heres an extract from my Liquids Mod, its animated.
Code:
minetest.register_node("liquids:blood", { description = ("Blood"), drawtype = "liquid", waving = 3, tiles = { { name = "default_blood_flowing_animated.png", backface_culling = false, animation = { type = "vertical_frames", aspect_w = 16, aspect_h = 16, length = 5.0, }, }, { name = "default_blood_flowing_animated.png", backface_culling = true, animation = { type = "vertical_frames", aspect_w = 16, aspect_h = 16, length = 5.0, }, }, }, use_texture_alpha = "blend", paramtype = "light", walkable = false, pointable = false, diggable = false, buildable_to = true, is_ground_content = false, drop = "", drowning = 1, liquidtype = "source", liquid_alternative_flowing = "liquids:blood_flowing", liquid_alternative_source = "liquids:blood", liquid_viscosity = 1, post_effect_color = {a = 120, r = 145, g = 20, b = 20}, groups = {water = 3, liquid = 3, cools_lava = 1}, sounds = default.node_sound_water_defaults(),})minetest.register_node("liquids:blood_flowing", { description = ("Flowing Blood"), drawtype = "flowingliquid", waving = 3, tiles = {"default_blood.png"}, special_tiles = { { name = "default_blood_flowing_animated.png", backface_culling = false, animation = { type = "vertical_frames", aspect_w = 16, aspect_h = 16, length = 6, }, }, { name = "default_blood_flowing_animated.png", backface_culling = true, animation = { type = "vertical_frames", aspect_w = 16, aspect_h = 16, length = 6, }, }, }, use_texture_alpha = "blend", paramtype = "light", paramtype2 = "flowingliquid", walkable = false, pointable = false, diggable = false, buildable_to = true, is_ground_content = false, drop = "", damage_per_second = 0, heal_per_second = 50, drowning = 1, liquidtype = "flowing", liquid_alternative_flowing = "liquids:blood_flowing", liquid_alternative_source = "liquids:blood", liquid_viscosity = 1, post_effect_color = {a = 120, r = 145, g = 20, b = 20}, groups = {water = 3, liquid = 3, not_in_creative_inventory = 1, cools_lava = 0}, sounds = default.node_sound_water_defaults(),})
But... Change it to your mod name.
https://github.com/N-nec/liquids.git ... <---- a link to my mod.. look at the sewage, its similar to your one.
Statistics: Posted by L-Dog — Thu Apr 16, 2026 00:20
Discussion in the ATmosphere