Modrinth · Fabric, NeoForge, Quilt · Client mod

SwingThrough

SwingThrough is a client-side mod. Install it on your computer; the server does not need it.

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

Downloads
6.4M
Author
sleepingdragoninn
Loader
Fabric, NeoForge, Quilt
Minecraft
1.14 – 1.21.1
Updated
–

Screenshots

What SwingThrough looks like

Images: SwingThrough on Modrinth, published by the project team.

Setup

Install SwingThrough on your client

Client-side mods only run on your computer. More server RAM does not change their performance.

  1. 01

    Install the loader locally

    Install Fabric or NeoForge or Quilt for your Minecraft version in your launcher.

  2. 02

    Download the file

    Download the SwingThrough file for your loader and your exact Minecraft version, for example 1.21.1.

  3. 03

    Add it to the mods folder

    Put the .jar file in your local .minecraft/mods folder and remove older duplicates.

  4. 04

    Launch

    Launch Minecraft with the loader profile. Nothing needs to change on the server.

On the server
Not needed
On the client
Required
Loader
Fabric, NeoForge, Quilt
Minecraft
1.21.1, 1.21, 1.20.6 +30 more
License
GNU Lesser General Public License v3.0 only

Releases

Published releases

Pick the file that matches your server’s loader and Minecraft version. The server and players need the same release.

SwingThrough · Modrinth
Original description by the project author
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.

FAQ

SwingThrough questions

Question not listed? Ask our team.

Does SwingThrough need to be installed on the Minecraft server?

No. Modrinth marks SwingThrough as unsupported on the server side. Install it only in your local mods folder. Your server can stay unchanged unless the project page lists an additional dependency.

Which version and loader does SwingThrough require?

Use a file for Fabric, NeoForge, Quilt and your exact Minecraft version. Supported versions include 1.21.1, 1.21, 1.20.6. Files for different loaders are not interchangeable.

SwingThrough is not working – what should I check?

First check the Minecraft version, loader version and required dependencies. Because the mod is client-side, more server RAM will not fix it.

Looking for mods for your own server?

The catalog lists mods that run on Minecraft servers.

Browse all mods