Make the entity spawn out of the player's sight

Started by JustMonitor on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make the entity spawn out of the player's sight

Hello, how do I make it so that my entity only spawns out of the player's sight, like behind him or on his left/right at night in forest only at random times too I don't want his spawn rate to be common.

Joined Oct 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Just search up "How to…
Thu, 10/02/2025 - 22:49

Just search up "How to teleport a mob behind you with commands in Minecraft" or something like that then go to your entity's triggers and add a new trigger for "on entity spawn" then add the execute command block and paste or type the command you searched up into the text box of the block and customize it to your liking. This can also be done with MCreator blocks but I personally think it's easier to use commands