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

Spawner items display mob name in tooltip even if the block entity ID is incorrect

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • None
    • 1.21.4
    • None
    • Confirmed
    • Block states, Commands

      If the block entity ID of a spawner's block_entity_data is not equal to mob_spawner, then its tooltip still displays whichever mob is specified in SpawnData even though the spawner will be empty when placed.

      How to reproduce

      1. Ensure you are in Creative mode
      2. Obtain a spawner using this command:
        /give @s spawner[block_entity_data={id:ZZZ,SpawnData:{entity:{id:zombie}}}]
      3. Inspect the item tooltip
        The tooltip says "Zombie"
      4. Place the spawner
        The spawner is empty

      Expected result

      The item should have the default monster spawner tooltip.

            Unassigned Unassigned
            Mr_U0930 Mr_U0930
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: