How could i spawn a custom entity near a player?

Started by GaneY on

Topic category: Help with modding (Java Edition)

Last seen on 15:33, 13. Jul 2024
Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How could i spawn a custom entity near a player?
Mon, 06/24/2024 - 19:25 (edited)

HELLO!

alright, lately i've been trying to make a horror mod but the main problem i have right now, is his spawning, i don't want to use the default mcreator spawning, because it doesnt spawn the custom entity near the player (at least it doesnt do that for me) it spawns literally anywhere it wants to, the player can be somewhere and the entity can even spawn thousands of blocks away. i've tried using procedures like this one for example: (im using mcreator 2023.3 because it supports the version i want)

The main issue with this procedure is that the entity appears several times during night, instead of the desired one spawn per night, also while playing it crashes with a message "Exception in server tick loop" could anyone please help me? ANY HELP WILL BE APPRECIATED!

 

 

also im a beginner so visual help will be the best for me!

Edited by GaneY on Mon, 06/24/2024 - 19:25
Last seen on 02:18, 7. Jul 2024
Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
the image isn't loading,…
Wed, 06/26/2024 - 03:25

the image isn't loading, please upload it to imgur.com.

Last seen on 15:33, 13. Jul 2024
Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
also its not set to player…
Sat, 07/13/2024 - 09:50

also its not set to player tick update in the picture but i've set it like that