Error compiling element for Music Disc

Started by ImKrowe on Mon, 10/25/2021 - 21:48

Topic category: Troubleshooting, bugs, and solutions

Last seen on 15:38, 17. Nov 2021
Joined Jun 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Error compiling element for Music Disc
Mon, 10/25/2021 - 21:48

Cannot figure out for the life of me what went / or is going wrong with this.

Build log: 

 

Executing Gradle task: build
Build info: MCreator 2021.2.36710, fabric-1.16.5, 64-bit, 32677 MB, Windows 10, JVM 11.0.11, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
> Configure project :
Fabric Loom: 0.7.34
> Task :compileJava FAILED
C:\Users\mcgig\MCreatorWorkspaces\better_gun_poweder_remux\src\main\java\net\mcreator\bettergunpowderremux\item\DoomDiscMusicDisc.java:15: error: ')' expected new FabricItemSettings().group(ItemGroup.MISC).maxCount(1).rarity(Rarity.RARE));
^
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 418ms
1 actionable task: 1 executed
BUILD FAILED
Task completed in 2 seconds

Any help would be greatly appreciated.

Last seen on 02:35, 30. Nov 2021
Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Thank you for the report. I…
Tue, 10/26/2021 - 01:03

Thank you for the report. I'm working on another patch to fix some other bugs. It should be available in the upcoming hours.

Last seen on 02:35, 30. Nov 2021
Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Several build errors were…
Tue, 10/26/2021 - 02:43

Several build errors were still present in the generator, so I released a patch to kill them.
* [Bugfix] Fix Get fuel power of, Is blockat solid, replace block, get/set logic/text block NBT Tag of block, get enchantment level of itemstack, get smelting result, place structure, run function, set global spawn, set time, spawn item entity, get biome at, get dimension id procedure blocks
* [Bugfix] Fix music disc build error
* [Bugfix #166] Fix the On food eaten food trigger
https://mcreator.net/plugin/64512/mcreator-fabric-generator