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

Client not using modified DeathTime value

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.10.2, Minecraft 16w39c, Minecraft 16w42a, 1.15.2, 20w07a, 20w46a
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      The bug

      The DeathTime tag represents how long the death animation is shown already and removes the entity if the value of the tag reaches 20. However, if you change the DeathTime to something different than 0, client-side the animation will still last 20 ticks.

      How to reproduce

      1. Use the following command
        /summon villager ~ ~ ~ {Health:0f,DeathTime:-41s}
        
      2. Reopen the world after the death animation stopped (or 2 seconds)
        → The dying villager is still there
      3. Summon the villager again and close and reopen the world after about 4 seconds
        → The dying villager is gone because the value of the DeathTime tag reached 20 after about 3 seconds

      The reason

      The following is based on a decompiled version of Minecraft 1.10 using MCP 9.30.

      This happens very likely because the DeathTime tag is not tracked by the data manager.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              marcono1234 [Mod] Marcono1234
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                CHK: