Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-258864

Minecarts and boats visually stutter when rotating across 0 degree yaw

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.19.3, 23w03a, 23w04a, 23w05a, 23w06a, 23w07a, 1.19.4 Pre-release 1, 1.19.4 Pre-release 2, 1.19.4 Pre-release 3, 1.19.4 Pre-release 4, 1.19.4 Release Candidate 2, 1.19.4, 23w12a, 23w13a, 23w14a, 23w17a, 1.20, 1.20.4
    • Java: 17.0.3 64bit
      CPU: 16x AMD Ryzen 7 4800HS with Radeon Graphics
      Operating System: Windows 11 Home 22H2
    • Confirmed
    • Commands, Entities
    • Normal
    • Platform

      Minecarts and boats (along with their variant entity types) briefly visually stutter when crossing over a 0 degree yaw rotation while being rotated horizontally via commands (either counterclockwise or clockwise). This presumably has to do with how Minecraft handles rotation wrapping. This does not affect any other entities in my current testing.

      Example commands to reproduce (note that the same behavior occurs when writing to Rotation[0] via /data or /execute store result|success entity):

      # Happens clockwise
      execute as @e[type=minecart] at @s run tp @s ~ ~ ~ ~5 ~
      
      # Happens counterclockwise
      execute as @e[type=boat] at @s run tp @s ~ ~ ~ ~-5 ~
      
      # Happens when the entity has a different pitch rotation (not exclusive to 0 0 line)
      summon chest_boat ~ ~ ~ {Type:"oak",Rotation:[0F,60F]}
      execute as @e[type=chest_boat] at @s run tp @s ~ ~ ~ ~5 ~
      
      # Does not affect other mobs, e.g. cows
      execute as @e[type=cow] at @s run tp @s ~ ~ ~ ~5 ~
      

      Possibly relates to MC-120545.

            Unassigned Unassigned
            Evtema3 Evtema3
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              CHK: