SwingThrough
ModAllows targeting (and interacting with and attacking) living entities through transparent blocks like grass, crops, and flowers.
Type
Mod
Modrinth Downloads
4,569,462
Modrinth ID
JyKlunuD
Last Updated
Jun 12, 2026
Description
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.
Compatibility
Mod Loaders
Game Versions
Screenshots
Similar Mods
RSInfinityBooster
Added Infinity Range Card
Doomlike Dungeons
Causes procedurally generated dungeons rembling Doom levels to be placed in worlds
Mutant Monsters
The mutants are back! Face scary creatures and powerful beasts like never before.
Advanced Peripherals
A Peripheral addon mod for modern CC: Tweaked. You can communicate with Refined Storage, Applied Energistics2 or with th...
Progressive Bosses
Makes Wither and Ender Dragon harder the more you kill 'em
Productive Bees
Get your resource fix from bees
Included in Modpacks
Engineer's Journey
Cobblemon Eclipse
Sylix Cobblemon
Cobblemon: Unbound
Cobblemon Origins
Nekocraft
Project Solaris Modpack
MC Rebalanced
Dyonizel Modpack
Cobblemon Trailblazer's Modpack
Cobble Lemon
Create: Just Extended
Snorland Cobblemon
A Toca da Coruja
DittoLand Cobblemon