Mineuniverse
Log in Register
Mods

SwingThrough

Allows targeting (and interacting with and attacking) living entities through transparent blocks like grass, crops, and flowers.
by sleepingdragoninn
Download Claim this project
43,508 downloads
0 likes
Updated Jul 6, 2026
0 hypes
Utility & QoL
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; Please support the wider community.

swingthrough-1.0.6+1.21.jar
MC 1.21, Client, Fabric, 1.20.5, 1.20.6, 1.21.1, 1.20.4, NeoForge, 1.20.3, Quilt
Release 2025-12-12 Get

More from sleepingdragoninn

McQoy
793,059
Hoofprint
44,197
Surveyalot
320
Euphonium
30,620
Surveyor Map Framework
210,252
Antique Atlas 4
170,068

You Might Also Like

Liberty's Villagers
Quality of Life and AI improvements for Villagers
9,968,428
No More Pop-ups
A Minecraft mod to remove in-game pop-ups
996,708
BetterRandomSourceConcurrencyCrash
Improved logging of crashes caused by mods accessing RandomSources from the wrong thread
99,371
Exit Confirmation
Often accidentally closed Minecraft? This mod might help!
99,067
NoDynamicFps
Adds an option to disable Vanilla's Dynamic FPS implementation
99,004
Immersive Crafting
Adds crafting recipes to immersive portals
9,998