why i can't add a mob ?

Started by Just_Mao on

Topic category: Help with MCreator software

Last seen on 21:50, 8. May 2020
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
why i can't add a mob ?

when I put (save mod element) it does not want and it gives me this error message:

Executing Gradle task: build 
Build info: MCreator 2020.2.14217, 1.14.4, 64-bit, 8034 MB, Windows 10, JVM 1.8.0_232, JAVA_HOME: D:\mcreator\jdk 
> Configure project : 
New Dep: net.minecraftforge:forge:1.14.4-28.2.3_mapped_snapshot_20190719-1.14.3 
> Task :compileJava FAILED 
C:\Users\BIGOU\MCreatorWorkspaces\vanillajd\src\main\java\net\mcreator\vanillajd\entity\VagabonEntity.java:146: error:   expected 
public vagabon class Modelcustom_ostrich extends EntityModel { 
              ^ 
C:\Users\BIGOU\MCreatorWorkspaces\vanillajd\src\main\java\net\mcreator\vanillajd\entity\VagabonEntity.java:146: error:   expected 
public vagabon class Modelcustom_ostrich extends EntityModel { 
                                        ^ 
C:\Users\BIGOU\MCreatorWorkspaces\vanillajd\src\main\java\net\mcreator\vanillajd\entity\VagabonEntity.java:146: error:   expected 
public vagabon class Modelcustom_ostrich extends EntityModel { 
                                                            ^ 
C:\Users\BIGOU\MCreatorWorkspaces\vanillajd\src\main\java\net\mcreator\vanillajd\entity\VagabonEntity.java:151: error: invalid method declaration; return type required 
   public Modelcustom_ostrich() { 
          ^ 
C:\Users\BIGOU\MCreatorWorkspaces\vanillajd\src\main\java\net\mcreator\vanillajd\entity\VagabonEntity.java:191: error: class, interface, or enum expected 


5 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 --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 3s 
1 actionable task: 1 executed 
BUILD FAILED 
Task completed in 5645 milliseconds

Last seen on 10:54, 17. Apr 2021
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Reimport the mob model.
Wed, 05/06/2020 - 21:04

Reimport the mob model.

public vagabon class…
Thu, 05/07/2020 - 17:06

public vagabon class Modelcustom_ostrich extends EntityModel { 

This does not seem like proper Java to me. Do NOT mess with model code if you don't know what you are doing.

I suggest you check our tutorials collection playlist on our YouTube channel which contains many examples and tutorials that can help you get started with MCreator: https://www.youtube.com/playlist?list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei