Mojira Archive
MC-81659

Fireball and witherskull hitboxes are frequently invisible for some seconds

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.

Fixed

Marcono1234

2015-06-21, 05:50 PM

2020-03-11, 02:52 PM

2020-03-11, 02:52 PM

2

3

Confirmed

(Unassigned)

fireball, hitbox, wither_skull

Minecraft 1.8.7 - Minecraft 1.13.1Minecraft 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