Skip to content

Lithium mixin.world.explosions.block_raycast breaks FTB Chunks explosion protection #734

Open

Description

@AndartaMC

Version Information

lithium-fabric-0.21.4+mc1.21.11

Expected Behavior

Explosions should not break blocks inside claimed chunks.

When using Lithium together with FTB Chunks (Fabric), chunk-claimed explosion protection does not work correctly.

Explosions (e.g. TNT) are able to destroy blocks inside claimed chunks, even though protection is enabled.

Actual Behavior

Explosion damage is not prevented — blocks are destroyed inside claimed chunks.

Reproduction Steps

  1. Install Lithium (Fabric) v0.21.4
  2. Install FTB Chunks (Fabric) v2111.1.1
  3. Claim a chunk using FTB Chunks
  4. Trigger an explosion (e.g. TNT) inside the claimed chunk

Cause / workaround

The issue appears to be caused by the Lithium optimization:

mixin.world.explosions.block_raycast

Disabling it in lithium.properties fixes the issue:

mixin.world.explosions.block_raycast=false

After applying this change, FTB Chunks correctly prevents explosion damage in claimed chunks.

Other Information

This suggests the optimized explosion raycasting may bypass or alter the logic/hooks that FTB Chunks relies on to cancel block damage.

Activity

  1. added
    A-mods
    F-good-issue
    F-has-workaround
    on Apr 16, 2026
  2. 2No2Name commented on Apr 16, 2026

    @2No2Name
    Member

    FTB chunks can disable the setting automatically if they want like this: https://github.com/CaffeineMC/lithium/wiki/Disabling-Lithium's-Mixins-using-your-mod's-fabric.mod.json-or-neoforge.mods.toml

    I am looking into changing the code to work together without losing performance, which seems hard to do in this case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-modsF-good-issueF-has-workaround

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions