forked from VoxeLibre/VoxeLibre
Add various mud brick blocks
This commit is contained in:
parent
4f1960d6ef
commit
f3dd3e92fa
|
@ -6,10 +6,15 @@ minetest.register_node("mcl_mud:mud", {
|
|||
_doc_items_hidden = false,
|
||||
tiles = {"mcl_mud.png"},
|
||||
is_ground_content = true,
|
||||
stack_max = 64,
|
||||
groups = {handy=1,shovely=1, enderman_takable=1, building_block=1},
|
||||
_mcl_blast_resistance = 0.5,
|
||||
_mcl_hardness = 0.5,
|
||||
collision_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-8 / 16, -8 / 16, -8 / 16, 8 / 16, 7 / 16, 8 / 16},
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_mud:packed_mud", {
|
||||
|
@ -17,13 +22,22 @@ minetest.register_node("mcl_mud:packed_mud", {
|
|||
_doc_items_longdesc = S("Packed mud is a decorative block used to craft mud bricks."),
|
||||
_doc_items_hidden = false,
|
||||
tiles = {"mcl_mud_packed_mud.png"},
|
||||
is_ground_content = true,
|
||||
stack_max = 64,
|
||||
groups = {handy=1, pickaxey=1, enderman_takable=1, building_block=1},
|
||||
_mcl_blast_resistance = 3,
|
||||
_mcl_hardness = 1,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_mud:mud_bricks", {
|
||||
description = S("Mud Bricks"),
|
||||
_doc_items_longdesc = S("Decorative block crafted from packed mud."),
|
||||
_doc_items_hidden = false,
|
||||
tiles = {"mcl_mud_bricks.png"},
|
||||
groups = {handy=1, pickaxey=1, building_block=1},
|
||||
_mcl_blast_resistance = 3,
|
||||
_mcl_hardness = 1.5,
|
||||
})
|
||||
|
||||
-- packed mud
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "mcl_mud:packed_mud",
|
||||
|
@ -31,4 +45,14 @@ minetest.register_craft({
|
|||
"mcl_mud:mud",
|
||||
"mcl_farming:wheat_item",
|
||||
}
|
||||
})
|
||||
|
||||
-- mud bricks
|
||||
minetest.register_craft({
|
||||
type = "shaped",
|
||||
output = "mcl_mud:mud_bricks 4",
|
||||
recipe = {
|
||||
{"mcl_mud:packed_mud", "mcl_mud:packed_mud"},
|
||||
{"mcl_mud:packed_mud", "mcl_mud:packed_mud"}
|
||||
}
|
||||
})
|
Binary file not shown.
After Width: | Height: | Size: 438 B |
|
@ -1,2 +1,2 @@
|
|||
name = mcl_stairs
|
||||
depends = mcl_core, mcl_sounds, mcl_nether, mcl_end, mcl_ocean
|
||||
depends = mcl_core, mcl_sounds, mcl_nether, mcl_end, mcl_ocean, mcl_mud
|
||||
|
|
|
@ -138,6 +138,8 @@ mcl_stairs.register_slab("purpur_block", "group:purpur_block",
|
|||
|
||||
mcl_stairs.register_stair_and_slab_simple("prismarine", "mcl_ocean:prismarine", S("Prismarine Stairs"), S("Prismarine Slab"), S("Double Prismarine Slab"))
|
||||
|
||||
mcl_stairs.register_stair_and_slab_simple("mud_brick", "mcl_mud:mud_bricks", S("Mud Brick Stair"), S("Mud Brick Slab"), S("Double Mud Brick Slab"))
|
||||
|
||||
mcl_stairs.register_stair_and_slab_simple("prismarine_brick", "mcl_ocean:prismarine_brick", S("Prismarine Brick Stairs"), S("Prismarine Brick Slab"), S("Double Prismarine Brick Slab"))
|
||||
mcl_stairs.register_stair_and_slab_simple("prismarine_dark", "mcl_ocean:prismarine_dark", S("Dark Prismarine Stairs"), S("Dark Prismarine Slab"), S("Double Dark Prismarine Slab"))
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
name = mcl_walls
|
||||
depends = mcl_core, mcl_end, mcl_ocean, mcl_nether, mcl_sounds
|
||||
depends = mcl_core, mcl_end, mcl_ocean, mcl_nether, mcl_sounds, mcl_mud
|
||||
optional_depends = doc
|
||||
|
|
|
@ -14,3 +14,4 @@ mcl_walls.register_wall("mcl_walls:prismarine", S("Prismarine Wall"), "mcl_ocean
|
|||
mcl_walls.register_wall("mcl_walls:endbricks", S("End Stone Brick Wall"), "mcl_end:end_bricks")
|
||||
mcl_walls.register_wall("mcl_walls:netherbrick", S("Nether Brick Wall"), "mcl_nether:nether_brick")
|
||||
mcl_walls.register_wall("mcl_walls:rednetherbrick", S("Red Nether Brick Wall"), "mcl_nether:red_nether_brick")
|
||||
mcl_walls.register_wall("mcl_walls:mudbrick", S("Mud Brick Wall"), "mcl_mud:mud_bricks")
|
Loading…
Reference in New Issue