Custom entity not working

Published by CR1MS4NE on Tue, 06/02/2020 - 22:43
Status
Duplicate
Type
Product/platform
MCreator/macOS
Priority
Normal
Issue description

So I made a custom mob (fairly simple because I am lazy), but it wouldn't work. It said this:

Executing 
    Gradle task: build

Build 
    info: MCreator 2020.3.22116, forge-1.14.4, 64-bit, 8192 MB, Mac OS X, JVM 
    1.8.0_252, JAVA_HOME: 
    /Applications/MCreator.app/Contents/MacOS/jdk/Contents/Home/jre


    Configure project :

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


    Task :compileJava FAILED

/Users/user/MCreatorWorkspaces/scarybutcoolstuff/src/main/java/net/mcreator/scarybutcoolstuff/entity/GummyWormEntity.java:223: 
    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 Modelcustom_model

/Users/user/MCreatorWorkspaces/scarybutcoolstuff/src/main/java/net/mcreator/scarybutcoolstuff/entity/GummyWormEntity.java:223: 
    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 Modelcustom_model


    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

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 2s


    actionable task: 1 executed

BUILD 
    FAILED

Task 
    completed in 48067 milliseconds

Not sure why the text is so huge but...

Issue comments



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.