ModsFinder

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.

ForgeNeoForgeClient or server, optionalMIT LicenseOpen source1.20.1

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

  1. Cancellable interaction event

    The event fires when a player right-clicks, and a listener can cancel the interaction.

  2. Finer targeting

    The event distinguishes whether the block or the held item handles the click, which built-in handling does not expose.

  3. 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.

1.20.11.0.0.21.0.0.2
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

How it compares

Full comparison

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.

ModLoadersGame versionsEnvironmentUpdated
Use Item on Block EventForge and NeoForge1.20.1Client or server, optional2023-07-22
TriggersFabric, Forge and NeoForge1.20.1 – 1.21.1Server-side only2026-04-28
Render.jsForge and NeoForge1.20.1Client-side only2024-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

All projects

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…
Commoble, on the Modrinth page

Official listing

Owner
Commoble
Published
2023-07-22
Updated on Modrinth
2023-07-22
Facts verified
2026-10-15

Tags