Mojira Archive
MCPE-118695

Projectile hits only occur at the center of the projectile, not based on its collision box

Currently no matter what size hitbox a projectile entity has, the damage will only be given to mobs hit by the centre of the projectile, regardless of how big the hitbox actually is.

Projectiles also hit their target before their model hits the entity, indicating the projectile hitbox is in front of the projectile.

Steps To Reproduce:

  1. Go into the snowball file and change the hitbox to something much larger like 5 and 5
  2. Line up 2 lines of entities and throw the snowball between them (as shown in the attached video)
  3. The mobs will get pushed out of the way, but they won't get hit by the snowball

Expected Behaviour:

  • The collision box of a projectile is what determines how large the 'damage collision box' is.

Actual Behaviour:

  • No matter how large the hitbox is, only entities colliding with the centre of a projectile take damage