registerEnricher

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

Registers an enricher that adds plugin-specific fields (e.g. is_elite, is_modeled, sub-tables) to every built entity table. Consumers should register on plugin enable using direct class imports — this registry is local to this copy of Magmacore, so plugins that ship their own shaded copy must register with each other's copies directly via their public API classes.