For each player doesn't work

Started by SHORT on

Topic category: Troubleshooting, bugs, and solutions

Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
For each player doesn't work
Fri, 05/02/2025 - 13:07 (edited)

Mcreator 2025.1 / Neoforge 1.21.1

I'm trying to create ore generation based on the player's location to give the effect of a meteor falling, but it seems the "for each player" block doesn't work.
I tested it in-game, and every 1 minute a message is sent to check if the tick is working, and right after that, it should take action, but it doesn't.
I also tried a workaround by importing the player dependency from another procedure, using a return inside a procedure triggered on each player tick update. However, when I check in my main procedure, it shows up as an invalid dependency, which tells me a bit about the error that's happening. Apparently, entity dependencies are having issues? I tried using debug mode, but that doesn't work either, as it doesn't even detect the "for each player" as a task to be executed.

I'll leave my procedure here for you to check; screenshots would be bad because it's quite large and the text quality would be lost. My native language is Portuguese, so the messages I send to the chat are in Portuguese, but that doesn’t make any difference, btw.
 

Edited by SHORT on Fri, 05/02/2025 - 13:07