Mixin Manager
object MixinManager
Front door for TypeScript mixins. Lazily self-attaches the instrumentation agent and installs MixinTransformer on the first injection, registers each hook in MixinRegistry, and triggers a retransform so the change takes effect immediately — even for Minecraft classes that are already loaded. Reverting (on /te reload or module unload) retransforms the affected classes back to their original bytes.
All calls are expected on the JS/render thread (where scripts register), matching the rest of the engine.