Mob doesnt Work!

Started by Yusufhum3 on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 15:54, 6. Jun 2023
Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Mob doesnt Work!

I made a new mob but when I try to start minecraft it failes. Is it because of the Texturefile? I filled 2 parts with a square so parts that dont belong are also textured to make it faster. please help

Error log:

 

Executing gradle command: clean build
Microsoft Windows [Version 10.0.16299.309]
(c) 2017 Microsoft Corporation. Alle Rechte vorbehalten.
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\;%PATH%
C:\Pylo\MCreator178\forge>SET "GRADLE_USER_HOME=C:\Users\yusuf\.mcreator\gradle"
C:\Pylo\MCreator178\forge>gradlew -Dorg.gradle.jvmargs="-Xms512m -Xmx1500m" clean build
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
#################################################
ForgeGradle 2.3-SNAPSHOT-27b9d44
https://github.com/MinecraftForge/ForgeGradle
#################################################
Powered by MCP
http://modcoderpack.com
by: Searge, ProfMobius, R4wk, ZeuX
Fesh0r, IngisKahn, bspkrs, LexManos
#################################################
: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\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_test.java:56: error: cannot find symbol
RenderLiving customRender = new RenderLiving(Minecraft.getMinecraft().getRenderManager(), new mcreator_test.Model(), 0) {
^
symbol: class Model
location: class mcreator_test
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_test.java:273: error: method setRotationAngles in class ModelBase cannot be applied to given types;
super.setRotationAngles(f, f1, f2, f3, f4, f5);
^
required: float,float,float,float,float,float,Entity
found: float,float,float,float,float,float
reason: actual and formal argument lists differ in length
2 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.
* 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: 36.663 secs
C:\Pylo\MCreator178\forge>
Task completed with return code 0 in 37476 milliseconds

Last seen on 03:03, 6. Feb 2024
Joined Apr 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Where did you made your…
Fri, 04/13/2018 - 17:00

Where did you made your model was it Techne, Tabula, Blender ?

Last seen on 03:03, 6. Feb 2024
Joined Apr 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
OK I Know whats Wrong You…
Fri, 04/13/2018 - 17:09

OK I Know whats Wrong You have probably Used Tabula to make this model but there is a thing that in tabula when you exporting your model you need to export it as ModelNameOfModel otherwise it will replace name of your model with Model for example if your model name is SooAwesomeMob MCreator will change it in code like this: ModelesomeMob
So simply every time you export model from tabula add "Model" before the name of mob
If you need more info about exporting model than check this tutorial :)
https://mcreator.net/forum/35866/how-get-tabula-models-work-mcreator-mi…

About the second error replace this: super.setRotationAngles(f, f1, f2, f3, f4, f5);

line with this:

public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity entity) {
super.setRotationAngles(f, f1, f2, f3, f4, f5, entity);

}

also add this to your imports: import net.minecraft.util.math.MathHelper;

Hope I helped :)
 

Last seen on 15:54, 6. Jun 2023
Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i used techne  
Wed, 05/23/2018 - 17:09

i used techne