Issue with the java model

Published by Blueguard on
Status
Resolved
Issue description

When finish with coding mob i get this error

C:\Users\koray\MCreatorWorkspaces\azman\src\main\java\net\mcreator\azman\entity\GEntity.java:208: error: cannot find symbol       public void render(MatrixStack matrixStack, IVertexBuilder buffer, int packedLight, int packedOverlay, float red, float green, float blue,
                         ^
  symbol:   class MatrixStack
  location: class Modelwitch
C:\Users\koray\MCreatorWorkspaces\azman\src\main\java\net\mcreator\azman\entity\GEntity.java:208: error: cannot find symbol       public void render(MatrixStack matrixStack, IVertexBuilder buffer, int packedLight, int packedOverlay, float red, float green, float blue,
                                                  ^
  symbol:   class IVertexBuilder
  location: class Modelwitch
2 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 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.9/userguide/command_line_interface.html#sec:c…
BU�LD FAILED in 12s
1 actionable task: 1 executed
BUILD FAILED

 

Anyone know the solution?

Issue comments

This model is for 1.15.2, while you use it in 1.14.4. No way this can work.

Make sure to use the modeler for 1.14.4.