Move chests into mcnt_chest.

master
ROllerozxa 2021-08-12 16:08:55 +02:00
parent 587ade894b
commit 0953523933
7 changed files with 10 additions and 13 deletions

View File

@ -494,3 +494,12 @@ end)
minetest.register_on_leaveplayer(function(player)
player_chest_close(player)
end)
minetest.register_craft({
output = "minecraft:chest",
recipe = {
{"minecraft:plank", "minecraft:plank", "minecraft:plank"},
{"minecraft:plank", "", "minecraft:plank"},
{"minecraft:plank", "minecraft:plank", "minecraft:plank"},
}
})

1
mods/mcnt_chest/mod.conf Normal file
View File

@ -0,0 +1 @@
name = mcnt_chest

View File

Before

Width:  |  Height:  |  Size: 698 B

After

Width:  |  Height:  |  Size: 698 B

View File

Before

Width:  |  Height:  |  Size: 861 B

After

Width:  |  Height:  |  Size: 861 B

View File

@ -437,7 +437,3 @@ minetest.register_node("minecraft:spawner", {
drop = "",
sounds = block_sound('metal'),
})
-- More blocks that are in their separate code file.
dofile(minetest.get_modpath("minecraft") .. "/blocks/chest.lua")

View File

@ -228,15 +228,6 @@ minetest.register_craft({
-- Blocks
--
minetest.register_craft({
output = "minecraft:chest",
recipe = {
{"minecraft:plank", "minecraft:plank", "minecraft:plank"},
{"minecraft:plank", "", "minecraft:plank"},
{"minecraft:plank", "minecraft:plank", "minecraft:plank"},
}
})
minetest.register_craft({
output = "minecraft:tnt",
recipe = {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 170 B