Error compiling element for Music Disc

Started by ImKrowe on

Topic category: Troubleshooting, bugs, and solutions

Joined Jun 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Error compiling element for Music Disc

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.

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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.

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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

Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I know this threads old af…
Sun, 10/22/2023 - 00:48

I know this threads old af now but I seem to be having a similar issue on all the current versions of stuff

I may just be doing something wrong I dunno but help would be appreciated cause i cant figure it out 

Im new to this I just wanna add some music disks to a server ;-;