How do I fix this?

Started by BlockCreations… on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I fix this?

How do I fix this? it is saying:

Executing Gradle task: runClient

Build info: MCreator 2025.2.27613, neoforge-1.21.4, 64-bit, 8021 MB, Windows 11, JVM 21.0.7, JAVA_HOME: C:\Users\THIS PC\AppData\Local\MCreator\jdk, started on: 2025-07-19-00:30:57

 

Reusing configuration cache.

> Task :writeClientLegacyClasspath UP-TO-DATE

> Task :downloadAssets UP-TO-DATE

> Task :createMinecraftArtifacts UP-TO-DATE

> Task :prepareClientRun UP-TO-DATE

> Task :processResources UP-TO-DATE

> Task :compileJava FAILED

C:\Users\THIS PC\MCreatorWorkspaces\robot_armor\src\main\java\net\mcreator\robotarmor\item\RobotbootsItem.java:46: error: cannot find symbol

                        Map.of("left_leg", new Modelboots_model(Minecraft.getInstance().getEntityModels().bakeLayer(Modelboots_model.LAYER_LOCATION)).Right, "right_leg",

                                                                                                                                                     ^

  symbol:   variable Right

  location: class Modelboots_model

C:\Users\THIS PC\MCreatorWorkspaces\robot_armor\src\main\java\net\mcreator\robotarmor\item\RobotbootsItem.java:47: error: cannot find symbol

                                new Modelboots_model(Minecraft.getInstance().getEntityModels().bakeLayer(Modelboots_model.LAYER_LOCATION)).Right, "head",

                                                                                                                                          ^

  symbol:   variable Right

  location: class Modelboots_model

2 errors

FAILURE: Build failed with an exception.

* What went wrong:

Execution failed for task ':compileJava'.

> Compilation failed; see the compiler output below.

C:\Users\THIS PC\MCreatorWorkspaces\robot_armor\src\main\java\net\mcreator\robotarmor\item\RobotbootsItem.java:46: error: cannot find symbol

                          Map.of("left_leg", new Modelboots_model(Minecraft.getInstance().getEntityModels().bakeLayer(Modelboots_model.LAYER_LOCATION)).Right, "right_leg",

                                                                                                                                                       ^

    symbol:   variable Right

    location: class Modelboots_model

C:\Users\THIS PC\MCreatorWorkspaces\robot_armor\src\main\java\net\mcreator\robotarmor\item\RobotbootsItem.java:47: error: cannot find symbol

                                  new Modelboots_model(Minecraft.getInstance().getEntityModels().bakeLayer(Modelboots_model.LAYER_LOCATION)).Right, "head",

                                                                                                                                            ^

    symbol:   variable Right

    location: class Modelboots_model

  2 errors

* Try:

> Check your code and dependencies to fix the compilation error(s)

> Run with --scan to get full insights.

BUILD FAILED in 795ms

6 actionable tasks: 1 executed, 5 up-to-date

Configuration cache entry reused.

 

BUILD FAILED

Task completed in 7 seconds

 

 

 

Can anyone tell me why?