
Nonvanilla behaviour caused by mixin.world.explosions.entity_raycast
Floris0106 opened this issue ยท 3 comments
Version: lithium-fabric-0.15.0+mc1.21.4
mixin.world.explosions.entity_raycast breaks this raid farm which relies on tnt to weaken raiders, and fireworks to kill them. When using the aforementioned mixin, the raiders do not die from this process. I tested this using only lithium, malilib and tweakeroo, the latter two of which I have tested separately to ensure they do not cause this bug (which they don't).
Reproduction Steps
- Download the raid farm world. (https://wisehosting.com/dl?w=Stacking-Raid-Farm)
- Open the world and use the farm.
- Stand in front of the decorated pot and iron trapdoor.
- Hold right click.
- Wait until your player has used 2 or 3 fireworks.
The steps listed above cause the raid farm to break (aka let raiders survive) when using lithium with mixin.world.explosions.entity_raycast=true, and not with =false. You can easily tell whether the farm works on not after a couple cycles by seeing whether the player gets attacked by vexes. (which is not supposed to happen)
This will be fixed in the next release. Thanks for the great issue report with the world download and clear and concise reproduction steps
Notably, the raycasts from the explosion to the mob actually use the mob in the collision context, meaning that mobs that are standing on top of a scaffolding are not shielded by it, while those which are lower, are.