give item at the start of the game

Started by LELTD on

Topic category: Help with modding (Java Edition)

Last seen on 13:12, 28. Jan 2022
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
give item at the start of the game

How can I make it so that when a player enters the world for the first time, he will be given an item? That is, so that when a player creates a world and enters it for the first time or joins the server for the first time, he would be given a certain item (start book) from my mod.

Last seen on 11:43, 29. Mar 2024
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There's a global trigger …
Tue, 01/25/2022 - 01:35

There's a global trigger "when player joins world" or somewhere along those lines and give your custom item. Be aware that without checking if the player already got the book they will get them repeatedly when rejoining the world so I recommend to add a tag that will check if the player already joined and got the book

Last seen on 22:53, 29. Dec 2023
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you can also do an…
Sat, 02/12/2022 - 04:07

you can also do an advancement loot table if you add a custom advancement