Error with ranged item model - Package Vector3f does not exist

Started by Imadumdum on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Error with ranged item model - Package Vector3f does not exist
Mon, 07/17/2023 - 19:28 (edited)

I am trying to make a custom bow that fires custom arrows. Whenever compiling my mod, I get the error shown below.

Just to clarify, this happens with all models I try and only for the projectile. My models are all BlockBench models from the CEM Template Loader converted into modded entities/java files with Forge 1.17+ Mojmaps. I am aware that this is likely a known bug, but I have been searching for a very long time and have not found anything about this.
The mod is in Forge 1.19.2 in MCreator 2023.2, however i remember this happening in older versions.

 

C:\Users\name\MCreatorWorkspaces\imadumdums_forge\src\main\java\net\mcreator\imadumdumsforge\client\renderer\BrimstonebowRenderer.java:30: error: package         Vector3f does not exist poseStack.mulPose(Vector3f.YP.rotationDegrees(Mth.lerp(partialTicks, entityIn.yRotO, entityIn.getYRot()) - 90));
^
C:\Users\name\MCreatorWorkspaces\imadumdums_forge\src\main\java\net\mcreator\imadumdumsforge\client\renderer\BrimstonebowRenderer.java:31: error: package Vector3f does not exist poseStack.mulPose(Vector3f.ZP.rotationDegrees(90 + Mth.lerp(partialTicks, entityIn.xRotO, entityIn.getXRot())));
^
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
BUILD FAILED in 4s

BUILD FAILED
Task completed in 6 seconds

Edited by Imadumdum on Mon, 07/17/2023 - 19:28
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have this issue too.
Mon, 07/17/2023 - 22:23

I have this issue too.

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This seriously needs more…
Thu, 08/17/2023 - 20:33

This seriously needs more attention.

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
As it turns out, this is…
Thu, 08/17/2023 - 21:04

As it turns out, this is only a problem for 1.19.4 mods. switch it to 1.19.2.