i m trying to make backpack but everytime i click save mod elemet i am getting this error

Started by erenpn09 on

Topic category: Help with modding (Java Edition)

Last seen on 13:39, 27. Feb 2024
Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i m trying to make backpack but everytime i click save mod elemet i am getting this error
Thu, 02/15/2024 - 11:34 (edited)
Executing Gradle task: build
Build info: MCreator 2023.4.52316, fabric-1.20.1, 64-bit, 16122 MB, Windows 10, JVM 17.0.9, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2024-02-15-14:23:20
Loaded APIs: terrablender
 
> Configure project :
Fabric Loom: 1.4.6
> Task :compileJava FAILED
C:\damacanamodu\src\main\java\net\mcreator\damacana\item\Backpack1Item.java:56: error: cannot find symbol   return new Backpack1guiMenu(syncId, inventory, new Backpack1Inventory(itemstack));
            ^
 symbol: variable itemstack
C:\damacanamodu\src\main\java\net\mcreator\damacana\item\Backpack1Item.java:61: error: cannot find symbol   return itemstack.getDisplayName();
   ^
 symbol: variable itemstack
2 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
> Run with --info option to get more log output.
> Run with --scan to get full insights.
BUILD FAILED in 1s
1 actionable task: 1 executed
 
BUILD FAILED
Task completed in 7 seconds
Edited by erenpn09 on Thu, 02/15/2024 - 11:34
I would recommend reporting…
Thu, 02/15/2024 - 20:34

I would recommend reporting the bug to the author of the plugin you use for Fabric support