Techne Model Recompilation Error

4 posts / 0 new
Last post
Offline
Last seen: 1 year 1 month ago
Joined: 07/02/2015 - 02:39
Gems: 0
Techne Model Recompilation Error

I'm making a mob for my mod and I followed the wiki page on how to use techne models with mcreator.  I removed the lines of code like it said but now there is a new error and I cant figure out what the problem is.

 

****************************
 Powered By MCP:             
 http://modcoderpack.com/    
 Searge, ProfMobius, Fesh0r, 
 R4wk, ZeuX, IngisKahn, bspkrs
 MCP Data version : snapshot_20141130
****************************
:clean
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava
C:\Pylo\MCreator157\forge\build\sources\java\mod\mcreator\mcreator_floaterMob.java:270: error: variable Body4 is already defined in class ModelModel
ModelRenderer Body4;
              ^
1 error
: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.
BUILD FAILED
Total time: 19.968 secs
C:\Pylo\MCreator157\forge>
Task completed with return code 0 in 20774 milliseconds

 



Offline
Last seen: 10 months 1 week ago
Joined: 06/23/2015 - 12:08
Gems: 0
Problem is in your model,

Problem is in your model, when you made it in techne some parts of body have same names, that means these parts of your model must have different names at ''Model Tree''
Here. :)
http://prntscr.com/83eb3f   Error.
http://prntscr.com/83ebhe  Good.

I hope it will help

Offline
Last seen: 2 weeks 2 days ago
Joined: 05/21/2016 - 15:24
Gems: 0
how do you remove the lins of

how do you remove the lins of code?

 

Offline
Last seen: 3 weeks 4 days ago
Joined: 11/24/2016 - 02:32
Gems: 16
RE:Problem is in your model,

I made a mob but I keep having errors, what did I do wrong? Here's the log:

This mapping 'snapshot_20160518' was designed for MC 1.9.4! Use at your own peril.
#################################################
         ForgeGradle 2.2-SNAPSHOT-59eb824        
  https://github.com/MinecraftForge/ForgeGradle  
#################################################
               Powered by MCP unknown               
             http://modcoderpack.com             
         by: Searge, ProfMobius, Fesh0r,         
         R4wk, ZeuX, IngisKahn, bspkrs           
#################################################
:clean
:deobfCompileDummyTask
:getVersionJson
:extractUserdev UP-TO-DATE
:downloadClient SKIPPED
:downloadServer SKIPPED
:splitServerJar SKIPPED
:mergeJars SKIPPED
:applyBinaryPatches SKIPPED
:deobfProvidedDummyTask
:extractDependencyATs SKIPPED
:extractMcpData SKIPPED
:extractMcpMappings SKIPPED
:genSrgs SKIPPED
:deobfMcMCP SKIPPED
:sourceApiJava
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\mcreator_grandSlittle.java:54: error: '(' or '[' expected
      RenderLiving customRender = new RenderLiving(Minecraft.getMinecraft().getRenderManager(), new mcreator_grandSlittle.ModelGrand Slittle(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("GrandSlittle.png");}};
:compileJava FAILED
                                                                                                                                     ^
BUILD FAILED
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\mcreator_grandSlittle.java:54Total time: 18.497 secs
: error: ';' expected
      RenderLiving customRender = new RenderLiving(Minecraft.getMinecraft().getRenderManager(), new mcreator_grandSlittle.ModelGrand Slittle(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("GrandSlittle.png");}};
                                                                                                                                            ^
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\mcreator_grandSlittle.java:54: error: illegal start of expression
      RenderLiving customRender = new RenderLiving(Minecraft.getMinecraft().getRenderManager(), new mcreator_grandSlittle.ModelGrand Slittle(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("GrandSlittle.png");}};
                                                                                                                                             ^
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\mcreator_grandSlittle.java:54: error: ';' expected
      RenderLiving customRender = new RenderLiving(Minecraft.getMinecraft().getRenderManager(), new mcreator_grandSlittle.ModelGrand Slittle(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("GrandSlittle.png");}};
                                                                                                                                              ^
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\mcreator_grandSlittle.java:54: error: not a statement
      RenderLiving customRender = new RenderLiving(Minecraft.getMinecraft().getRenderManager(), new mcreator_grandSlittle.ModelGrand Slittle(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("GrandSlittle.png");}};
                                                                                                                                                ^
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\mcreator_grandSlittle.java:54: error: ';' expected
      RenderLiving customRender = new RenderLiving(Minecraft.getMinecraft().getRenderManager(), new mcreator_grandSlittle.ModelGrand Slittle(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("GrandSlittle.png");}};
                                                                                                                                                 ^
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\mcreator_grandSlittle.java:54: error: illegal start of expression
      RenderLiving customRender = new RenderLiving(Minecraft.getMinecraft().getRenderManager(), new mcreator_grandSlittle.ModelGrand Slittle(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("GrandSlittle.png");}};
                                                                                                                                                   ^
C:\Pylo\MCreator171\forge>
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\mc: error: ';' expected
reator_grandSlittle.java:54      RenderLiving customRender = new RenderLiving(Minecraft.getMinecraft().getRenderManager(), new mcreator_grandSlittle.ModelGrand Slittle(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("GrandSlittle.png");}};
Task completed with return code 0 in 19145 milliseconds
                                                                                                                                                                                              ^
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\mcreator_grandSlittle.java:54: error: ';' expected
      RenderLiving customRender = new RenderLiving(Minecraft.getMinecraft().getRenderManager(), new mcreator_grandSlittle.ModelGrand Slittle(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("GrandSlittle.png");}};
                                                                                                                                                                                                                ^
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\mcreator_grandSlittle.java:199: error: '{' expected
public static class ModelGrand Slittle extends ModelBase
                              ^
10 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.