Skip to content

Missing hardcoded refmap file in multiple mixin configs for NeoForge releases #2782

Description

@Linguardium

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions