Topic category: Help with Minecraft modding (Java Edition)
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 errorsFAILURE: 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.orgBUILD FAILED in 4sBUILD FAILEDTask completed in 6 seconds
I have this issue too.
This seriously needs more attention.
As it turns out, this is only a problem for 1.19.4 mods. switch it to 1.19.2.