Building errors caused by modded entity

Started by DirektReported on Mon, 11/21/2022 - 15:14

Topic category: Help with modding (Java Edition)

Last seen on 22:21, 27. Nov 2022
Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Building errors caused by modded entity
Mon, 11/21/2022 - 15:14

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

Last seen on 13:06, 31. Jan 2023
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
your model is made for the…
Mon, 11/21/2022 - 15:35

your model is made for the wrong mc version, make sure you got the mojmaps 1.18.x setting in the project settings.

Last seen on 22:21, 27. Nov 2022
Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I can only choose between…
Mon, 11/21/2022 - 23:16

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)

Last seen on 22:21, 27. Nov 2022
Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
downloaded an older version…
Mon, 11/21/2022 - 23:30

downloaded an older version of blockbench (4.5.1) to set it to mojmaps 1.17-1.18, didn´t work, same errors
 

Last seen on 13:06, 31. Jan 2023
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Weird, since the models I…
Tue, 11/22/2022 - 00:02

Weird, since the models I import don't seem to have any of the code that yours have.

Last seen on 22:21, 27. Nov 2022
Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
so. I´ve started a whole new…
Tue, 11/22/2022 - 00:17

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.

Last seen on 13:06, 31. Jan 2023
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Export the model again? If…
Tue, 11/22/2022 - 00:21

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.

Last seen on 22:21, 27. Nov 2022
Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
The import of entity models…
Tue, 11/22/2022 - 00:31

The import of entity models in mcreator 2022.3 and with fabric launcher can´t import other models than java

Last seen on 13:06, 31. Jan 2023
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
You don't import them that…
Tue, 11/22/2022 - 00:35

You don't import them that way, I suggest either watching a tutorial for the geckolib plugin on youtube or reading my tutorial

Last seen on 22:21, 27. Nov 2022
Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
worked like in your tutorial…
Tue, 11/22/2022 - 02:48

worked like in your tutorial, thanks!