Compatibility
Minecraft: Java Edition
1.21.x
1.20.1–1.20.6
1.19.2–1.19.4
1.18.2
Platforms
Supported environments
Creators
Details
Attack Through Grass
....is a Minecraft mod that allows you to attack mobs through any non-collidable objects like grass and cobweb!
This mod may be used in any modpack.
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)
The content in this page only applies to mod versions marked as 2.0.0 & higher. Versions below may be buggy and only support Fabric!
🤔 Why should you choose this over other similar mods?
- Always up to date with latest versions of Minecraft.
- Available on all popular modloaders!
- No dependencies needed at all for Forge and NeoForge, drop and play
- As mentioned above, it's a client side mod! No need for the server owner to download the mod.
- As said earlier however, this can be considered cheating, so ensure that you inquire a higher up beforehand.
- Minimal amount of code and not intrusive (The mod is one mixin with one inject method)
- Because of this, I can confidently say that the mod will likely work on newer versions of Minecraft even without a direct port.
❓ FAQ
- Does this work for other blocks other than grass?
- Yes! Any non-collidable block should work. Non-collidable meaning that the blockstate given has no collision. E.g. portals, open trapdoors, single layer snow.
- Sometimes I still break blocks when attacking mobs!
- You likely missed your attack or on an outdated version of the mod. 2.0.2+ versions of the mod have a line of code to delay the player from accidentally breaking a block only if they hit an entity.
- Will the mod work for versions of Minecraft not listed?
- Usually yes for mod versions 2.+ and Minecraft versions 1.20.5+. The mod is made with almost little to no code which makes it automatically compatible with most upcoming versions of the game (including snapshots!). If you find that the mod does not work, report it to GitHub!
- Can I opt out of this mod on my server? (2.1.0+ ONLY)
- Yes! Just download the mod onto your server, and the server-sided code will disable the mod's client side functionality for everyone else using it.
👏 Credits
- Thanks to Alexandra and Jeryn99 for code used.



