Block update tick

Started by Lenare on Tue, 07/21/2015 - 01:19

Topic category: Help with MCreator modding

Last seen on 23:49, 11. Jan 2016
Joined Jul 2015
User points:


  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Block update tick
Tue, 07/21/2015 - 01:19

I tried to make the block update tick trigger an event but I got an error with the scheduleBlockUpdate method when compiling:===================================================================================================================================
Executing gradle command: clean build
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
C:\Pylo\MCreator157>cd forge
C:\Pylo\MCreator157\forge>SET "JAVA_HOME=C:\Pylo\MCreator157\jdk\"
C:\Pylo\MCreator157\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator157\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator157\forge>gradlew clean build
 Powered By MCP:        
 Searge, ProfMobius, Fesh0r, 
 R4wk, ZeuX, IngisKahn, bspkrs
 MCP Data version : snapshot_20141130
:downloadClient SKIPPED
:downloadServer SKIPPED
:extractUserDev UP-TO-DATE
:mergeJars SKIPPED
:applyBinPatches SKIPPED
:downloadMcpTools SKIPPED
:extractMcpData UP-TO-DATE
:genSrgs SKIPPED
:deobfBinJar SKIPPED
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
C:\Pylo\MCreator157\forge\build\sources\java\mod\mcreator\ error: cannot find symbol
world.scheduleBlockUpdate(i, j, k, this, this.tickRate(world));
  symbol:   method scheduleBlockUpdate(int,int,int,BlockBlockOfChocolateIceCream,int)
  location: variable world of type World
1 error
: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.
Total time: 39.039 secs
Task completed with return code 0 in 40376 milliseconds

It seems like it doesn't recognize that this method exists for some reason.

Side note:MCreator has A LOT of bugs which is kinda annoying. I love the software and I can fix some problems on my own but this can very annoying...