How do I make an entity spawn upon the player first joining the world?

Started by Infernus Doge on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make an entity spawn upon the player first joining the world?

I wanna make a companion type thing, that spawns upon the world being created

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You create variable type…
Sun, 01/25/2026 - 09:49

You create variable type logic, variable scope player persistent to check player and create procedure global trigger when player join check if variable is fasle. Spawn mobs and set variable to true (sorry for bad english)