This commit is contained in:
JoseDouglas26 2024-06-08 19:08:31 -03:00
parent fab9e95474
commit d96b9e2328
23 changed files with 0 additions and 377 deletions

View File

@ -574,19 +574,6 @@ minetest.register_node("mcl_core:clay", {
_mcl_silk_touch_drop = true,
})
minetest.register_node("mcl_core:brick_block", {
-- Original name: “Bricks”
description = S("Brick Block"),
tiles = {"default_brick.png"},
is_ground_content = false,
stack_max = 64,
groups = {pickaxey=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 6,
_mcl_hardness = 2,
})
minetest.register_node("mcl_core:bedrock", {
description = S("Bedrock"),
tiles = {"mcl_core_bedrock.png"},

View File

@ -20,33 +20,6 @@ minetest.register_node("mcl_end:end_stone", {
_mcl_hardness = 3,
})
minetest.register_node("mcl_end:purpur_block", {
description = S("Purpur Block"),
_doc_items_longdesc = doc.sub.items.temp.build,
tiles = {"mcl_end_purpur_block.png"},
is_ground_content = false,
stack_max = 64,
groups = {pickaxey=1, building_block=1, material_stone=1, purpur_block=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 6,
_mcl_hardness = 1.5,
})
minetest.register_node("mcl_end:purpur_pillar", {
description = S("Purpur Pillar"),
_doc_items_longdesc = doc.sub.items.temp.build,
stack_max = 64,
paramtype2 = "facedir",
is_ground_content = false,
on_place = mcl_util.rotate_axis,
tiles = {"mcl_end_purpur_pillar_top.png", "mcl_end_purpur_pillar_top.png", "mcl_end_purpur_pillar.png"},
groups = {pickaxey=1, building_block=1, material_stone=1, purpur_block=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
on_rotate = on_rotate,
_mcl_blast_resistance = 6,
_mcl_hardness = 1.5,
})
local end_rod_name = "mcl_end:end_rod"
local end_rod_def = {
description = S("End Rod"),
@ -180,4 +153,3 @@ minetest.register_craft({
},
})
mcl_stonecutter.register_recipe("mcl_end:purpur_block", "mcl_end:purpur_pillar")

View File

@ -296,26 +296,6 @@ for w=1, #woods do
})
end
-- Nether Brick Fence (without fence gate!)
mcl_fences.register_fence(
"nether_brick_fence",
S("Nether Brick Fence"),
"mcl_fences_fence_nether_brick.png",
{pickaxey=1, deco_block=1, fence_nether_brick=1},
minetest.registered_nodes["mcl_nether:nether_brick"]._mcl_hardness,
minetest.registered_nodes["mcl_nether:nether_brick"]._mcl_blast_resistance,
{"group:fence_nether_brick"},
mcl_sounds.node_sound_stone_defaults())
minetest.register_craft({
output = "mcl_fences:nether_brick_fence 6",
recipe = {
{"mcl_nether:nether_brick", "mcl_nether:netherbrick", "mcl_nether:nether_brick"},
{"mcl_nether:nether_brick", "mcl_nether:netherbrick", "mcl_nether:nether_brick"},
}
})
minetest.register_craft({
type = "fuel",
recipe = "group:fence_wood",

View File

@ -65,20 +65,6 @@ minetest.register_node("mcl_nether:ancient_debris", {
_mcl_silk_touch_drop = true
})
minetest.register_node("mcl_nether:netheriteblock", {
description = S("Netherite Block"),
_doc_items_longdesc = S("Netherite block is very hard and can be made of 9 netherite ingots."),
stack_max = 64,
tiles = {"mcl_nether_netheriteblock.png"},
is_ground_content = true,
groups = { pickaxey=4, building_block=1, material_stone=1, xp = 0, fire_immune=1 },
drop = "mcl_nether:netheriteblock",
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 1200,
_mcl_hardness = 50,
_mcl_silk_touch_drop = true,
})
-- For eternal fire on top of netherrack and magma blocks
-- (this code does not require a dependency on mcl_fire)
local function eternal_after_destruct(pos, oldnode)
@ -169,33 +155,6 @@ minetest.register_node("mcl_nether:soul_sand", {
-- Movement handling is done in mcl_playerplus mod
})
minetest.register_node("mcl_nether:nether_brick", {
-- Original name: Nether Brick
description = S("Nether Brick Block"),
_doc_items_longdesc = doc.sub.items.temp.build,
stack_max = 64,
tiles = {"mcl_nether_nether_brick.png"},
is_ground_content = false,
groups = {pickaxey=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 6,
_mcl_hardness = 2,
})
minetest.register_node("mcl_nether:red_nether_brick", {
-- Original name: Red Nether Brick
description = S("Red Nether Brick Block"),
_doc_items_longdesc = doc.sub.items.temp.build,
stack_max = 64,
tiles = {"mcl_nether_red_nether_brick.png"},
is_ground_content = false,
groups = {pickaxey=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 6,
_mcl_hardness = 2,
})
minetest.register_node("mcl_nether:nether_wart_block", {
description = S("Nether Wart Block"),
_doc_items_longdesc = S("A nether wart block is a purely decorative block made from nether wart."),
@ -279,145 +238,5 @@ minetest.register_craftitem("mcl_nether:quartz", {
groups = { craftitem = 1 },
})
minetest.register_craftitem("mcl_nether:netherite_scrap", {
description = S("Netherite Scrap"),
_doc_items_longdesc = S("Netherite scrap is a crafting ingredient for netherite ingots."),
inventory_image = "mcl_nether_netherite_scrap.png",
stack_max = 64,
groups = { craftitem = 1, fire_immune=1 },
})
minetest.register_craftitem("mcl_nether:netherite_ingot", {
description = S("Netherite Ingot"),
_doc_items_longdesc = S("Netherite ingots can be used with a smithing table to upgrade items to netherite."),
inventory_image = "mcl_nether_netherite_ingot.png",
stack_max = 64,
groups = { craftitem = 1, fire_immune=1 },
})
minetest.register_craftitem("mcl_nether:netherbrick", {
description = S("Nether Brick"),
_doc_items_longdesc = S("Nether bricks are the main crafting ingredient for crafting nether brick blocks and nether fences."),
inventory_image = "mcl_nether_netherbrick.png",
stack_max = 64,
groups = { craftitem = 1 },
})
minetest.register_craft({
type = "cooking",
output = "mcl_nether:quartz",
recipe = "mcl_nether:quartz_ore",
cooktime = 10,
})
minetest.register_craft({
type = "cooking",
output = "mcl_nether:netherite_scrap",
recipe = "mcl_nether:ancient_debris",
cooktime = 10,
})
minetest.register_craft({
output = "mcl_nether:quartz_block",
recipe = {
{"mcl_nether:quartz", "mcl_nether:quartz"},
{"mcl_nether:quartz", "mcl_nether:quartz"},
}
})
minetest.register_craft({
output = "mcl_nether:quartz_pillar 2",
recipe = {
{"mcl_nether:quartz_block"},
{"mcl_nether:quartz_block"},
}
})
minetest.register_craft({
output = "mcl_nether:glowstone",
recipe = {
{"mcl_nether:glowstone_dust", "mcl_nether:glowstone_dust"},
{"mcl_nether:glowstone_dust", "mcl_nether:glowstone_dust"},
}
})
minetest.register_craft({
output = "mcl_nether:magma",
recipe = {
{"mcl_mobitems:magma_cream", "mcl_mobitems:magma_cream"},
{"mcl_mobitems:magma_cream", "mcl_mobitems:magma_cream"},
}
})
minetest.register_craft({
type = "cooking",
output = "mcl_nether:netherbrick",
recipe = "mcl_nether:netherrack",
cooktime = 10,
})
minetest.register_craft({
output = "mcl_nether:nether_brick",
recipe = {
{"mcl_nether:netherbrick", "mcl_nether:netherbrick"},
{"mcl_nether:netherbrick", "mcl_nether:netherbrick"},
}
})
minetest.register_craft({
output = "mcl_nether:red_nether_brick",
recipe = {
{"mcl_nether:nether_wart_item", "mcl_nether:netherbrick"},
{"mcl_nether:netherbrick", "mcl_nether:nether_wart_item"},
}
})
minetest.register_craft({
output = "mcl_nether:red_nether_brick",
recipe = {
{"mcl_nether:netherbrick", "mcl_nether:nether_wart_item"},
{"mcl_nether:nether_wart_item", "mcl_nether:netherbrick"},
}
})
minetest.register_craft({
output = "mcl_nether:nether_wart_block",
recipe = {
{"mcl_nether:nether_wart_item", "mcl_nether:nether_wart_item", "mcl_nether:nether_wart_item"},
{"mcl_nether:nether_wart_item", "mcl_nether:nether_wart_item", "mcl_nether:nether_wart_item"},
{"mcl_nether:nether_wart_item", "mcl_nether:nether_wart_item", "mcl_nether:nether_wart_item"},
}
})
minetest.register_craft({
type = "shapeless",
output = "mcl_nether:netherite_ingot",
recipe = {
"mcl_nether:netherite_scrap", "mcl_nether:netherite_scrap", "mcl_nether:netherite_scrap",
"mcl_nether:netherite_scrap", "mcl_core:gold_ingot", "mcl_core:gold_ingot",
"mcl_core:gold_ingot", "mcl_core:gold_ingot", },
})
minetest.register_craft({
output = "mcl_nether:netheriteblock",
recipe = {
{"mcl_nether:netherite_ingot", "mcl_nether:netherite_ingot", "mcl_nether:netherite_ingot"},
{"mcl_nether:netherite_ingot", "mcl_nether:netherite_ingot", "mcl_nether:netherite_ingot"},
{"mcl_nether:netherite_ingot", "mcl_nether:netherite_ingot", "mcl_nether:netherite_ingot"}
}
})
minetest.register_craft({
output = "mcl_nether:netherite_ingot 9",
recipe = {
{"mcl_nether:netheriteblock", "", ""},
{"", "", ""},
{"", "", ""}
}
})
-- TODO register stonecutter recipe for chiseled nether brick when it is added
mcl_stonecutter.register_recipe("mcl_nether:quartz_block", "mcl_nether:quartz_chiseled")
mcl_stonecutter.register_recipe("mcl_nether:quartz_block", "mcl_nether:quartz_pillar")
dofile(minetest.get_modpath(minetest.get_current_modname()).."/nether_wart.lua")
dofile(minetest.get_modpath(minetest.get_current_modname()).."/lava.lua")

View File

@ -190,70 +190,3 @@ mcl_stairs.register_slab("quartz_smooth", "mcl_nether:quartz_smooth",
S("Smooth Quartz Slab"),
mcl_sounds.node_sound_stone_defaults(), 6, 2,
S("Double Smooth Quartz Slab"))
mcl_stairs.register_stair_and_slab("nether_brick", "mcl_nether:nether_brick",
{pickaxey=1, material_stone=1},
{"mcl_nether_nether_brick.png"},
S("Nether Brick Stairs"),
S("Nether Brick Slab"),
mcl_sounds.node_sound_stone_defaults(), 6, 2,
S("Double Nether Brick Slab"), nil)
mcl_stairs.register_stair_and_slab("red_nether_brick", "mcl_nether:red_nether_brick",
{pickaxey=1, material_stone=1},
{"mcl_nether_red_nether_brick.png"},
S("Red Nether Brick Stairs"),
S("Red Nether Brick Slab"),
mcl_sounds.node_sound_stone_defaults(), 6, 2,
S("Double Red Nether Brick Slab"), nil)
mcl_stairs.register_stair("purpur_block", "mcl_end:purpur_block",
{pickaxey=1, material_stone=1},
{"mcl_end_purpur_block.png"},
S("Purpur Stairs"),
mcl_sounds.node_sound_stone_defaults(), 6, 1.5,
nil)
mcl_stairs.register_slab("purpur_block", "mcl_end:purpur_block",
{pickaxey=1, material_stone=1},
{"mcl_end_purpur_block.png"},
S("Purpur Slab"),
mcl_sounds.node_sound_stone_defaults(), 6, 2,
S("Double Purpur Slab"))
mcl_stairs.register_stair("prismarine", "mcl_ocean:prismarine",
{pickaxey=1, material_stone=1},
{{name="mcl_ocean_prismarine_anim.png", animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=45.0}}},
S("Prismarine Stairs"),
mcl_sounds.node_sound_stone_defaults(), 6, 1.5,
nil)
mcl_stairs.register_slab("prismarine", "mcl_ocean:prismarine",
{pickaxey=1, material_stone=1},
{{name="mcl_ocean_prismarine_anim.png", animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=45.0}}},
S("Prismarine Slab"),
mcl_sounds.node_sound_stone_defaults(), 6, 2,
S("Double Prismarine Slab"))
mcl_stairs.register_stair("prismarine_brick", "mcl_ocean:prismarine_brick",
{pickaxey=1, material_stone=1},
{"mcl_ocean_prismarine_bricks.png"},
S("prismarine Brick Stairs"),
mcl_sounds.node_sound_stone_defaults(), 6, 1.5,
nil)
mcl_stairs.register_slab("prismarine_brick", "mcl_ocean:prismarine_brick",
{pickaxey=1, material_stone=1},
{"mcl_ocean_prismarine_bricks.png"},
S("prismarine Brick Slab"),
mcl_sounds.node_sound_stone_defaults(), 6, 2,
S("Double prismarine_brick Slab"))
mcl_stairs.register_stair("prismarine_dark", "mcl_ocean:prismarine_dark",
{pickaxey=1, material_stone=1},
{"mcl_ocean_prismarine_dark.png"},
S("prismarine Brick Stairs"),
mcl_sounds.node_sound_stone_defaults(), 6, 1.5,
nil)
mcl_stairs.register_slab("prismarine_dark", "mcl_ocean:prismarine_dark",
{pickaxey=1, material_stone=1},
{"mcl_ocean_prismarine_dark.png"},
S("Dark Prismarine Slab"),
mcl_sounds.node_sound_stone_defaults(), 6, 2,
S("Double Dark Prismarine Slab"))

View File

@ -9,5 +9,3 @@ mcl_walls.register_wall("mcl_walls:brick", S("Brick Wall"), "mcl_core:brick_bloc
mcl_walls.register_wall("mcl_walls:sandstone", S("Sandstone Wall"), "mcl_core:sandstone")
mcl_walls.register_wall("mcl_walls:redsandstone", S("Red Sandstone Wall"), "mcl_core:redsandstone")
mcl_walls.register_wall("mcl_walls:prismarine", S("Prismarine Wall"), "mcl_ocean:prismarine")
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")

View File

@ -1,66 +0,0 @@
local S = minetest.get_translator(minetest.get_current_modname())
-- Red Nether Brick Fence
mcl_fences.register_fence_and_fence_gate(
"red_nether_brick_fence",
S("Red Nether Brick Fence"), S("Red Nether Brick Fence Gate"),
"mcl_fences_fence_red_nether_brick.png",
{pickaxey=1, deco_block=1, fence_nether_brick=1},
minetest.registered_nodes["mcl_nether:red_nether_brick"]._mcl_hardness,
minetest.registered_nodes["mcl_nether:red_nether_brick"]._mcl_blast_resistance,
{"group:fence_nether_brick"},
mcl_sounds.node_sound_stone_defaults(), "mcl_fences_nether_brick_fence_gate_open", "mcl_fences_nether_brick_fence_gate_close", 1, 1,
"mcl_fences_fence_gate_red_nether_brick.png")
mcl_fences.register_fence_gate(
"nether_brick_fence",
S("Nether Brick Fence Gate"),
"mcl_fences_fence_gate_nether_brick.png",
{pickaxey=1, deco_block=1, fence_nether_brick=1},
minetest.registered_nodes["mcl_nether:nether_brick"]._mcl_hardness,
minetest.registered_nodes["mcl_nether:nether_brick"]._mcl_blast_resistance,
mcl_sounds.node_sound_stone_defaults(), "mcl_fences_nether_brick_fence_gate_open", "mcl_fences_nether_brick_fence_gate_close", 1, 1)
-- Crafting
minetest.register_craft({
output = "mclx_fences:red_nether_brick_fence 6",
recipe = {
{"mcl_nether:red_nether_brick", "mcl_nether:netherbrick", "mcl_nether:red_nether_brick"},
{"mcl_nether:red_nether_brick", "mcl_nether:netherbrick", "mcl_nether:red_nether_brick"},
}
})
minetest.register_craft({
output = "mclx_fences:red_nether_brick_fence_gate",
recipe = {
{"mcl_nether:nether_wart_item", "mcl_nether:red_nether_brick", "mcl_nether:netherbrick"},
{"mcl_nether:netherbrick", "mcl_nether:red_nether_brick", "mcl_nether:nether_wart_item"},
}
})
minetest.register_craft({
output = "mclx_fences:red_nether_brick_fence_gate",
recipe = {
{"mcl_nether:netherbrick", "mcl_nether:red_nether_brick", "mcl_nether:nether_wart_item"},
{"mcl_nether:nether_wart_item", "mcl_nether:red_nether_brick", "mcl_nether:netherbrick"},
}
})
minetest.register_craft({
output = "mclx_fences:nether_brick_fence_gate 2",
recipe = {
{"mcl_nether:netherbrick", "mcl_nether:nether_brick", "mcl_nether:netherbrick"},
{"mcl_nether:netherbrick", "mcl_nether:nether_brick", "mcl_nether:netherbrick"},
}
})
-- Aliases for mcl_supplemental
minetest.register_alias("mcl_supplemental:red_nether_brick_fence", "mclx_fences:red_nether_brick_fence")
minetest.register_alias("mcl_supplemental:nether_brick_fence_gate", "mclx_fences:nether_brick_fence_gate")
minetest.register_alias("mcl_supplemental:nether_brick_fence_gate_open", "mclx_fences:nether_brick_fence_gate_open")
minetest.register_alias("mcl_supplemental:red_nether_brick_fence_gate", "mclx_fences:red_nether_brick_fence_gate")
minetest.register_alias("mcl_supplemental:red_nether_brick_fence_gate_open", "mclx_fences:red_nether_brick_fence_gate_open")

Binary file not shown.

Before

Width:  |  Height:  |  Size: 208 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 216 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 244 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 228 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 216 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 200 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 135 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 173 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 182 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 179 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 191 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 181 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 181 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 189 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 201 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 218 B