diff --git a/mods/HUD/mcl_craftguide/depends.txt b/mods/HUD/mcl_craftguide/depends.txt index 315237e07b..a37919b65e 100644 --- a/mods/HUD/mcl_craftguide/depends.txt +++ b/mods/HUD/mcl_craftguide/depends.txt @@ -1 +1,2 @@ mcl_core +mcl_compass diff --git a/mods/HUD/mcl_craftguide/init.lua b/mods/HUD/mcl_craftguide/init.lua index 743bea0d0a..47a426c974 100644 --- a/mods/HUD/mcl_craftguide/init.lua +++ b/mods/HUD/mcl_craftguide/init.lua @@ -48,6 +48,7 @@ local group_stereotypes = { shulker_box = "mcl_chests:violet_shulker_box", quartz_block = "mcl_nether:quartz_block", mesecon_conductor_craftable = "mesecons:wire_00000000_off", + compass = mcl_compass.stereotype, } local group_names = { diff --git a/mods/ITEMS/mcl_compass/init.lua b/mods/ITEMS/mcl_compass/init.lua index d2913a3d19..9ef680d3c9 100644 --- a/mods/ITEMS/mcl_compass/init.lua +++ b/mods/ITEMS/mcl_compass/init.lua @@ -1,3 +1,4 @@ +mcl_compass = {} local default_spawn_settings = minetest.setting_get("static_spawnpoint") @@ -73,3 +74,8 @@ minetest.register_craft({ }) minetest.register_alias("mcl_compass:compass", "mcl_compass:"..stereotype_frame) + +-- Export stereotype item for other mods to use +mcl_compass.stereotype = "mcl_compass:"..tostring(stereotype_frame) + +