Posted 1 hour ago1 hr Hi everyone,I recently started learning Forge modding and I’m trying to understand the proper way to handle simple gameplay events in Forge 1.20.1.Right now, I’m experimenting with detecting when a player right-clicks with a custom item, but I’m a bit confused about which event bus I should be using and where the listener should be registered.If someone could clarify the difference between the mod event bus vs the Forge event bus in the context of input / item-use events, that would really help. And if you have a small code example, even better.Thanks in advance!— Myroslav Mokhammad Abdeljawwad
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.