All Mods Resource Packs Data Packs Shaders Modpacks Plugins
BaguetteLib

BaguetteLib

by Leclowndu93150 • Downloads: 73 • Followers: 0
Description
Gallery
Changelog
Versions

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

How to Install BaguetteLib (Mod)

BaguetteLib by Leclowndu93150 is verified for Fabric, Forge, Neoforge across Minecraft versions 1.20.1, 1.20.4, 1.21.1, 1.21.11, 26.1, 26.1.2, 26.2, 26.3 (latest release: 2.0.7, file size: 104 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.20.1, 1.20.4, 1.21.1, 1.21.11, 26.1, 26.1.2, 26.2, 26.3) and platform (Fabric, Forge, Neoforge).
  2. Make sure you have the compatible loader or environment installed for Fabric, Forge, Neoforge.
  3. Move the downloaded BaguetteLib file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.3
Neoforge
2mo ago 40
26.3
Fabric
2mo ago 20
26.2
Fabric
2mo ago 13
26.1.2
Fabric
2mo ago 10
26.2
Neoforge
2mo ago 8
26.1.2
Neoforge
2mo ago 7
1.21.1
Neoforge
2mo ago 6
1.20.1
Forge
2mo ago 5
1.21.1
Neoforge
2mo ago 4
1.21.11
Neoforge
2mo ago 4
1.21.11
Fabric
2mo ago 4
1.21.1
Neoforge
2mo ago 3
1.21.1
Fabric
2mo ago 3
26.1.2
Fabric
2mo ago 3
26.2
Fabric
2mo ago 3
26.2
Neoforge
2mo ago 3
26.1.2
Neoforge
2mo ago 2
1.20.1
Forge
2mo ago 2
1.20.1
Fabric
2mo ago 2
26.2
Fabric
2mo ago 2
26.2
Neoforge
2mo ago 2
26.1.2
Neoforge
2mo ago 2
26.1.2
Fabric
2mo ago 2
26.1.2
Neoforge
2mo ago 2
26.1.2
Fabric
2mo ago 2
1.21.1
Neoforge
2mo ago 2
26.1
Fabric
2mo ago 1
26.1
Neoforge
2mo ago 1
26.1
Fabric
2mo ago 1
26.1
Neoforge
2mo ago 1
1.20.1
Forge
2mo ago 1
1.21.1
Neoforge
2mo ago 1
1.21.1
Neoforge
2mo ago 1
1.20.1
Forge
2mo ago 1
1.21.1
Neoforge
2mo ago 1
1.21.1
Neoforge
2mo ago 1
1.20.1
Forge
2mo ago 1
1.21.1
Neoforge
2mo ago 1
1.20.1
Forge
2mo ago 1
1.21.1
Neoforge
2mo ago 1
1.20.x
Forge
2mo ago 1
port to 26.3
port to 26.3
Fixed clients without BaguetteLib being kicked from NeoForge/Fabric servers (unknown registry key baguettelib:curio_slot_data). Curio slot data is now stored in minecraft:custom_data and old items are migrated automatically on load. Lowered the required Forge version on 1.20.1 to 47 and marked the mod as optional on the client. API: BaguetteCuriosData.getCurioSlotDataType() and registerSupplier() were removed, use setSlotData/getSlotData/hasSlotData/removeSlotData.
Fixed clients without BaguetteLib being kicked from NeoForge/Fabric servers (unknown registry key baguettelib:curio_slot_data). Curio slot data is now stored in minecraft:custom_data and old items are migrated automatically on load. Lowered the required Forge version on 1.20.1 to 47 and marked the mod as optional on the client. API: BaguetteCuriosData.getCurioSlotDataType() and registerSupplier() were removed, use setSlotData/getSlotData/hasSlotData/removeSlotData.
Fixed clients without BaguetteLib being kicked from NeoForge/Fabric servers (unknown registry key baguettelib:curio_slot_data). Curio slot data is now stored in minecraft:custom_data and old items are migrated automatically on load. Lowered the required Forge version on 1.20.1 to 47 and marked the mod as optional on the client. API: BaguetteCuriosData.getCurioSlotDataType() and registerSupplier() were removed, use setSlotData/getSlotData/hasSlotData/removeSlotData.
Fixed clients without BaguetteLib being kicked from NeoForge/Fabric servers (unknown registry key baguettelib:curio_slot_data). Curio slot data is now stored in minecraft:custom_data and old items are migrated automatically on load. Lowered the required Forge version on 1.20.1 to 47 and marked the mod as optional on the client. API: BaguetteCuriosData.getCurioSlotDataType() and registerSupplier() were removed, use setSlotData/getSlotData/hasSlotData/removeSlotData.
Fixed clients without BaguetteLib being kicked from NeoForge/Fabric servers (unknown registry key baguettelib:curio_slot_data). Curio slot data is now stored in minecraft:custom_data and old items are migrated automatically on load. Lowered the required Forge version on 1.20.1 to 47 and marked the mod as optional on the client. API: BaguetteCuriosData.getCurioSlotDataType() and registerSupplier() were removed, use setSlotData/getSlotData/hasSlotData/removeSlotData.
Fixed clients without BaguetteLib being kicked from NeoForge/Fabric servers (unknown registry key baguettelib:curio_slot_data). Curio slot data is now stored in minecraft:custom_data and old items are migrated automatically on load. Lowered the required Forge version on 1.20.1 to 47 and marked the mod as optional on the client. API: BaguetteCuriosData.getCurioSlotDataType() and registerSupplier() were removed, use setSlotData/getSlotData/hasSlotData/removeSlotData.
remove client side requirement whe on server only
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.
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.
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.
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.
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.
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.
BaguetteLib Icon
Download BaguetteLib
Select game version
Select platform