Topic category: Troubleshooting, bugs, and solutions
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 that to the fabric plugin author on their issue tracker, we can't fix plugins here