if stairsplus_legacy.has.stairs then stairsplus.compat.override_stairs("wood", "default:wood") stairsplus.compat.override_stairs("junglewood", "default:junglewood") stairsplus.compat.override_stairs("pine_wood", "default:pine_wood") stairsplus.compat.override_stairs("acacia_wood", "default:acacia_wood") stairsplus.compat.override_stairs("aspen_wood", "default:aspen_wood") stairsplus.compat.override_stairs("cobble", "default:cobble") stairsplus.compat.override_stairs("stone", "default:stone") stairsplus.compat.override_stairs("mossycobble", "default:mossycobble") stairsplus.compat.override_stairs("stonebrick", "default:stonebrick") stairsplus.compat.override_stairs("stone_block", "default:stone_block") stairsplus.compat.override_stairs("desert_stone", "default:desert_stone") stairsplus.compat.override_stairs("desert_cobble", "default:desert_cobble") stairsplus.compat.override_stairs("desert_stonebrick", "default:desert_stonebrick") stairsplus.compat.override_stairs("desert_stone_block", "default:desert_stone_block") stairsplus.compat.override_stairs("sandstone", "default:sandstone") stairsplus.compat.override_stairs("sandstonebrick", "default:sandstonebrick") stairsplus.compat.override_stairs("sandstone_block", "default:sandstone_block") stairsplus.compat.override_stairs("desert_sandstone", "default:desert_sandstone") stairsplus.compat.override_stairs("desert_sandstone_brick", "default:desert_sandstone_brick") stairsplus.compat.override_stairs("desert_sandstone_block", "default:desert_sandstone_block") stairsplus.compat.override_stairs("silver_sandstone", "default:silver_sandstone") stairsplus.compat.override_stairs("silver_sandstone_brick", "default:silver_sandstone_brick") stairsplus.compat.override_stairs("silver_sandstone_block", "default:silver_sandstone_block") stairsplus.compat.override_stairs("obsidian", "default:obsidian") stairsplus.compat.override_stairs("obsidianbrick", "default:obsidianbrick") stairsplus.compat.override_stairs("obsidian_block", "default:obsidian_block") stairsplus.compat.override_stairs("brick", "default:brick") stairsplus.compat.override_stairs("steelblock", "default:steelblock") stairsplus.compat.override_stairs("tinblock", "default:tinblock") stairsplus.compat.override_stairs("copperblock", "default:copperblock") stairsplus.compat.override_stairs("bronzeblock", "default:bronzeblock") stairsplus.compat.override_stairs("goldblock", "default:goldblock") stairsplus.compat.override_stairs("ice", "default:ice") stairsplus.compat.override_stairs("snowblock", "default:snowblock") stairsplus.compat.override_stairs("glass", "default:glass", nil, {ignore_paramtype2 = true}) stairsplus.compat.override_stairs("obsidian_glass", "default:obsidian_glass", nil, {ignore_paramtype2 = true}) end local default_nodes = { -- Default stairs/slabs/panels/microblocks: "stone", "stone_block", "cobble", "mossycobble", "brick", "sandstone", "steelblock", "goldblock", "copperblock", "bronzeblock", "diamondblock", "tinblock", "desert_stone", "desert_stone_block", "desert_cobble", "meselamp", "tree", "wood", "jungletree", "junglewood", "pine_tree", "pine_wood", "acacia_tree", "acacia_wood", "aspen_tree", "aspen_wood", "obsidian", "obsidian_block", "obsidianbrick", "stonebrick", "desert_stonebrick", "sandstonebrick", "silver_sandstone", "silver_sandstone_brick", "silver_sandstone_block", "desert_sandstone", "desert_sandstone_brick", "desert_sandstone_block", "sandstone_block", "coral_skeleton", "ice", "sand", -- TODO tmp remove } for _, name in ipairs(default_nodes) do local node = ("default:%s"):format(name) stairsplus_legacy.register_legacy(node) stairsplus.api.register_alias_all(("moreblocks:%s"):format(name), node) end -- glass problems local glass = { "glass", "obsidian_glass", } for _, name in ipairs(glass) do local node = ("default:%s"):format(name) stairsplus_legacy.register_legacy(node, nil, {ignore_paramtype2 = true}) stairsplus.api.register_alias_all(("moreblocks:%s"):format(name), node) end stairsplus.api.register_crafts_for_shapes({ type = "cooking", output = "default:glass", recipe = "group:sand", }) stairsplus.api.register_crafts_for_shapes({ type = "cooking", output = "default:stone", recipe = "default:cobble", }) stairsplus.api.register_crafts_for_shapes({ type = "cooking", output = "default:stone", recipe = "default:mossycobble", }) stairsplus.api.register_crafts_for_shapes({ type = "cooking", output = "default:desert_stone", recipe = "default:desert_cobble", }) stairsplus.api.register_crafts_for_shapes({ type = "fuel", recipe = "group:tree", burntime = 30, }) stairsplus.api.register_crafts_for_shapes({ type = "fuel", recipe = "default:tree", burntime = 30, }) stairsplus.api.register_crafts_for_shapes({ type = "fuel", recipe = "default:aspen_tree", burntime = 22, }) stairsplus.api.register_crafts_for_shapes({ type = "fuel", recipe = "default:pine_tree", burntime = 26, }) stairsplus.api.register_crafts_for_shapes({ type = "fuel", recipe = "default:acacia_tree", burntime = 34, }) stairsplus.api.register_crafts_for_shapes({ type = "fuel", recipe = "default:jungletree", burntime = 38, }) stairsplus.api.register_crafts_for_shapes({ type = "fuel", recipe = "group:wood", burntime = 7, }) stairsplus.api.register_crafts_for_shapes({ type = "fuel", recipe = "default:wood", burntime = 7, }) stairsplus.api.register_crafts_for_shapes({ type = "fuel", recipe = "default:aspen_wood", burntime = 5, }) stairsplus.api.register_crafts_for_shapes({ type = "fuel", recipe = "default:pine_wood", burntime = 6, }) stairsplus.api.register_crafts_for_shapes({ type = "fuel", recipe = "default:acacia_wood", burntime = 8, }) stairsplus.api.register_crafts_for_shapes({ type = "fuel", recipe = "default:junglewood", burntime = 9, })