promotional bannermobile promotional banner
header
logo

Use Item on Block Event

Use Item on Block Event is a forge 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 interaction is handled compared to builtin forge events.

 

This mod can be installed on clients, servers, or both.

 

Additional documentation for developers can be found in the github readme via the "Source" link above.