Problem with a custom mob

Started by Bluedog080807 on Mon, 04/05/2021 - 22:05

Topic category: Help with modding (Java Edition)

Last seen on 05:35, 19. Jun 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Problem with a custom mob
Mon, 04/05/2021 - 22:05

I have a problem with adding a custom mob. Whenever I try to run the game to test the mob it comes up with this error.

C:\Users\Bluedog0808\MCreatorWorkspaces\pikmine\build\sources\main\java\net\mcreator\pikmine\MCreatorPikmin.java:134: error: cannot find symbol
    public static class ModelPikmin extends EntityModel<Entity> {
                                            ^
  symbol:   class EntityModel
  location: class MCreatorPikmin
C:\Users\Bluedog0808\MCreatorWorkspaces\pikmine\build\sources\main\java\net\mcreator\pikmine\MCreatorPikmin.java:201: 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 ModelPikmin
C:\Users\Bluedog0808\MCreatorWorkspaces\pikmine\build\sources\main\java\net\mcreator\pikmine\MCreatorPikmin.java:201: 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 ModelPikmin
3 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

BUILD FAILED in 8s

 

If anyone has a answer I would appreciate it.