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

You can use spawn eggs to spawn baby entities in spawn protection

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.16.5, 21w20a, 1.17.1, 1.18.1, 1.18.2, 1.19, 1.19.2, 1.19.3, 1.19.4, 1.20.1
    • Confirmed
    • Items

      The Bug:

      Players without operator permissions cannot spawn entities in spawn protection using spawn eggs, however, if a player were to use a spawn egg on an entity, a baby entity would be summoned.

      Steps to Reproduce:

      1. Start a server, join it, give operator permissions to yourself, and switch into creative mode.
      2. Set the world spawn to your current location and summon a villager by using the commands provided below.
        /setworldspawn ~ ~ ~
        /summon minecraft:villager ~ ~ ~ {NoAI:1b}
      3. Obtain a villager spawn egg.
      4. Switch into survival mode, remove your operator permissions, and grant anyone else with them in order to activate spawn protection.
      5. Attempt to use the villager spawn egg whilst looking at the previously summoned villager.
      6. Take note as to whether or not you can use spawn eggs to spawn baby entities in spawn protection.

      Observed Behavior:

      Baby entities can be spawned.

      Expected Behavior:

      Baby entities would not be spawned.

        1. MC-226165.mp4
          5.75 MB
        2. MC-226165.png
          MC-226165.png
          776 kB

            Unassigned Unassigned
            Avoma [Mod] Avoma
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: