da7af9fc83
- 将命名空间改为“fzsd” - 完善交互器 - 添加管理员命令(/function admin.fzsd:<...>) - 添加启动函数,用于自动升级等功能 - 添加重装、深度安装、深度卸载、深度重装函数
20 lines
507 B
JSON
20 lines
507 B
JSON
{
|
|
"parent": "fzsd:game_event",
|
|
"criteria": {
|
|
"on_used_tool": {
|
|
"trigger": "minecraft:tick",
|
|
"conditions": {
|
|
"player": [
|
|
{
|
|
"condition": "minecraft:reference",
|
|
"entity": "this",
|
|
"name": "fzsd:used_tool"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"rewards": {
|
|
"function": "fzsd:game_event/advancement/on_used_tool"
|
|
}
|
|
} |