summaryrefslogtreecommitdiff
path: root/solidcolor/init.lua
blob: 03343403bfb4046e1f4bd5c54471b0395ece9c90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
minetest.register_node("solidcolor:block", {
	description = "Solid Color Block",
	tiles = {"solidcolor_white.png"},
	is_ground_content = false,
	groups = {dig_immediate=2,ud_param2_colorable=1},
	sounds = (default and default.node_sound_stone_defaults()),
	paramtype2 = "color",
	palette = "unifieddyes_palette.png",
	after_dig_node = unifieddyes.after_dig_node,
})

minetest.register_craft( {
        output = "solidcolor:block",
        recipe = {
                { "dye:white", "dye:white"},
                { "dye:white", "dye:white"},
        },
})