Tags
Creators
Details
Licensed LGPL-3.0-or-later
Published 2 years ago
Updated 4 days ago
All versions
5.1.0
Release
datapack-function-library_v5.1.0_26.1-26.34 days ago 9
Compatibility
Minecraft: Java Edition
26.3
26.2
26.1.x
Platform
Data Pack
Required content
Changes
- 新增:
dfl:lib/get_pos函数,读取命令执行者的位置并写入dfl_entity_pos_x、dfl_entity_pos_y、dfl_entity_pos_z记分项; - 修复:许可协议对话框文本宽度过宽,调整为 400;
- 文档:README 中的红色高亮改用 Markdown 加粗。
- Added:
dfl:lib/get_posfunction, which reads the command executor's position into thedfl_entity_pos_x,dfl_entity_pos_yanddfl_entity_pos_zscoreboard objectives; - Fix: license dialog text width was too wide, now set to 400;
- Docs: red highlights in the README are now Markdown bold.
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:2kuBFMc4"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:xfcXTP3W:2kuBFMc4"
}


