BaguetteLib Mod pour Minecraft 1.20.1, 1.21.1
Vous avez déjà essayé de créer un mod qui nécessite une bonne gestion de la mort ou un suivi de l'inventaire ? Ouais, les événements NeoForge sont nuls pour ça.
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
Comment installer BaguetteLib
With Millida Launcher
Install Millida Launcher
The launcher is free: download it at millida.net/launcher and sign in with any nickname.
Click “Install” on this page
The launcher opens and installs the mod for Minecraft 1.20.1–26.3 on Fabric, Forge or NeoForge automatically.
Launch the game
A profile with it appears in the launcher: click “Play”.
Manually
Install Fabric, Forge or NeoForge
The loader must match the game version of the mod file, for example Minecraft 26.3. After installing it, a separate profile appears in your launcher.
Download the file for your version
In the version list above, pick the file baguettelib-26.3-NeoForge-2.0.8.jar (109 KB) for your game version and loader.
Put it in the mods folder
The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it.
Launch the loader profile
Open “Mods” in the main menu: BaguetteLib should be in the list.
On a server
A server on Fabric, Forge or NeoForge
The mod only works on a server with the same loader and game version, for example 26.3.
File goes into the server’s mods folder
Stop the server, put the mod file into the mods folder and start the server again.
Use the “To server” button
On Millida Hosting, the button at the top of the page uploads the file to your server and restarts it for you.
Versions
Avec dépendances
| Minecraft | Loader | Fichier | Date | Actions |
|---|---|---|---|---|
| 26.3 | NeoForge | 26.3109 Ko | ||
| 26.3 | Fabric | 26.3104 Ko 9 | ||
| 26.3 | NeoForge | 26.3104 Ko | ||
| 26.3 | Fabric | 26.3104 Ko 4 | ||
| 26.2 | Fabric | 26.2106 Ko 5 | ||
| 26.1.2 | Fabric | 26.1.2106 Ko | ||
| 26.2 | NeoForge | 26.2109 Ko | ||
| 26.1.2 | NeoForge | 26.1.2109 Ko |
Ce qu'il faut pour l'exécuter
- YetAnotherConfigLib (YACL)facultatif
- Mod Menufacultatif
Contenu qui en dépend
Avis
Soyez le premier à noter BaguetteLib


