mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-30 18:46:28 -04:00
Add barrier block
This commit is contained in:
parent
b31795dd04
commit
92ca046870
2 changed files with 12 additions and 0 deletions
|
@ -2868,6 +2868,18 @@ minetest.register_node("default:cloud", {
|
||||||
groups = {not_in_creative_inventory = 1},
|
groups = {not_in_creative_inventory = 1},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_node("default:barrier", {
|
||||||
|
description = S("Barrier"),
|
||||||
|
tiles = {"default_barrier.png"},
|
||||||
|
inventory_image = "default_cloud.png",
|
||||||
|
is_ground_content = false,
|
||||||
|
sounds = default.node_sound_defaults(),
|
||||||
|
groups = {not_in_creative_inventory = 1, cracky = 1},
|
||||||
|
|
||||||
|
on_blast = function() end,
|
||||||
|
alpha = 1
|
||||||
|
})
|
||||||
|
|
||||||
--
|
--
|
||||||
-- register trees for leafdecay
|
-- register trees for leafdecay
|
||||||
--
|
--
|
||||||
|
|
BIN
mods/default/textures/default_barrier.png
Normal file
BIN
mods/default/textures/default_barrier.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 123 B |
Loading…
Add table
Reference in a new issue