Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > Task :compileJava FAILED
- C:\Users\louis\MCreatorWorkspaces\the_frozen_kingdom\src\main\java\net\mcreator\thefrozenkingdom\init\TheFrozenKingdomModItems.java:76: error: incompatible types: invalid constructor reference
- public static final DeferredItem<Item> CLAW_ARROWW = register("claw_arroww", ClawArrowwItem::new);
- ^
- constructor ClawArrowwItem in class ClawArrowwItem cannot be applied to given types
- required: no arguments
- found: Properties
- reason: actual and formal argument lists differ in length
- Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
- 1 error
- FAILURE: Build failed with an exception.
- * What went wrong:
- Execution failed for task ':compileJava'.
- > Compilation failed; see the compiler output below.
- Note: Recompile with -Xlint:deprecation for details.
- C:\Users\louis\MCreatorWorkspaces\the_frozen_kingdom\src\main\java\net\mcreator\thefrozenkingdom\init\TheFrozenKingdomModItems.java:76: error: incompatible types: invalid constructor reference
- public static final DeferredItem<Item> CLAW_ARROWW = register("claw_arroww", ClawArrowwItem::new);
- ^
- constructor ClawArrowwItem in class ClawArrowwItem cannot be applied to given types
- required: no arguments
- found: Properties
- reason: actual and formal argument lists differ in length
- Note: Recompile with -Xlint:unchecked for details.
- Note: Some input files use or override a deprecated API.
- Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
- 1 error
- * Try:
- > Check your code and dependencies to fix the compilation error(s)
- > Run with --scan to get full insights.
- BUILD FAILED in 1s
- 6 actionable tasks: 1 executed, 5 up-to-date
- Configuration cache entry reused
Advertisement
Add Comment
Please, Sign In to add comment