Seems to almost work: can be walked through, can be "climbed", looks like water...however...right now it might be more of a fun item: it makes floor and wall transparent from the water-side. Funny effect. How do I get the first block that isn't water to be drawn?
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("mcimport:stationary_water", {
description = "Stationary water for building",
inventory_image = minetest.inventorycube("default_water.png"),
--drawtype = "flowingliquid",
tiles ={"default_water.png"},
special_tiles = {
{name="default_water.png", backface_culling=false},
{name="default_water.png", backface_culling=true},
},
alpha = WATER_ALPHA,
paramtype = "light",
walkable = false,
pointable = false,
diggable = false,
buildable_to = true,
climbable = true,
post_effect_color = {a=64, r=100, g=100, b=200},
groups = {},
})