Techne Mob Recompilation Error

Started by Nicholas32704 on

Topic category: Help with MCreator software

Last seen on 00:46, 27. Dec 2020
Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Techne Mob Recompilation Error
Thu, 09/08/2016 - 23:00 (edited)

Hello.

I am using MCreator 1.7.10 for 1.10.2. I'm currently trying to make a mob called a Mushroom Spriteling (a small red mushroom mob with two stubby legs.) I made the model, made the texture, exported it to java, and loaded the model and texture to MCreator. However, EVERY TIME I finish making the mob, I get a recompilation error. Here's the error. Please tell me what I'm doing wrong!

Executing gradle command: clean build
Microsoft Windows [Version 10.0.10586]
(c) 2015 Microsoft Corporation. All rights reserved.
C:\Users\Nic\Desktop\MCreator170>cd forge
C:\Users\Nic\Desktop\MCreator170\forge>SET "JAVA_HOME=C:\Users\Nic\Desktop\MCreator170\jdk64\"
C:\Users\Nic\Desktop\MCreator170\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Users\Nic\Desktop\MCreator170\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Users\Nic\Desktop\MCreator170\forge>gradlew -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" clean build
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.7/userguide/gradle_daemon.html.
This mapping 'snapshot_20160518' was designed for MC 1.9.4! Use at your own peril.
#################################################
         ForgeGradle 2.2-SNAPSHOT-c438b06        
  https://github.com/MinecraftForge/ForgeGradle  
#################################################
               Powered by MCP unknown               
             http://modcoderpack.com             
         by: Searge, ProfMobius, Fesh0r,         
         R4wk, ZeuX, IngisKahn, bspkrs           
#################################################
:clean
:deobfCompileDummyTask
:deobfProvidedDummyTask
:sourceApiJava
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava
C:\Users\Nic\Desktop\MCreator170\forge\build\sources\main\java\mod\mcreator\mcreator_mushroomSpriteling.java:61: error: '(' or '[' expected
        RenderLiving customRender = new RenderLiving(Minecraft.getMinecraft().getRenderManager(), new mcreator_mushroomSpriteling.ModelMushroom Spriteling(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("MushroomSpriteling.png");}};
                                                                                                                                                ^
C:\Users\Nic\Desktop\MCreator170\forge\build\sources\main\java\mod\mcreator\mcreator_mushroomSpriteling.java:61: error: ';' expected
        RenderLiving customRender = new RenderLiving(Minecraft.getMinecraft().getRenderManager(), new mcreator_mushroomSpriteling.ModelMushroom Spriteling(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("MushroomSpriteling.png");}};
                                                                                                                                                          ^
C:\Users\Nic\Desktop\MCreator170\forge\build\sources\main\java\mod\mcreator\mcreator_mushroomSpriteling.java:61: error: illegal start of expression
        RenderLiving customRender = new RenderLiving(Minecraft.getMinecraft().getRenderManager(), new mcreator_mushroomSpriteling.ModelMushroom Spriteling(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("MushroomSpriteling.png");}};
                                                                                                                                                           ^
C:\Users\Nic\Desktop\MCreator170\forge\build\sources\main\java\mod\mcreator\mcreator_mushroomSpriteling.java:61: error: ';' expected
        RenderLiving customRender = new RenderLiving(Minecraft.getMinecraft().getRenderManager(), new mcreator_mushroomSpriteling.ModelMushroom Spriteling(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("MushroomSpriteling.png");}};
                                                                                                                                                            ^
C:\Users\Nic\Desktop\MCreator170\forge\build\sources\main\java\mod\mcreator\mcreator_mushroomSpriteling.java:61: error: not a statement
        RenderLiving customRender = new RenderLiving(Minecraft.getMinecraft().getRenderManager(), new mcreator_mushroomSpriteling.ModelMushroom Spriteling(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("MushroomSpriteling.png");}};
                                                                                                                                                              ^
C:\Users\Nic\Desktop\MCreator170\forge\build\sources\main\java\mod\mcreator\mcreator_mushroomSpriteling.java:61: error: ';' expected
        RenderLiving customRender = new RenderLiving(Minecraft.getMinecraft().getRenderManager(), new mcreator_mushroomSpriteling.ModelMushroom Spriteling(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("MushroomSpriteling.png");}};
                                                                                                                                                               ^
C:\Users\Nic\Desktop\MCreator170\forge\build\sources\main\java\mod\mcreator\mcreator_mushroomSpriteling.java:61: error: illegal start of expression
        RenderLiving customRender = new RenderLiving(Minecraft.getMinecraft().getRenderManager(), new mcreator_mushroomSpriteling.ModelMushroom Spriteling(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("MushroomSpriteling.png");}};
                                                                                                                                                                 ^
C:\Users\Nic\Desktop\MCreator170\forge\build\sources\main\java\mod\mcreator\mcreator_mushroomSpriteling.java:61: error: ';' expected
        RenderLiving customRender = new RenderLiving(Minecraft.getMinecraft().getRenderManager(), new mcreator_mushroomSpriteling.ModelMushroom Spriteling(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("MushroomSpriteling.png");}};
                                                                                                                                                                                                            ^
C:\Users\Nic\Desktop\MCreator170\forge\build\sources\main\java\mod\mcreator\mcreator_mushroomSpriteling.java:61: error: ';' expected
        RenderLiving customRender = new RenderLiving(Minecraft.getMinecraft().getRenderManager(), new mcreator_mushroomSpriteling.ModelMushroom Spriteling(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("MushroomSpriteling.png");}};
                                                                                                                                                                                                                              ^
C:\Users\Nic\Desktop\MCreator170\forge\build\sources\main\java\mod\mcreator\mcreator_mushroomSpriteling.java:216: error: '{' expected
public static class ModelMushroom Spriteling extends ModelBase
                                 ^
10 errors
: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.
BUILD FAILED
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Total time: 17.879 secs
C:\Users\Nic\Desktop\MCreator170\forge>
Task completed with return code 0 in 18604 milliseconds

 

 

Can someone please help me!? I'm trying to make a huge mod with tons of mobs, bosses, dimensions, and other things, but the only thing that doesn't work are the mobs.

Edited by Nicholas32704 on Thu, 09/08/2016 - 23:00
Last seen on 00:46, 27. Dec 2020
Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Nevermind, I fixed it! It was
Thu, 09/08/2016 - 23:01

Nevermind, I fixed it! It was because my Techne model had a space bar in it! Nevermind.

Last seen on 19:19, 15. May 2021
Joined Mar 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Note to you for the future:
Sat, 09/10/2016 - 15:54

Note to you for the future: don't duplicate names, either. It also give you an error.

Last seen on 00:46, 27. Dec 2020
Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:Note to you for the future:
Sat, 09/10/2016 - 20:57

@#2 I know that. I read the wiki page on how to import models into MCreator, it just didn't tell me not to put spaces in the names.

Last seen on 21:43, 5. Dec 2016
Joined Jan 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:Nevermind, I fixed it! It was
Mon, 09/12/2016 - 14:42

@Nicholas32704, I don't understand the "My techne model has a space bar on it", and, well, I have the same problem, tried editing the file and more, but, only putting the Java file, does not work.

Last seen on 22:13, 3. Apr 2024
Joined Aug 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:RE:Nevermind, I fixed it! It was
Mon, 09/12/2016 - 15:14

@#3 He meant a space bar in the name , do you see "ModelMushroom Spriteling"?

Last seen on 00:46, 27. Dec 2020
Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:RE:RE:Nevermind, I fixed it! It was
Wed, 09/14/2016 - 00:19

@#3.1 I got it, but there's another problem. When I play around in my world, the mobs keep despawning, so I end up not having any custom mobs in my world.