Wait block causes an error

Started by Cosmic_Mango33 on

Topic category: Advanced modding

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Wait block causes an error

In the previous snapshots for 1.19, this procedure didn't cause any errors, but now it does. Can someone help me figure out how to fix this issue?

The error says:

> Task :compileJava FAILED
C:\Users\cosmi\MCreatorWorkspaces\more_meat\src\main\java\net\mcreator\moremeat\procedures\SnailHideShellProcedure.java:50: error: cannot find symbol MoreMeatMod.queueServerWork(600, () -> {
^
symbol: method queueServerWork(int,()->{ if ([...]; } })
location: class MoreMeatMod
1 error
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
BUILD FAILED in 1s
1 actionable task: 1 executed

BUILD FAILED
Task completed in 7 seconds

 

Snail hiding in its shell procedure

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The procedure is Even…
Thu, 11/24/2022 - 23:52

The procedure is

Even trigger no additional trigger

despawn event / target entity

spawn entity: snail in shell at x y z

wait 600 ticks then  on server-side

do despawn get nearest entity at x y z in square cube with size 4 of type snail in shell

spawn entity: snail at x y z

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I did, but the issue still…
Wed, 11/30/2022 - 22:11

I did, but the issue still persists.