I am having issues with it getting stuck on a single frame too. Here are my specs…
Windows 11
Java 21.0.3
CPU: 8x Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
Display: 2560x1316 (Intel)
Intel(R) UHD Graphics 620
3.2.0 - Build 31.0.101.2130
"Fixing" this may be a bad idea from a game design point of view as changing the item in the offhand would change the right-click behavior of the player. For instance, if I am holding a bow and walk over stone and that stone goes into my offhand. Now, I am unexpectedly placing stone instead of shooting my bow...
Can confirm for:
Zombie
Skeleton
Zombified Piglin
Others are untested. This bug is backwards, I think. Zombies should be able to pick up an entire stack of carved pumpkins. Why? Because it uses one to equip on its head and the rest to go into its mainhand. The mainhand has been used as a fallback container when the desired slot is occupied. This is consistent with how a zombie with a diamond helmet will place a leather helmet into their mainhand. Helmets don't typically belong in the mainhand, but it has to be because the head slot is already occupied by a better item. It's the piglin that is bugged, not the zombies.
Likely because it's not fixed in a stable (non-experimental) version of the game. You have to enable the experiment to have the accessibility toggle work. Hence it's still a bug.
attack speed has never been a consideration for weapon preference for zombies and only affects players anyways. so attack speed doesn't factor into anything
This is Works As Intended. Properties of items are now interfaced by components rather than through NBT directly.
If you call a function with macro arguments and they make the generated function invalid (through a compile-time error), you should probably expect it not to work.
This seems like a feature request.
The bug report has been generalized to better match how it can occur in 24w09a.
Can confirm: 24w09a
I added the command used.
Can confirm: 1.19.4 rc1
Can confirm in 1.21.5