I can't create custom entity

Started by Hubbysiek on

Topic category: Help with modding (Java Edition)

Last seen on 17:59, 2. Nov 2021
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I can't create custom entity

Hey guys I have some issues with making custom models for entities. Ive made everything as it was in yt tutorial but then it shows me something like this 
Pls help!

Executing Gradle task: runClient
Build info: MCreator 2021.2.36710, forge-1.16.5, 64-bit, 8134 MB, Windows 10, JVM 11.0.11, JAVA_HOME: D:\Mcreator\jdk
> Task :compileJava FAILED
D:\TEST\src\main\java\net\mcreator\testowe\entity\renderer\PolRenderer.java:44: error: net.mcreator.testowe.entity.renderer.PolRenderer.Modelcustom_model is not abstract and does not override abstract method render(com.mojang.blaze3d.matrix.MatrixStack,com.mojang.blaze3d.vertex.IVertexBuilder,int,int,float,float,float,float) in net.minecraft.client.renderer.model.Model public static class Modelcustom_model extends EntityModel<Entity> {
^
D:\TEST\src\main\java\net\mcreator\testowe\entity\renderer\PolRenderer.java:47: error: cannot find symbol texWidth = 16;
^
symbol: variable texWidth
location: class net.mcreator.testowe.entity.renderer.PolRenderer.Modelcustom_model
D:\TEST\src\main\java\net\mcreator\testowe\entity\renderer\PolRenderer.java:48: error: cannot find symbol texHeight = 16;
^
symbol: variable texHeight
location: class net.mcreator.testowe.entity.renderer.PolRenderer.Modelcustom_model
D:\TEST\src\main\java\net\mcreator\testowe\entity\renderer\PolRenderer.java:50: error: cannot find symbol bone.setPos(0.0F, 24.0F, 0.0F);
^
symbol: method setPos(float,float,float)
location: variable bone of type net.minecraft.client.renderer.model.ModelRenderer
D:\TEST\src\main\java\net\mcreator\testowe\entity\renderer\PolRenderer.java:51: error: cannot find symbol bone.texOffs(0, 0).addBox(-1.0F, -1.0F, 0.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
^
symbol: method texOffs(int,int)
location: variable bone of type net.minecraft.client.renderer.model.ModelRenderer
D:\TEST\src\main\java\net\mcreator\testowe\entity\renderer\PolRenderer.java:54: error: method does not override or implement a method from a supertype @Override
^
D:\TEST\src\main\java\net\mcreator\testowe\entity\renderer\PolRenderer.java:59: error: method does not override or implement a method from a supertype @Override
^
D:\TEST\src\main\java\net\mcreator\testowe\entity\renderer\PolRenderer.java:66: error: cannot find symbol modelRenderer.xRot = x;
^
symbol: variable xRot
location: variable modelRenderer of type net.minecraft.client.renderer.model.ModelRenderer
D:\TEST\src\main\java\net\mcreator\testowe\entity\renderer\PolRenderer.java:67: error: cannot find symbol modelRenderer.yRot = y;
^
symbol: variable yRot
location: variable modelRenderer of type net.minecraft.client.renderer.model.ModelRenderer
D:\TEST\src\main\java\net\mcreator\testowe\entity\renderer\PolRenderer.java:68: error: cannot find symbol modelRenderer.zRot = z;
^
symbol: variable zRot
location: variable modelRenderer of type net.minecraft.client.renderer.model.ModelRenderer
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. 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 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.1.1/userguide/command_line_interface.html#sec…
BUILD FAILED in 2s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 4 seconds
 

Last seen on 19:04, 22. Oct 2021
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hey, you too ?! Like i've…
Thu, 10/21/2021 - 08:46

Hey, you too ?! Like i've been trying everything and nothing worked ! i hope we can find some help one day ! X)
if you wanna talk about that further here's my discord maybe we can find the solution together : malcourgette#8411

Last seen on 23:47, 3. Nov 2021
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
same here :P
Tue, 11/02/2021 - 01:31

same here :P

Last seen on 19:10, 25. Jan 2022
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
bruh i still can't figure…
Tue, 01/25/2022 - 16:54

bruh i still can't figure this out 

Last seen on 08:10, 20. May 2022
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hello, I solved that problem…
Thu, 03/10/2022 - 05:24

Hello, I solved that problem! Maybe you need to save your model as MCP, not Mojomaps and it works!

Last seen on 11:57, 18. Apr 2024
Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
got the same problem as well…
Sun, 07/17/2022 - 21:12

got the same problem as well !, i was choosing mojmap (or idk how is it called), i did MCP and it worked