¿How to solve this model error/bug/glitch?

Started by Mesoic on Wed, 03/07/2018 - 18:27

Topic category: Bugs and solutions

Last seen on 21:33, 11. Dec 2018
Joined Mar 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
¿How to solve this model error/bug/glitch?
Wed, 03/07/2018 - 18:27

Hello, well, I was making a Mob with a Custom Techne Model, but when I tried to finish ir but thia appear on the console:

Execution of the gradle command: clean compilation
Microsoft Windows [Version 10.0.16299.248]
(c) 2017 Microsoft Corporation. All rights reserved.
C: \ Pylo \ MCreator178> cd forge
C: \ Pylo \ MCreator178 \ forge> SET "JAVA_HOME = C: \ Pylo \ MCreator178 \ jdk \"
C: \ Pylo \ MCreator178 \ forge> SET JAVA_EXE =% JAVA_HOME% \ bin \ java.exe
C: \ Pylo \ MCreator178 \ forge> SET PATH =% JAVA_HOME% \ bin \;% ROUTE%
C: \ Pylo \ MCreator178 \ forge> SET "GRADLE_USER_HOME = C: \ Users \ User \ .mcreator \ gradle"
C: \ Pylo \ MCreator178 \ forge> gradlew -Dorg.gradle.jvmargs = "- Xms512m -Xmx1500m" clean build
This assignment 'snapshot_20171003' was designed for MC 1.12! Use at your own risk.
##################################################################################################
ForgeGradle 2.3-SNAPSHOT-c9bb579
https://github.com/MinecraftForge/ForgeGradle
##########################################################################################
Powered by unknown MCP
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: \ Pylo \ MCreator178 \ forge \ build \ sources \ main \ java \ mod \ mcreator \ mcreator_allosaurus.java: 248: error: the HeadCrest1 variable is already defined in the ModelAllosaurus class
ModelRenderer HeadCrest1;
^
1 error
: compileJava FAILED
FAILURE: compilation failed with one exception.
* What went wrong: the
execution failed for task ': compileJava'.
> Failed compilation; see the compiler error output for more details.
* Proof:
run with the --stacktrace option to get the stack trace. Run with the option --info or --debug to get more registration results.
BUILD FAILED
Total time: 22.935 seconds
C: \ Pylo \ MCreator178 \ forge>
Task completed with return code 0 in 23572 milliseconds

¿How to solve This?

Last seen on 22:01, 27. Mar 2018
Joined Jan 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
You have a duplicate…
Sun, 03/25/2018 - 20:47

You have a duplicate definition of the head Crest one variable look for it in your source code and get rid of or comment out the second definition and see if that fixes it.