I can't change my boat's rotation using commands.
/tp @p <location>
/tp @p <location> <rotation>
/tp @e[type=chest_boat,sort=nearest,limit=1] <location>
all work as intended.
/tp @e[type=chest_boat,sort=nearest,limit=1] <location> <rotation>
functions exactly the same as
/tp @e[type=chest_boat,sort=nearest,limit=1] <location>,
completely ignoring the <rotation> argument. I teleport with the boat if I'm riding it; the boat teleports without me if I'm not riding it; either way it ignores <rotation>.
If I teleport myself when I'm riding the boat, I teleport without the boat.
How do I set the rotation of the boat?
The reason I want to set the rotation of the boat is because when using WASD to turn the boat, I can never get the horizontal rotation exactly as I want it. It's always at least 0.1 off, causing me to drift in either the x or z dimension over long distances.
Environment
Edition Windows 11 Home
Version 22H2
Installed on 2022-09-21
OS build 22621.1702
Experience Windows Feature Experience Pack 1000.22641.1000.0
Device name [redacted]
Processor AMD Ryzen 5 5600H with Radeon Graphics 3.30 GHz
Installed RAM 16.0 GB (15.4 GB usable)
Device ID [redacted]
Product ID 00342-21917-86073-AAOEM
System type 64-bit operating system, x64-based processor
Pen and touch No pen or touch input is available for this display
Minecraft Java Edition Latest release 1.20.1
Linked issues
relates to 3
Attachments
Comments 4
Affects 1.20.2 and 23w42a. There seems to be a problem with all the rideable entities.
Cmds:
/tp @p ~ ~ ~ 0 0
/summon minecraft:boat ~ ~ ~
/teleport @e[type=boat,sort=nearest,limit=1] ~ ~ ~ 75 0
get on the boat
/teleport @e[type=boat,sort=nearest,limit=1] ~ ~ ~ 0 0
The boat will face "~ ~ ~ 75 0".
Is MC-258864 describing your issue ?