Players Name on item upon dying

Started by Tse244 on Mon, 12/05/2022 - 08:36

Topic category: Help with modding (Java Edition)

Last seen on 20:42, 14. Dec 2022
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Players Name on item upon dying
Mon, 12/05/2022 - 08:36

Hello, I have made dog tags in my mod. Whenever a player dies they drop a dog tag. But I want to make the dog tag drop with player's name on it. I couldn't manage to do it. Help me please

Last seen on 23:33, 28. Dec 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
You could try this procedure…
Mon, 12/05/2022 - 12:21

You could try this procedure:

https://ibb.co/ggbrvDh

The command is: give @p minecraft:grass_block{display:{Name:"\"player\""}} 1

Hope this does the job.

 

Last seen on 20:42, 14. Dec 2022
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Tuonkhung i'll try that…
Mon, 12/05/2022 - 13:04

Tuonkhung i'll try that thank you

Last seen on 20:42, 14. Dec 2022
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
It worked thanks a lot
Mon, 12/05/2022 - 13:16

It worked thanks a lot