Compilation problem (items and procedures) (error)

Started by saucisson on

Topic category: Help with MCreator software

Last seen on 13:06, 25. Sep 2024
Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Compilation problem (items and procedures) (error)

Hello, I wanted to make an item (nothing complicated knowing that I've been doing MCreator for quite a while...) but a compilation error was displayed when saving my sulfur item... It also gives me this error with procedures (maybe others but I haven't tested everything)

please if anyone has any idea what the problem is or how to fix it let me know

I am with MCreator 2023.3

Plugin 1.16.5

Thanks in advance

I'm french so MCreator is in french too

Image

> Executing Gradle task: build 
> Build info: MCreator 2023.3.36712, forge-1.16.5, 64-bit, 7935 MB, Linux, JVM 17.0.7, JAVA_HOME: /opt/mcreator/jdk, started on: 2024-06-22-21:34:29 
>   
> Task :compileJava 
> /home/cyprien/MCreatorWorkspaces/addonwar/src/main/java/net/mcreator/addonwar/procedures/Parachute_procProcedure.java:54: error: package ParachuteEntity does not exist 
>             Entity entityToSpawn = new ParachuteEntity.CustomEntity(ParachuteEntity.entity, (World) world); 
>                                                       ^ 
> /home/cyprien/MCreatorWorkspaces/addonwar/src/main/java/net/mcreator/addonwar/procedures/Parachute_procProcedure.java:54: error: cannot find symbol 
>             Entity entityToSpawn = new ParachuteEntity.CustomEntity(ParachuteEntity.entity, (World) world); 
>                                                                     ^ 
>   symbol:   variable ParachuteEntity 
>   location: class net.mcreator.addonwar.procedures.Parachute_procProcedure 
> /home/cyprien/MCreatorWorkspaces/addonwar/src/main/java/net/mcreator/addonwar/item/BarbedwiredebrisItem.java:29: error: cannot find symbol 
>          super(new Item.Properties().group(AddonWarItemGroup.tab).maxStackSize(64).rarity(Rarity.COMMON)); 
>                                            ^ 
>   symbol:   variable AddonWarItemGroup 
>   location: class net.mcreator.addonwar.item.BarbedwiredebrisItem.ItemCustom 
> /home/cyprien/MCreatorWorkspaces/addonwar/src/main/java/net/mcreator/addonwar/item/SulphurItem.java:29: error: cannot find symbol 
>          super(new Item.Properties().group(AddonWarItemGroup.tab).maxStackSize(64).rarity(Rarity.COMMON)); 
>                                            ^ 
>   symbol:   variable AddonWarItemGroup 
>   location: class net.mcreator.addonwar.item.SulphurItem.ItemCustom 
> /home/cyprien/MCreatorWorkspaces/addonwar/src/main/java/net/mcreator/addonwar/item/ParachuteitemItem.java:29: error: cannot find symbol 
>          super(new Item.Properties().group(AddonWarItemGroup.tab).maxStackSize(16).rarity(Rarity.COMMON)); 
>                                            ^ 
>   symbol:   variable AddonWarItemGroup 
>   location: class net.mcreator.addonwar.item.ParachuteitemItem.ItemCustom 
> 5 errors 
> Task :compileJava FAILED 
> 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 --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. 
> * Get more help at https://help.gradle.org 
> BUILD FAILED in 3s 
> 1 actionable task: 1 executed 
>   
> BUILD FAILED 
> Task completed in 9 hours, 55 minutes and 13 seconds