Started by
JustMonitor
on
Topic category: Help with Minecraft modding (Java Edition)
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.
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