Back to mods
BaguetteLib project artwork

Modrinth · Minecraft mod

BaguetteLib

Ever tried to make a mod that needs proper death handling or inventory tracking? Yeah, NeoForge events suck for that.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which BaguetteLib release should I use?

Updated 2 months ago
Latest stable file 2.0.4
Game version 26.2
Loader Fabric

BaguetteLib 2.0.4 targets 26.2 with Fabric. Do not install it on the client. It must be installed on the dedicated server. No extra mods listed for this file.

Where it goes

Is BaguetteLib required on the client, server, or both?

Do not install it on the client. It must be installed on the dedicated server.

Client Not supported
Dedicated server Required
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked server-only.

What else does BaguetteLib 2.0.4 need?

2.0.4. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add BaguetteLib without breaking your instance.

Built for BaguetteLib 2.0.4. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 2.0.4. It targets 26.2 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 2.0.4. It opens that exact file at the source.

About this project

What does BaguetteLib add?

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

Project description from Modrinth.

Pick your setup

BaguetteLib by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

9 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

BaguetteLib versions and loaders

22 of 22 releases match

Looking for an older file? The official Modrinth project page is in Resources.