Download BaguetteLib — Minecraft Mods — MetaMods

BaguetteLib

Active

Downloads

8

Last update

1 month ago

Versions

1.20.1 — 1.21.1
Server
Forge
Neoforge
Libraries

BaguetteLib

Developing mods that require proper death handling or inventory tracking? NeoForge events don't always handle such tasks well. Get support in our Discord.

Main Features

Death Events

  • Intercept death before it occurs (with cancellation option)
  • Perform actions after character death
  • Works with all entities: players, mobs, and others

Inventory Events

  • Track changes in hotkeys, armor swaps, item pickups
  • Get information about old and new items for each change
  • Special handling for main and offhand

Usage

Add the library to your project and register events:

@SubscribeEvent
public static void onPlayerPreDeath(PlayerDeathEvent.Pre event) {
    // Perform required actions here
}

It's that simple. No additional tools or complex configurations needed.

Created by a developer tired of NeoForge event limitations.

Project members
Leclowndu93150

Leclowndu93150

Developer

Project8gbDeRam

Project8gbDeRam

Created: 8 Jul 2025

ID: 97444