mojira.dev
MC-296734

Attribute modifier not working in /summon command

if one runs

/summon minecraft:zombie ~ ~ ~ {Attributes:[{Name:"generic.scale",Base:2.0}]}

one would think it would summon a zombie twice as big as normal. But, if you run this command in the latest snapshot, it does nothing.

this works with all attributes, not just scale.

Comments 2

Thank you for your report!
Unfortunately, the described issue cannot be reproduced. Therefore, this ticket is being resolved as Cannot Reproduce.

In both the latest release, 1.21.5, and the latest snapshot, 25w15a, when the entity is summoned using the current command format (see below), the attributes are applied as expected.

/summon minecraft:zombie ~ ~ ~ {attributes:[{id:"minecraft:scale",base:2.0d}]}

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

The command you are using seems to be incorrect, otherwise the command works as it should.

person dude

(Unassigned)

Unconfirmed

(Unassigned)

25w15a

Retrieved