Yongda Fan

Results 22 comments of Yongda Fan

I've experienced the same problem and can verify the PR https://github.com/FabricMC/Mixin/pull/39 solve the problem. Should we move this PR upstream?

How about wrap the game event inside a normal sponge event. Especially considering the fact that this mojang event system is not currently widely used and is more limited.

Could you provide the generated refmap and expected refmap?

The Loom's refmap adder will pick all mixin JSON declared in the fabric.mod.json that are actually present in the `resource` folder of the declared source set. If no source set...

The idea behind mentioned behaviour is that people should put the mixin JSON file and mixin class java file in the same resource set.

> 5 is the real nightmare, as the current system of loading isn't quite extensible to new discoveries, I think the new mod discovery system (refactored by Player) can potentially...

Could you provide an example to re-produce it?

By looking at the code, the class file of the mod is loaded inside `freeze` function. I think we could just insert an entry point between `freeze` and `loadAccessWideners`. No...

Correct if I am wrong, but inside `freeze()` -> `finishModLoading()` -> `FabricLauncherBase.getLauncher().propose(mod.getOriginUrl())`, I think the mod jar is loaded into the java classpath. And between `freeze()` and invoking `preLaunch` only...

My intention is to provide a set of API that can manipulate the mixin & aw bootstrap of the fabric loader from a mod, which should not be for general...