Mob Model compilating issue

Published by MrNath on Mon, 05/25/2020 - 06:59
Status
Invalid
Type
Product/platform
MCreator/Windows
Priority
Normal
Issue description

So, this is another issue about custom models, i am pretty confused about all of this, it is new stuff for me, so i'm sorry about the bothering. I read the other tivkets about the same issue but none of the solutions actually worked for me.

I'll paste the code in the comments.

Attachment Size
bone_crawler.java10.51 KB 10.51 KB

Issue comments

Executing 
    Gradle task: build

Build 
    info: MCreator 2020.3.21322, forge-1.14.4, 64-bit, 3970 MB, Windows 7, JVM 
    1.8.0_252, JAVA_HOME: C:\Users\Família\Documents\Dannylo\MCreator20203\jdk


    Configure project :

New 
    Dep: 
    net.minecraftforge:forge:1.14.4-28.2.16_mapped_snapshot_20190719-1.14.3


    Task :compileJava

C:\MCreatorWorkspaces\naths_mythical_creatures\src\main\java\net\mcreator\nathsmythicalcreatures\entity\MobBoneCrawlerEntity.java:359: 
    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 Modelbone_crawler

C:\MCreatorWorkspaces\naths_mythical_creatures\src\main\java\net\mcreator\nathsmythicalcreatures\entity\MobBoneCrawlerEntity.java:359: 
    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 Modelbone_crawler


    errors


    Task :compileJava FAILED

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

Deprecated 
    Gradle features were used in this build, making it incompatible with 
    Gradle 5.0.

Use 
    '--warning-mode all' to show the individual deprecation warnings.

See 
    https://docs.gradle.org/4.9/userguide/command_line_interface.html#sec:c…

BUILD 
    FAILED in 6s


    actionable task: 1 executed

BUILD 
    FAILED

Task 
    completed in 8380 milliseconds

Attached the .java model to the ticket and the console logs above

public void render(MatrixStack matrixStack, IVertexBuilder buffer, 
    int packedLight, int packedOverlay, float red, float green, float blue,

You are using 1.15.2 model in 1.14.4.

You were warned about this when pressing Import JAVA model button and decided to ignore this warning.

lol, i selected 1.14.4 in the blockbench, thought that warning was a general one

public void render(MatrixStack matrixStack, IVertexBuilder buffer, 
    int packedLight, int packedOverlay, float red, float green, float blue,

This is not 1.14.4 code

Thank you very much for the fast replies, it worked just fine.



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.