I have another problem. This time I try to create a liquid, but I get error messages that I don't understand. The error message is: "ERROR[Server]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "air" at (-2,9,-33) (block (-1,0,-3))". Do you know how to fix it?
Code: Select all
minetest.register_node(
'tutorial:mywater',
{
description='MyWater',
drawtype='liquid',
paramtype='light',
inventory_image=minetest.inventorycube('tutorial_mywater.png'),
tiles={
{
name='tutorial_mywater_source_animated.png',
animation={
type='vertical_frames',
aspect_w=16,
aspect_h=16,
length=2.0
}
}
},
special_tiles={
{
name='tutorial_mywater_source_animated.png',
animation={
type='vertical_frames',
aspect_w=16,
aspect_h=16,
length=2.0,
},
backface_culling=false
}
},
walkable=false,
pointable=false,
diggable=false,
buildable_to=true,
alpha=160,
drowning=1,
liquidtype='source',
liquid_alterntative_flowing='tutorial:mywater_flowing',
liquid_alternativ_source='tutorial:mywater',
liquid_viscosity=WATER_VISC,
liquid_range=8,
post_effect_color={a=64, r=100, g=100, b=200}
}
)
minetest.register_node(
'tutorial:mywater_flowing',
{
description='Flowing MyWater',
drawtype='flowingliquid',
tiles={'tutorial_mywater.png'},
special_tiles={
{
name='tutorial_mywater_flowing_animated.png',
backface_culling=false,
animation={
type='vertical_frames',
aspect_w=16,
aspect_h=16,
length=0.8
}
},
{
name='tutorial_mywater_flowing_animated.png',
backface_culling=true,
animation={
type='vertical_frames',
aspect_w=16,
aspect_h=16,
length=0.8
}
}
},
alpha=160,
paramtype='light',
paramtype2='flowingliquid',
walkable=false,
pointable=false,
diggable=false,
buildable_to=true,
is_groud_content=false,
drop='',
drowning=1,
liquidtype='flowing',
liquid_alternative_flowing='tutorial:mywater_flowing',
liquid_alternative_source='tutorial:mywater',
liquid_viscosity=1,
post_effect_color={a=64, r=100, g=100, b=200},
groups={
water=3,
liquid=3,
puts_out_fire=1,
not_in_creative_inventory=1,
cools_lava=1
}
}
)