ModsFinder

Attack Through Grass

by MianReplicate

Attack Through Grass lets a player hit mobs standing behind grass, cobwebs and other non-collidable blocks.

FabricForgeNeoForgeClient-side onlyMIT LicenseOpen source1.18.2 – 26.3

What it does

Normally a hit stops at the first block in the line of sight, so tall grass or a cobweb can hide a target. This mod changes that check so the attack reaches the mob behind any block whose state has no collision, such as portals, open trapdoors and single-layer snow. The mod is a single mixin with one injected method, so it leaves the rest of the game code alone.

The mod needs Fabric API on Fabric and no other dependency on Forge or NeoForge. It runs on the client only, so players install it and servers do not need it, but installing it on a server opts that server out for all clients from version 2.1.0 onward. Builds cover 1.18.2 – 26.3 for Fabric, Forge and NeoForge, with snapshot builds published. The code is open source under the MIT License.

Key features

  1. Attacks through non-solid blocks

    Hits pass through any block with no collision, so mobs behind grass or cobweb can be struck.

  2. Works with any non-collidable block

    Portals, open trapdoors and single-layer snow are all covered by the same rule.

  3. Minimal code footprint

    A single mixin with one injected method keeps the change small and straightforward to read.

  4. Server opt-out

    Installing the mod on a server disables the behavior for all clients from version 2.1.0.

Compatibility

Latest build for each game version and loader.

26.x5 of 5 versions with builds
26.3fabric-2.1.1-26.1forge-2.1.1-26.1neoforge-2.1.1-26.1
26.2fabric-2.1.1-26.1forge-2.1.1-26.1neoforge-2.1.1-26.1
26.1.2fabric-2.1.1-26.1forge-2.1.1-26.1neoforge-2.1.1-26.1
26.1.1fabric-2.1.1-26.1forge-2.1.1-26.1neoforge-2.1.1-26.1
26.1fabric-2.1.1-26.1forge-2.1.1-26.1neoforge-2.1.1-26.1
1.21.x12 of 12 versions with builds
1.21.11fabric-2.1.0-1.21.112.1.0neoforge-2.1.0-1.21.11
1.21.10Not available2.1.0neoforge-2.1.0-1.21.6
1.21.9Not available2.1.0neoforge-2.1.0-1.21.6
1.21.82.1.02.1.0neoforge-2.1.0-1.21.6
1.21.72.1.02.1.0neoforge-2.1.0-1.21.6
1.21.62.1.02.1.0neoforge-2.1.0-1.21.6
1.21.52.0.3+1.21.32.0.3+1.21.32.0.3+1.21.3
1.21.42.0.3+1.21.32.0.3+1.21.32.0.3+1.21.3
1.21.32.0.3+1.21.32.0.3+1.21.32.0.3+1.21.3
1.21.22.0.3+1.21.32.0.3+1.21.32.0.3+1.21.3
1.21.12.0.3+1.21.32.0.3+1.21.32.0.3+1.21.3
1.212.0.3+1.21.32.0.3+1.21.32.0.3+1.21.3
1.20.x6 of 6 versions with builds
1.19.x3 of 3 versions with builds
1.18.x1 of 1 version with builds
ReleaseBetaAlphaNot available

This mod also publishes snapshot builds. Snapshots are not shown in the matrix.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

Use cases

Survival and combat play

Players fighting in grass fields or cobweb-filled caves can reach enemies they could not otherwise hit.

Who it’s for: Single-player players and multiplayer clients who want mobs behind grass or cobwebs to be hittable, and server owners who want to disable that behavior for their players.

How it compares

Full comparison

Cobweb Miner is open source under the GNU General Public License v3.0 only, with a server-required, client-optional environment and files for 1.21 – 26.3 across Fabric, Forge, NeoForge and Quilt. Swing Through Grass is server-side only, released under the MIT License and not open source, with files for 1.19.2 – 26.3. Simple Auto Attack is client-side only, open source under the MIT License and built for Fabric alone, covering 1.21.1 – 26.2.

ModLoadersGame versionsEnvironmentUpdated
Attack Through GrassFabric, Forge and NeoForge1.18.2 – 26.3Client-side only2026-09-20
Cobweb MinerFabric, Forge, NeoForge and Quilt1.21 – 26.3Server required, client optional2026-09-30
Swing Through GrassFabric, Forge and NeoForge1.19.2 – 26.3Server-side only2026-10-04
Simple Auto AttackFabric1.21.1 – 26.2Client-side only2026-09-06

Questions

Does Attack Through Grass need Fabric API?

Yes on Fabric, where Fabric API is required. On Forge and NeoForge the mod has no dependencies and can be dropped in directly.

Does the mod need to be on the server?

No. It is client-side only. Installing it on a server opts that server out for all clients from version 2.1.0 onward.

Which game versions have files?

Builds cover 1.18.2 – 26.3 across 27 release versions, and the latest Fabric, Forge and NeoForge files target 26.3.

In the catalog

Attack Through Grass is one of 29,952 Game mechanics mods on ModsFinder, and one of 19,630 Game mechanics mods for Fabric. 8,071 mods support Minecraft 26.3.

More from MianReplicate

All projects

Similar mods

What the author says

This mod ONLY needs to be installed on the CLIENT! INSTALLING ON THE SERVER OPTS OUT THE MOD FOR ALL CLIENTS. (2.1.0+ ONLY)
MianReplicate, on the Modrinth page

Official listing

Owner
MianReplicate
Published
2023-11-08
Updated on Modrinth
2026-09-20
Facts verified
2026-10-15

Tags