When you summon a goat with a specific rotation, the goat will not rotate correctly. This also affects modifying the goat's rotation data field.
How to Reproduce
Run this command:
/summon minecraft:goat ~ ~ ~ {NoAI:1b,Rotation:[90f,0f]}or this command to modify nearest’s goat rotation:
/data modify entity @e[type=minecraft:goat,limit=1,sort=nearest] Rotation set value [90f,0f]Expected Result
The summoned/modified goat is rotated 90 degrees
Observed Result
The summoned/modified goat is incorrectly rotated, even though after reading the data using the command below it shows the correct, previously set value.
/data get entity @e[type=minecraft:goat,limit=1,sort=nearest] Rotation
Thank you for your report!
We're tracking this issue in MC-226243, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki