I'm a new user and i have this problem whenever I i try to run the client

Started by TheKingPotato on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 15:32, 20. Aug 2022
Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm a new user and i have this problem whenever I i try to run the client

When i made an armor set and i try to run the client it just keeps on saying this:

Task :compileJava FAILED
C:\Users\Eidor\MCreatorWorkspaces\tkp_stuff\src\main\java\net\mcreator\tkpstuff\item\CandleWaxArmorItem.java:42: error: no suitable constructor found for ItemStack(no arguments) return Ingredient.of(new ItemStack());
^
constructor ItemStack.ItemStack(ItemLike) is not applicable
(actual and formal argument lists differ in length)
constructor ItemStack.ItemStack(Holder<Item>) is not applicable
(actual and formal argument lists differ in length)
constructor ItemStack.ItemStack(ItemLike,int,Optional<CompoundTag>) is not applicable
(actual and formal argument lists differ in length)
constructor ItemStack.ItemStack(ItemLike,int) is not applicable
(actual and formal argument lists differ in length)
constructor ItemStack.ItemStack(ItemLike,int,CompoundTag) is not applicable
(actual and formal argument lists differ in length)
constructor ItemStack.ItemStack(CompoundTag) is not applicable
(actual and formal argument lists differ in length)
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 2sTask :compileJava FAILED
 

I don't understand any of it 

Last seen on 08:29, 9. Jul 2023
Joined Mar 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I think you might have some…
Mon, 08/01/2022 - 09:47

I think you might have some problems in a proceedure or an item. Problems usually get marked in red inside mcreator. There should be a red dot in the corner of one of your elements

Last seen on 15:32, 20. Aug 2022
Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The actual armor set is…
Mon, 08/01/2022 - 09:58

The actual armor set is marked in red but i'm not sure how to fix it, do you know of anything that could fix it?