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

Fireball and witherskull hitboxes are frequently invisible for some seconds

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • Minecraft 1.8.7, Minecraft 1.11, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 1.12 Pre-Release 6, Minecraft 1.12 Pre-Release 7, Minecraft 1.12, Minecraft 1.13.1
    • 20w11a
    • Confirmed
    • (Unassigned)

    Description

      The bug

      I don't know if this has any effect on the game play but the hitboxes of fireballs and wither skulls (subclasses of net.minecraft.entity.projectile.EntityFireball) are only visible every 3 seconds.

      How to reproduce

      1. Press F3 + B to show the hitboxes
      2. Summon a wither skull
        /summon wither_skull ~ ~ ~ {direction:[0d,0d,0d]}
        

      Code analysis

      Based on 1.12 decompiled using MCP 9.40 PRE 1

      It appears the reasons for this are that constructors EntityFireball.EntityFireball(World, double, double, double, double, double, double) and EntityFireball.EntityFireball(World, EntityLivingBase, double, double, double) set accelerationX, accelerationY and accelerationZ (power NBT tag values) to NaN.
      Additionally these values are not sent to the client after they were read from NBT server-side.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                CHK: