Needing help with render scaling entities matrix stacks

Started by Saladsamnam on

Topic category: Help with MCreator software

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Needing help with render scaling entities matrix stacks

I have been following this tutorial https://mcreator.net/forum/73570/render-scaling-you-entities-matrixstack and it seems to give me an error while editing the autogenerated code and I don't know why. I am not a coder in any means, and was simply following the tutorial. I made it so the autogenerated text was 

@Override

        public void render(MatrixStack matrixStack, IVertexBuilder buffer, int packedLight, int packedOverlay, float red, float green, float blue,

                float alpha) {

            matrixStack.push();

            matrixStack.translate(0f, 1.5f - 0.5 * 1.5f, 0f);

            matrixStack.scale(0.5f, 0.5f, 0.5f);

            CakeSheepBaby.render(matrixStack, buffer, packedLight, packedOverlay);

            matrixStack.pop();

and my error says the following:

> Task :compileJava FAILED 

 error: cannot find symbol CakeSheepBaby.render(matrixStack, buffer, packedLight, packedOverlay);
^
symbol: variable CakeSheepBaby
location: class net.mcreator.chaoticupgrades.entity.renderer.CakeSheepBabyRenderer.Modelcakesheep1
1 error
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
BUILD FAILED in 3s
1 actionable task: 1 executed

BUILD FAILED
Task completed in 6 seconds

 

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
When i say i made it so, i…
Thu, 05/11/2023 - 00:00

When i say i made it so, i meant I changed it to.I am on mcreator 2022.2