Topic category: Troubleshooting, bugs, and solutions
I make a mob, but it cause problem on the public Modelfreddy() class, stating the code is too large. Is it the problem with the model, code or MCreator itself? Please let me know. Thx for the help
Executing Gradle task: runClient
Build info: MCreator 2020.5.47520, forge-1.15.2, 64-bit, 7103 MB, Windows 10, JVM 1.8.0_265, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
> Configure project :
New Dep: net.minecraftforge:forge:1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1
> Task :mcreatorLink UP-TO-DATE
> Task :compileJava
C:\Users\HUAWEI\MCreatorWorkspaces\fanf\src\main\java\net\mcreator\fanf\entity\FreddyEntity.java:2225: error: code too large public Modelfreddy() {
^
1 error
> 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.10.3/userguide/command_line_interface.html#se…
BUILD FAILED in 11s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 158029 milliseconds
You have added so many parts Java can't handle them
Good afternoon, tell me, how can I add it without redoing the model? And what is the maximum number of parts?