diff --git a/mods/default/nodes.lua b/mods/default/nodes.lua index 894b67f9bf..ebb439691c 100644 --- a/mods/default/nodes.lua +++ b/mods/default/nodes.lua @@ -4,6 +4,22 @@ -- Node definitions -- +minetest.register_node("default:barrier", { + description = "Barrier", + drawtype = "airlike", + paramtype = "light", + inventory_image = "default_barrier.png", + wield_image = "default_barrier.png", + stack_max = 64, + sunlight_propagates = true, + is_ground_content = false, + groups = { not_in_creative_inventory = 1 }, + on_blast = function() end, + on_destruct = function () end, + can_dig = function() return false end, + diggable = false, +}) + minetest.register_node("default:stone", { description = "Stone", tiles = {"default_stone.png"}, diff --git a/mods/default/textures/default_barrier.png b/mods/default/textures/default_barrier.png new file mode 100644 index 0000000000..fdd9578983 Binary files /dev/null and b/mods/default/textures/default_barrier.png differ diff --git a/mods/redstone/mesecons_mvps/init.lua b/mods/redstone/mesecons_mvps/init.lua index 6bc4600694..6cc19da746 100644 --- a/mods/redstone/mesecons_mvps/init.lua +++ b/mods/redstone/mesecons_mvps/init.lua @@ -130,3 +130,4 @@ mesecon:register_mvps_stopper("default:furnace") mesecon:register_mvps_stopper("default:sign") mesecon:register_mvps_stopper("default:obsidian") mesecon:register_mvps_stopper("default:bedrock") +mesecon:register_mvps_stopper("default:barrier")