Auto Farming block code not finding the WORLD tag properly while looking if its a crop

Started by 64thparadux on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 04:45, 30. Dec 2020
Joined Mar 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Auto Farming block code not finding the WORLD tag properly while looking if its a crop

Very simple project ON LATEST SNAPSHOT OF MCREATOR!!!

https://www.mediafire.com/file/psuwkhpeyei4psr/TeuFoxStaplesIssueNumber…

Executing Gradle task: build
Build info: MCreator 2020.6.52319 EAP (52319), forge-1.15.2, 64-bit, 16317 MB, Windows 10, JVM 1.8.0_275, JAVA_HOME: C:\Users\JoelA\Desktop\MCreator EAP 2020.6 b52319 Windows 64bit\MCreatorEAP20206b52319\jdk
> Configure project :
New Dep: net.minecraftforge:forge:1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1
> Task :compileJava
C:\Users\JoelA\MCreatorWorkspaces\teufoxes_staples\src\main\java\net\mcreator\teufoxesstaples\procedures\FarmingBlockUpdateTickProcedure.java:71: error: incompatible types: IWorld cannot be converted to World }).checkPlantType(world, new BlockPos((int) (sx), (int) (sy), (int) (sz))))) {
^
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
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 7s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 14 seconds

Seems you are using some…
Mon, 12/28/2020 - 09:28

Seems you are using some plugin adding "checkPlantType". Is that correct?

Also read https://mcreator.net/wiki/general-publishing-guidelines for how to post logs and please abide them in the future.

Last seen on 04:45, 30. Dec 2020
Joined Mar 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sorry didn't realize I was…
Mon, 12/28/2020 - 20:57

Sorry didn't realize I was using a plugin but yes.
I will follow the rules next time I am sorry for not using a paste bin for the log.
If there a default workaround to doing this?

I don't think so, except for…
Tue, 12/29/2020 - 08:24

I don't think so, except for figuring out code for the new version or fixed code.

Last seen on 04:45, 30. Dec 2020
Joined Mar 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thank you for the quick…
Tue, 12/29/2020 - 22:00

thank you for the quick replies, ill continue to tinker and report back if I find a solution.