LLibrary is a small mod that contains shared code for other mods.
- Advanced animation api and other animation tools
- Lightweight ASM utilities
- Easy-to-use structure tools
- Expandable command builder
- More player render events, allowing for custom player animation
- Powerful entity data handlers
- Beautiful GUI framework
- More!
LLibrary is very easy to integrate into your own mod. All you have to do is adding it as dependency in the build file.
Here's a snippet you can copy-paste:
repositories {
maven {
url "https://maven.mcmoddev.com/"
}
}
dependencies {
deobfCompile "net.ilexiconn:llibrary:1.7.19-1.12.2"
}
If LLibrary is not added to your project when you run your gradle script, make sure you have Java 8u102 or higher installed!
It's also recommended that you add LLibrary to the dependencies. This makes sure the user has LLibrary installed and that it's the correct version. You can do that like this:
@Mod(dependencies = "required-after:llibrary@[1.7.19,)")
Note that the actual in-game LLibrary version does NOT contain the Minecraft version.
All modpack authors have permission to add LLibrary to their pack. Please do NOT package LLibrary with your mod.
If you're a modder and interested in using LLibrary, you can go to the LLibrary Wiki for guides on how to use most of its features.
LLibrary comes with a few visual changes. First of all, it adds the mod name of the selected item to tooltips. In 1.7.10, it also adds the modid and registry name when advanced tooltips are enabled.
LLibrary also adds snackbars. This is a small notification on the bottom of your screen.
Patrons receive a player effect. Every user with LLibrary 1.2.0+ installed can see these.