Mixin failures

Crash 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

  1. 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).
  2. 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+.
  3. Download and install the latest build of that mod specifically released for your exact Minecraft version from CurseForge or Modrinth.
  4. If no updated version exists for your Minecraft release yet, remove the mod from your 'mods' folder to restore villager trading.
LoadersFabric, Quilt
SeverityStops the game
CategoryMixin failures

Check your own logDownload retraining on 9Minecraft

Related errors