Lithium (Fabric/NeoForge)

Lithium (Fabric/NeoForge)

43M Downloads

Nonvanilla behaviour caused by mixin.world.explosions.entity_raycast

Floris0106 opened this issue ยท 3 comments

commented

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

  1. Download the raid farm world. (https://wisehosting.com/dl?w=Stacking-Raid-Farm)
  2. Open the world and use the farm.
    1. Stand in front of the decorated pot and iron trapdoor.
    2. Hold right click.
  3. 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)

commented

This will be fixed in the next release. Thanks for the great issue report with the world download and clear and concise reproduction steps

commented

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.

commented

Interesting, and good to hear it will be fixed soon. Should I close this issue or will it be closed when the next release comes out?