mojira.dev
MC-137657

Illager beast AttackTick nbt doesn't do anything when changed via commands

What I expected to happen was that changing the AttackTick nbt to a different value would make the illager beast extend its neck like when it attacks, but nothing happens at all. Changing other nbt data does work though, such as the RoarTick. It seems that data is only used when the mob actually attacks, otherwise it's either ignored or overwritten.

Linked issues

Comments 4

Changing NBT during the lifetime of an entity is not supported.

We have a data merge entity command for exactly that purpose, various NBT data can be changed in this manner without any issue already, I fail to see what part of it is unsupported. /execute store also allows for changing the data of entities, so why would such commands exist of changing NBT data isn't supported?

I just tried, and it's imposible do nothing. Can you add something about that, and also lightning, illusioner, and evocation illager, bolt, and evocation fangs. Can you make it work like the ender dragon?

 

@unknown Not supported != not possible. Changing NBT is as it is, mojang will allow you to do it, but anything that doesn't work, or give any unexpected results won't be fixed, the sole exception to this is crashes.

Aaron Rhodes

(Unassigned)

Unconfirmed

Minecraft 18w43b

Retrieved