Перейти к содержимому
Mineforgian

BaguetteLib

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

Загрузки
2.4M
Подписчики
106
Обновлён
30 августа 2026 г.
Лицензия
MIT

Опубликован 25 июня 2025 г.

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

Ченджлог

2.0.6Релиз1.21.1 · 30 августа 2026 г.

remove client side requirement whe on server only

2.0.5Релиз1.21.11 · 28 августа 2026 г.

Added 1.20.1 (Fabric + Forge) and YACL config screen plumbing: register a screen in common and it shows up in Mod Menu and the NeoForge/Forge mod list automatically.

2.0.5Релиз1.21.11 · 28 августа 2026 г.

Added 1.20.1 (Fabric + Forge) and YACL config screen plumbing: register a screen in common and it shows up in Mod Menu and the NeoForge/Forge mod list automatically.

2.0.5Релиз1.21.1 · 28 августа 2026 г.

Added 1.20.1 (Fabric + Forge) and YACL config screen plumbing: register a screen in common and it shows up in Mod Menu and the NeoForge/Forge mod list automatically.

2.0.5Релиз1.21.1 · 28 августа 2026 г.

Added 1.20.1 (Fabric + Forge) and YACL config screen plumbing: register a screen in common and it shows up in Mod Menu and the NeoForge/Forge mod list automatically.

2.0.5Релиз26.1.2 · 28 августа 2026 г.

Added 1.20.1 (Fabric + Forge) and YACL config screen plumbing: register a screen in common and it shows up in Mod Menu and the NeoForge/Forge mod list automatically.

2.0.5Релиз26.2 · 28 августа 2026 г.

Added 1.20.1 (Fabric + Forge) and YACL config screen plumbing: register a screen in common and it shows up in Mod Menu and the NeoForge/Forge mod list automatically.

2.0.5Релиз26.2 · 28 августа 2026 г.

Added 1.20.1 (Fabric + Forge) and YACL config screen plumbing: register a screen in common and it shows up in Mod Menu and the NeoForge/Forge mod list automatically.

Комментарии

Загружаем…