Earlier Versions
| Name | Size | Uploaded | Game Version | Downloads | |
| lazulib-1.16.5-1.0.0.jar release | 519.57 KB | Sep 29, 2022 | 1.16.5 | 1 | Download |
| lazulib-1.17.1-1.0.0.jar release | 524.19 KB | Sep 29, 2022 | 1.17.1 | 1 | Download |
| lazulib-1.18.2-1.0.0.jar release | 524.14 KB | Sep 29, 2022 | 1.18.2 | 1 | Download |
| lazulib-1.19.2-1.0.0.jar release | 526.74 KB | Sep 29, 2022 | 1.19.2 | 2 | Download |
Description
LazuLib
Modding library containing common utils for other mods.
If you’re a player, you may be required to install this mod in order to use others.
If you’re a mod developer, you may be interested in some of the mod features:
- Math expression parser and highlighter supporting custom variables and functions. Useful for JSON reload listeners to declare custom datapack formats to extend your mods with dynamic expressions that can be rendered in-game and evaluated with arguments.
- Failure tolerant reflection utils, including soft field/method/constructor wrappers. Convenient for non-critical features, if it’s your style.
- Custom `Vec3d` and `Vec3f` mutable vector implementations, offering many useful methods for rotations.
- JSON to NBT parser, useful to load NBT from custom datapack formats.
- NBTPath: Easy access to NBT values using dot-separated paths. Useful to delete and create compound structures.
- NBTPredicate: Serializable NBT predicates, such as <code>{Fireworks.Flight <= 3}</code>. Supports lists and complex predicates, though it’s not perfect.
- NBTCompareHelper: Compare NBT tags on specific paths with ease.
- Base packet classes to carry player and world references across sides automatically.
- Base distributed packet class, which is sent to the server and then relayed to other players (usually those tracking the sender) if validated on the server. If the packet is marked as invalid, it can be bounced back to resync the erroring player. Useful to synchronize player initiated actions to all players tracking the actor and the server.
- Base NBT inheriting shaped recipe type, which can use uppercase letters in the recipe shape to mark ingredients as NBT sources for the result item. Useful for upgrade-like recipes that apply to items carrying NBT or enchantments which should be preserved.
- Audio utils for crossfading and creating tickable sounds attached to players.
- Text component util to split components on line breaks (even translated ones on the client) into special lists that can broadcast formatting methods to all the text lines. Useful for tooltips or translated text containing multiple lines.
This library is licensed under the MIT License, so if you only need a certain feature but don’t want to burden your users with an additional dependency, you’re very welcome to just snatch it from the source. Otherwise, I appreciate you using my library.
Get 0.05 TON 💎
Download
Add a comment