exploding grass blocks banner
exploding grass blocks icon

exploding grass blocks

When grass is mined by any player, the grass will explode. This will happen unless the grass block is mined by any silk touch tool.

00
fabricBoth1.19.2mod

Exploding Grass Blocks adds a simple rule: breaking a grass block without Silk Touch causes an explosion at that block. Breaking with any Silk Touch tool lets you harvest safely.

Key implementation points:

  • Uses Fabric's PlayerBlockBreakEvents.AFTER to listen for player-driven block breaks server-side only.
  • Triggers only on grass_block states; checks the main-hand tool for Silk Touch before acting.
  • Explosions are centered on the block (strength 3.0) and attribute the breaking player as the source so damage is credited appropriately.

Usage:

  • Targeted for Fabric Loader/Fabric API on Minecraft 1.19.2. Drop the jar into your mods folder on both client and server.
  • No config options are provided; the behavior is always on once the mod is loaded.

Known notes:

  • Explosions still occur in creative if you break grass without Silk Touch.
  • Plants like tall grass are unaffected; only the grass block itself triggers the explosion.