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

Spawn eggs do not have the command execution warning

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 24w45a
    • None
    • Confirmed
    • (Unassigned)

      The following item when placed leads to command execution (assuming the entity isn't placed over the void), but lacks the tooltip indicating the risk:

      /give @s minecraft:allay_spawn_egg[minecraft:entity_data={id:falling_block,BlockState:{Name:"command_block"},TileEntityData:{Command:"say Hello",auto:1,x:1,y:-60,z:0}}]
      

      I would expect this item to consistently produce a warning tooltip to match other items which have the tooltip due to potentially leading to command execution.

            Unassigned Unassigned
            haykam haykam
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: