Tags
Creators
Details
Licensed LGPL-3.0-only
Published 4 years ago
Updated 4 months ago
All versions
4.1
Release
Thermoo 4.12 years ago 747
Compatibility
Minecraft: Java Edition
1.21
Platforms
Fabric
Quilt
Supported environments
Server-side
Client and server
Required content
Any compatible version
Any compatible version
Changes
Adds a new armour materials API to sort of replace the primary use case of the old item attribute modifiers API.
- Added new armor material tags for different levels of frost and heat resistance. Note that these are tags for armor materials, not armor items, and therefore go in
data/<namespace>/tags/armor_material/. - Added two new events:
ArmorMaterialEvents.GET_HEAT_RESISTANCEandArmorMaterialEvents.GET_FROST_RESISTANCEto get the respective heat and frost resistance for an armor material and armor type (like boots, chestplate, helmet). - Known issue: Using the tags to apply heat and frost resistance doesn't really work with a datapack's normal world-independence. For now, the tags should only be used in datapacks that apply to all worlds on a modpack/server.
Supplementary resources
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:9TbXlAut:rZ2qtLcg"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:9TbXlAut:rZ2qtLcg"
}

