the renderer lib for Minecraft.
the first step is set up github packages maven.Github Docs.
repositories {
maven {
url = uri("https://maven.pkg.github.com/TT432/eyelib")
credentials {
username = project.findProperty("gpr.user") ?: System.getenv("USERNAME")
password = project.findProperty("gpr.key") ?: System.getenv("TOKEN")
}
}
}
then, you need to set up dependencies:
dependencies {
// use 'implementation "io.github.tt432:eyelib:0.1.0:all"' if you want jarJar
implementation "io.github.tt432:eyelib:0.1.0"
}
The mod uses a Capability
-based structure.
Capability
is attached to a most game elements in the mod, allowing you to easily modify the Capability content in your mod to alter the rendering.
You can find the Capability
in the io.github.tt432.eyelib.capability
package.
- Antlr-Molang for parse Molang.
- javassist for generate bytecode for Molang.
- lombok for generate getter/setter and more.