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

Started by zenoyui on

Topic category: Advanced modding

Last seen on 15:47, 26. Oct 2024
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
Last seen on 15:47, 26. Oct 2024
Joined Oct 2024
Points:

User statistics:

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