fabric-loom
fabric-loom copied to clipboard
Runtime crashing with interface injection
Similar issue to the past, I'm getting reports of EMI crashing mods in a dev environment when depended on compile time only in 1.0-SNAPSHOT loom with a class not found. Interface injection seems to apply based on compile dependencies and when the class cannot be resolved at runtime it crashes consistently.
https://github.com/FabricMC/fabric-loom/blob/ffe5e955c5d908b8ab14f157b273e4a582d7dd0a/src/main/java/net/fabricmc/loom/configuration/ifaceinject/InterfaceInjectionProcessor.java#L184-L200
Hmm, it definitely does filter based on the jar being both in compile and runtime classpaths