registerEnricher

public static void registerEnricher(BiConsumer<LuaTable, World> enricher)

Registers a tier-2 enricher that adds plugin-specific methods to every context.world table (e.g. EliteMobs adding spawn_custom_boss_at_location / generate_player_loot). Mirrors registerEnricher. The registry is local to this shaded copy of Magmacore, so each consuming plugin registers against its own copy on enable.