Help with Tick Update (Player and World)

Started by Thrash on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with Tick Update (Player and World)

The blocks I have in place are:

On player tick update:

if the time in the world is 12500, check for a bloodmoon

If the bloodmoon check passes:

Execute the command "/tellraw @a "Bloodmoon started" at x,y,z

What ends up happening, is that it checks for a bloodmoon for each player instead of just once, meaning that is spawns double the enemies and activates a bloodmoon twice as often with 2 people.

This is an intended feature and I need to find a way around it.

World tick updates won't let me execute commands and 90% of it is commands like sending color tellraws and titles

Being able to run commands on a world tick would be super helpful, if anyone has a solution for that.

 

Does anyone have any solutions for making player tick run on 1 player or letting me run commands on a world tick?