Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-262411

Custom name don't show in death message when using /damage

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 1.19.4, 23w18a
    • Community Consensus
    • (Unassigned)

      Note: I have no idea if this issue is duplicated by another issue or not. I tried to search "/damage custom name" but I didn't found any issue that was as same as this issue.

      STR (Steps to Reproduce):
      Step 1: Create/Go to a superflat world without structures. This to make sure that there're no items (entity) around you.
      Step 2: Throw a item with a custom name on the ground, in this case is "Ominous Banner".
      Step 3: Run this command:

      /execute as @e[type=item] run damage <player-name> 100 mob_attack by @s
      

      Expect: "<player-name> was slain by <custom-name-of-item>" (in this case is "<player-name> was slain by Ominous Banner")
      Reality: "<player-name> was slain by <original-name-of-item>" (in this case is "<player-name> was slain by White Banner")

            Unassigned Unassigned
            Brain81505 Brain81505
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: