What happened?
refmap file reference is hardcoded into the mixin json files but no refmap file is provided (in NeoForge release).
If a refmap is not required, and the chosen toolchain doesn't handle dynamic refmap entries, and it is still desirable to hardcode for the unnecessary refmap, then an empty refmap should be provided when refmaps are not needed.
Screenshots
No response
Log output
[06:37:07.868] [main/WARN] [mixin/]: Reference map 'iris.refmap.json' for mixins.iris.json could not be read. If this is a development environment you can ignore this message
[06:37:07.869] [main/WARN] [mixin/]: Reference map 'iris.refmap.json' for mixins.iris.fantastic.json could not be read. If this is a development environment you can ignore this message
[06:37:07.869] [main/WARN] [mixin/]: Reference map 'iris.refmap.json' for mixins.iris.vertexformat.json could not be read. If this is a development environment you can ignore this message
[06:37:07.870] [main/WARN] [mixin/]: Reference map 'iris.refmap.json' for iris-batched-entity-rendering.mixins.json could not be read. If this is a development environment you can ignore this message
[06:37:07.870] [main/WARN] [mixin/]: Reference map 'iris.refmap.json' for mixins.iris.compat.sodium.json could not be read. If this is a development environment you can ignore this message
Minecraft Version
1.21.1
Iris Version
current source code as of 19 Jun 2025
Operating System
N/A
What is your GPU?
N/A
Additional context
example invalid config
|
"refmap": "iris.refmap.json", |
The refmap is likely required on systems that remap to an intermediary like fabric, and that unique situation should be handled within the fabric build rather than providing invalid configs everywhere else
What happened?
refmap file reference is hardcoded into the mixin json files but no refmap file is provided (in NeoForge release).
If a refmap is not required, and the chosen toolchain doesn't handle dynamic refmap entries, and it is still desirable to hardcode for the unnecessary refmap, then an empty refmap should be provided when refmaps are not needed.
Screenshots
No response
Log output
[06:37:07.868] [main/WARN] [mixin/]: Reference map 'iris.refmap.json' for mixins.iris.json could not be read. If this is a development environment you can ignore this message
[06:37:07.869] [main/WARN] [mixin/]: Reference map 'iris.refmap.json' for mixins.iris.fantastic.json could not be read. If this is a development environment you can ignore this message
[06:37:07.869] [main/WARN] [mixin/]: Reference map 'iris.refmap.json' for mixins.iris.vertexformat.json could not be read. If this is a development environment you can ignore this message
[06:37:07.870] [main/WARN] [mixin/]: Reference map 'iris.refmap.json' for iris-batched-entity-rendering.mixins.json could not be read. If this is a development environment you can ignore this message
[06:37:07.870] [main/WARN] [mixin/]: Reference map 'iris.refmap.json' for mixins.iris.compat.sodium.json could not be read. If this is a development environment you can ignore this message
Minecraft Version
1.21.1
Iris Version
current source code as of 19 Jun 2025
Operating System
N/A
What is your GPU?
N/A
Additional context
example invalid config
Iris/common/src/main/resources/mixins.iris.json
Line 5 in b4b2c22
The refmap is likely required on systems that remap to an intermediary like fabric, and that unique situation should be handled within the fabric build rather than providing invalid configs everywhere else