Error "Cannot resolve symbol 'PartPose'" in Minecraft Forge 1.19.2

Started by zenoyui on

Topic category: Advanced modding

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Error "Cannot resolve symbol 'PartPose'" in Minecraft Forge 1.19.2
Sat, 10/26/2024 - 15:49 (edited)

Hi everyone, I'm working on a mod for Minecraft 1.19.2 using Forge version 43.4.0. I'm encountering an error in my ParticlePhantom.java file where it shows "Cannot resolve symbol 'PartPose'" during the build process.

My file is named ParticlePhantom.java, and I’m using Java 17 as required by Minecraft 1.18+. I’ve verified the import line:

java

import net.minecraft.client.model.geom.builders.PartPose;

and confirmed it should be correct. I’ve also tried refreshing dependencies with ./gradlew --refresh-dependencies and renamed the file to match the class name, but the error persists.

 

 

 

Edited by zenoyui on Sat, 10/26/2024 - 15:49
Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(No subject)
Sat, 10/26/2024 - 15:48

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
clearing the cache did not…
Mon, 10/28/2024 - 15:55

clearing the cache did not help

Then there is something…
Mon, 10/28/2024 - 16:40

Then there is something wrong with the IDEA setup or the class you are referencing does not exist in the version you use