The sidebar scores display the entities' Motion[0] value by working always command
"execute as @e[type=boat] store result score @s motion_x run data get entity @s Motion[0] 1000"
"motion_x " is a scoreboard here is the gen-command for it.
"scoreboard objectives add motion_x dummy "实体动量x""
At first, I thought it was my command's fault. But when I installed the mod to dispaly the speed of the boat, I tried to use data get command when the boat was sliding, but the value was still 0
[media]When I left the boat and push it to slide,the Motions' values are normal.
[media]Even if I try to use "/ data get entity @s RootVehicle.Entity. Motion" to get players to ride the motion of the entities is alwyas 0
[media]Linked issues
Attachments
Comments 2
Thank you for your report!
We're tracking this issue in MC-122814, 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
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.
Actually a duplicate of MC-122814, the client has full control over the player motion (and by extension vehicles they control; see also @unknown's comment there.
Additionally, modded versions are not supported.