--[[
    Everness. Never ending discovery in Everness mapgen.
    Copyright (C) 2025 SaKeL

    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
    License as published by the Free Software Foundation; either
    version 2.1 of the License, or (at your option) any later version.

    This library is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    Lesser General Public License for more details.

--]]

core.register_alias('mapgen_water_source', 'rp_mapgen_water_source')
core.register_alias('default:dirt_with_rainforest_litter', 'rp_default:dirt_with_grass')
core.register_alias('default:dirt_with_snow', 'rp_default:dirt_with_grass')
core.register_alias('default:dirt_with_coniferous_litter', 'rp_default:dirt_with_grass')
core.register_alias('default:dirt_with_grass', 'rp_default:dirt_with_grass')
core.register_alias('default:stick', 'rp_default:stick')
core.register_alias('default:paper', 'rp_default:paper')
core.register_alias('default:book', 'rp_default:book')
core.register_alias('default:skeleton_key', 'rp_default:skeleton_key')
core.register_alias('default:flint', 'rp_default:flint')
core.register_alias('default:obsidian_shard', 'rp_default:obsidian_shard')
core.register_alias('default:clay_brick', 'rp_default:clay_brick')
core.register_alias('default:mese_crystal_fragment', 'rp_default:mese_crystal_fragment')
-- Ingots
core.register_alias('default:gold_ingot', 'rp_default:gold_ingot')
core.register_alias('default:bronze_ingot', 'rp_default:bronze_ingot')
core.register_alias('default:tin_ingot', 'rp_default:tin_ingot')
core.register_alias('default:copper_ingot', 'rp_default:copper_ingot')
core.register_alias('default:steel_ingot', 'rp_default:steel_ingot')
core.register_alias('default:coal_lump', 'rp_default:coal_lump')
-- Tools
core.register_alias('default:pick_stone', 'rp_default:pick_stone')
core.register_alias('default:pick_bronze', 'rp_default:pick_bronze')
core.register_alias('default:pick_steel', 'rp_default:pick_steel')
core.register_alias('default:shovel_stone', 'rp_default:shovel_stone')
core.register_alias('default:shovel_bronze', 'rp_default:shovel_bronze')
core.register_alias('default:shovel_steel', 'rp_default:shovel_steel')
core.register_alias('default:axe_stone', 'rp_default:axe_stone')
core.register_alias('default:axe_bronze', 'rp_default:axe_bronze')
core.register_alias('default:axe_steel', 'rp_default:axe_steel')
core.register_alias('default:sword_stone', 'rp_default:sword_stone')
core.register_alias('default:sword_bronze', 'rp_default:sword_bronze')
core.register_alias('default:sword_steel', 'rp_default:sword_steel')
-- Items / Nodes
core.register_alias('default:bookshelf', 'rp_default:bookshelf')
core.register_alias('default:sign_wall_wood', 'rp_default:sign_wall_wood')
core.register_alias('default:ladder_wood', 'rp_default:ladder_wood')
core.register_alias('default:ladder_steel', 'rp_default:ladder_steel')
core.register_alias('default:glass', 'rp_default:glass')
core.register_alias('default:obsidian_glass', 'rp_default:obsidian_glass')
-- Trees
core.register_alias('default:tree', 'rp_default:tree')
core.register_alias('default:jungletree', 'rp_default:jungletree')
core.register_alias('default:pine_tree', 'rp_default:pine_tree')
core.register_alias('default:cactus', 'rp_default:cactus')
core.register_alias('default:large_cactus_seedling', 'rp_default:large_cactus_seedling')
core.register_alias('default:papyrus', 'rp_default:papyrus')
core.register_alias('default:junglegrass', 'rp_default:junglegrass')
core.register_alias('default:blueberry_bush_sapling', 'rp_default:blueberry_bush_sapling')
core.register_alias('default:sapling', 'rp_default:sapling')
core.register_alias('default:junglesapling', 'rp_default:junglesapling')
core.register_alias('default:pine_sapling', 'rp_default:pine_sapling')
core.register_alias('default:acacia_sapling', 'rp_default:acacia_sapling')
core.register_alias('default:aspen_sapling', 'rp_default:aspen_sapling')

core.register_alias('default:clay_lump', 'rp_default:clay_lump')
core.register_alias('default:tin_lump', 'rp_default:tin_lump')
core.register_alias('default:copper_lump', 'rp_default:copper_lump')
core.register_alias('default:iron_lump', 'rp_default:iron_lump')
core.register_alias('default:coalblock', 'rp_default:block_coal')
core.register_alias('default:steelblock', 'rp_default:steelblock')
core.register_alias('default:copperblock', 'rp_default:copperblock')
core.register_alias('default:tinblock', 'rp_default:tinblock')
core.register_alias('default:bronzeblock', 'rp_default:bronzeblock')
core.register_alias('default:mese', 'rp_default:mese')
core.register_alias('default:meselamp', 'rp_default:meselamp')
core.register_alias('default:obsidian', 'rp_default:obsidian')
core.register_alias('default:mese_crystal', 'rp_default:mese_crystal')
core.register_alias('default:diamond', 'rp_default:diamond')
core.register_alias('default:pick_mese', 'rp_default:pick_mese')
core.register_alias('default:shovel_mese', 'rp_default:shovel_mese')
core.register_alias('default:axe_mese', 'rp_default:axe_mese')
core.register_alias('default:sword_mese', 'rp_default:sword_mese')

core.register_alias('default:snowblock', 'rp_default:snowblock')
core.register_alias('default:ice', 'rp_default:ice')
core.register_alias('default:torch', 'rp_default:torch')
core.register_alias('default:cobble', 'rp_default:cobble')
core.register_alias('default:chest', 'rp_default:chest')
core.register_alias('default:snow', 'rp_default:snow')
core.register_alias('default:stone', 'rp_default:stone')
core.register_alias('default:sand', 'rp_default:sand')
core.register_alias('default:gravel', 'rp_default:gravel')
core.register_alias('default:stone_with_coal', 'rp_default:stone_with_coal')
core.register_alias('default:stone_with_iron', 'rp_default:stone_with_iron')
core.register_alias('default:stone_with_tin', 'rp_default:stone_with_tin')
core.register_alias('default:stone_with_gold', 'rp_default:stone_with_gold')
core.register_alias('default:stone_with_mese', 'rp_default:stone_with_mese')
core.register_alias('default:stone_with_diamond', 'rp_default:stone_with_diamond')
core.register_alias('mapgen_lava_source', 'rp_mapgen_water_source')
core.register_alias('default:mossycobble', 'rp_default:mossycobble')
core.register_alias('default:clay', 'rp_default:clay')
core.register_alias('default:dry_dirt_with_dry_grass', 'rp_default:dry_dirt_with_dry_grass')
core.register_alias('default:dry_dirt', 'rp_default:dry_dirt')
core.register_alias('default:coral_skeleton', 'everness:coral_skeleton')
core.register_alias('default:lava_flowing', 'rp_default:water_flowing')
core.register_alias('everness:cursed_brick_with_growth_wall', 'air')
core.register_alias('stairs:slab_cursed_brick_with_growth', 'air')
core.register_alias('default:fence_wood', 'rp_default:fence')
core.register_alias('default:torch_wall', 'rp_default:torch_wall')
core.register_alias('default:wood', 'rp_default:planks')
core.register_alias('default:junglewood', 'rp_default:junglewood')
core.register_alias('default:pine_wood', 'rp_default:pine_wood')
core.register_alias('default:mese_post_light_pine_wood', 'rp_default:mese_post_light_pine_wood')
core.register_alias_force('default:acacia_tree', 'rp_default:acacia_tree')
core.register_alias('default:dry_grass_4', 'rp_default:dry_grass_4')
core.register_alias('default:dry_grass_2', 'rp_default:dry_grass_2')
core.register_alias('default:dry_shrub', 'rp_default:dry_shrub')
core.register_alias('default:stonebrick', 'rp_default:stonebrick')
core.register_alias('default:jungleleaves', 'rp_default:jungleleaves')
core.register_alias('default:torch_ceiling', 'rp_default:torch_ceiling')
core.register_alias('default:goldblock', 'rp_default:goldblock')
core.register_alias('stairs:stair_coral_white_sandstone', 'mcl_stairs:stair_coral_white_sandstone')
core.register_alias('stairs:slab_coral_white_sandstone', 'mcl_stairs:slab_coral_white_sandstone')
core.register_alias('stairs:stair_coral_deep_ocean_sandstone_block', 'mcl_stairs:stair_coral_deep_ocean_sandstone_block')
core.register_alias('stairs:slab_coral_deep_ocean_sandstone_block', 'mcl_stairs:slab_coral_deep_ocean_sandstone_block')
core.register_alias('stairs:slab_coral_deep_ocean_sandstone_brick', 'mcl_stairs:slab_coral_deep_ocean_sandstone_brick')
core.register_alias('stairs:slab_coral_sandstone_brick', 'mcl_stairs:slab_coral_sandstone_brick')
core.register_alias('stairs:stair_coral_deep_ocean_sandstone_brick', 'mcl_stairs:stair_coral_deep_ocean_sandstone_brick')
core.register_alias('stairs:stair_crystal_forest_deep_ocean_sandstone_block', 'mcl_stairs:stair_crystal_forest_deep_ocean_sandstone_block')
core.register_alias('stairs:stair_crystal_forest_deep_ocean_sandstone_brick', 'mcl_stairs:stair_crystal_forest_deep_ocean_sandstone_brick')
core.register_alias('stairs:slab_crystal_forest_deep_ocean_sandstone_block', 'mcl_stairs:slab_crystal_forest_deep_ocean_sandstone_block')
core.register_alias('stairs:slab_crystal_forest_deep_ocean_sandstone_brick', 'mcl_stairs:slab_crystal_forest_deep_ocean_sandstone_brick')
core.register_alias('stairs:stair_forsaken_desert_brick_red', 'mcl_stairs:stair_forsaken_desert_brick_red')
core.register_alias('stairs:stair_forsaken_desert_chiseled_stone', 'mcl_stairs:stair_forsaken_desert_chiseled_stone')
core.register_alias('stairs:slab_forsaken_desert_chiseled_stone', 'mcl_stairs:slab_forsaken_desert_chiseled_stone')
core.register_alias('stairs:stair_junglewood', 'mcl_stairs:stair_junglewood')
core.register_alias('stairs:slab_junglewood', 'mcl_stairs:slab_junglewood')
core.register_alias('stairs:slab_dry_wood', 'mcl_stairs:slab_dry_wood')
core.register_alias('stairs:stair_dry_wood', 'mcl_stairs:stair_dry_wood')
core.register_alias('stairs:stair_wood', 'mcl_stairs:stair_wood')
core.register_alias('stairs:slab_stonebrick', 'mcl_stairs:slab_stonebrick')
core.register_alias('stairs:stair_inner_wood', 'mcl_stairs:stair_wood_inner')
core.register_alias('stairs:stair_outer_stonebrick', 'mcl_stairs:stair_stonebrick_outer')
core.register_alias('stairs:stair_stonebrick', 'mcl_stairs:stair_stonebrick')
-- core.register_alias('stairs:stair_cobble', 'mcl_stairs:stair_cobble')
core.register_alias('stairs:stair_mossycobble', 'mcl_stairs:stair_mossycobble')
core.register_alias('stairs:stair_outer_quartz_chiseled', 'mcl_stairs:stair_quartz_chiseled_outer')
core.register_alias('stairs:stair_quartz_chiseled', 'mcl_stairs:stair_quartz_chiseled')
core.register_alias('stairs:stair_inner_quartz_chiseled', 'mcl_stairs:stair_quartz_chiseled_inner')
core.register_alias('stairs:slab_quartz_chiseled', 'mcl_stairs:slab_quartz_chiseled')
core.register_alias('stairs:stair_coral_desert_stone_block', 'mcl_stairs:stair_coral_desert_stone_block')

core.register_alias('everness:cursed_brick_wall', 'everness:cursedbrickwall')
core.register_alias('walls:cobble', 'mcl_walls:cobble')
core.register_alias('xpanes:trapdoor_steel_bar', 'mcl_doors:iron_trapdoor')
core.register_alias('doors:trapdoor_open', 'mcl_doors:trapdoor_open')
core.register_alias('doors:trapdoor', 'mcl_doors:trapdoor')
core.register_alias('doors:door_wood_a', 'mcl_doors:wooden_door')
core.register_alias('doors:hidden', 'air')
core.register_alias('everness:cobweb', 'mcl_core:cobweb')

core.register_alias('fire:permanent_flame', 'air')
