SwingThrough Mod (1.21.1, 1.20.1) allows targeting (and interacting with and attacking) living entities through transparent blocks like grass, crops, and flowers.

Features:

This mod improves targeting behavior by allowing entities to be selected instead of blocks when specific conditions are met:

  • The block has no collision.
  • The entity is living and attackable.
  • The player is not riding the entity.
  • The entity is within reach (exact interaction range in version 1.21).

When these conditions apply, the block outline disappears while targeting the entity.

Technical Notes:

  • The mod contains a single mixin with about four lines of essential code:
    • Two lines use the full entity targeting range when the block meets the conditions.
    • Two lines discard the block target when the full range is used and the entity meets the conditions.
  • No additional raycasts or radius searches are performed.

Screenshots:

Crafting Recipes:

Recommend that you should install Just Enough Items (for mods using Forge) or Roughly Enough Items (for mods using Fabric) to view the full recipes included in this mod.

Requires:

Fabric Modloader

Fabric API

How to install:

Click the following link to view details: How to Install Mods for Minecraft Java Edition on PC: A Beginner Guide

SwingThrough Mod (1.21.1, 1.20.1) Download Links

For All Versions from Minecraft 1.16.5 to Minecraft 1.18.2

Fabric version: Download from Server 1Download from Server 2

For All Versions from Minecraft 1.18.2 to Minecraft 1.19.2

Fabric version: Download from Server 1Download from Server 2

For All Versions from Minecraft 1.20.6 to Minecraft 1.21.1

NeoForge/Fabric/Quilt version: Download from Server 1Download from Server 2

Click to rate this post!
[Total: 0 Average: 0]