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

Details

    • Bug
    • Status: Open
    • Resolution: Unresolved
    • 1.16.5, 21w20a, 1.17.1, 1.18.1
    • None
    • Confirmed
    • (Unassigned)

    Description

      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:

      • Start a server, join it, give operator permissions to yourself, and switch into creative mode.
      • Set the world spawn to your current location and summon a villager.
      • /setworldspawn ~ ~ ~
        /summon minecraft:villager ~ ~ ~ {NoAI:1b}
      • Obtain a villager spawn egg, remove your operator permissions, and grant anyone else with them in order to activate spawn protection.
      • Attempt to use the villager spawn egg whilst looking at the previously summoned villager.
      • 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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              CHK: