How do I make an advancement happen when a player spawn into a world?

Started by Isaac Olukanni on

Topic category: Help with MCreator software

Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make an advancement happen when a player spawn into a world?

My mod requires the player to have an advancement at spawn to unlock some crafting recipes for it to work. I've used "If player enters dimension Surface" but it does not work as It triggers the advancement after going to another dimension and coming back to the Surface.

The code link is at https://imgur.com/a/Cl1kOdh

Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use a separated procedureā€¦
Fri, 02/24/2023 - 12:43

Use a separated procedure with the global trigger "Entity joins the world" to do that and it should work.Don't forget to choose your advancement in "Reward Recipes" in the advancement setup.

Advancement setup: https://imgur.com/R2m2nEy

Procedure: https://imgur.com/4suA4v3

 

 

Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I made a mistake. In my lastā€¦
Fri, 02/24/2023 - 15:34

I made a mistake. In my last phrase I said "choose your advancement ...". It's not the advancement but the recipe that you made