Entity not spawning on global tick

Started by Vivisectional on

Topic category: Help with modding (Java Edition)

Last seen on 22:53, 18. Jul 2024
Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Entity not spawning on global tick

I don't understand. Why is all the other code working, but not the code that spawns an entity? 

https://imgur.com/a/vLxz32h

Last seen on 14:17, 26. Jul 2024
Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i'm not sure.try only x y z…
Mon, 11/20/2023 - 10:52

i'm not sure.try only x y z instead of iterator's

Last seen on 22:53, 18. Jul 2024
Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Due to it being a global…
Mon, 11/20/2023 - 13:07

Due to it being a global tick update, I cannot use x y z, and iterators would be the best possible option here. However, thank you.

I would advise you to not…
Tue, 11/21/2023 - 16:28

I would advise you to not spawn things on tick, or this will degrade the game performance greatly

Last seen on 22:53, 18. Jul 2024
Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks for the advice, but…
Tue, 11/21/2023 - 23:34

Thanks for the advice, but this doesn't spawn entities on tick.