I re-installed MCreator after a while. It all was fine at first, I made two custom blocks and some recipes (everything worked perfectly). I wanted to make a food item, and since then I keep running into this issue, so I tried making a block and the same issue appears. It's weird because when I first started I had no issues at all, but now anything I make causes this problem to occur.
Here's the log:
Executing
Gradle task: build
Build
info: MCreator 2020.4.32115, fabric-1.16.1, 64-bit, 12139 MB, Windows 8.1,
JVM 1.8.0_252, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
>
Configure project :
Fabric
Loom: 0.4.33 Build(jenkins #33)
:setting
up loom dependencies
:setting
up mappings (yarn 1.16.1+build.21)
Configuring
compiler arguments for Java
>
Task :compileJava
Note:
SpongePowered MIXIN Annotation Processor Version=0.8
Note:
ObfuscationServiceFabric supports type: "official:intermediary"
Note:
ObfuscationServiceFabric supports type: "official:named"
Note:
ObfuscationServiceFabric supports type: "intermediary:official"
Note:
ObfuscationServiceFabric supports type: "intermediary:named"
Note:
ObfuscationServiceFabric supports type: "named:official"
Note:
ObfuscationServiceFabric supports type: "named:intermediary"
Note:
ObfuscationServiceMCP supports type: "searge"
Note:
ObfuscationServiceMCP supports type: "notch"
>
Task :processResources FAILED
FAILURE:
Build failed with an exception.
*
What went wrong:
Execution
failed for task ':processResources'.
>
Could not copy file 'C:\Users\Abdul
Rauf\MCreatorWorkspaces\my_mod\src\main\resources\assets\my_mod\textures\items\Thumbs.db'
to 'C:\Users\Abdul
Rauf\MCreatorWorkspaces\my_mod\build\resources\main\assets\my_mod\textures\items\Thumbs.db'.
> C:\Users\Abdul
Rauf\MCreatorWorkspaces\my_mod\build\resources\main\assets\my_mod\textures\items\Thumbs.db
(Access is denied)
*
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 5s
2
actionable tasks: 2 executed
BUILD
FAILED
Task
completed in 5928 milliseconds
I don't know if I should make another post for this, but when I try to make a food (Vegetable soup in this case) a different issue arises. Here's the log:
Executing
Gradle task: runClient
Build
info: MCreator 2020.4.32115, fabric-1.16.1, 64-bit, 12139 MB, Windows 8.1,
JVM 1.8.0_252, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
>
Configure project :
Fabric
Loom: 0.4.33 Build(jenkins #33)
:setting
up loom dependencies
:setting
up mappings (yarn 1.16.1+build.21)
Configuring
compiler arguments for Java
>
Task :downloadAssets
:downloading
asset index
:downloading
assets...
>
Task :compileJava FAILED
C:\Users\Abdul
Rauf\MCreatorWorkspaces\my_mod\src\main\java\net\mcreator\mymod\procedures\VeggieSoupFoodEatenProcedure.java:18:
error:
expected
ItemStack _setstack = Items.BOWL, (int)(1);
^
C:\Users\Abdul
Rauf\MCreatorWorkspaces\my_mod\src\main\java\net\mcreator\mymod\procedures\VeggieSoupFoodEatenProcedure.java:18:
error: not a statement
ItemStack _setstack = Items.BOWL, (int)(1);
^
C:\Users\Abdul
Rauf\MCreatorWorkspaces\my_mod\src\main\java\net\mcreator\mymod\procedures\VeggieSoupFoodEatenProcedure.java:18:
error: ';' expected
ItemStack _setstack = Items.BOWL, (int)(1);
^
3
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 --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 1m 27s
2
actionable tasks: 2 executed
BUILD
FAILED
Task
completed in 100433 milliseconds