Use Item on Block Event

Use Item on Block Event

Adds a forge event for fine-grained handling of item/block interactions

by
343 Downloads
forgeneoforgelibrary
Rent Server with this Mod

About this Mod

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

Available Versions

Use Item on Block Event 1.0.0.2release
MC 1.20.1forge, neoforge
July 22, 2023

How to Install Use Item on Block Event on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set forge Loader

In the panel under "Egg", select the forge loader and matching Minecraft version (1.20.1).

3

Install Mod

Open the mod browser in the dashboard and search for "Use Item on Block Event". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

forgeneoforge

Minecraft Versions

1.20.1

Server-side

~ Optional

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Use Item on Block Event server crashes on startup – what to do?

Most common cause: wrong forge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.1). You can switch loaders with one click in the panel.

Is Use Item on Block Event compatible with forge and neoforge?

Use Item on Block Event officially supports forge, neoforge for Minecraft 1.20.1. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Use Item on Block Event – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Use Item on Block Event consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Use Item on Block Event with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Optional

Supported Versions

1.20.1