Incompatible Types

Started by bxdkotenko on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 17:22, 21. Mar 2024
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Incompatible Types

Im trying to create my first mod, when im creating mod for forge its working good.
I tried to make mod for Fabric and i get that:

> Configure project :
Fabric Loom: 1.4.6
> Task :compileJava FAILED
C:\Users\neverbtw\MCreatorWorkspaces\smptoogrik\src\main\java\net\mcreator\smptoogrik\init\SmptoogrikModItems.java:31: error: incompatible types: ItemPropertyFunction cannot be converted to ClampedItemPropertyFunction ItemProperties.register(item, new ResourceLocation("blocking"), ItemProperties.getProperty(Items.SHIELD, new ResourceLocation("blocking")));
^
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'.

I would recommend reporting…
Thu, 03/21/2024 - 17:19

I would recommend reporting that to the fabric plugin author on their issue tracker, we can't fix plugins here