Topic category: Help with Minecraft modding (Java Edition)
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
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
same here :P
bruh i still can't figure this out
Hello, I solved that problem! Maybe you need to save your model as MCP, not Mojomaps and it works!
got the same problem as well !, i was choosing mojmap (or idk how is it called), i did MCP and it worked