Tags
Creators
Details
All versions
0.4.0
Alpha
Lattice API 0.4.09 months ago 24
Compatibility
Minecraft: Java Edition
1.21.1
Platform
NeoForge
Supported environments
Client and server
Changes
Additions
- Added a new LatticeBuilder class to unify builder implementations across all LatticeObjects.
- Added a new LatticeRecipe class with the following extensions:
- LatticeShapelessRecipe
- LatticeShapelessDyeRecipe
- LatticeShapedRecipe
- LatticeShapedDyeRecipe
- LatticeCookingRecipe
- Added automatic data generation for LatticeRecipes
Changes and Fixes
- Fixed a bug where loading two mods that depend on the Lattice API could crash the game
- Fixed a bug where certain item classes didn't require an appropriate builder
- Removed unnecessary cloning of LatticeObjects during creation
- Removed unnecessary code to create builders
- Removed a duplicate method inside the LatticeFX class
- Removed unnecessary finalization methods for some of the builders
Upcoming in 0.5.0
- Config support
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:EGgVxYsq:vwGMBAWI"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:EGgVxYsq:vwGMBAWI"
}![Lattice API [DISCONTINUED]](https://cdn.modrinth.com/data/EGgVxYsq/edd897b242d88a701edb1802aca102bbf74155e0.png)

