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
Nostalgia core (the broken script) Nostalgia core (the broken script) Rine Time Rine Time Create: New Age Create: New Age Marvel-DC Zombies Marvel-DC Zombies Jaffa Factory 2 - Futura Edition Jaffa Factory 2 - Futura Edition Boundless Blocks Boundless Blocks Skybound SMP Skybound SMP Crafted Create Crafted Create Banjo's Lightly Salted Banjo's Lightly Salted Jurassic park (jurassic park genesis sequel) Jurassic park (jurassic park genesis sequel) Brassburg SMP Modpack Brassburg SMP Modpack The Deadliest Winter The Deadliest Winter Noroi Noroi MineColonies-Caos e Ordem [Unnoficial] MineColonies-Caos e Ordem [Unnoficial] NO STRINGS ATTACHED A Survival Horror Pack NO STRINGS ATTACHED A Survival Horror Pack Trials of Terra Trials of Terra RiftRealm UNLIMITED RiftRealm UNLIMITED World at war World at war Kingdom Cordis - RP Kingdom Cordis - RP ArcaneAxis - ARS ArcaneAxis - ARS Integrated MineColonies Integrated MineColonies Horror Aeronautics with Friends Horror Aeronautics with Friends Create: SatisFactory Create: SatisFactory Wither Storm: Dawn of Legends Wither Storm: Dawn of Legends Kameritverse ( Alien Evolution ) Kameritverse ( Alien Evolution ) Mystic's Monstrosity - Avaricious Edition Mystic's Monstrosity - Avaricious Edition Trusted Modded Trusted Modded Twisted Towns Twisted Towns Better Than Vanilla Better Than Vanilla Elarion Elarion Skybound Origins Skybound Origins Mana & Mechanisms Mana & Mechanisms Dracenia Dracenia Vanilla Reimagined by jhovem Vanilla Reimagined by jhovem HCT - Hexandcube's Client Tweaks HCT - Hexandcube's Client Tweaks EMF EMF Reclamation - Vessels Of Raven Reclamation - Vessels Of Raven PepeBright PepeBright HiveCraft HiveCraft Caffeine Caffeine We Create SMP We Create SMP TerraFirmaKingdoms Season 1 TerraFirmaKingdoms Season 1 Tech-Craft Tech-Craft MWR - Mods Within Reason MWR - Mods Within Reason Gearspack Gearspack Ultimate Heroes Ultimate Heroes Another Danger, The Ultimate Horror Modpack Another Danger, The Ultimate Horror Modpack Planes Trains and Cobblemon Planes Trains and Cobblemon Echoes of Volkrune - Rebirth of Order Echoes of Volkrune - Rebirth of Order A Bit o' Everything A Bit o' Everything Whim Whim Better Than Adventure-Forge Better Than Adventure-Forge Project Arc Light -  Dimensional Rift Project Arc Light - Dimensional Rift Refined Vanilla Refined Vanilla GATE Guns & Magic GATE Guns & Magic ReCraft S8 Project infinity 0.1 ReCraft S8 Project infinity 0.1 Sleepymon [COBBLEMON] Sleepymon [COBBLEMON] Bright Fantasy Adventure Bright Fantasy Adventure Shattered Skies [LC] Shattered Skies [LC] iByte Odyssey iByte Odyssey Voltz (Volts) Reimagined - Official Server Voltz (Volts) Reimagined - Official Server Horror: Perfected Horror: Perfected Createrington Cogs & Steam Createrington Cogs & Steam Arcane Empires & Ancient Evils Arcane Empires & Ancient Evils LuxeCraft SMP LuxeCraft SMP Jelly&Co Jelly&Co Economycraft Economycraft EagleCraft RPG EagleCraft RPG SkyBlock Winter Horror SkyBlock Winter Horror A Hunt For a New Life: DeadZone A Hunt For a New Life: DeadZone MHG: Cities! MHG: Cities! The Bright Side Of Create The Bright Side Of Create TDSMP - Time Dimension SMP TDSMP - Time Dimension SMP Dino Analog Horror Dino Analog Horror Project Conquest Project Conquest Multiversal Misadventures - The Blockhead's Guide to the Galaxy Multiversal Misadventures - The Blockhead's Guide to the Galaxy Create Beyond Cosmos Create Beyond Cosmos Donna's Odyssey Fantasy RPG Donna's Odyssey Fantasy RPG CosmonautiCraft CosmonautiCraft Server Pack: M-HELDEN 2 Server Pack: M-HELDEN 2 R&M R&M The Lost Server - The Broken Script The Lost Server - The Broken Script Aeronautics-The Create Dream Aeronautics-The Create Dream SubCraft Rebirth SubCraft Rebirth GunsCraft - ByLupin GunsCraft - ByLupin DLCraft! DLCraft! SIMPLY: Survival SIMPLY: Survival TussleCraft - Forgotten Age TussleCraft - Forgotten Age Builders Delight 4 Builders Delight 4 Create: Physics and Roads Create: Physics and Roads A4 Mystic Odyssey [Lite] A4 Mystic Odyssey [Lite] Gear Spinned Gear Spinned Catch, Create, Conquer Catch, Create, Conquer Furtastic (a changed adventure) Furtastic (a changed adventure) The Everlasting Winter The Everlasting Winter play.Create-SMP.com play.Create-SMP.com Galaxy Sky Galaxy Sky Reqium Reqium Yippee MC SMP - Client Pack Yippee MC SMP - Client Pack Create: Cogs & Cataclysm Create: Cogs & Cataclysm

External Resources