mojira.dev
MC-207353

Ghast fireballs and wind charges can't be redirected in melee if the attack does 0 damage

The bug

Just noticed that you can't hit a ghast fireball in a different direction if your attack does 0 damage (due to you having the Weakness effect). The fireball will kind of jerk away visually and then return to where it was This was fixed in either 22w06a or 22w07a. Snowballs, eggs, etc. still seem to work, and using a Sharpness item will still work due to MC-92734.

How to reproduce

  1. /summon minecraft:fireball ^ ^1 ^2

  2. /effect give @s minecraft:weakness 1000 0 true

  3. Hit the fireball with your fist. It will glitch forward without colliding with anything and then return to where it was. (If the fireball is in water it will do this repeatedly.) As of 22w06a or 22w07a it will be completely unaffected by your punch unless your held item is enchanted with Knockback.

  4. Hit the fireball with a stone+ sword or projectile. It will get hit normally.

Update: wind charges are affected too!

Attachments

Comments 5

can confirm for 20w49a

Can confirm in 1.16.5.

Can confirm for 21w19a
Here's a video demonstrating the issue: https://youtu.be/SB9lBc0GhXw

The client-side punching was fixed in either 22w06a or 22w07a, although the core issue is still present.

In 23w45a this also affects wind charges due to [MC-266448].

clamlol

coschevi

Community Consensus

Gameplay

Low

Player, Projectiles

effects, fireball, ghast, wind_charge

1.16.4, 20w49a, 20w51a, 21w03a, 1.16.5, ..., 23w43a, 23w44a, 23w45a, 1.20.3 Pre-Release 1, 24w06a

1.20.5 Pre-Release 1

Retrieved