Command to spawn custom mob with Baby Zombie model crashes the game

Published by Smakced on
Status
Resolved
Issue description

 

In MCreator 1.9.1 when you set your mobs AI to zombie you can spawn them in using this command “/summon ENTERHERE ~ ~1 ~ {IsBaby:1}” and they will use a Baby Zombie model. 

In MCreator 2019.5 b45215 doing this crashes the game and freezes MCreator, please fix this.

Also my mobs with custom models have a string of text above them.

Issue comments

Zombie AI seems to have changed in this case, we do not have control over this. Setting AI to zombie just means that the mob will extend the zombie class.

It might be a bug fixed in later forge versions, the forge we use currently is not stable.

Ok that’s understandable. If I still have this issue when MCreator uses the stable version should I open another issue? Or should I just assume that 1.14.4 breaks this functionality? If this issue is impossible to fix I could just make a baby zombie custom model, but it’d be a bit simpler to just use the command. 

Or should I just assume that 1.14.4 breaks this functionality?

It could be, as we do not enable mob baby spawning, it is inherited from zombie vanilla code, as "AI base" indicates.

Understood, thank you for the info and for helping :D

I made a custom baby zombie model that causes a compiling error when starting the client, it is just a scaled down biped model, my other mobs with custom models work fine and are not scaled. Here is the error:

 

Build info: MCreator 2019.5.45215 EAP (45215), 64-bit, 8090 MB, Windows 10, JVM 1.8.0_222, JAVA_HOME: C:\Users\smakc\Downloads\MCreator EAP 2019.5 b45215 Windows 64bit\MCreatorEAP20195b45215\jdk
> Configure project :
New Dep: net.minecraftforge:forge:1.14.4-28.1.87_mapped_snapshot_20190719-1.14.3

> Task :compileJava
C:\Users\smakc\MCreatorWorkspaces\new\src\main\java\net\mcreator\h_m_m\MCreatorAnnabelle2.java:362: error: cannot find symbol
            GlStateManager.scale(1D / modelScale[0], 1D / modelScale[1], 1D / modelScale[2]);
                          ^
  symbol:   method scale(double,double,double)
  location: class GlStateManager
C:\Users\smakc\MCreatorWorkspaces\new\src\main\java\net\mcreator\h_m_m\MCreatorChucky2.java:381: error: cannot find symbol
            GlStateManager.scale(1D / modelScale[0], 1D / modelScale[1], 1D / modelScale[2]);
                          ^
  symbol:   method scale(double,double,double)
  location: class GlStateManager
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors

> Task :compileJava FAILED

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 --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.9/userguide/command_line_interface.html#sec:c…

BUILD FAILED in 30s
1 actionable task: 1 executed

Yes I made the model with Tabula. I saw in the post you linked that it doesn’t make 1.14.4 compatible models, I will try another program until it gets updated. Thank you for letting me know!