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,514,464

CurseForge ID

1264423

Modrinth Downloads

3,395,826

Modrinth ID

OfKzpbRU

Last Updated

Nov 6, 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,489)

Show fewer
Better MC [FORGE] - BMC4 Better MC [FORGE] - BMC4 DeceasedCraft - Urban Zombie Apocalypse DeceasedCraft - Urban Zombie Apocalypse Cursed Walking - A Modern Zombie Apocalypse Cursed Walking - A Modern Zombie Apocalypse Immersed With Shaders Immersed With Shaders Beyond Depth Beyond Depth FTB StoneBlock 4 FTB StoneBlock 4 Lucky World Invasion Lucky World Invasion TerraFirmaGreg-Modern TerraFirmaGreg-Modern Fresh & Smooth Fresh & Smooth Linggango Linggango Soulrend - Dark Fantasy RPG Soulslike Soulrend - Dark Fantasy RPG Soulslike Legendary Edition Legendary Edition Abyssal Ascent Abyssal Ascent Otherworld [Dungeons & Dragons] Otherworld [Dungeons & Dragons] Medieval MC [FORGE] MMC4 Medieval MC [FORGE] MMC4 Biohazard: Project Genesis - The Ultimate Apocalypse Biohazard: Project Genesis - The Ultimate Apocalypse New Game - An Improved Experience | 1.21 UPDATE! New Game - An Improved Experience | 1.21 UPDATE! Cisco's Fantasy Medieval RPG [Dragonfyre] Cisco's Fantasy Medieval RPG [Dragonfyre] Liminal Industries Liminal Industries Reclamation - Reclaim the World! Reclamation - Reclaim the World! Create Chronicles: The Endventure Create Chronicles: The Endventure Beyond Ascension Beyond Ascension Just Create SMP Just Create SMP Essentials Mods [FORGE] - 1.21 RELEASE! Essentials Mods [FORGE] - 1.21 RELEASE! Omnicraft: Ben 10 [Alien Evo] Omnicraft: Ben 10 [Alien Evo] Beyond Cosmo Beyond Cosmo SUPERIOR - RPG SUPERIOR - RPG Techopolis 3 Techopolis 3 Project Infinity 0.1 Project Infinity 0.1 Monifactory Monifactory FTB Evolution FTB Evolution Tensura Neo Otherworld Tensura Neo Otherworld Over Stars Over Stars 命运齿轮FOM【Fate's Machinery】 命运齿轮FOM【Fate's Machinery】 CABIN: Create Above & Beyond In Newer CABIN: Create Above & Beyond In Newer Create Chronicles: Bosses and Beyond Create Chronicles: Bosses and Beyond Actions & Better [ON JAVA] Actions & Better [ON JAVA] TNP Limitless 8 - LL8 TNP Limitless 8 - LL8 waccyy's Fantasia waccyy's Fantasia Desolate Planet - A Crash Landing Remake Desolate Planet - A Crash Landing Remake KEO RPG optimized KEO RPG optimized Create: Stranded at Sea Create: Stranded at Sea [MODIFIED] Cobblemon: PLUS [MODIFIED] Cobblemon: PLUS Ozone Skyblock Reborn Ozone Skyblock Reborn FTB Skies 2 Aero FTB Skies 2 Aero Act. & Better Act. & Better ZS Pack (Tensura) ZS Pack (Tensura) ChaosZProject - A Modern Zombie Apocalypse [VR for WIP v.3.0.0] ChaosZProject - A Modern Zombie Apocalypse [VR for WIP v.3.0.0] MYTHCRAFT 5 MYTHCRAFT 5 BETTER FANTASY - Overture BETTER FANTASY - Overture New Revolution - An Improved Vanilla Experience | 1.21 UPDATE! New Revolution - An Improved Vanilla Experience | 1.21 UPDATE! Cobblemon Eternal: The Minecraft Pokémon Experience Cobblemon Eternal: The Minecraft Pokémon Experience Seaopolis Submerged 2 Seaopolis Submerged 2 Create Stellar Create Stellar Restless Horizons Restless Horizons Enigmatica 10 - E10 Enigmatica 10 - E10 FTB Presents Architect's Exodus FTB Presents Architect's Exodus Technical Electrical Technical Electrical Attack On Titan - Awakening Of The Titans Attack On Titan - Awakening Of The Titans Concatenation Concatenation MineColonies - Create & Conquer MineColonies - Create & Conquer Dragoncraft Dragoncraft Chosen's Create: Integrated Chosen's Create: Integrated Reimagined Reimagined Essentials Mods [FABRIC] - 1.21 RELEASE! Essentials Mods [FABRIC] - 1.21 RELEASE! Menagerie - a zoo modpack Menagerie - a zoo modpack Modded Together Modded Together Beyond Ocean Beyond Ocean Better MC [BMC6] Better MC [BMC6] TerraFirma: Rebirth TerraFirma: Rebirth Essential Sodium Essential Sodium Satisfaction Guaranteed Satisfaction Guaranteed Fractured Opolis Fractured Opolis Tanks, Ammo, Planes, and Nukes Tanks, Ammo, Planes, and Nukes Zombie R.E.A.P Plague Against Your World. Zombie R.E.A.P Plague Against Your World. Create Colonies - AERONAUTICS Create Colonies - AERONAUTICS Create: Lost in Space Create: Lost in Space The Solar Apocalypse The Solar Apocalypse Dragon Mine Z Dragon Mine Z Apocalypssia     -    [TACZ] modern appocalyps zombie modpack Apocalypssia - [TACZ] modern appocalyps zombie modpack Protocol Zero - A Modern Zombie Apocalypse Protocol Zero - A Modern Zombie Apocalypse PandAce's World PandAce's World Aeronautics - Create Customised Aeronautics - Create Customised All Of Create All Of Create Exosphere 2 Exosphere 2 Kingdoms and Colonies Rebirth Kingdoms and Colonies Rebirth Compression Compression Just Create SMP 2 Just Create SMP 2 Werewolves VS Vampires SMP Werewolves VS Vampires SMP Holycube Revolution Holycube Revolution Mystic's Monstrosity Mystic's Monstrosity World Terra World Terra Cube Warper Cube Warper Medieval Immersed Medieval Immersed Ozone Skyblock Reborn 2 Ozone Skyblock Reborn 2 Create Aeronautica Create Aeronautica HP - Create World of Gears - Create 6.0.9 HP - Create World of Gears - Create 6.0.9 MC Vanilla 2.0 - QUALITY UPDATE! MC Vanilla 2.0 - QUALITY UPDATE! Building Tales 2 Building Tales 2 Create Aeronautic Create Aeronautic

External Resources