Modscraper Modscraper Minecraft
BaguetteLib logo

BaguetteLib

Mod

by Project8gbDeRam

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

Type

Mod

CurseForge Downloads

35,572,574

CurseForge ID

1264423

Modrinth Downloads

3,405,830

Modrinth ID

OfKzpbRU

Last Updated

Nov 7, 2026

Description

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

Compatibility

Mod Loaders

Client Neoforge Server

Game Versions

26.3

Recommended Gear

Affiliate

Hardware and extras that pair well with this mod.

As an Amazon Associate I earn from qualifying purchases.

Similar Mods

Included in Modpacks (1,494)

Show fewer
Community Horror Pack Community Horror Pack PackNeverLucky PackNeverLucky LightCraft Season 3 LightCraft Season 3 Zenith Lite Zenith Lite Atlas Project Atlas Project Create - Water Worse Than Lava [ALPHA] Create - Water Worse Than Lava [ALPHA] The Land of Caellum 2.0 The Land of Caellum 2.0 Mine Hero Academia 10B Mine Hero Academia 10B Marjoto [FABRIC - NeoForge] Marjoto [FABRIC - NeoForge] Comfycraft Comfycraft Dark Hours Dark Hours OvermoddedCraft OvermoddedCraft Dawnfern SMP Dawnfern SMP NewPath - Echoes of the Wild NewPath - Echoes of the Wild For The Trees For The Trees SwellCraft - Create & Cobblemon SwellCraft - Create & Cobblemon Skyindustries Alchemic Skyindustries Alchemic Kinetra Create SMP Kinetra Create SMP GUILTY'S MEGAPACK GUILTY'S MEGAPACK Imperialist - Medieval Ages Imperialist - Medieval Ages Oathbound Oathbound DLI Moderately Modded Minecraft, Meals, Magic & Machinery DLI Moderately Modded Minecraft, Meals, Magic & Machinery Pokenautics Pokenautics Hero's N Villain's Reborn Hero's N Villain's Reborn Apollyon's Inferno Apollyon's Inferno Untitled Modpack - Hard Survival Untitled Modpack - Hard Survival EMERIS Endless Summer EMERIS Endless Summer Create Unending Create Unending KRC The First KRC The First Gamingecke Create 2026 Gamingecke Create 2026 La Colonie La Colonie GoatCraft BMC++ 4 [Forge] GoatCraft BMC++ 4 [Forge] Create - Technomancy Create - Technomancy Valley Chill Valley Chill Steamland - SP Steamland - SP Pepperson's RPG Pepperson's RPG Create Castaway Create Castaway Create Even Further Beyond Create Even Further Beyond PurgatoryMC PurgatoryMC TCG SMP - Prologue (Public) TCG SMP - Prologue (Public) MineColonies Advance MineColonies Advance PandaLand Pack PandaLand Pack Masters Of Aeronautics Masters Of Aeronautics RattcoreRevived RattcoreRevived Hero To Zero Hero To Zero OverGreg OverGreg Magic & Flight Magic & Flight Redacted II: Aerofactory Redacted II: Aerofactory jaaj jaaj Kat's Craft 2 Kat's Craft 2 Adventure & Horror Adventure & Horror Modded Bridge Modded Bridge Cobblemon Industrial revolution Cobblemon Industrial revolution Moss & Stone Serwer Moss & Stone Serwer Gergapack III Gergapack III Stev's Halloween Pack 3 Stev's Halloween Pack 3 NightWard - A multi-class RPG modpack NightWard - A multi-class RPG modpack Creating Sandwiches Creating Sandwiches RainbowMon 2 RainbowMon 2 Lotus Mods Lotus Mods KarmaCraft Chaos & bleibender Schaden KarmaCraft Chaos & bleibender Schaden The Silly Shenanigoons - Barebones REDUX The Silly Shenanigoons - Barebones REDUX Latesitoo Latesitoo Creator's Delight 3 Creator's Delight 3 CobbleAnacrônico CobbleAnacrônico Braincells: Back to Basics Braincells: Back to Basics Age of the Flood Age of the Flood Advanced Space and Beyond Advanced Space and Beyond Create Craft 4 Create Craft 4 All Those Tech All Those Tech Saucer Beans Saucer Beans KA&AL Magic KA&AL Magic Mostly Create! Mostly Create! She Asked for Cozy, I Installed Create She Asked for Cozy, I Installed Create Changed Survival Priority Changed Survival Priority Vanilla Planifolia Vanilla Planifolia create: ultimate create: ultimate Francis IV Francis IV Machines and Mythology Machines and Mythology Nouveau Monde Nouveau Monde Homer Pack Homer Pack Mount And Craft Mount And Craft Jurassic Park Genesis Jurassic Park Genesis Beyond Depth ( Zenith's Way ) Beyond Depth ( Zenith's Way ) Sorcerers Fate Sorcerers Fate ShroomCluster ShroomCluster Create World (Aeronautics) Create World (Aeronautics) Pixel Valley Pixel Valley Headstone Craft Headstone Craft Minecolonies Create Aeronautics Minecolonies Create Aeronautics Create: Tesseracted Create: Tesseracted Create & Additions Create & Additions Trademarked Trademarked Casual Chaos Cobble & Cloud [Cobblemon & Create] Casual Chaos Cobble & Cloud [Cobblemon & Create] FTC - Indie Games FTC - Indie Games The Living World The Living World So This Is Life As A Freak. So This Is Life As A Freak. Pherocraft Pherocraft Reino de Celeste Reino de Celeste OuiOuiCreate 2 OuiOuiCreate 2

External Resources