Status
Fixed
Issue description
Hi Klemen, After I built my mod in 1.12 Gradle and extracted the workspace into the new 2019.5 Snapshot, All the procedures with ON PLAYER TICK UPDATE can't compile, can you please help me as I'm a Java Noob and I only do Apple Swift.
Build info: MCreator 2019.5.45215 EAP (45215), 64-bit, 16384 MB, Mac OS X, JVM 1.8.0_222, JAVA_HOME: /private/var/folders/35/3qlzyb0d5mv42qyvr9fkhqjw0000gn/T/AppTranslocation/D43C675E-4366-4175-9682-B3EF80238798/d/MCreator.app/Contents/MacOS/jdk/Contents/Home/jre
> Configure project :
New Dep: net.minecraftforge:forge:1.14.4-28.1.87_mapped_snapshot_20190719-1.14.3
> Task :compileJava FAILED
/Users/zhangyinwei/MCreatorWorkspaces/survive/src/main/java/net/mcreator/survive/MCreatorTempretureManage.java:89: error: cannot find symbol
Entity entity = event.getPlayer();
^
symbol: method getPlayer()
location: variable event of type PlayerTickEvent
/Users/zhangyinwei/MCreatorWorkspaces/survive/src/main/java/net/mcreator/survive/MCreatorTempVSPlayer.java:54: error: cannot find symbol
Entity entity = event.getPlayer();
^
symbol: method getPlayer()
location: variable event of type PlayerTickEvent
/Users/zhangyinwei/MCreatorWorkspaces/survive/src/main/java/net/mcreator/survive/MCreatorMNZOOM.java:47: error: cannot find symbol
Entity entity = event.getPlayer();
^
symbol: method getPlayer()
location: variable event of type PlayerTickEvent
/Users/zhangyinwei/MCreatorWorkspaces/survive/src/main/java/net/mcreator/survive/MCreatorEnergyMain.java:37: error: cannot find symbol
Entity entity = event.getPlayer();
^
symbol: method getPlayer()
location: variable event of type PlayerTickEvent
/Users/zhangyinwei/MCreatorWorkspaces/survive/src/main/java/net/mcreator/survive/MCreatorENERGYVSPLAYER.java:44: error: cannot find symbol
Entity entity = event.getPlayer();
^
symbol: method getPlayer()
location: variable event of type PlayerTickEvent
/Users/zhangyinwei/MCreatorWorkspaces/survive/src/main/java/net/mcreator/survive/MCreatorSkillsTick.java:42: error: cannot find symbol
Entity entity = event.getPlayer();
^
symbol: method getPlayer()
location: variable event of type PlayerTickEvent
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
6 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:command_line_warnings
BUILD FAILED in 1s
1 actionable task: 1 executed
Code Above
Did your caps lock key get stuck?
Thank you for reporting the bug. We will fix it in the next snapshot.