promotional bannermobile promotional banner

BaguetteLib

A simple but powerful event library that gives mod developers the control they actually need.

BaguetteLib


Ever tried to make a mod that needs proper death handling or inventory tracking? Yeah, NeoForge events suck for that. Support in my Discord

What's in it


Death Events

  • Catch deaths before they happen (cancel them if you want)
  • Do stuff after someone dies
  • Works on everything - players, mobs, whatever

Inventory Events

  • Hotbar changes, armor swaps, picking stuff up
  • Get the old item and new item for each change
  • Special handling for hands and offhand

Usage


Add it to your mod, register some events:

 
@SubscribeEvent
public static void onPlayerPreDeath(PlayerDeathEvent.Pre event) {
    // Do whatever you want here
}

That's it. No mixins, no extra crap.


Made by a developer who got tired of working around NeoForge event limitations.

 

If you'd like to support me and the development of my mods, I recommend trying out BisectHosting. Use code "project8gbderam" to get 25% off your first month of a gaming server for new customers. They offer 24/7 support and lightning-fast response times, ensuring you're in great hands and providing exceptional assistance for all your gaming needs. https://www.bisecthosting.com/project8gbderam

Bisect

The BaguetteLib Team

profile avatar
  • 157
    Followers
  • 108
    Projects
  • 128.9M
    Downloads

Modding addict and expert pack player (1.12.2), i really like reviving dead mods ! My only discord username is @Leclowndu93150, please be aware of scammers that use my identity.

More from Project8gbDeRamView all

  • Chisel Modern project image

    Chisel Modern

    • 1.1M
    • Mods

    A builder's best friend. On modern versions!

    • 1.1M
    • May 15, 2026
    • Mods
  • Particular ✨ Reforged project image

    Particular ✨ Reforged

    • 21.9M
    • Mods

    Particular is a mod that enhances Minecraft's ambience with many hand-crafted visual effects. Forge Port !

    • 21.9M
    • May 14, 2026
    • Mods
  • Ragnamod VII Core project image

    Ragnamod VII Core

    • 8.5K
    • Mods

    Core mod for Ragnamod VII to fix some issues

    • 8.5K
    • May 14, 2026
    • Mods
  • Twemoji project image

    Twemoji

    • 6
    • Mods

    Pixelated Twemoji emojis in chat, with a picker, shortcodes, animated emojis, and datapack support.

    • 6
    • May 14, 2026
    • Mods
    • +1
  • Chisel Modern project image

    Chisel Modern

    • 1.1M
    • Mods

    A builder's best friend. On modern versions!

    • 1.1M
    • May 15, 2026
    • Mods
  • Particular ✨ Reforged project image

    Particular ✨ Reforged

    • 21.9M
    • Mods

    Particular is a mod that enhances Minecraft's ambience with many hand-crafted visual effects. Forge Port !

    • 21.9M
    • May 14, 2026
    • Mods
  • Ragnamod VII Core project image

    Ragnamod VII Core

    • 8.5K
    • Mods

    Core mod for Ragnamod VII to fix some issues

    • 8.5K
    • May 14, 2026
    • Mods
  • Twemoji project image

    Twemoji

    • 6
    • Mods

    Pixelated Twemoji emojis in chat, with a picker, shortcodes, animated emojis, and datapack support.

    • 6
    • May 14, 2026
    • Mods
    • +1