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

Banners don't move in wind when over certain "Time" value of the level.dat

    Details

    • Type: Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 14w30c, Minecraft 14w32a, Minecraft 14w32b, Minecraft 14w34b, Minecraft 14w34c, Minecraft 14w34d, Minecraft 1.8, Minecraft 1.8.1, Minecraft 1.8.4, Minecraft 1.8.7, Minecraft 1.8.8, Minecraft 15w40b, Minecraft 15w49b, Minecraft 16w06a, Minecraft 1.9 Pre-Release 1, Minecraft 1.9, Minecraft 1.9.2, Minecraft 1.10.2, Minecraft 16w40a, Minecraft 1.11.2, Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 1.13-pre10
    • Fix Version/s: Minecraft 1.8-pre1
    • Confirmation Status:
      Confirmed

      Description

      The bug

      Banners don't move in wind when over certain Time value of the level.dat.

      Code analysis (by [Mod] Marcono1234)

      The following is based on decompiled version of Minecraft 1.8 using MCP. All method and class names are the names used in the decompiled version.

      The Time value of the level.dat file is used for rendering banners, beacons (they are affected by this in 1.8 but not in 16w06a anymore) and guardians (can't find any problems here). If I understand it correctly, the conversion from long to float is with high numbers too lossy:

      1000000696956L = 1000000720000f
      1000000701016L = 1000000720000f
      

      In the case of the banner using % 100L of the time should create the same moving animation but prevent this from happening.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tim19278 Tim van der Linden
              • Votes:
                36 Vote for this issue
                Watchers:
                24 Start watching this issue

                Dates

                • Created:
                  Updated:
                  CHK: