Use Item on Block Event provides an event API for other Forge mods to handle or cancel a player’s interaction with a block, whether the player is holding an item or empty-handed. The event fires on both client and server threads in three phases: PRE_BLOCK before the item’s use-on-first behavior, BLOCK before the block’s behavior, and POST_BLOCK before the item’s standard behavior. A listener can cancel an interaction at any phase and optionally set its result; results such as SUCCESS or PASS affect whether later interaction phases run, and SUCCESS can trigger an arm swing.
Written from Modrinth and the GitHub README . How we write it
Use Item on Block Event mainly changes inventory and items, along with blocks and fluids, and its code does not connect to the internet.
Written from our checks of its files. How we check
The newest release or beta for each Minecraft version and loader, on Modrinth and CurseForge.
Have a copy of Use Item on Block Event? Check that it is the official one.
Drop it here. We compare its fingerprint with the official Use Item on Block Event files. If we do not know the file, we upload it for a deep check.
Who makes Use Item on Block Event, with their most downloaded other projects.
Something wrong here? Report a mistake
Something wrong here? Report a mistake
Something wrong here? Report a mistake
None found
No sign it sends data.
We find the web addresses its code can contact, but we cannot see everything a mod does while it runs. Wrong result? Tell us
A mod can send information about you over the internet, such as your player name or your login.
Something wrong here? Report a mistake
Something wrong here? Report a mistake
Something wrong here? Report a mistake
Something wrong here? Report a mistake
Something wrong here? Report a mistake
As a library that other mods build on, it changes the game's code in 2 areas.
Also
Something wrong here? Report a mistake