Tags
Creators
Details
1.0.1-1.20.6
Compatibility
Required content
Changes
- Update to 1.20.5 - 1.21.1
Regarding 1.20.5 Item Data Components
There is no simple or easy way that I am aware of to convert a whole string into Data Components like what could be done with NBT Data. So I have decided to keep the same format and manually convert some NBT Data structures into matching Component Types. You must still use 1.20.4 or lower systems when writing your Item Data, you can use https://mcstacker.net/1.20.3.php for better help with this. However the way it is setup should still support any newer version data like enchantments or attributes if the NBT is structured correctly
Currently the conversion should work on:
- Custom Names, Lore and Text Formatting
- Item Damage (Set Durability)
- All Enchantments
- All Attributes
- Container Contents (Like Chests with items inside them when you place them)
- Container Locks
More options will be added in future but these basic ones should cover most cases
Optional dependencies
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:76bG0cN9:6LRnvBCK"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:76bG0cN9:6LRnvBCK"
}

