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
Comes Alive & The Autumn Days Comes Alive & The Autumn Days Path of Truth Path of Truth Tacz Optimization Tacz Optimization Mystical Block 2 Mystical Block 2 Create: Skyblock Infinite Create: Skyblock Infinite Dragon Ball Z Unleashed Dragon Ball Z Unleashed Elden Kingdom Elden Kingdom zOptimized zOptimized SurviveArchive - A Blue Archive modpack SurviveArchive - A Blue Archive modpack B.O.M.P Progression Based Rpg. B.O.M.P Progression Based Rpg. HeroCraft made by DieAvengers3 HeroCraft made by DieAvengers3 Realm of the Titans Realm of the Titans VORTEX Foundations VORTEX Foundations StudiousGoose's SMP Additions StudiousGoose's SMP Additions Avali/Furry Floofpack 2025 Avali/Furry Floofpack 2025 The Warborn Realms SMP The Warborn Realms SMP Delta's Just Give Me Features Delta's Just Give Me Features TACZ: BG TACZ: BG CursedFate Awakened CursedFate Awakened Craftformers Official Server Modpack Craftformers Official Server Modpack Aeronautics Dream Aeronautics Dream DivineRPG Server pack DivineRPG Server pack AVENTURA - The Adventure Experience AVENTURA - The Adventure Experience Create The Ultimate warfare Create The Ultimate warfare Armageddon [Official Modpack] Armageddon [Official Modpack] PROJECT: Keyblade - An Oath to Return PROJECT: Keyblade - An Oath to Return Cobblenautics! Cobblenautics! The Skies of Newstone Hollow The Skies of Newstone Hollow Pirates on a Boat Pirates on a Boat Sandbox in a Vacuum I SiaV Sandbox in a Vacuum I SiaV Vanilla Voyage - The Definitive Vanilla+ Pack Vanilla Voyage - The Definitive Vanilla+ Pack Analog Horrors Analog Horrors MHAC - My Hero Academia Craft MHAC - My Hero Academia Craft Easy Create Easy Create Minecraft City Minecraft City Concatenation Lite Concatenation Lite World Of Dragons World Of Dragons vanilla experience : the best client-side modpack vanilla experience : the best client-side modpack Afterfall - Zombie Apocalypse Survival | Inspired by DeceasedCraft Afterfall - Zombie Apocalypse Survival | Inspired by DeceasedCraft Absurdo 2 Absurdo 2 Au Naturel Au Naturel APOC - A Modern Zombie Apocalypse Experience APOC - A Modern Zombie Apocalypse Experience Rick's Portal Gun - Official Server Pack Rick's Portal Gun - Official Server Pack Stargate: ReLeveled Stargate: ReLeveled Just Create SMP (but Sophisticated) Just Create SMP (but Sophisticated) Apocalypsecraft - Survive The Zombie Apocalypse Apocalypsecraft - Survive The Zombie Apocalypse Kuri's FreshVanilla Kuri's FreshVanilla Beyond Survival (BYSL) Beyond Survival (BYSL) HTTYD  Hiccups Legacy Remasterd HTTYD Hiccups Legacy Remasterd Unaltered+ Unaltered+ SLG: Best of Terramity SLG: Best of Terramity Minecolonies Create - Aeronautics Colonies Minecolonies Create - Aeronautics Colonies FTB Unstable 6 FTB Unstable 6 Tukel Realism (ModernArch 128x - Distant Horizons - Shader - Physics) Tukel Realism (ModernArch 128x - Distant Horizons - Shader - Physics) Wellspring Adventures 2 (SMP) Wellspring Adventures 2 (SMP) Quests & RPG - Medieval, Fantasy, RPG, Quests Quests & RPG - Medieval, Fantasy, RPG, Quests Vanilla+ Vanilla+ The Createville Pack The Createville Pack Revelations 3 - just Tech N' building! Revelations 3 - just Tech N' building! Antique Runes: Medieval RPG Antique Runes: Medieval RPG Picky Picky Prison Escape - Beginnings (reborn) Prison Escape - Beginnings (reborn) Creatopia Unbound Creatopia Unbound Testing DMZ Legacy Testing DMZ Legacy Architecture & Automatum Architecture & Automatum Inferno - Better Hardcore Inferno - Better Hardcore Vanilla Pack Vanilla Pack Moni&ProjectE Moni&ProjectE Miraculous MC SMP Miraculous MC SMP Transportcraft Next Generation Transportcraft Next Generation BUILDTECH 3 BUILDTECH 3 Perfect Realism (Patrix 32x-Distant Horizon-Shaders) Perfect Realism (Patrix 32x-Distant Horizon-Shaders) Farmy Skyblock Farmy Skyblock ISEKAICRAFT RPG ISEKAICRAFT RPG dronko's dragon survival dronko's dragon survival FOXY COZY LITE FOXY COZY LITE Create Flight Create Flight Terra Immundus - Sculk Horde Terra Immundus - Sculk Horde WolfCraft Colonies - Season 5! WolfCraft Colonies - Season 5! Termincraft Termincraft Congregation - expert Gregtech pack Congregation - expert Gregtech pack Aeronautics - Across the Horizon Aeronautics - Across the Horizon Greg-E Greg-E FreakCraft - CrazyCraft Inspired FreakCraft - CrazyCraft Inspired OceanBlock - Skyblock Reinvented OceanBlock - Skyblock Reinvented #1 Cursed Fate - Jujutsu Kaisen Reforged #1 Cursed Fate - Jujutsu Kaisen Reforged Liminal Industries - Oil Expansion Liminal Industries - Oil Expansion PokeSMP PokeSMP Legends Of Slugterra - SlugCraft Legends Of Slugterra - SlugCraft Iron's Extra Spells 'n Spellbooks Iron's Extra Spells 'n Spellbooks Arcanto Mythical III Arcanto Mythical III Frigid - Winter Apocalypse Frigid - Winter Apocalypse CordCraft Season 5 CordCraft Season 5 Project Arc Light - The Hanging Pavilion Project Arc Light - The Hanging Pavilion TTIGRN : Hardcore Heroes TTIGRN : Hardcore Heroes Create Outbound Create Outbound Create: Warzone Create: Warzone Last DayZ of Craft Last DayZ of Craft Create Aeronautics Planes Trains and Automobiles Create Aeronautics Planes Trains and Automobiles InfinityCraft: Hero-verse InfinityCraft: Hero-verse

External Resources