DaFuqs / Spectrum

A full-feature minecraft mod about harnessing the powers of color
Other
104 stars 64 forks source link

[BUG] Glass arrows missed target after immediately pass through a transparent block #566

Closed EndlessLeo closed 4 days ago

EndlessLeo commented 2 weeks ago

Describe the bug When aiming at a target right next to a transparent block (or even 4 blocks away) with glass arrows, the glass arrow passes through both the transparent blocks and the target.

To Reproduce Set up a platform with a glass wall, and place a mob at one side of the glass wall, about 3-4 blocks away. Stand at the other side of the glass wall, and shoot the mob with any glass arrow.

Expected behavior Mob gets hurt by glass arrow

Minecraft version 1.20.1

Mod version 1.8.0

Screenshots image

DaFuqs commented 4 days ago

I tried to improve that for an hour now, but in the end it all boils down that you can't make entities conditionally pierce some blocks and not others. Big sad. Sorry. I will update the guidebook entry accordingly.