Small problem for creating an entity (code too long)

Started by Dalekan59 on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 12:24, 29. Nov 2020
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Small problem for creating an entity (code too long)
Fri, 10/23/2020 - 07:02 (edited)

Hello everyone, I hope you are well.

I have a little problem wanting to create a mob using blockbench.

I exported the project in java and checked that it is in 1.14.

However, I have this message that appears when I validate the entity on Mcreator:

1 error
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
1 actionable task: 1 executed
BUILD FAILED
Task completed in 5890 milliseconds

There you go, if someone could help me :)

Thank you in advance ;)

Edited by Dalekan59 on Fri, 10/23/2020 - 07:02
Last seen on 12:24, 29. Nov 2020
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Are you just answering me to…
Fri, 10/23/2020 - 08:15

Are you just answering me to make a point?
Also I do not see any infractions, I wrote in English and I did not try to attract attention, I only ask for help because an entity does not want to be built in 1.14.4 ...

Did you read the page I…
Fri, 10/23/2020 - 20:51

Did you read the page I linked?

Code and logs

Code and error, compile, or run logs belong on a paste service such as Pastebin, Hastebin, or similar, if it is longer than a few 10 lines. Code and logs should in no case be posted as a screenshot as this makes the log hard to read and parse.

Also when doing this, make sure to include full log, do not trim it, so we can help it.

Last seen on 12:24, 29. Nov 2020
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
OK sorry. So I put you the…
Sat, 11/14/2020 - 15:31

OK sorry.
So I put you the full diary, here it is and I don't know how to give it to you otherwise ?:

Executing 
    Gradle task: build

Build 
    info: MCreator 2020.4.32115, forge-1.15.2, 64-bit, 8048 MB, Windows 10, 
    JVM 1.8.0_252, JAVA_HOME: D:\Program Files\MCreator\jdk


    Configure project :

New 
    Dep: net.minecraftforge:forge:1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1


    Task :compileJava FAILED

C:\Users\gooss\MCreatorWorkspaces\minecraft__corruption\src\main\java\net\mcreator\minecraftcorruption\entity\CorruptionJauneEntity.java:145: 
    error: code too large 
 
         public ModelCorruption8() {

 
                ^


    error

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.10.3/userguide/command_line_interface.html#se…

BUILD 
    FAILED in 2s


    actionable task: 1 executed

BUILD 
    FAILED

Task 
    completed in 8238 milliseconds

Hope you can help me;)