Mixin failuresCrash When Trading With Villagers (IllegalAccessError: class_1297.field_6002)
What it looks like in the log
java.lang.IllegalAccessError: class net.minecraft.class_1728 tried to access private field net.minecraft.class_1297.field_6002 (net.minecraft.class_17
How to fix it
- Look at the first line of the crash stacktrace or the 'Mixins in Stacktrace' section under net.minecraft.class_1728 to confirm the offending mod (such as 'retraining' from retraining.mixins.json).
- Open your Minecraft 'mods' folder and check the filename of Retraining (or the listed villager trading mod) to ensure you did not install a 1.19.x build on Minecraft 1.20+.
- Download and install the latest build of that mod specifically released for your exact Minecraft version from CurseForge or Modrinth.
- If no updated version exists for your Minecraft release yet, remove the mod from your 'mods' folder to restore villager trading.
| Loaders | Fabric, Quilt |
|---|
| Severity | Stops the game |
|---|
| Category | Mixin failures |
|---|
Check your own logDownload retraining on 9Minecraft