Get the files on 9Minecraft
Guides
Step-by-step, in-game.
Frequently asked questions
Do I need to rewrite my entire mod to use Event Wrapper Mod?
No. You only need to add the @EventBusSubscriberWrapper tag to your class and swap your event parameters for their wrapper equivalents (like LivingHealEventWrapper). Your existing method logic stays the same.
Will my mod work on both Forge and Fabric without any changes after I add the wrapper tags?
Yes, that's the main purpose. The mod handles Forge events directly and uses mixins to translate them on Fabric, so the same tagged code runs on both loaders.
What happens if I forget to tag a method with @SubscriberEventWrapper?
The method won't be recognized as an event handler by the wrapper system, so it won't fire on either loader. Make sure every event method has both the class-level @EventBusSubscriberWrapper tag and the method-level @SubscriberEventWrapper tag.
Can I cancel events using Event Wrapper Mod?
Yes. The wrapper event objects support cancellation the same way Forge events do—check your specific wrapper's documentation for the cancel() method or setCanceled() equivalent.
See all 10 Event Wrapper questions ›
Gallery
1 image from the Event Wrapper Mod page.
You May Also Like
Wikis that share the most with this one
More mod wikis on the site
The most downloaded mods that have a wiki here
A few wikis from each of the other kinds
