Topic category: Help with Minecraft modding (Java Edition)
Hey!
I´ve added a model for fabric 1.19.2, mcreator is updated, blockbench is updated, fabric is updated, using geckolib API updated
There are still 2 errors, saying cannot find symbol at 2 parts which i can´t solve
Source code:
Executing Gradle task: runClient
Build info: MCreator 2022.3.47418, fabric-1.19.2, 64-bit, 32703 MB, Windows 10, JVM 17.0.3, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2022-11-21-16:09:08
> Configure project :
Fabric Loom: 1.0.11
Not publishing sources jar as it was not found. Use java.withSourcesJar() to fix.
> Task :compileJava FAILED
C:\Users\domin\MCreatorWorkspaces\worldofmagicpack\src\main\java\net\mcreator\worldofmagicpack\client\model\Modelacromantula.java:43: error: cannot find symbol public static TexturedModelData getTexturedModelData() {
^
symbol: class TexturedModelData
location: class Modelacromantula
C:\Users\domin\MCreatorWorkspaces\worldofmagicpack\src\main\java\net\mcreator\worldofmagicpack\client\model\Modelacromantula.java:126: error: cannot find symbol public void render(MatrixStack matrices, VertexConsumer vertexConsumer, int light, int overlay, float red, float green, float blue, float alpha) {
^
symbol: class MatrixStack
location: class Modelacromantula
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 3s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 3 seconds
your model is made for the wrong mc version, make sure you got the mojmaps 1.18.x setting in the project settings.
I can only choose between:
Forge 1.7-1.13
Forge 1.14 (MCP)
Forge 1.14 (Mojmaps)
Forge 1.15-1.16 (MCP)
Forge 1.15-1.15 (Mojmaps)
Forge 1.17+ (Mojmaps) which i chose
Fabric 1.14
Fabric 1.15-1.16
Fabric 1.17+ (which also didn´t work)
downloaded an older version of blockbench (4.5.1) to set it to mojmaps 1.17-1.18, didn´t work, same errors
Weird, since the models I import don't seem to have any of the code that yours have.
so.
I´ve started a whole new workspace with exact same conditions etc. and now the model is ingame, but the texture of it is, unlike in blockbench, not correct.
Export the model again? If you keep facing issues with java models, you could instead switch over to geckolib models, as I've never encountered such issues myself with them.
The import of entity models in mcreator 2022.3 and with fabric launcher can´t import other models than java
You don't import them that way, I suggest either watching a tutorial for the geckolib plugin on youtube or reading my tutorial
worked like in your tutorial, thanks!