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

spawn eggs with custom entity data modifying the "max_health"-attribute not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21.4
    • None
    • Unconfirmed
    • (Unassigned)

      When spawning a mob via a spawn egg with entity data that modifies "max_health" it does not spawn with the correct attribute base.

      for example a wolf spawned from a spawn egg from

      {{/give @s wolf_spawn_egg[entity_data={id:wolf, attributes: [

      {id: "max_health", base: 200.0d}

      ]}]}}

      will still spawn with the standard 8.0d base.

            Unassigned Unassigned
            TheRedVillager Michael Zollner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: