Players Name on item upon dying

Started by Tse244 on

Topic category: Help with Minecraft modding (Java Edition)

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

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.

 

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

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