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
MYLP's Create Better QoL Better QoL The Great Beyond The Great Beyond Falcom's Tech & Magic Falcom's Tech & Magic Joline's Bizarre adventures Joline's Bizarre adventures Awakened Server Awakened Server Dracium Create Edition Dracium Create Edition Guns, Dinosaurs and Stuff Guns, Dinosaurs and Stuff The last awakene The last awakene Lucky World Invasion (Updates & Tweaks) Lucky World Invasion (Updates & Tweaks) LebaneseMC LebaneseMC Miraculous Hollow SMP Miraculous Hollow SMP Zecoar Modpack Zecoar Modpack Client Refresh Client Refresh BlackRose's Shenanigans BlackRose's Shenanigans CreateSMP Polska CreateSMP Polska Lumiere Project Tensura Modpack Lumiere Project Tensura Modpack Create Vanilla+ (THEO) Create Vanilla+ (THEO) Create RPG+ Create RPG+ Haln's Classic RPG Haln's Classic RPG Bingus SMP Season 9 Aeronautics Bingus SMP Season 9 Aeronautics HARDCORE EVOLUTIONS HARDCORE EVOLUTIONS DiscoveryRPG DiscoveryRPG Dead Dawn - Realistic Zombie Apocalypse Dead Dawn - Realistic Zombie Apocalypse Few Years Later… Few Years Later… Nerd Dead Nerd Dead Steel ball craft Roundabout The JoJo s Steel ball craft Roundabout The JoJo s Simple Vanilla Overhaul Simple Vanilla Overhaul Project TAO Project TAO Zebatkowo Zebatkowo ComboTech 4 ComboTech 4 VanillaVibes+ VanillaVibes+ EpicFantasy EpicFantasy SleepySMP Season 2 SleepySMP Season 2 Create: New Horizons (CNH) Create: New Horizons (CNH) Solar Fantasy Solar Fantasy Hylaria Hylaria R.E.A.P  Ultimate edition R.E.A.P Ultimate edition Prime Piece Adventure Prime Piece Adventure X's enhanced experience X's enhanced experience Arknights The Great Tide Arknights The Great Tide Path to Exile - Next Generation Path to Exile - Next Generation Chronicles of Arcadia: A Journey to Magitech [CAJM] Chronicles of Arcadia: A Journey to Magitech [CAJM] The Darkstorm Modpack The Darkstorm Modpack RareLabs Colonies RareLabs Colonies The Last Survivors - Zombie Apocalypse The Last Survivors - Zombie Apocalypse Racsu Planet+ Racsu Planet+ Realms Of Reverie Realms Of Reverie Just Create SMP S1 - But Voltura Just Create SMP S1 - But Voltura FrenchCube FrenchCube GroundZero's Zombie Apocalypse GroundZero's Zombie Apocalypse Atelier Mythos Era Atelier Mythos Era fWhips Fwabulous Modpack fWhips Fwabulous Modpack SinnoH Sanctum Old SinnoH Sanctum Old Exploring - Backrooms [Places] Exploring - Backrooms [Places] Rabbit's FNAF pack Rabbit's FNAF pack Tensura - rebuild Tensura - rebuild Chime Time IX Chime Time IX The aether of create The aether of create Create a War Create a War Kinetic Origins Kinetic Origins Echoes of Volkrune Echoes of Volkrune Vlofast's "Create-Ing" World Vlofast's "Create-Ing" World Mustard Virus NeoForged Mustard Virus NeoForged Alfheim | Guns & Monsters Alfheim | Guns & Monsters Erstwhile Journey 2 Erstwhile Journey 2 UnstableCraft SMP UnstableCraft SMP Immortal Craft Immortal Craft Statera Statera Legends of the Unown [NEOFORGE] Legends of the Unown [NEOFORGE] SuperHero Survival Inscint SuperHero Survival Inscint Aeronautics plus Aeronautics plus NeoBox NeoBox The Pond Edition [NEOFORGE] The Pond Edition [NEOFORGE] GameGarden Ultimate GameGarden Ultimate MVM - Enhanced survival with Epic Fight MVM - Enhanced survival with Epic Fight Odysseum Odysseum A Lll Modpark A Lll Modpark TeaCraft 18+ TeaCraft 18+ Ciscos Dragonfyre - NFN Official Ciscos Dragonfyre - NFN Official Rusty's Create Rusty's Create ImmersiVR [ViveCraft] ImmersiVR [ViveCraft] Protocol Zero-(HARDCORE EDITION) Protocol Zero-(HARDCORE EDITION) Create-O-Holics 1 dot 5 Create-O-Holics 1 dot 5 SuperiorMine SuperiorMine foxward-full foxward-full Return Of The Ancients Return Of The Ancients Arcadia Unlimited Arcadia Unlimited Unsealed Fate Unsealed Fate Create AeronauticsPLUS Create AeronauticsPLUS Vibrant Vanilla Vibrant Vanilla Dwarfz 5 Dwarfz 5 Arthropod Takeover Arthropod Takeover NameIT NameIT Homies Hangout Kingdom Homies Hangout Kingdom Rustic Craft 2 Rustic Craft 2 Artemis Continuum Artemis Continuum worldz Project Aeterna Biotec worldz Project Aeterna Biotec Re-Orespawned Re-Orespawned Chronost Incorporated Chronost Incorporated

External Resources