Players Name on item upon dying

Started by Tse244 on

Topic category: Help with modding (Java Edition)

Last seen on 18:43, 30. Apr 2023
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Players Name on item upon dying

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 07:34, 25. Oct 2023
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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 18:43, 30. Apr 2023
Joined Sep 2020
Points:

User statistics:

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

Tuonkhung i'll try that thank you

Last seen on 18:43, 30. Apr 2023
Joined Sep 2020
Points:

User statistics:

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

It worked thanks a lot