Tags
Creators
Details
6.0.1.3
Compatibility
Required content
Changes
6.0.1.3
- Fixed multiple boss bars flickering
6.0.1.2-beta
- Update to latest InsaneLib
6.0.1.1-beta
- Update to latest InsaneLib
6.0.1.0-beta
- Added
set_componentitem function- You can set whatever data component you want on an item. The following example from the example data pack will make the target equip an iron ingot that can be eaten and used as a pickaxe. Numeric values can be replaced with #range object to generate random values.
{ "property": "equipment", "slot": "offhand", "items": [ { "item": "minecraft:iron_ingot", "functions": [ { "function": "set_component", "components": { "minecraft:food": { "nutrition": {"#range": {"min": 2, "max": 6}}, "saturation": {"#range": 0.5} }, "minecraft:tool": { "rules": [ { "blocks": "#mineable/pickaxe", "speed": 6, "correct_for_drops": true } ] }, "minecraft:max_damage": 453, "minecraft:damage": 0 } }, { "function": "set_drop_chance", "drop_chance": 2 } ] } ] }
6.0.0.0-alpha
Ported to 1.21.1
Mod support will be added back in the future. Let's see how this goes first.
I've also updated the Example Data Pack which was broken in 1.20.1 too.
The only difference between 1.20.1 and 1.21.1 are attribute modifier operations.
Missing
- Set (Raw) NBT for items
- Scaling (pehkui is no longer needed (and seems to no longer work?) as scaling is now an attribute)
- Serene Seasons support
- Game stages (hasn't updated past 1.20.3)
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:iLdm4nHd:8uIEtgJ5"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:iLdm4nHd:8uIEtgJ5"
}

