Mineclonia/mods/MISC/gt2mc2/enchanted.lua
Wuzzy 266fde8ff2 Import biomes, gt2mc2 and related files from mc2plus
gt2mc2 contains aliases. This mod is temporary and should be removed later.

Kudos to maikerumine!
2017-08-15 19:40:53 +02:00

55 lines
2.2 KiB
Lua

minetest.register_alias("xdecor:enchantment_table", "mcl_enchanting:enchantment_table")
minetest.register_alias("xdecor:book_open", "mcl_enchanting:book_open")
mobs:alias_mob("xdecor:book_open", "mcl_enchanting:book_open")
-- mods/gt2mc/init.lua
-- axe = {enchants = "durable, fast"},
-- pick = {enchants = "durable, fast"},
-- shovel = {enchants = "durable, fast"},
-- sword = {enchants = "sharp"}
minetest.register_alias("default:pick_stone", "mcl_tools:pick_stone")
minetest.register_alias("default:pick_steel", "mcl_tools:pick_iron")
minetest.register_alias("default:pick_gold", "mcl_tools:pick_gold")
minetest.register_alias("default:pick_mese", "mcl_tools:pick_gold")
minetest.register_alias("default:enchanted_pick_diamond_durable", "mcl_tools:enchanted_pick_diamond_durable")
minetest.register_alias("default:enchanted_pick_diamond_fast", "mcl_tools:enchanted_pick_diamond_fast")
minetest.register_alias("default:shovel_stone", "mcl_tools:shovel_stone")
minetest.register_alias("default:shovel_steel", "mcl_tools:shovel_iron")
minetest.register_alias("default:shovel_gold", "mcl_tools:shovel_gold")
minetest.register_alias("default:shovel_mese", "mcl_tools:shovel_gold")
minetest.register_alias("default:enchanted_shovel_diamond_durable", "mcl_tools:enchanted_shovel_diamond_durable")
minetest.register_alias("default:enchanted_shovel_diamond_fast", "mcl_tools:enchanted_shovel_diamond_fast")
minetest.register_alias("default:axe_stone", "mcl_tools:axe_stone")
minetest.register_alias("default:axe_steel", "mcl_tools:axe_iron")
minetest.register_alias("default:axe_gold", "mcl_tools:axe_gold")
minetest.register_alias("default:enchanted_axe_diamond_durable", "mcl_tools:enchanted_axe_diamond_durable")
minetest.register_alias("default:enchanted_axe_diamond_fast", "mcl_tools:enchanted_axe_diamond_fast")
minetest.register_alias("default:sword_stone", "mcl_tools:sword_stone")
minetest.register_alias("default:sword_steel", "mcl_tools:sword_iron")
minetest.register_alias("default:sword_gold", "mcl_tools:sword_gold")
minetest.register_alias("default:sword_mese", "mcl_tools:sword_gold")
minetest.register_alias("default:enchanted_sword_diamond_sharp", "mcl_tools:enchanted_sword_diamond_sharp")