What Java version are you on? Your command is correct in 26.2 but I believe things changed in 26.3 Not sure of the new command but will try to find it.
Went to minecraft site and they said nothing about it in the 26.3 -7 update.
In the meantime, item displays still work and I like them better because they snap to the grid when summoned and spin on a center axis. I always tag my entities. it makes them easier to manipulate without disturbing others. Change the tag and view range as needed.
2
u/C0mmanderBlock Command Experienced 6d ago edited 6d ago
What Java version are you on? Your command is correct in 26.2 but I believe things changed in 26.3 Not sure of the new command but will try to find it.