"Wait [x] ticks then on server side" gives error

Started by Jeremy5909 on

Topic category: Help with modding (Java Edition)

Last seen on 22:10, 11. Mar 2023
Joined Mar 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
"Wait [x] ticks then on server side" gives error

Whenever I have a wait block in my procedure, I get this error:

C:\Users\jerem\MCreatorWorkspaces\suggestions_mod\src\main\java\net\mcreator\suggestionsmod\procedures\SlimyTntRedstoneOnProcedure.java:11: error: cannot find symbol 
      SuggestionsModMod.queueServerWork(80, () -> { 
                       ^ 
  symbol:   method queueServerWork(int,()->{ if ([...]K); }) 
  location: class SuggestionsModMod 
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

Does anyone know how to fix this? I am using version 2023.1 and making forge mod. This procedure goes to the "Redstone on" of a block