Use Item on Block Event
by Commoble
Use Item on Block Event is a Forge and NeoForge library that fires a cancellable event when a player right-clicks a block or item.
What it does
Other mods can listen for this event with the Forge event-listening API and cancel an item or block interaction before the game handles it. Compared with the built-in handling, the event offers finer targeting, separating whether the block or the held item is the one being used. Either side can run it, and neither needs it, so installing it on one side is enough. Files are published for Forge and NeoForge under 1.20.1, and the code is released under the MIT License.
Key features
Cancellable interaction event
The event fires when a player right-clicks, and a listener can cancel the interaction.
Finer targeting
The event distinguishes whether the block or the held item handles the click, which built-in handling does not expose.
Forge event API
Listeners use the standard Forge event-listening API, so no separate hook is needed to react to block and item use.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
How it compares
Triggers is a server-side only mod, open source under the MIT License, with files for 1.20.1 – 1.21.1 across Fabric, Forge and NeoForge. Render.js is client-side only, open source under the GNU General Public License v3.0 only, and limited to Forge and NeoForge for 1.20.1.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Use Item on Block Event | Forge and NeoForge | 1.20.1 | Client or server, optional | 2023-07-22 |
| Triggers | Fabric, Forge and NeoForge | 1.20.1 – 1.21.1 | Server-side only | 2026-04-28 |
| Render.js | Forge and NeoForge | 1.20.1 | Client-side only | 2024-07-14 |
In the catalog
Use Item on Block Event is one of 3,514 Library mods on ModsFinder, and one of 1,576 Library mods for Forge. 34,764 mods support Minecraft 1.20.1.
More from Commoble
Similar mods
What the author says
Use Item on Block Event is a mod that adds a cancellable forge event that fires when the player right-clicks a block. Other mods can listen for this event using the forge event-listening API to specifically act on or cancel item/block interaction behavior, with improved targeting of whether the block's or the item's…
Official listing
- Modrinth page
- modrinth.com/mod/use-item-on-block-event
- Owner
- Commoble
- Published
- 2023-07-22
- Updated on Modrinth
- 2023-07-22
- Facts verified
- 2026-10-15
