Topic category: Help with Minecraft modding (Java Edition)
When i added another 3d model to my mod it came up with this error but the previous models using the same format have all worked. any help?
Executing Gradle task: runClient
Build info: MCreator 2024.1.18518, forge-1.20.1, 64-bit, 8029 MB, Windows 11, JVM 17.0.10, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2024-05-11-13:36:42
> Task :compileJava FAILED
C:\Users\shaun\MCreatorWorkspaces\unstops_mod\src\main\java\net\mcreator\unstopsmod\client\model\ModelMouse.java:20: error: illegal start of type public class ModelMouse<T extends> extends EntityModel<> {
^
C:\Users\shaun\MCreatorWorkspaces\unstops_mod\src\main\java\net\mcreator\unstopsmod\client\model\ModelMouse.java:20: error: illegal start of type public class ModelMouse<T extends> extends EntityModel<> {
^
C:\Users\shaun\MCreatorWorkspaces\unstops_mod\src\main\java\net\mcreator\unstopsmod\client\model\ModelMouse.java:55: error: expected public void setupAnim( entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) {
^
3 errors
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 1 second
Anyone have any idea what this means?
Model code is broken. Did you manually alter it? If so, make sure to only alter it if you know what you are doing
no as soon as i imported the model mcreator just stopped running minecraft so i deleted it from mcreator workspace files thats the only thing i did
Is there anyway i could fix it?
This all started happening after my BlockBench just randomly updated maybe that has something to do with it. Because all of the models i have ever made previously have worked its just the ones after the update that have cause my minecraft to not run.
my friend i too was having the same problem for best part of the day today.
it's definitely blockbench.
solution;
1. turn off the auto updates in blockbench so it DOESNT 'update'
2. head to the blockbench website, look for releases and go to their github
3. scroll down to version 9.4.9 and download the exe file
4. run that exe file from where-ever you downloaded it to run it in 9.4.9 and re-export your entity!
ET VOILA! (took this screenshot just before clicking 'post reply' :)
It definitely is a blockbench export issue, reverted pre may 9th update and it works fine
Yea i thought so but i didnt want to do anythingto break mu mod
Anyway thanks
When it was said to scroll down to version 9.4.9 did they mean version 4.9.4 because I can't seem to spot a 9.4.9
https://github.com/JannisX11/blockbench/issues/2330
oh yeah sorry guys, 4.9.4 lmao my bad