minetest.register_node("buildtest:glass_pipe", {
description = "Glass Pipe",
tiles = {"glass_pipe.png"},
- groups = {stone = 1, hard = 1, pickaxe = 1, hand = 4},
+ groups = {glass = 1},
sounds = main.stoneSound(),
drawtype = "nodebox",
paramtype = "light",
},
connect_right = {
{-3/16,-3/16,-3/16,8/16,3/16,3/16}
- },
-
-
+ },
connect_front = {
{-3/16,-3/16,-8/16,3/16,3/16,3/16}
},
},
},
})
+
+minetest.register_craft({
+ output = "buildtest:glass_pipe 20",
+ recipe = {
+ {"main:glass","","main:glass"},
+ {"main:glass","","main:glass"},
+ {"main:glass","","main:glass"},
+ }
+})