Tags
Creators
Details
All versions
0.0.1
Alpha
Lattice API 0.0.111 months ago 22
Compatibility
Minecraft: Java Edition
1.21.1
Platform
NeoForge
Supported environments
Client and server
Changes
Lattice API 0.0.1
Core Architecture
- LatticeObject introduced
- Base class for all core Lattice constructs.
- LatticeRegistry and LatticeRegistries
- Centralized system for registering items, blocks, tags and other extensions of LatticeObject
- RegistryId added
- Unique identification for all registered objects
Additions
- LatticeItem
- Base class for all items, with the following extensions:
- LatticeBasicItem
- LatticeUseableItem
- LatticeFoodItem
- LatticeFuelItem
- Corresponding conrete item classes added:
- BasicItem, UseableItem, FoodItem, Fuelitem
- Base class for all items, with the following extensions:
- LatticeBlock
- Base class for all blocks, with the following extensions:
- LatticeBasicBlock
- LatticeStairBlock
- LatticeSlabBlock
- Corresponding concrete block classes added:
- BasicBlock, BasicSlab, BasicStair
- Base class for all blocks, with the following extensions:
- LatticeTag
- Supports both item and block tagging.
- LatticeType
- Base type system, with the following extensions:
- LatticeItemModelType
- LatticeBlockModelType
- LatticeLootTable (for blocks)
- Base type system, with the following extensions:
- LatticeDataGen
- Automated data generation added for:
- All existing LatticeTags
- All existing LatticeTypes
- Automated data generation added for:
- License
- Custom license for the API, found in the LICENSE.md file in the GitHub repository.
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:rOYl12Qw"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:EGgVxYsq:rOYl12Qw"
}![Lattice API [DISCONTINUED]](https://cdn.modrinth.com/data/EGgVxYsq/edd897b242d88a701edb1802aca102bbf74155e0.png)

