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,569,194

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
Create Aeronautic Create Aeronautic Craftoria 2 - Worlds Beyond Craftoria 2 - Worlds Beyond Create - Forge Frontier Create - Forge Frontier A True Prime Piece Experiance A True Prime Piece Experiance PS2 CRAFT - Zombie Survival Horror Edition PS2 CRAFT - Zombie Survival Horror Edition Kuri's Fresh (Actions & Stuffs recreation) Kuri's Fresh (Actions & Stuffs recreation) DUNQOL DUNQOL Desecrated - Flesh and Blood Desecrated - Flesh and Blood Lees Zombie Apocalypse - Fallen Earth Lees Zombie Apocalypse - Fallen Earth #1 One Prime Piece #1 One Prime Piece Rubius cobblemon Rubius cobblemon Create Eternal Journey Create Eternal Journey [MODIFIED] Cobblemon: OVERCLOCKED! [MODIFIED] Cobblemon: OVERCLOCKED! Adventure of Tech VI Adventure of Tech VI Beyond Depth Insanity Beyond Depth Insanity Terramity Awakened Terramity Awakened FreshCraft Classic FreshCraft Classic Noyan ModPack Noyan ModPack Create: Back on Track Create: Back on Track Enigmatic Skies Enigmatic Skies Mahou Tsukai Packed Mahou Tsukai Packed TechAcademy TechAcademy Prison Escape - Beginnings Prison Escape - Beginnings The Slugterracraft - Legends of Slugterra The Slugterracraft - Legends of Slugterra ALAND's Immersive Hypixel SkyBlock ALAND's Immersive Hypixel SkyBlock EL MINE MAS EPICO 2 EL MINE MAS EPICO 2 Immersive Experience - Inspired by Actions & Stuff and Other Immersive Mods Immersive Experience - Inspired by Actions & Stuff and Other Immersive Mods Create: Think Bigger! V2.4 Create: Think Bigger! V2.4 [ Spellnomia ] -  Iron's Spells 'n Spellbooks magic modpack [ Spellnomia ] - Iron's Spells 'n Spellbooks magic modpack Create Sky Colonies - Valkyrian Skies X Create 6.0 Create Sky Colonies - Valkyrian Skies X Create 6.0 Create - Above the Horizon Create - Above the Horizon Magitech Fantasia Magitech Fantasia MineColonies - Cobblemon Conquest MineColonies - Cobblemon Conquest Take A Look GUNS Take A Look GUNS Exosphere 2 + Create (Aeronautics) Exosphere 2 + Create (Aeronautics) CobbleCreate. The Cobblemon and Create combination! CobbleCreate. The Cobblemon and Create combination! Plants vs. Zombies+ | With Plants vs Zombies & More! Plants vs. Zombies+ | With Plants vs Zombies & More! Reach For The Skies - A Create Experience! Reach For The Skies - A Create Experience! Create - Plane and Simple Create - Plane and Simple Brassworks SMP modpack Brassworks SMP modpack Create Combined Create Combined NeepMeat - Trifecta NeepMeat - Trifecta [CTM] Let's Cobble these Mons - a Cobblemon modpack [CTM] Let's Cobble these Mons - a Cobblemon modpack FEARCRAFT  [FORGE JAVA] FEARCRAFT [FORGE JAVA] Echoes of Nostalgia - Expert Echoes of Nostalgia - Expert Tensura All The Slime 1 Tensura All The Slime 1 Vanilla Reimagined+ Vanilla Reimagined+ Doctor Nowhere Adventures - A Doctor Nowhere Creatures Experience Doctor Nowhere Adventures - A Doctor Nowhere Creatures Experience Essentials Mods Essentials Mods FreshCraft SteamPunk Industry DLC FreshCraft SteamPunk Industry DLC Better Experience (BTV) - Last Update! | The Copper Age! Better Experience (BTV) - Last Update! | The Copper Age! One Terror Block One Terror Block Jujutsu Kaisen Craft Jujutsu Kaisen Craft Ultimately Optimized - Vanilla but Better! Ultimately Optimized - Vanilla but Better! Mustard Mode: ENGAGED! Mustard Mode: ENGAGED! Appalachian Mountains Appalachian Mountains Create France Serveur Create France Serveur Realisticraft - The Realistic Experience Realisticraft - The Realistic Experience Lunchbutt's Modpack Lunchbutt's Modpack Gold Edition Gold Edition Liminal Industries Acension Liminal Industries Acension Fungal Infection  Spore Survival Fungal Infection Spore Survival Infinity Legacy Infinity Legacy Plants vs Zombies Overgrowth Plants vs Zombies Overgrowth Dawn of Berk Dawn of Berk Liminal Industries - Rescripted Liminal Industries - Rescripted IanAnderson's Modpack IanAnderson's Modpack Technological Ascent Technological Ascent FWF LuckyBlocks FWF LuckyBlocks Kawaii Craftia Kawaii Craftia Create Overlord Aeronautics Update Create Overlord Aeronautics Update Factory in the Sky 4 Factory in the Sky 4 Spell Sword Spell Sword [ Alone on a Raft ] Ocean survival world with vast islands, dangerous, sea creatures, boat [ Alone on a Raft ] Ocean survival world with vast islands, dangerous, sea creatures, boat Cobbelmon (CKnight) Cobbelmon (CKnight) Apocalypse Begins [Zombie Apocalypse] Apocalypse Begins [Zombie Apocalypse] Factorio: Nuclear (OxMODPACK) Factorio: Nuclear (OxMODPACK) JJK Extra Cursed Fate JJK Extra Cursed Fate Mechanical Infinity Mechanical Infinity Extraordinary Energy : Modern Extraordinary Energy : Modern The Clash of Epochs The Clash of Epochs Vanilla Extension Vanilla Extension [MODIFIED] Cobblemon: Essentials [MODIFIED] Cobblemon: Essentials Servidor Magnatas Servidor Magnatas SharpSharp RPG SharpSharp RPG World Destroying - Apocalipse Zombie World Destroying - Apocalipse Zombie Z Apocalypse - A Modern Zombie Apocalypse Z Apocalypse - A Modern Zombie Apocalypse Greg's Tardis Greg's Tardis Fresh & Cozy Fresh & Cozy Incy PLUS Incy PLUS Project Minecolonies United Project Minecolonies United Create: Basically Everything Create: Basically Everything Digimon Two World Conspiracy Digimon Two World Conspiracy HTTYD: Hiccups legacy HTTYD: Hiccups legacy Beyond Zombie Beyond Zombie Bodycam VHS Bodycam VHS FreshCraft Fantasy DLC FreshCraft Fantasy DLC QSMP 2 Community Edition QSMP 2 Community Edition Jaffa Factory 2 Jaffa Factory 2 Azure Visuals Azure Visuals

External Resources