Closed DinoNuggies7 closed 5 months ago
same happens for me. I tried making it into a simple food and the error still pops up
Same here, I also tried with a tool but other elements worked.
Error log: `Executing Gradle task: build Build info: MCreator 2023.4.52316, fabric-1.20.1, 64-bit, 24443 MB, Windows 11, JVM 17.0.9, JAVA_HOME: E:\MCreator20234\jdk, started on: 2024-03-19-17:29:30
Configure project : Fabric Loom: 1.4.6 Task :compileJava FAILED C:\Users\Ulyss\MCreatorWorkspaces\hetonia\src\main\java\fr\hetoniastudios\hetonia\init\HetoniaModItems.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'. Compilation failed; see the compiler error output for details.
- Try: Run with --info option to get more log output. Run with --scan to get full insights. BUILD FAILED in 1s 1 actionable task: 1 executed
BUILD FAILED Task completed in 6 seconds`
I tired to use an older version with an older version of mcreator and it worked. It may be a temorary fix for thoes who don't need new features now.
I know where and what is the cause. I just don't have the time currently (busy with university)
I tired to use an older version with an older version of mcreator and it worked. It may be a temporary fix for those who don't need new features now.
for anyone finding this, you can just downgrade to the previous version of Fabric Generator (1.9.13) and stay on the latest version of MCreator, and it should all compile fine, likely the best solution until gold has time to implement the fix^
Issue tracker rule checks (please read carefully)
Issue description
In a completely new workspace, adding an item with absolutely nothing changed (other than the texture) results in an error. Here's the console output:
How to reproduce this issue?
Step 1: Add new item Step 2: Add a texture Step 3: Save and let it compile
Operating system
Windows
Details
MCreator Version: 2023.4 Fabric Generator Version: 1.9.14
Example workspace
No response
Logs
No response