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
DeadZone Brasil - DeceasedCraft DeadZone Brasil - DeceasedCraft United SMP Revamp United SMP Revamp Minecraft Season Minecraft Season RotomWorks RotomWorks MayemCraft MayemCraft Mekacraft! Mekacraft! Bee Valley Cute Edition Bee Valley Cute Edition Berezka's SCP Berezka's SCP The Extermination to Survive The Extermination to Survive Freaky Pack - Cute vs Horror Freaky Pack - Cute vs Horror Mine 'n' Shine - Reloaded Mine 'n' Shine - Reloaded Sitchen Kink Sitchen Kink AP Gaming - Empowered Apocalypse AP Gaming - Empowered Apocalypse Dominion Immersive Pack Dominion Immersive Pack LongPlay Origins LongPlay Origins Jujutsu Kaisen Modern ERA-Cursed Fate Jujutsu Kaisen Modern ERA-Cursed Fate Chunk by Chunk Advanced Chunk by Chunk Advanced All About Cobblemon - Pokemon  World ( Catch, Build, Explore ) All About Cobblemon - Pokemon World ( Catch, Build, Explore ) Homestead Horizon Homestead Horizon JustCreateSMP2 (QOL)(unofficial) JustCreateSMP2 (QOL)(unofficial) Blighted Dreams Blighted Dreams Ranchers of Pixel Valley Ranchers of Pixel Valley Gutt's Better Vanilla Gutt's Better Vanilla TURKEY SANDWICH CRAFT TURKEY SANDWICH CRAFT TARDIS & DRAGONS TARDIS & DRAGONS  2Gather [Aeronautics] 2Gather [Aeronautics] Creative Colonies - [Build, Automate, Thrive] Creative Colonies - [Build, Automate, Thrive] VOID-BOX2 VOID-BOX2 Roziaria Roziaria Project Z - Zombie Apocalypse Project Z - Zombie Apocalypse Vista Horizons Vista Horizons ERASED - NEW DAWN ERASED - NEW DAWN Create: Mobilised Create: Mobilised GregTech Apocalypse GT-A GregTech Apocalypse GT-A Actions & Everything Actions & Everything Tinkerer Kingdom Tinkerer Kingdom Craft 4 Dead Craft 4 Dead Yumema SMP Yumema SMP The Mainding - SaluoMT - Rutboy12 The Mainding - SaluoMT - Rutboy12 Warium Dead War Modern vs Medieval Warium Dead War Modern vs Medieval Infetion Z: TACZ x Parasite Infection Infetion Z: TACZ x Parasite Infection OriMeka Energistics: One OriMeka Energistics: One dragon ball with friends (essentials) dragon ball with friends (essentials) TurboWarp SMP TurboWarp SMP Nekocraft Nekocraft Cute & Cozy Cute & Cozy NM modpack NM modpack Vix Vix Dank-Dreams Dank-Dreams The TVA The TVA Buddycraft - Oneblock Buddycraft - Oneblock Cobblemon - Mechanical Legends Cobblemon - Mechanical Legends ZonaCero Apocalypse Enhanced ZonaCero Apocalypse Enhanced Dreamy Hollow - A Wonderful Cozy Experience Dreamy Hollow - A Wonderful Cozy Experience Arctic Winter Arctic Winter Motors & Rotors Motors & Rotors Viriatus Viriatus Create - Tamed Frontiers Create - Tamed Frontiers Let's Create - The First Edition Let's Create - The First Edition The Powers that Be. The Powers that Be. New World Awakened New World Awakened V's Fantasy Modpack V's Fantasy Modpack Winter Leveling Winter Leveling SharkSquad Modpacks SharkSquad Modpacks Attack of the new B-Team Attack of the new B-Team Luminosity Luminosity CrazyCrafters 3.0 CrazyCrafters 3.0 Whimsy Brews Whimsy Brews WALY VANILLA WALY VANILLA Create Next to the Sky Create Next to the Sky Craft and Conquer Craft and Conquer IGGY's Warium Pack IGGY's Warium Pack Alex Modpack Alex Modpack Artemiscraft: Awakening of the Elements Artemiscraft: Awakening of the Elements Mystic Visuals Mystic Visuals Create & Electrics Create & Electrics Leo's Medieval Fantasy Leo's Medieval Fantasy Slightly Realistic Survival Slightly Realistic Survival Requiem Black Dawn Requiem Black Dawn RISAKU project RISAKU project Ice and Firearms Ice and Firearms Meow to Exile 2 Custom By Seraphina Meow to Exile 2 Custom By Seraphina TerraLite TerraLite Founding Realms - Millénaire + MineColonies Town Building Adventure Founding Realms - Millénaire + MineColonies Town Building Adventure Cannons and Cantrips - CaC Cannons and Cantrips - CaC project Moa. project Moa. Perfect Fantasy Created Perfect Fantasy Created Pink Castle Pink Castle Create Military Warfare Create Military Warfare Stone to Tech Stone to Tech Ice, Fire, & Gunpowder Ice, Fire, & Gunpowder Leo's Military Factions Leo's Military Factions Poggersotes Poggersotes Ducky´s Create Ducky´s Create Peps SMP Season 4 Continents and Colonies Peps SMP Season 4 Continents and Colonies The Collective, The Aeronautical Edition The Collective, The Aeronautical Edition Warspire Warspire Realms Collide Eternal Realms Collide Eternal Greated Create Greated Create EverLush; The Garden EverLush; The Garden

External Resources