Use Item on Block Event
Adds a forge event for fine-grained handling of item/block interactions
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
Use Item on Block Event
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 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