
Advanced Datapack Mod
此mod旨在扩展数据包功能,目前处于早期开发阶段。 不要在正常游戏期间使用此模组。它可能会导致崩溃甚至坏档! This mod is designed to extend datapack functionality and is currently in early development. Do not use this mod during regular gameplay. It may cause crashes or even corrupt your world!
1.1.1
Compatibility
Changes
本项目新增内容说明:
- 支持自定义事件钩子(event hook)系统,允许通过数据包(datapack)配置事件响应行为。
- 现已支持许多事件:
minecraft:item.xxx.use(or use_on_block;or use_on_entity;or item_stack_clicked):物品hookminecraft:block.xxx.place:方块 hookCANCEL:阻止事件发生(如禁止放置基岩)。RUN:执行自定义命令(如向所有玩家发送提示消息)。 etc..
- 事件与动作均可扩展,便于后续添加更多游戏行为控制和自动化处理。
- 配置文件采用标准 JSON 格式,易于编辑和集成。
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:8f8EzyGI:uEgFduvv"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:8f8EzyGI:uEgFduvv"
}
