ᴍɪɴᴇᴄʀᴀꜰᴛʀᴇꜱᴏᴜʀᴄᴇꜱ

SwingThrough

Modrinth

Allows targeting (and interacting with and attacking) living entities through transparent blocks like grass, crops, and flowers.

6.5M downloads346 followersUpdated 2y ago

1.0.6+1.20 · MC 1.20.2 · Fabric, Quilt

View on Modrinth

Files

  • 1.0.6+1.20

    release

    1.0.6+1.20

    1.20.21.20.11.201.19.4+15fabricquilt

    2024-08-22 · 634.5K downloads

    swingthrough-1.0.6+1.20.jar · 22 KB

  • 1.0.5+1.21

    release

    1.0.5+1.21

    1.21.11.211.20.61.20.5+2fabricneoforgequilt

    2024-08-13 · 5.8M downloads

    swingthrough-1.0.5+1.21.jar · 23 KB

  • 1.0.5+1.20

    release

    1.0.5+1.20

    1.20.21.20.11.201.19.4+18fabricquilt

    2024-08-13 · 1K downloads

    swingthrough-1.0.5+1.20.jar · 22 KB

  • 1.0.5+1.15

    release

    1.0.5+1.15

    1.15.21.15.11.151.14.4+4fabric

    2024-08-13 · 915 downloads

    swingthrough-1.0.5+1.15.jar · 22 KB

  • 1.0.4+1.19

    release

    1.0.4

    1.20.11.201.19.41.19.3+4fabricquilt

    2023-07-03 · 87.3K downloads

    swingthrough-1.0.4+1.19.jar · 24 KB

  • 1.0.3-compat+1.19

    release

    1.0.3-compat

    1.20.11.201.19.41.19.3+9fabricquilt

    2023-07-03 · 1.1K downloads

    swingthrough-1.0.3-compat+1.19.jar · 23 KB

  • 1.0.3+1.19

    release

    1.0.3

    1.20.11.201.19.41.19.3+4fabricquilt

    2023-07-02 · 278 downloads

    swingthrough-1.0.3+1.19.jar · 23 KB

  • 1.0.2-compat+1.19

    release

    1.0.2-compat

    1.20.11.201.19.41.19.3+9fabricquilt

    2023-07-02 · 242 downloads

    swingthrough-1.0.2-compat+1.19.jar · 23 KB

  • 1.0.2+1.19

    release

    1.0.2

    1.20.11.201.19.41.19.3+4fabricquilt

    2023-06-10 · 5.2K downloads

    swingthrough-1.0.2+1.19.jar · 23 KB

  • 1.0.1+1.19

    release

    1.0.1

    1.19.2quilt

    2023-06-10 · 276 downloads

    swingthrough-1.0.1+1.19.jar · 23 KB

Files are delivered unmodified from Modrinth's servers and verified against the SHA-512 hash published by the project. The project's license applies to every file; check it before redistributing.

Gallery

Preview

About

preview Allows targeting living entities through transparent blocks.
Requires Connector on neoforge.

This mod discards the block crosshair target to allow an entity to be targeted instead, when:

  • The block has empty collision
  • The entity is living and attackable
  • You're not directly riding the entity
  • The entity is within reach (exact interaction range in 1.21)

Thanks to this implementation, the block outline will also disappear while you're targeting the entity.

Technical Notes

This mod is comprised of a single mixin with about 4 lines of meaningful code:

  • 2 lines to use the full entity targeting range if the block meets the conditions
  • 2 lines to discard the block target if the full range was used and the entity meets the conditions

It performs no additional raycasts or radius searches.

Afterword

All mods are built on the work of many others.

We made this mod for Tinkerer's Quilt - our modpack about ease of play and vanilla content.