Tags
Creators
Details
Licensed LGPL-3.0-or-later
Published 2 years ago
Updated 9 months ago
All versions
2.0.1
Release
datapack-function-library_v2.0.1_1.13-1.21.1010 months ago 22
Compatibility
Minecraft: Java Edition
1.21–1.21.10
1.20.x
1.19.x
1.18.x
1.17.x
1.16.x
1.15.x
1.14.x
1.13.x
Platform
Data Pack
Required content
Changes
- 修正函数名称引用,确保与 v2.0.0 的重命名保持一致
- 更新的函数引用包括:things_count → count_items、clear_run_b → clear_and_execute_multiple、things_to_xp → convert_items_to_xp、keep_have_things → maintain_item_count
- 修复了 5 个函数文件中的函数调用引用
- 确保数据包内部函数调用的一致性
- Fixed function name references to ensure consistency with v2.0.0 renaming
- Updated function references include: things_count → count_items、clear_run_b → clear_and_execute_multiple、things_to_xp → convert_items_to_xp、keep_have_things → maintain_item_count
- Fixed function call references in 5 function files
- Ensured consistency of internal function calls within the datapack
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:xfcXTP3W:ldiFFkEh"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:xfcXTP3W:ldiFFkEh"
}


