Tags
Creators
Details

📖 About:
Blueprint is a mod library designed to make it easier to access code shared across most Team Abnormals mods, but anyone is allowed and encouraged to use it! It has many valuable features, such as a registry helper, data syncing, various data-driven modification systems, a biome API, a trim material API, the Endimator animation API, and much more!

💻 For Developers:
Adding Blueprint to your mod is quite simple!
First off, you need to add Blueprint as a dependency to access the library in code. To do so, add the following to your build.gradle:
repositories {
maven {
url = "https://maven.teamabnormals.com"
}
}
dependencies {
implementation("com.teamabnormals:blueprint:<version>")
}
Replace <version> with the desired version of Blueprint, including the desired version of Minecraft.
For example, 1.21.1-8.0.0 yields blueprint-1.21.1-8.0.0.jar.
Next, you must add it as a dependency on NeoForge to make your mod require Blueprint when loading. In your neoforge.mods.toml, add the following block to the file:
[[dependencies.<modId>]]
modId = "blueprint"
type = "required"
versionRange = "[<version>,)"
ordering = "AFTER"
side = "BOTH"
Replace <version> with the desired version of Blueprint.
For example, 8.0.0 will target version 8.0.0 of Blueprint.
The code block above for the neoforge.mods.toml file targets the selected version and any subsequent versions. If you want to target it differently, you may want to read up on the neoforge.mods.toml spec.





