1
0
Fork 0

Add various mud brick blocks

This commit is contained in:
TheRandomLegoBrick 2022-07-07 11:54:36 -07:00
parent 4f1960d6ef
commit f3dd3e92fa
6 changed files with 32 additions and 5 deletions

View File

@ -6,10 +6,15 @@ minetest.register_node("mcl_mud:mud", {
_doc_items_hidden = false, _doc_items_hidden = false,
tiles = {"mcl_mud.png"}, tiles = {"mcl_mud.png"},
is_ground_content = true, is_ground_content = true,
stack_max = 64,
groups = {handy=1,shovely=1, enderman_takable=1, building_block=1}, groups = {handy=1,shovely=1, enderman_takable=1, building_block=1},
_mcl_blast_resistance = 0.5, _mcl_blast_resistance = 0.5,
_mcl_hardness = 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", { 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_longdesc = S("Packed mud is a decorative block used to craft mud bricks."),
_doc_items_hidden = false, _doc_items_hidden = false,
tiles = {"mcl_mud_packed_mud.png"}, tiles = {"mcl_mud_packed_mud.png"},
is_ground_content = true,
stack_max = 64,
groups = {handy=1, pickaxey=1, enderman_takable=1, building_block=1}, groups = {handy=1, pickaxey=1, enderman_takable=1, building_block=1},
_mcl_blast_resistance = 3, _mcl_blast_resistance = 3,
_mcl_hardness = 1, _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({ minetest.register_craft({
type = "shapeless", type = "shapeless",
output = "mcl_mud:packed_mud", output = "mcl_mud:packed_mud",
@ -32,3 +46,13 @@ minetest.register_craft({
"mcl_farming:wheat_item", "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

View File

@ -1,2 +1,2 @@
name = mcl_stairs 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

View File

@ -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("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_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")) 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"))

View File

@ -1,3 +1,3 @@
name = mcl_walls 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 optional_depends = doc

View File

@ -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: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: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: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")