diff --git a/src/main/java/net/fabricmc/loom/configuration/ifaceinject/InterfaceInjectionProcessor.java b/src/main/java/net/fabricmc/loom/configuration/ifaceinject/InterfaceInjectionProcessor.java index 5abd307a..082e3aa9 100644 --- a/src/main/java/net/fabricmc/loom/configuration/ifaceinject/InterfaceInjectionProcessor.java +++ b/src/main/java/net/fabricmc/loom/configuration/ifaceinject/InterfaceInjectionProcessor.java @@ -184,8 +184,9 @@ public class InterfaceInjectionProcessor implements JarProcessor, GenerateSource List result = new ArrayList<>(); for (RemappedConfigurationEntry entry : Constants.MOD_COMPILE_ENTRIES) { - // Only apply injected interfaces from mods that are part of the compile classpath - if (!entry.compileClasspath()) { + // Only apply injected interfaces from mods that are part of the compile and runtime classpath. + // Runtime is also required to ensure that the interface and it's impl is present when running the mc jar. + if (!(entry.compileClasspath() && entry.runtimeClasspath())) { continue; }