Topic category: General discussion
There is a error while making my mod that involves Spongebob.
i have apsolutly no idea what happened, and that this point im very salty and mad about it.
gradle log:
Executing gradle command: clean build
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.
C:\Pylo\MCreator171>cd forge
C:\Pylo\MCreator171\forge>SET "JAVA_HOME=C:\Pylo\MCreator171\jdk64\"
C:\Pylo\MCreator171\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator171\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator171\forge>gradlew -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" clean build
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.14/userguide/gradle_daemon.html.
Etag download for http://files.minecraftforge.net/maven/de/oceanlabs/mcp/versions.json failed with code 400
Etag download for http://export.mcpbot.bspk.rs/versions.json failed with code 400
This mapping 'snapshot_20160518' was designed for MC 1.9.4! Use at your own peril.
#################################################
ForgeGradle 2.2-SNAPSHOT-2112b0a
https://github.com/MinecraftForge/ForgeGradle
#################################################
Powered by MCP unknown
http://modcoderpack.com
by: Searge, ProfMobius, Fesh0r,
R4wk, ZeuX, IngisKahn, bspkrs
#################################################
:clean
:deobfCompileDummyTask
:deobfProvidedDummyTask
:sourceApiJava
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\mcreator_spongebob.java:96: error: illegal start of expression
this.tasks.addTask(10, new EntityAITempt(this, 0.8D, , false));
^
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\mcreator_spongebob.java:200: error: expected
PK
same error.
Seems like there may be a problem with the AI of the mob. Try removing all AI, finish the mob, and then add AI again.
There is a missing argument on line this.tasks.addTask(10, new EntityAITempt(this, 0.8D, , false));
Betwenn these two commas has to be Item paramter.