Minecraft Development for IntelliJ plugin version
2026.1-1.8.17-nightly+653
IntelliJ version
2026.1.2
Operating System
Windows 11
Target platform
Fabric
Description of the bug
Most fabric.mod.json inspections do not function correctly.
Examples:
- Inspections on the "license" field do not consider whether there is a file at the supplied location, only whether a file called
LICENSE or LICENSE.txt is present
- No inspection currently considers gradle String-Field mappings in the form of ${mod_name}
- There are no inspections on the "id" and "version" field in the case the aforementioned mappings could not be resolved
- This applies to pretty much all fields and even entries in lists
- Excluding the "icon" field and entries in the "mixins" list
- These do not resolve the mappings and always fail
My theory:
No additional verification takes place for most fields, but for the fields that verification does take place for, it does not account for such mappings.
Files referenced:
src/main/kotlin/platform/fabric/inspection/UnresolvedReferenceInspection.kt, Lines 53 and and below
src/main/kotlin/platform/fabric/reference/LicenseReference.kt, Lines 50 and and below
Note: I did not test this with non-mapped fields.
Minecraft Development for IntelliJ plugin version
2026.1-1.8.17-nightly+653
IntelliJ version
2026.1.2
Operating System
Windows 11
Target platform
Fabric
Description of the bug
Most
fabric.mod.jsoninspections do not function correctly.Examples:
LICENSEorLICENSE.txtis presentMy theory:
No additional verification takes place for most fields, but for the fields that verification does take place for, it does not account for such mappings.
Files referenced:
src/main/kotlin/platform/fabric/inspection/UnresolvedReferenceInspection.kt, Lines 53 and and below
src/main/kotlin/platform/fabric/reference/LicenseReference.kt, Lines 50 and and below
Note: I did not test this with non-mapped fields.