I cannot create a block / ore I get an error message each time (error compiling the main mod file)

Started by Draglis008 on

Topic category: Help with MCreator software

Last seen on 20:16, 14. May 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I cannot create a block / ore I get an error message each time (error compiling the main mod file)

Executing Gradle task: runClient
Build info: MCreator 2021.1.12313 EAP (12313), fabric-1.16.5, 64-bit, 8014 MB, Windows 10, JVM 1.8.0_275, JAVA_HOME: C:\MCreatorEAP20211b12313\jdk
> Configure project :
Fabric Loom: 0.6.54 Build(release #54)
> Task :compileJava FAILED
error: error reading C:\Users\lavri\.mcreator\gradle\caches\fabric-loom\yarn-1.16.5+build.5-v2-final.jar; error in opening zip file
error: error reading C:\Users\lavri\.mcreator\gradle\caches\fabric-loom\yarn-1.16.5+build.5-v2-final.jar; cannot read zip file
C:\Users\lavri\MCreatorWorkspaces\sergium_pvpfactionV1\src\main\java\net\mcreator\sergiumpvpfaction\SergiumPvpfactionMod.java:33: error: cannot find symbol public static final Block SergiumOres_BLOCK = Registry.register(Registry.BLOCK, id("sergium_ores"), new SergiumOresBlock());
^
symbol: class SergiumOresBlock
location: class SergiumPvpfactionMod
1 error
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 1s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 3 seconds
> Configure project :
Fabric Loom: 0.6.54 Build(release #54)
Exception in thread "pool-1-thread-3" java.lang.RuntimeException: Failed to download: minecraft.icns
at net.fabricmc.loom.configuration.providers.minecraft.assets.MinecraftAssetsProvider.lambda$provide$0( MinecraftAssetsProvider.java:129 at net.fabricmc.loom.configuration.providers.minecraft.assets.MinecraftAssetsProvider.lambda$provide$0(MinecraftAssetsProvider.java:129)
at java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1149 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run( ThreadPoolExecutor.java:624 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run( Thread.java:748 at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Downloaded file from http://resources.download.minecraft.net/99/991b421dfd401f115241601b2b37… to C:\Users\lavri\.mcreator\gradle\caches\fabric-loom\assets\objects\99\991b421dfd401f115241601b2b373140a8d78572 and got unexpected hash of 35f0d3922bbce7296d5650ecad3b4c965407d526 expected 991b421dfd401f115241601b2b373140a8d78572
at net.fabricmc.loom.util.HashedDownloadUtil.downloadIfInvalid( HashedDownloadUtil.java:97 at net.fabricmc.loom.util.HashedDownloadUtil.downloadIfInvalid(HashedDownloadUtil.java:97)
at net.fabricmc.loom.configuration.providers.minecraft.assets.MinecraftAssetsProvider.lambda$provide$0( MinecraftAssetsProvider.java:127 at net.fabricmc.loom.configuration.providers.minecraft.assets.MinecraftAssetsProvider.lambda$provide$0(MinecraftAssetsProvider.java:127)
... 3 more
> Task :downloadAssets

The old version of the…
Sat, 03/27/2021 - 13:49

The old version of the bounding box code from the second snapshot is not compatible with the new bounding box editor. I'm already working on a new update to fix this problem and some other due to the snapshot.

Last seen on 20:16, 14. May 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thank you
Sat, 03/27/2021 - 13:54

thank you