Compare commits
139 Commits
2.1-no-memes
..
2.0
| Author | SHA1 | Date | |
|---|---|---|---|
| 198ec6889f | |||
| f4b5b84ad8 | |||
| a15a320414 | |||
| 28605849d0 | |||
| 5e41b7d950 | |||
| e21a6fbd6f | |||
| a1a0d89764 | |||
| 7ce6826170 | |||
| 3f66bb499f | |||
| 689b94a959 | |||
| cc392b1828 | |||
| 089da8fdde | |||
| 77cc36b363 | |||
| d8e45a92de | |||
| 9ace8501f2 | |||
| 7e0b91efd9 | |||
| b84ced5313 | |||
| 4fc84a42ff | |||
| 89b1a90d8b | |||
| 41cea99570 | |||
| e4a7398317 | |||
| f12afa1972 | |||
| 7562e6f227 | |||
| 41f4940229 | |||
| 89d17c2db1 | |||
| 9c9121651c | |||
| ca1ce3ed56 | |||
| c91488c464 | |||
| 71f95b8064 | |||
| f4693c8aae | |||
| 4f1a8b74f9 | |||
| 1fcfea1e32 | |||
| 6ad22d7ec8 | |||
| 4526f5541d | |||
| 04f93c092d | |||
| 43502fc27c | |||
| 773513f95b | |||
| 381d37914b | |||
| 00048b1ac4 | |||
| 843d5c8591 | |||
| 1013cd1590 | |||
| 45d36541ca | |||
| 8c9c745d6a | |||
| ab5949d12a | |||
| 133f6380f5 | |||
| a6adb22990 | |||
| 7a9adc2aac | |||
| 42246fe46d | |||
| d2fc351352 | |||
| f770a573bc | |||
| 3278b2ea63 | |||
| c624981c6d | |||
| a2907273ac | |||
| 354af4082d | |||
| 923d1cd39a | |||
| 6c9ad78350 | |||
| 06fd4c2469 | |||
| 0ab49b24bd | |||
| 0756d07f19 | |||
| 865f979347 | |||
| efd5c13bbb | |||
| 26ab5ba500 | |||
| c5f72c9d8f | |||
| d719f2162e | |||
| ef62622ef2 | |||
| 4ca899ceb9 | |||
| d532d55a1a | |||
| 1f9ecba65e | |||
| a046e6744e | |||
| bff8167003 | |||
| 06c9c8c83b | |||
| fb148e45a9 | |||
| ebe0729e03 | |||
| ddd554e1c7 | |||
| 506c2b6b6a | |||
| bddaeb90b1 | |||
| 379a51a9fb | |||
| eda28dcb6d | |||
| b6eb1b918b | |||
| a62ea2f116 | |||
| 802696cd68 | |||
| 19d07d7c7f | |||
| 9505532ab3 | |||
| 45f0bcdad0 | |||
| 459f3d181b | |||
| 8c91287b1b | |||
| ed9fb677e9 | |||
| b2e86c9718 | |||
| c0102f0960 | |||
| 140e7f331c | |||
| 74a7be30a5 | |||
| 5256948fcf | |||
| 34005ba964 | |||
| 5249e29dcf | |||
| 80f2086c40 | |||
| 045cce8b9a | |||
| 990e7b801b | |||
| bd20699e24 | |||
| 4908df8781 | |||
| 4a08ea5c60 | |||
| 33e1993b74 | |||
| ed944c3d44 | |||
| 24cf81bd69 | |||
| 920cb0a96d | |||
| 034172e38b | |||
| 9892dbc2d3 | |||
| 3857383e58 | |||
| 3703c3ea4e | |||
| 8f6c8c1ba3 | |||
| 52b7df1204 | |||
| 0a852f4e8c | |||
| deaab5ab47 | |||
| bc47664b25 | |||
| 6ba572076e | |||
| abcc23a07f | |||
| ad25b4f6cb | |||
| 4bf8603129 | |||
| a1ba6db6e1 | |||
| 3cf5aa1784 | |||
| 3e0e3874eb | |||
| bafdf8f473 | |||
| 4e44e466be | |||
| 213755ad67 | |||
| 2ec7830604 | |||
| b3b894ad7a | |||
| ae50b60bfc | |||
| fa33dbbe3c | |||
| 1c2134f1a4 | |||
| 9ea7e42377 | |||
| 18b7b81844 | |||
| c1c8222c9c | |||
| be0a2346a6 | |||
| 204233be99 | |||
| af5d3cbd05 | |||
| eb4a52dbdb | |||
| 11e835a7a3 | |||
| 547b6f195f | |||
| b102926036 | |||
| 9085a7c974 |
@@ -4,73 +4,47 @@ A Minecraft Datapack
|
|||||||
|
|
||||||
#### This project is licensed under the terms of the GNU General Public License v3.0.
|
#### This project is licensed under the terms of the GNU General Public License v3.0.
|
||||||
#### Copyright (C)2019-2021 Harvey_Husky
|
#### Copyright (C)2019-2021 Harvey_Husky
|
||||||
[B站链接](https://www.bilibili.com/read/cv4267319)
|
### 总览
|
||||||
## 总览
|
|
||||||
|
|
||||||
- 抬头并按一下shift来打开设置界面
|
|
||||||
- 提供玩家挖掘、死亡、击杀、受伤、交易、钓鱼、滑翔、(破基岩)数据的榜单
|
|
||||||
- 提供扫地机
|
|
||||||
- 配套的无需配置即可支持该铁头功破基岩榜Mod:[FZ-BBL](https://gitee.com/harvey-husky/FZ-BBL/releases)
|
|
||||||
- 破基岩榜的分数和订阅设置会在铁头功记分板的总分大于0时显示,以免未添加该mod的服务器显示破基岩榜
|
|
||||||
- 记分板对照表:
|
|
||||||
| Object Name | 内容 |
|
|
||||||
| ----------- | ---- |
|
|
||||||
| activation | 活跃时间(h) |
|
|
||||||
| damageTaken | 受伤害榜 |
|
|
||||||
| deathCounter | 死亡榜 |
|
|
||||||
| digCounter | 挖掘榜 |
|
|
||||||
| fishingCounter | 钓鱼榜 |
|
|
||||||
| killCounter | 击杀榜 |
|
|
||||||
| tradingCounter | 交易榜 |
|
|
||||||
| totalList | 总 量 |
|
|
||||||
| bedrockBreaked(最开始拼错了,后来不方便改了,不要在意) | [铁头功破基岩](https://www.bilibili.com/video/BV1KJ411b73z) |
|
|
||||||
| fz.aviate1m | 滑翔距离 |
|
|
||||||
- 提供一些地毯脚本(.sc文件):***请在升级数据包的同时替换这些工具!!***
|
|
||||||
- 安装方法:
|
|
||||||
- 需要[carpet mod](https://github.com/gnembon/fabric-carpet/releases) 1.4.24+
|
|
||||||
- 将其放入`world/scripts`中(在客户端位于`.minecraft/saves/存档名/scripts`或`.minecraft/config/carpet/scripts`)
|
|
||||||
### `here.sc`:
|
|
||||||
- `/here`向所有人发送自己的位置和所在维度
|
|
||||||
- 发送的消息使用voxelmap可识别的数组格式
|
|
||||||
- 安装[voxelmap mod](https://www.curseforge.com/minecraft/mc-mods/voxelmap/files)后,左键高亮该坐标,ctrl+左键新建坐标点
|
|
||||||
### `c.sc`
|
|
||||||
- `/c`修改玩家模式为旁观模式
|
|
||||||
### `s.sc`
|
|
||||||
- `/s`修改玩家模式为生存模式
|
|
||||||
### `tagplayer.sc`:
|
|
||||||
- [B站链接](https://www.bilibili.com/read/cv9178207)
|
|
||||||
- 这个工具可以防止将地毯mod生成的假人计入记分板
|
|
||||||
- 可以通过自定义文件名来自定义游戏内命令
|
|
||||||
- 配置文件:
|
|
||||||
- `allow_bot_tp`:用于控制是否允许tp假人
|
|
||||||
- `allow_spawning_whitelist_players`:用于控制是否允许生成白名单内的玩家
|
|
||||||
- 使用方法:
|
|
||||||
- 安装[carpet mod](https://github.com/gnembon/fabric-carpet/releases)
|
|
||||||
- 输入`/script load tagplayer`加载工具
|
|
||||||
- 包含全部地毯假人自带的功能,如:
|
|
||||||
- `/tagplayer use xxx once`让假人xxx按一次使用键
|
|
||||||
- 包含新功能,如:
|
|
||||||
- `/tagplayer check xxx`:检查玩家的状态
|
|
||||||
- `/tagplayer checkall`:检查所有玩家的状态
|
|
||||||
- `/tagplayer killall`:清除所有假人
|
|
||||||
- 其他用法可以在游戏内输入`/tagplayer`查看
|
|
||||||
|
|
||||||
### `restore_scores.sc`:
|
|
||||||
- 从数据包1.4升级时也需要使用这个工具
|
|
||||||
- 这个工具可以从白名单读取玩家列表,逐一召唤假人,读取统计信息并赋值给记分板
|
|
||||||
- 悄悄说一句没白名单的服把usercache.json复制一份改成whitelist.json就可以啦
|
|
||||||
- *注意:原有的记分板会被删除*
|
|
||||||
- 使用方法:
|
|
||||||
- 输入`/script load restore_scores`加载工具
|
|
||||||
- 输入`/restore_scores by_whitelist`开始恢复
|
|
||||||
- 输入`/script unload restore_scores`卸载工具
|
|
||||||
- 记得用完就删掉它!
|
|
||||||
|
|
||||||
### 更新日志
|
|
||||||
- v2.1.x支持Minecraft1.17+
|
- v2.1.x支持Minecraft1.17+
|
||||||
- v2.0.x支持Minecraft1.16.3-1.16.5
|
- v2.0.x支持Minecraft1.16.3-1.16.5
|
||||||
##### v2.1.2/2.0.10
|
- 抬头并按一下shift来打开设置界面
|
||||||
- 添加鞘翅滑翔距离榜单
|
- 提供一些地毯脚本:*请在升级数据包的同时替换这些工具!!*
|
||||||
|
- 安装方法:
|
||||||
|
- 需要carpet mod 1.4.24+:https://github.com/gnembon/fabric-carpet/releases
|
||||||
|
- 将其放入“world/scripts”中(在客户端位于“.minecraft/saves/存档名/scripts”或“.minecraft/config/carpet/scripts”)
|
||||||
|
- here.sc:
|
||||||
|
- “/here”向所有人发送自己的位置和所在维度
|
||||||
|
- 发送的消息使用voxelmap可识别的数组格式
|
||||||
|
- 安装voxelmap mod后,左键高亮该坐标,ctrl+左键新建坐标点
|
||||||
|
- c.sc
|
||||||
|
- “/c”修改玩家模式为旁观模式
|
||||||
|
- s.sc
|
||||||
|
- “/s”修改玩家模式为生存模式
|
||||||
|
- tagplayer.sc:
|
||||||
|
- 这个工具可以防止将地毯mod生成的假人计入记分板
|
||||||
|
- 可以通过自定义文件名来自定义游戏内命令
|
||||||
|
- 配置文件:
|
||||||
|
- “allow_bot_tp”:用于控制是否允许tp假人
|
||||||
|
- “allow_spawning_whitelist_players”:用于控制是否允许生成白名单内的玩家
|
||||||
|
- 使用方法:
|
||||||
|
- 输入“/script load tagplayer”加载工具
|
||||||
|
- 包含全部地毯假人自带的功能,以及新功能,如:
|
||||||
|
- “/tagplayer check xxx”:检查玩家的状态
|
||||||
|
- “/tagplayer checkall”:检查所有玩家的状态
|
||||||
|
- “/tagplayer killall”:清除所有假人
|
||||||
|
- 其他用法可以在游戏内输入“/tagplayer”查看
|
||||||
|
- restore_scores.sc:
|
||||||
|
- 从数据包1.4升级时也需要使用这个工具
|
||||||
|
- 这个工具可以从白名单读取玩家列表,逐一召唤假人,读取统计信息并赋值给记分板
|
||||||
|
- 悄悄说一句没白名单的服把usercache.json复制一份改成whitelist.json就可以啦
|
||||||
|
- *注意:原有的记分板会被删除*
|
||||||
|
- 使用方法:
|
||||||
|
- 输入“/script load restore_scores”加载工具
|
||||||
|
- 输入“/restore_scores by_whitelist”开始恢复
|
||||||
|
- 输入“/script unload restore_scores”卸载工具
|
||||||
|
- 记得用完就删掉它!
|
||||||
|
- 无需配置即可支持该铁头功破基岩榜Mod:https://gitee.com/harvey-husky/FZ-BBL/releases
|
||||||
|
- 破基岩榜的分数和订阅设置会在铁头功记分板的总分大于0时显示,以免未添加该mod的服务器显示破基岩榜
|
||||||
##### v2.1.0
|
##### v2.1.0
|
||||||
- 仅支持1.17+
|
- 仅支持1.17+
|
||||||
- 修复使用部分工具和方块交互时挖掘榜会减分的bug
|
- 修复使用部分工具和方块交互时挖掘榜会减分的bug
|
||||||
@@ -103,7 +77,7 @@ A Minecraft Datapack
|
|||||||
- 无需配置即可支持该铁头功破基岩榜Mod:https://gitee.com/harvey-husky/FZ-BBL/releases
|
- 无需配置即可支持该铁头功破基岩榜Mod:https://gitee.com/harvey-husky/FZ-BBL/releases
|
||||||
- 破基岩榜的分数和订阅设置会在铁头功记分板的总分大于0时显示,以免未添加该mod的服务器显示破基岩榜
|
- 破基岩榜的分数和订阅设置会在铁头功记分板的总分大于0时显示,以免未添加该mod的服务器显示破基岩榜
|
||||||
##### v2.0.0.11
|
##### v2.0.0.11
|
||||||
- `/tagplayer spawn xxx`后面现在可以追加`at`、`facing`、`in`参数
|
- “/tagplayer spawn xxx”后面现在可以追加“at”、“facing”、“in”参数
|
||||||
##### v2.0.0.10
|
##### v2.0.0.10
|
||||||
- 扫地机添加了位于怪物血条栏的文字提示,同时添加了各种提示的开关功能
|
- 扫地机添加了位于怪物血条栏的文字提示,同时添加了各种提示的开关功能
|
||||||
##### v2.0.0.9
|
##### v2.0.0.9
|
||||||
@@ -114,7 +88,7 @@ A Minecraft Datapack
|
|||||||
- tagplayer添加了新版carpet新指令,可以为假人切换热键栏
|
- tagplayer添加了新版carpet新指令,可以为假人切换热键栏
|
||||||
- 现在tagplayer需要carpet1.4.21或以上版本运行!
|
- 现在tagplayer需要carpet1.4.21或以上版本运行!
|
||||||
- 现在tagplayer可以给自己设置动作了
|
- 现在tagplayer可以给自己设置动作了
|
||||||
- 添加`/tagplayer shadow`指令将自己变为前缀为`挂机`的假人
|
- 添加“/tagplayer shadow”指令将自己变为前缀为“挂机”的假人
|
||||||
##### v2.0.0.6
|
##### v2.0.0.6
|
||||||
- 修复restore_scores.sc工具不能恢复受伤害榜(抖M榜)的bug
|
- 修复restore_scores.sc工具不能恢复受伤害榜(抖M榜)的bug
|
||||||
##### v2.0.0.5
|
##### v2.0.0.5
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
"entity": "this",
|
"entity": "this",
|
||||||
"scores": {
|
"scores": {
|
||||||
"leaveGame": {
|
"leaveGame": {
|
||||||
|
"min": -2147483648,
|
||||||
"max": 0
|
"max": 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
"entity": "this",
|
"entity": "this",
|
||||||
"scores": {
|
"scores": {
|
||||||
"actimeCounter": {
|
"actimeCounter": {
|
||||||
|
"max": 3600,
|
||||||
"min": 3600
|
"min": 3600
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,23 +0,0 @@
|
|||||||
{
|
|
||||||
"criteria": {
|
|
||||||
"activation": {
|
|
||||||
"trigger": "minecraft:tick",
|
|
||||||
"conditions": {
|
|
||||||
"player": [
|
|
||||||
{
|
|
||||||
"condition": "minecraft:entity_scores",
|
|
||||||
"entity": "this",
|
|
||||||
"scores": {
|
|
||||||
"fz.aviateCounter": {
|
|
||||||
"min": 200
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rewards": {
|
|
||||||
"function": "fz:scoreboards/aviate1m/calculator"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -9,7 +9,8 @@
|
|||||||
"entity": "this",
|
"entity": "this",
|
||||||
"scores": {
|
"scores": {
|
||||||
"fz.bbl": {
|
"fz.bbl": {
|
||||||
"min": 1
|
"min": 1,
|
||||||
|
"max": 2147483647
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,8 @@
|
|||||||
"entity": "this",
|
"entity": "this",
|
||||||
"scores": {
|
"scores": {
|
||||||
"10xDamageTaken": {
|
"10xDamageTaken": {
|
||||||
"min": 1
|
"min": 1,
|
||||||
|
"max": 2147483647
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,8 @@
|
|||||||
"entity": "this",
|
"entity": "this",
|
||||||
"scores": {
|
"scores": {
|
||||||
"deathTester": {
|
"deathTester": {
|
||||||
"min": 1
|
"min": 1,
|
||||||
|
"max": 2147483647
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,7 +11,8 @@
|
|||||||
"condition": "minecraft:entity_scores",
|
"condition": "minecraft:entity_scores",
|
||||||
"scores": {
|
"scores": {
|
||||||
"usedWooShovel": {
|
"usedWooShovel": {
|
||||||
"min": 1
|
"min": 1,
|
||||||
|
"max": 2147483647
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"entity": "this"
|
"entity": "this"
|
||||||
@@ -20,7 +21,8 @@
|
|||||||
"condition": "minecraft:entity_scores",
|
"condition": "minecraft:entity_scores",
|
||||||
"scores": {
|
"scores": {
|
||||||
"usedWooPickaxe": {
|
"usedWooPickaxe": {
|
||||||
"min": 1
|
"min": 1,
|
||||||
|
"max": 2147483647
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"entity": "this"
|
"entity": "this"
|
||||||
@@ -29,7 +31,8 @@
|
|||||||
"condition": "minecraft:entity_scores",
|
"condition": "minecraft:entity_scores",
|
||||||
"scores": {
|
"scores": {
|
||||||
"usedWooHoe": {
|
"usedWooHoe": {
|
||||||
"min": 1
|
"min": 1,
|
||||||
|
"max": 2147483647
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"entity": "this"
|
"entity": "this"
|
||||||
@@ -38,7 +41,8 @@
|
|||||||
"condition": "minecraft:entity_scores",
|
"condition": "minecraft:entity_scores",
|
||||||
"scores": {
|
"scores": {
|
||||||
"usedWooAxe": {
|
"usedWooAxe": {
|
||||||
"min": 1
|
"min": 1,
|
||||||
|
"max": 2147483647
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"entity": "this"
|
"entity": "this"
|
||||||
@@ -47,7 +51,8 @@
|
|||||||
"condition": "minecraft:entity_scores",
|
"condition": "minecraft:entity_scores",
|
||||||
"scores": {
|
"scores": {
|
||||||
"usedStoShovel": {
|
"usedStoShovel": {
|
||||||
"min": 1
|
"min": 1,
|
||||||
|
"max": 2147483647
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"entity": "this"
|
"entity": "this"
|
||||||
@@ -56,7 +61,8 @@
|
|||||||
"condition": "minecraft:entity_scores",
|
"condition": "minecraft:entity_scores",
|
||||||
"scores": {
|
"scores": {
|
||||||
"usedStoPickaxe": {
|
"usedStoPickaxe": {
|
||||||
"min": 1
|
"min": 1,
|
||||||
|
"max": 2147483647
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"entity": "this"
|
"entity": "this"
|
||||||
@@ -65,7 +71,8 @@
|
|||||||
"condition": "minecraft:entity_scores",
|
"condition": "minecraft:entity_scores",
|
||||||
"scores": {
|
"scores": {
|
||||||
"usedStoHoe": {
|
"usedStoHoe": {
|
||||||
"min": 1
|
"min": 1,
|
||||||
|
"max": 2147483647
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"entity": "this"
|
"entity": "this"
|
||||||
@@ -74,7 +81,8 @@
|
|||||||
"condition": "minecraft:entity_scores",
|
"condition": "minecraft:entity_scores",
|
||||||
"scores": {
|
"scores": {
|
||||||
"usedStoAxe": {
|
"usedStoAxe": {
|
||||||
"min": 1
|
"min": 1,
|
||||||
|
"max": 2147483647
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"entity": "this"
|
"entity": "this"
|
||||||
@@ -83,7 +91,8 @@
|
|||||||
"condition": "minecraft:entity_scores",
|
"condition": "minecraft:entity_scores",
|
||||||
"scores": {
|
"scores": {
|
||||||
"usedNetShovel": {
|
"usedNetShovel": {
|
||||||
"min": 1
|
"min": 1,
|
||||||
|
"max": 2147483647
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"entity": "this"
|
"entity": "this"
|
||||||
@@ -92,7 +101,8 @@
|
|||||||
"condition": "minecraft:entity_scores",
|
"condition": "minecraft:entity_scores",
|
||||||
"scores": {
|
"scores": {
|
||||||
"usedNetPickaxe": {
|
"usedNetPickaxe": {
|
||||||
"min": 1
|
"min": 1,
|
||||||
|
"max": 2147483647
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"entity": "this"
|
"entity": "this"
|
||||||
@@ -101,7 +111,8 @@
|
|||||||
"condition": "minecraft:entity_scores",
|
"condition": "minecraft:entity_scores",
|
||||||
"scores": {
|
"scores": {
|
||||||
"usedNetHoe": {
|
"usedNetHoe": {
|
||||||
"min": 1
|
"min": 1,
|
||||||
|
"max": 2147483647
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"entity": "this"
|
"entity": "this"
|
||||||
@@ -110,7 +121,8 @@
|
|||||||
"condition": "minecraft:entity_scores",
|
"condition": "minecraft:entity_scores",
|
||||||
"scores": {
|
"scores": {
|
||||||
"usedNetAxe": {
|
"usedNetAxe": {
|
||||||
"min": 1
|
"min": 1,
|
||||||
|
"max": 2147483647
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"entity": "this"
|
"entity": "this"
|
||||||
@@ -119,7 +131,8 @@
|
|||||||
"condition": "minecraft:entity_scores",
|
"condition": "minecraft:entity_scores",
|
||||||
"scores": {
|
"scores": {
|
||||||
"usedIroShovel": {
|
"usedIroShovel": {
|
||||||
"min": 1
|
"min": 1,
|
||||||
|
"max": 2147483647
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"entity": "this"
|
"entity": "this"
|
||||||
@@ -128,7 +141,8 @@
|
|||||||
"condition": "minecraft:entity_scores",
|
"condition": "minecraft:entity_scores",
|
||||||
"scores": {
|
"scores": {
|
||||||
"usedIroPickaxe": {
|
"usedIroPickaxe": {
|
||||||
"min": 1
|
"min": 1,
|
||||||
|
"max": 2147483647
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"entity": "this"
|
"entity": "this"
|
||||||
@@ -137,7 +151,8 @@
|
|||||||
"condition": "minecraft:entity_scores",
|
"condition": "minecraft:entity_scores",
|
||||||
"scores": {
|
"scores": {
|
||||||
"usedIroHoe": {
|
"usedIroHoe": {
|
||||||
"min": 1
|
"min": 1,
|
||||||
|
"max": 2147483647
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"entity": "this"
|
"entity": "this"
|
||||||
@@ -146,7 +161,8 @@
|
|||||||
"condition": "minecraft:entity_scores",
|
"condition": "minecraft:entity_scores",
|
||||||
"scores": {
|
"scores": {
|
||||||
"usedIroAxe": {
|
"usedIroAxe": {
|
||||||
"min": 1
|
"min": 1,
|
||||||
|
"max": 2147483647
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"entity": "this"
|
"entity": "this"
|
||||||
@@ -155,7 +171,8 @@
|
|||||||
"condition": "minecraft:entity_scores",
|
"condition": "minecraft:entity_scores",
|
||||||
"scores": {
|
"scores": {
|
||||||
"usedGolShovel": {
|
"usedGolShovel": {
|
||||||
"min": 1
|
"min": 1,
|
||||||
|
"max": 2147483647
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"entity": "this"
|
"entity": "this"
|
||||||
@@ -164,7 +181,8 @@
|
|||||||
"condition": "minecraft:entity_scores",
|
"condition": "minecraft:entity_scores",
|
||||||
"scores": {
|
"scores": {
|
||||||
"usedGolPickaxe": {
|
"usedGolPickaxe": {
|
||||||
"min": 1
|
"min": 1,
|
||||||
|
"max": 2147483647
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"entity": "this"
|
"entity": "this"
|
||||||
@@ -173,7 +191,8 @@
|
|||||||
"condition": "minecraft:entity_scores",
|
"condition": "minecraft:entity_scores",
|
||||||
"scores": {
|
"scores": {
|
||||||
"usedGolHoe": {
|
"usedGolHoe": {
|
||||||
"min": 1
|
"min": 1,
|
||||||
|
"max": 2147483647
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"entity": "this"
|
"entity": "this"
|
||||||
@@ -182,7 +201,8 @@
|
|||||||
"condition": "minecraft:entity_scores",
|
"condition": "minecraft:entity_scores",
|
||||||
"scores": {
|
"scores": {
|
||||||
"usedGolAxe": {
|
"usedGolAxe": {
|
||||||
"min": 1
|
"min": 1,
|
||||||
|
"max": 2147483647
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"entity": "this"
|
"entity": "this"
|
||||||
@@ -191,7 +211,8 @@
|
|||||||
"condition": "minecraft:entity_scores",
|
"condition": "minecraft:entity_scores",
|
||||||
"scores": {
|
"scores": {
|
||||||
"usedDiaShovel": {
|
"usedDiaShovel": {
|
||||||
"min": 1
|
"min": 1,
|
||||||
|
"max": 2147483647
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"entity": "this"
|
"entity": "this"
|
||||||
@@ -200,7 +221,8 @@
|
|||||||
"condition": "minecraft:entity_scores",
|
"condition": "minecraft:entity_scores",
|
||||||
"scores": {
|
"scores": {
|
||||||
"usedDiaPickaxe": {
|
"usedDiaPickaxe": {
|
||||||
"min": 1
|
"min": 1,
|
||||||
|
"max": 2147483647
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"entity": "this"
|
"entity": "this"
|
||||||
@@ -209,7 +231,8 @@
|
|||||||
"condition": "minecraft:entity_scores",
|
"condition": "minecraft:entity_scores",
|
||||||
"scores": {
|
"scores": {
|
||||||
"usedDiaHoe": {
|
"usedDiaHoe": {
|
||||||
"min": 1
|
"min": 1,
|
||||||
|
"max": 2147483647
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"entity": "this"
|
"entity": "this"
|
||||||
@@ -218,7 +241,8 @@
|
|||||||
"condition": "minecraft:entity_scores",
|
"condition": "minecraft:entity_scores",
|
||||||
"scores": {
|
"scores": {
|
||||||
"usedDiaAxe": {
|
"usedDiaAxe": {
|
||||||
"min": 1
|
"min": 1,
|
||||||
|
"max": 2147483647
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"entity": "this"
|
"entity": "this"
|
||||||
@@ -227,7 +251,8 @@
|
|||||||
"condition": "minecraft:entity_scores",
|
"condition": "minecraft:entity_scores",
|
||||||
"scores": {
|
"scores": {
|
||||||
"usedShears": {
|
"usedShears": {
|
||||||
"min": 1
|
"min": 1,
|
||||||
|
"max": 2147483647
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"entity": "this"
|
"entity": "this"
|
||||||
|
|||||||
@@ -1,57 +1,484 @@
|
|||||||
{
|
{
|
||||||
"criteria": {
|
"criteria": {
|
||||||
"right_click_tools": {
|
"used_axe_on_block": {
|
||||||
"trigger": "minecraft:item_used_on_block",
|
"trigger": "minecraft:item_used_on_block",
|
||||||
"conditions": {
|
"conditions": {
|
||||||
"item": {
|
"player": [
|
||||||
"items": [
|
{
|
||||||
"golden_axe",
|
"condition": "minecraft:alternative",
|
||||||
"golden_hoe",
|
"terms": [
|
||||||
"golden_shovel",
|
{
|
||||||
"wooden_axe",
|
"condition": "minecraft:entity_properties",
|
||||||
"wooden_hoe",
|
"entity": "this",
|
||||||
"wooden_shovel",
|
"predicate": {
|
||||||
"diamond_axe",
|
"equipment": {
|
||||||
"diamond_hoe",
|
"mainhand": {
|
||||||
"diamond_shovel",
|
"item": "minecraft:diamond_axe"
|
||||||
"iron_axe",
|
}
|
||||||
"iron_hoe",
|
}
|
||||||
"iron_shovel",
|
}
|
||||||
"stone_axe",
|
},
|
||||||
"stone_hoe",
|
{
|
||||||
"stone_shovel",
|
"condition": "minecraft:entity_properties",
|
||||||
"netherite_axe",
|
"entity": "this",
|
||||||
"netherite_hoe",
|
"predicate": {
|
||||||
"netherite_shovel"
|
"equipment": {
|
||||||
]
|
"mainhand": {
|
||||||
},
|
"item": "minecraft:iron_axe"
|
||||||
"location": {
|
}
|
||||||
"block": {
|
}
|
||||||
"blocks": [
|
}
|
||||||
"dirt_path",
|
},
|
||||||
"farmland",
|
{
|
||||||
"oak_log",
|
"condition": "minecraft:entity_properties",
|
||||||
"stripped_birch_log",
|
"entity": "this",
|
||||||
"stripped_acacia_log",
|
"predicate": {
|
||||||
"stripped_jungle_log",
|
"equipment": {
|
||||||
"stripped_spruce_log",
|
"mainhand": {
|
||||||
"stripped_dark_oak_log",
|
"item": "minecraft:stone_axe"
|
||||||
"stripped_warped_stem",
|
}
|
||||||
"stripped_crimson_stem",
|
}
|
||||||
"stripped_oak_wood",
|
}
|
||||||
"stripped_birch_wood",
|
},
|
||||||
"stripped_acacia_wood",
|
{
|
||||||
"stripped_jungle_wood",
|
"condition": "minecraft:entity_properties",
|
||||||
"stripped_spruce_wood",
|
"entity": "this",
|
||||||
"stripped_dark_oak_wood",
|
"predicate": {
|
||||||
"stripped_warped_hyphae",
|
"equipment": {
|
||||||
"stripped_crimson_hyphae"
|
"mainhand": {
|
||||||
|
"item": "minecraft:wooden_axe"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:golden_axe"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:netherite_axe"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"attacked_with_axe": {
|
||||||
|
"trigger": "minecraft:player_hurt_entity",
|
||||||
|
"conditions": {
|
||||||
|
"player": [
|
||||||
|
{
|
||||||
|
"condition": "minecraft:alternative",
|
||||||
|
"terms": [
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:diamond_axe"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:iron_axe"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:stone_axe"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:wooden_axe"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:golden_axe"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:netherite_axe"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"used_shovel_on_block": {
|
||||||
|
"trigger": "minecraft:item_used_on_block",
|
||||||
|
"conditions": {
|
||||||
|
"player": [
|
||||||
|
{
|
||||||
|
"condition": "minecraft:alternative",
|
||||||
|
"terms": [
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:diamond_shovel"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:iron_shovel"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:stone_shovel"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:wooden_shovel"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:golden_shovel"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:netherite_shovel"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"attacked_with_shovel": {
|
||||||
|
"trigger": "minecraft:player_hurt_entity",
|
||||||
|
"conditions": {
|
||||||
|
"player": [
|
||||||
|
{
|
||||||
|
"condition": "minecraft:alternative",
|
||||||
|
"terms": [
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:diamond_shovel"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:iron_shovel"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:stone_shovel"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:wooden_shovel"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:golden_shovel"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:netherite_shovel"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"used_hoe_on_block": {
|
||||||
|
"trigger": "minecraft:item_used_on_block",
|
||||||
|
"conditions": {
|
||||||
|
"player": [
|
||||||
|
{
|
||||||
|
"condition": "minecraft:alternative",
|
||||||
|
"terms": [
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:diamond_hoe"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:iron_hoe"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:stone_hoe"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:wooden_hoe"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:golden_hoe"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:netherite_hoe"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"attacked_with_hoe": {
|
||||||
|
"trigger": "minecraft:player_hurt_entity",
|
||||||
|
"conditions": {
|
||||||
|
"player": [
|
||||||
|
{
|
||||||
|
"condition": "minecraft:alternative",
|
||||||
|
"terms": [
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:diamond_hoe"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:iron_hoe"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:stone_hoe"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:wooden_hoe"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:golden_hoe"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:netherite_hoe"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"requirements": [
|
||||||
|
[
|
||||||
|
"used_axe_on_block",
|
||||||
|
"attacked_with_axe",
|
||||||
|
"used_shovel_on_block",
|
||||||
|
"attacked_with_shovel",
|
||||||
|
"used_hoe_on_block",
|
||||||
|
"attacked_with_hoe"
|
||||||
|
]
|
||||||
|
],
|
||||||
"rewards": {
|
"rewards": {
|
||||||
"function": "fz:scoreboards/digcounter/toolsfix"
|
"function": "fz:scoreboards/digcounter/toolsfix"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,48 +1,217 @@
|
|||||||
{
|
{
|
||||||
"criteria": {
|
"criteria": {
|
||||||
"tools_hit_entities": {
|
"offhand_placed_fix": {
|
||||||
"trigger": "minecraft:player_hurt_entity",
|
"trigger": "minecraft:placed_block",
|
||||||
"conditions": {
|
"conditions": {
|
||||||
"player": [
|
"player": [
|
||||||
{
|
{
|
||||||
"condition": "minecraft:entity_properties",
|
"condition": "minecraft:alternative",
|
||||||
"entity": "this",
|
"terms": [
|
||||||
"predicate": {
|
{
|
||||||
"equipment": {
|
"condition": "minecraft:entity_properties",
|
||||||
"mainhand": {
|
"entity": "this",
|
||||||
"items": [
|
"predicate": {
|
||||||
"iron_axe",
|
"equipment": {
|
||||||
"stone_axe",
|
"mainhand": {
|
||||||
"golden_axe",
|
"item": "minecraft:iron_shovel"
|
||||||
"wooden_axe",
|
}
|
||||||
"diamond_axe",
|
}
|
||||||
"netherite_axe",
|
}
|
||||||
"iron_shovel",
|
},
|
||||||
"stone_shovel",
|
{
|
||||||
"golden_shovel",
|
"condition": "minecraft:entity_properties",
|
||||||
"wooden_shovel",
|
"entity": "this",
|
||||||
"diamond_shovel",
|
"predicate": {
|
||||||
"netherite_shovel",
|
"equipment": {
|
||||||
"iron_hoe",
|
"mainhand": {
|
||||||
"stone_hoe",
|
"item": "minecraft:golden_shovel"
|
||||||
"golden_hoe",
|
}
|
||||||
"wooden_hoe",
|
}
|
||||||
"diamond_hoe",
|
}
|
||||||
"netherite_hoe",
|
},
|
||||||
"iron_pickaxe",
|
{
|
||||||
"stone_pickaxe",
|
"condition": "minecraft:entity_properties",
|
||||||
"golden_pickaxe",
|
"entity": "this",
|
||||||
"wooden_pickaxe",
|
"predicate": {
|
||||||
"diamond_pickaxe",
|
"equipment": {
|
||||||
"netherite_pickaxe"
|
"mainhand": {
|
||||||
]
|
"item": "minecraft:wooden_shovel"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:stone_shovel"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:diamond_shovel"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:netherite_shovel"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:iron_hoe"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:golden_hoe"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:wooden_hoe"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:stone_hoe"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:diamond_hoe"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:netherite_hoe"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:iron_axe"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:golden_axe"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:wooden_axe"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:stone_axe"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:diamond_axe"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"item": "minecraft:netherite_axe"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rewards": {"function": "fz:scoreboards/digcounter/toolsfix2"}
|
"rewards": {
|
||||||
|
"function": "fz:scoreboards/digcounter/toolsfix2"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -9,7 +9,8 @@
|
|||||||
"entity": "this",
|
"entity": "this",
|
||||||
"scores": {
|
"scores": {
|
||||||
"fishingTester": {
|
"fishingTester": {
|
||||||
"min": 1
|
"min": 1,
|
||||||
|
"max": 2147483647
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,8 +21,7 @@ execute if data storage fz.installed {sweeper: 1b} run tellraw @s {"text": "扫
|
|||||||
##记分板
|
##记分板
|
||||||
execute if data storage fz.installed {scoreboards: 1b} run tellraw @s {"text": "记分板:","color": "#ccff00"}
|
execute if data storage fz.installed {scoreboards: 1b} run tellraw @s {"text": "记分板:","color": "#ccff00"}
|
||||||
##计分板显示,对应分数1838019370-1838019379
|
##计分板显示,对应分数1838019370-1838019379
|
||||||
execute if data storage fz.installed {scoreboards: 1b} unless score 总破基岩数 bedrockBreaked matches 1.. run tellraw @s [{"text": "- "},{"text": "[关]","color": "#ff0000","hoverEvent": {"action": "show_text","contents": {"text": "关", "color": "#ff0000"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019370"}},{"text": "[轮播]","color": "gold","hoverEvent": {"action": "show_text","contents": {"text": "轮播", "color": "gold"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019371"}},{"text": "[总量]","color": "dark_aqua","hoverEvent": {"action": "show_text","contents": {"text": "总量","color": "dark_aqua"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019379"}},{"text": "[在线时间(h)]","color": "aqua","hoverEvent": {"action": "show_text","contents": {"text": "在线时间(h)","color": "aqua"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019372"}},{"text": "[受伤害榜]","color": "yellow","hoverEvent": {"action": "show_text","contents": {"text": "受伤害量","color": "yellow"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019373"}},{"text": "[死亡榜]","color": "dark_red","hoverEvent": {"action": "show_text","contents": {"text": "死亡榜","color": "dark_red"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019374"}},{"text": "[挖掘榜]","color": "gray","hoverEvent": {"action": "show_text","contents": {"text": "挖掘榜","color": "gray"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019375"}},{"text": "[钓鱼榜]","color": "blue","hoverEvent": {"action": "show_text","contents": {"text": "钓鱼榜","color": "blue"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019376"}},{"text": "[击杀榜]","color": "red","hoverEvent": {"action": "show_text","contents": {"text": "击杀榜","color": "red"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019377"}},{"text": "[交易榜]","color": "green","hoverEvent": {"action": "show_text","contents": {"text": "交易榜","color": "green"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019378"}}]
|
execute if data storage fz.installed {scoreboards: 1b} unless score 全员头铁 bedrockBreaked matches 1.. run tellraw @s [{"text": "- "},{"text": "[关]","color": "#ff0000","hoverEvent": {"action": "show_text","contents": {"text": "关", "color": "#ff0000"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019370"}},{"text": "[轮播]","color": "gold","hoverEvent": {"action": "show_text","contents": {"text": "轮播", "color": "gold"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019371"}},{"text": "[总量]","color": "dark_aqua","hoverEvent": {"action": "show_text","contents": {"text": "总量","color": "dark_aqua"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019379"}},{"text": "[在线时间(h)]","color": "aqua","hoverEvent": {"action": "show_text","contents": {"text": "在线时间(h)","color": "aqua"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019372"}},{"text": "[抖M名单]","color": "yellow","hoverEvent": {"action": "show_text","contents": {"text": "受伤害量","color": "yellow"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019373"}},{"text": "[死亡榜]","color": "dark_red","hoverEvent": {"action": "show_text","contents": {"text": "死亡榜","color": "dark_red"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019374"}},{"text": "[挖掘榜]","color": "gray","hoverEvent": {"action": "show_text","contents": {"text": "挖掘榜","color": "gray"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019375"}},{"text": "[钩直饵咸]","color": "blue","hoverEvent": {"action": "show_text","contents": {"text": "钓鱼榜","color": "blue"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019376"}},{"text": "[击杀榜]","color": "red","hoverEvent": {"action": "show_text","contents": {"text": "击杀榜","color": "red"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019377"}},{"text": "[交♂易榜]","color": "green","hoverEvent": {"action": "show_text","contents": {"text": "交易榜","color": "green"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019378"}}]
|
||||||
execute if data storage fz.installed {scoreboards: 1b} unless score 总破基岩数 bedrockBreaked matches 1.. run tellraw @s [{"text": "- "},{"text": "[滑翔距离]", "color": "light_purple", "hoverEvent": {"action": "show_text","contents": {"text": "滑翔距离", "color": "light_purple"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019368"}}]
|
|
||||||
##计分板显示,对应分数1838019369-1838019379(有破基岩榜)
|
##计分板显示,对应分数1838019369-1838019379(有破基岩榜)
|
||||||
execute if data storage fz.installed {scoreboards: 1b} if score 总破基岩数 bedrockBreaked matches 1.. run tellraw @s [{"text": "- "},{"text": "[关]","color": "#ff0000","hoverEvent": {"action": "show_text","contents": {"text": "关", "color": "#ff0000"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019370"}},{"text": "[轮播]","color": "gold","hoverEvent": {"action": "show_text","contents": {"text": "轮播", "color": "gold"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019371"}},{"text": "[总量]","color": "dark_aqua","hoverEvent": {"action": "show_text","contents": {"text": "总量","color": "dark_aqua"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019379"}},{"text": "[在线时间(h)]","color": "aqua","hoverEvent": {"action": "show_text","contents": {"text": "在线时间(h)","color": "aqua"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019372"}},{"text": "[受伤害榜]","color": "yellow","hoverEvent": {"action": "show_text","contents": {"text": "受伤害量","color": "yellow"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019373"}},{"text": "[死亡榜]","color": "dark_red","hoverEvent": {"action": "show_text","contents": {"text": "死亡榜","color": "dark_red"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019374"}},{"text": "[挖掘榜]","color": "gray","hoverEvent": {"action": "show_text","contents": {"text": "挖掘榜","color": "gray"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019375"}},{"text": "[钓鱼榜]","color": "blue","hoverEvent": {"action": "show_text","contents": {"text": "钓鱼榜","color": "blue"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019376"}},{"text": "[击杀榜]","color": "red","hoverEvent": {"action": "show_text","contents": {"text": "击杀榜","color": "red"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019377"}},{"text": "[交易榜]","color": "green","hoverEvent": {"action": "show_text","contents": {"text": "交易榜","color": "green"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019378"}}]
|
execute if data storage fz.installed {scoreboards: 1b} if score 全员头铁 bedrockBreaked matches 1.. run tellraw @s [{"text": "- "},{"text": "[关]","color": "#ff0000","hoverEvent": {"action": "show_text","contents": {"text": "关", "color": "#ff0000"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019370"}},{"text": "[轮播]","color": "gold","hoverEvent": {"action": "show_text","contents": {"text": "轮播", "color": "gold"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019371"}},{"text": "[总量]","color": "dark_aqua","hoverEvent": {"action": "show_text","contents": {"text": "总量","color": "dark_aqua"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019379"}},{"text": "[在线时间(h)]","color": "aqua","hoverEvent": {"action": "show_text","contents": {"text": "在线时间(h)","color": "aqua"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019372"}},{"text": "[抖M名单]","color": "yellow","hoverEvent": {"action": "show_text","contents": {"text": "受伤害量","color": "yellow"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019373"}},{"text": "[死亡榜]","color": "dark_red","hoverEvent": {"action": "show_text","contents": {"text": "死亡榜","color": "dark_red"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019374"}},{"text": "[挖掘榜]","color": "gray","hoverEvent": {"action": "show_text","contents": {"text": "挖掘榜","color": "gray"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019375"}},{"text": "[钩直饵咸]","color": "blue","hoverEvent": {"action": "show_text","contents": {"text": "钓鱼榜","color": "blue"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019376"}},{"text": "[击杀榜]","color": "red","hoverEvent": {"action": "show_text","contents": {"text": "击杀榜","color": "red"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019377"}},{"text": "[交♂易榜]","color": "green","hoverEvent": {"action": "show_text","contents": {"text": "交易榜","color": "green"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019378"}}]
|
||||||
execute if data storage fz.installed {scoreboards: 1b} if score 总破基岩数 bedrockBreaked matches 1.. run tellraw @s [{"text": "- "},{"text": "[滑翔距离]", "color": "light_purple", "hoverEvent": {"action": "show_text","contents": {"text": "滑翔距离", "color": "light_purple"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019368"}},{"text": "[破基岩榜]","color": "dark_green","hoverEvent": {"action": "show_text","contents": {"text": "破基岩榜","color": "dark_green"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019369"}}]
|
execute if data storage fz.installed {scoreboards: 1b} if score 全员头铁 bedrockBreaked matches 1.. run tellraw @s [{"text": "- "},{"text": "[铁头功]","color": "dark_green","hoverEvent": {"action": "show_text","contents": {"text": "破基岩榜","color": "dark_green"}},"clickEvent": {"action": "run_command","value": "/trigger config set 1838019369"}}]
|
||||||
|
|||||||
@@ -3,6 +3,6 @@
|
|||||||
scoreboard players enable @a config
|
scoreboard players enable @a config
|
||||||
#每条子函数都要reset config分数和function fz:config/display
|
#每条子函数都要reset config分数和function fz:config/display
|
||||||
execute if data storage fz.installed {sweeper: 1b} as @a if score @s config matches 1478966200..1478966217 run function fz:sweeper/config/trigger
|
execute if data storage fz.installed {sweeper: 1b} as @a if score @s config matches 1478966200..1478966217 run function fz:sweeper/config/trigger
|
||||||
execute if data storage fz.installed {scoreboards: 1b} as @a if score @s config matches 1838019368..1838019379 run function fz:scoreboards/config
|
execute if data storage fz.installed {scoreboards: 1b} as @a if score @s config matches 1838019369..1838019379 run function fz:scoreboards/config
|
||||||
#循环执行本函数
|
#循环执行本函数
|
||||||
schedule function fz:config/main 1t
|
schedule function fz:config/main 1t
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
#安装血量显示
|
#安装血量显示
|
||||||
#初始化
|
#初始化
|
||||||
scoreboard objectives add Health health {"text": "HP"}
|
scoreboard objectives add Health health {"text": "cm","color": "yellow"}
|
||||||
scoreboard objectives modify Health rendertype hearts
|
scoreboard objectives modify Health rendertype hearts
|
||||||
scoreboard objectives setdisplay list Health
|
scoreboard objectives setdisplay list Health
|
||||||
scoreboard objectives setdisplay belowName Health
|
scoreboard objectives setdisplay belowName Health
|
||||||
|
|||||||
@@ -3,8 +3,6 @@
|
|||||||
scoreboard objectives add parameter dummy
|
scoreboard objectives add parameter dummy
|
||||||
#用于数学计算的记分板
|
#用于数学计算的记分板
|
||||||
scoreboard objectives add calculator dummy
|
scoreboard objectives add calculator dummy
|
||||||
scoreboard players set 200 calculator 200
|
|
||||||
scoreboard players set 100 calculator 100
|
|
||||||
scoreboard players set 10 calculator 10
|
scoreboard players set 10 calculator 10
|
||||||
scoreboard players set 1 calculator 1
|
scoreboard players set 1 calculator 1
|
||||||
#检测玩家退出游戏的记分板
|
#检测玩家退出游戏的记分板
|
||||||
@@ -18,28 +16,15 @@ function fz:login/logintips/install
|
|||||||
function fz:carpet/carpet
|
function fz:carpet/carpet
|
||||||
#版本信息
|
#版本信息
|
||||||
data merge storage fz.installed {installed: 1b}
|
data merge storage fz.installed {installed: 1b}
|
||||||
data merge storage fz {version: 2.1.2}
|
data merge storage fz {version: 2.0.3}
|
||||||
data merge storage fz {date: 2020-7.21}
|
data merge storage fz {date: 2020-1.17}
|
||||||
data merge storage fz {time: "1:14"}
|
data merge storage fz {time: "18:21"}
|
||||||
##data merge storage fz {snapshot: -SNAPSHOT}
|
##data merge storage fz {snapshot: -SNAPSHOT}
|
||||||
data remove storage fz snapshot
|
data remove storage fz snapshot
|
||||||
|
tellraw @a {"text": "[信息]启动完毕","color": "#5fff00"}
|
||||||
#提示已安装
|
#提示已安装
|
||||||
tellraw @a {"text": "[信息]安装完成!","color": "#5fff00"}
|
tellraw @a {"text": "[信息]安装完成!","color": "#5fff00"}
|
||||||
#测试用的输出
|
|
||||||
tellraw @a {"text": "[信息]启动完毕","color": "#5fff00"}
|
|
||||||
#info: #5fff00 信息
|
#info: #5fff00 信息
|
||||||
#alert: #d7ff00 提醒
|
#alert: #d7ff00 提醒
|
||||||
#warn: #ffd900 警告
|
#warn: #ffd900 警告
|
||||||
#error: #ff6100 错误
|
#error: #ff6100 错误
|
||||||
|
|
||||||
#抖M名单 - 受伤害榜
|
|
||||||
#钩直饵咸 - 钓鱼榜
|
|
||||||
#交♂易榜 - 交易榜
|
|
||||||
#铁头功 - 破基岩榜
|
|
||||||
|
|
||||||
#群p抖M - 总受伤害量
|
|
||||||
#全部木大 - 总死亡数
|
|
||||||
#总交♂易数 - 总交易数
|
|
||||||
#全员头铁 - 总破基岩数
|
|
||||||
|
|
||||||
#{"text": "cm","color": "yellow"} - {"text": "HP"}
|
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
#如果未安装且未卸载则安装
|
#如果未安装且未卸载则安装
|
||||||
execute unless data storage fz.installed {installed: 1b} unless data storage fz.installed {installed: 0b} run function fz:install
|
execute unless data storage fz.installed {installed: 1b} unless data storage fz.installed {installed: 0b} run function fz:install
|
||||||
#如果版本正确且已安装则开始运行
|
#如果版本正确且已安装则开始运行
|
||||||
execute if data storage fz {version: 2.1.2} if data storage fz.installed {installed: 1b} run function fz:start
|
execute if data storage fz {version: 2.0.3} if data storage fz.installed {installed: 1b} run function fz:start
|
||||||
#如果版本不符则更新
|
#如果版本不符则更新
|
||||||
execute unless data storage fz {version: 2.1.2} run function fz:update
|
execute unless data storage fz {version: 2.0.3} run function fz:update
|
||||||
#输出版本信息
|
#输出版本信息
|
||||||
tellraw @a [{"text": "[版本信息]FZ's Datapack-","color": "#ffd900"},{"nbt":"version","storage":"fz","color": "#ffd900"},{"nbt": "snapshot", "storage": "fz","color": "red"}]
|
tellraw @a [{"text": "[版本信息]FZ's Datapack-","color": "#ffd900"},{"nbt":"version","storage":"fz","color": "#ffd900"},{"nbt": "snapshot", "storage": "fz","color": "red"}]
|
||||||
@@ -10,7 +10,6 @@ advancement revoke @s only fz:scoreboards/killcounter
|
|||||||
advancement revoke @s only fz:scoreboards/tradingcounter
|
advancement revoke @s only fz:scoreboards/tradingcounter
|
||||||
advancement revoke @s only fz:scoreboards/digcounter/digtrigger
|
advancement revoke @s only fz:scoreboards/digcounter/digtrigger
|
||||||
advancement revoke @s only fz:scoreboards/digcounter/toolsfix
|
advancement revoke @s only fz:scoreboards/digcounter/toolsfix
|
||||||
advancement revoke @s only fz:scoreboards/digcounter/toolsfix2
|
|
||||||
advancement revoke @s only fz:config/sneak
|
advancement revoke @s only fz:config/sneak
|
||||||
advancement revoke @s only fz:config/unsneak
|
advancement revoke @s only fz:config/unsneak
|
||||||
|
|
||||||
|
|||||||
@@ -1,11 +0,0 @@
|
|||||||
#计算滑翔距离和总榜
|
|
||||||
#判断条件用于排除地毯小人
|
|
||||||
execute unless score @s carpetBot matches 1 run scoreboard players operation @s fz.aviateOneTime = @s fz.aviateCounter
|
|
||||||
execute unless score @s carpetBot matches 1 run scoreboard players operation @s fz.aviateOneTime /= 200 calculator
|
|
||||||
execute unless score @s carpetBot matches 1 run scoreboard players operation @s fz.aviate1m += @s fz.aviateOneTime
|
|
||||||
execute unless score @s carpetBot matches 1 run scoreboard players operation 总滑翔距离 fz.aviate1m += @s fz.aviateOneTime
|
|
||||||
execute unless score @s carpetBot matches 1 run scoreboard players operation 总滑翔距离 totalList += @s fz.aviateOneTime
|
|
||||||
#重置滑翔探测记分板
|
|
||||||
scoreboard players operation @s fz.aviateCounter %= 200 calculator
|
|
||||||
#重置触发该函数的成就
|
|
||||||
advancement revoke @s only fz:scoreboards/aviate1m
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
#将交易榜显示给轮播记分板的队伍(金队)
|
|
||||||
scoreboard objectives setdisplay sidebar.team.gold fz.aviate1m
|
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
#计算受破基岩量和总榜
|
#计算受破基岩量和总榜
|
||||||
#判断条件用于排除地毯小人
|
#判断条件用于排除地毯小人
|
||||||
execute unless score @s carpetBot matches 1 run scoreboard players operation @s bedrockBreaked += @s fz.bbl
|
execute unless score @s carpetBot matches 1 run scoreboard players operation @s bedrockBreaked += @s fz.bbl
|
||||||
execute unless score @s carpetBot matches 1 run scoreboard players operation 总破基岩数 bedrockBreaked += @s fz.bbl
|
execute unless score @s carpetBot matches 1 run scoreboard players operation 全员头铁 bedrockBreaked += @s fz.bbl
|
||||||
execute unless score @s carpetBot matches 1 run scoreboard players operation 总破基岩数 totalList += @s fz.bbl
|
execute unless score @s carpetBot matches 1 run scoreboard players operation 全员头铁 totalList += @s fz.bbl
|
||||||
scoreboard players reset @s fz.bbl
|
execute unless score @s carpetBot matches 1 run scoreboard players reset @s fz.bbl
|
||||||
#重置触发该函数的成就
|
#重置触发该函数的成就
|
||||||
advancement revoke @s only fz:scoreboards/bedrockbreaked
|
advancement revoke @s only fz:scoreboards/bedrockbreaked
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
#将破基岩榜显示给轮播计分板的队伍(金队)
|
#将破基岩榜显示给轮播计分板的队伍(金队)
|
||||||
scoreboard objectives setdisplay sidebar.team.gold bedrockBreaked
|
scoreboard objectives setdisplay sidebar.team.dark_gray bedrockBreaked
|
||||||
@@ -10,7 +10,6 @@ execute if score @s config matches 1838019377 run team join red
|
|||||||
execute if score @s config matches 1838019378 run team join green
|
execute if score @s config matches 1838019378 run team join green
|
||||||
execute if score @s config matches 1838019379 run team join dark_aqua
|
execute if score @s config matches 1838019379 run team join dark_aqua
|
||||||
execute if score @s config matches 1838019369 run team join dark_green
|
execute if score @s config matches 1838019369 run team join dark_green
|
||||||
execute if score @s config matches 1838019368 run team join light_purple
|
|
||||||
#每条子函数都要reset config分数和function fz:config/display
|
#每条子函数都要reset config分数和function fz:config/display
|
||||||
scoreboard players reset @s config
|
scoreboard players reset @s config
|
||||||
function fz:config/display
|
function fz:config/display
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
#判断条件用于排除地毯小人
|
#判断条件用于排除地毯小人
|
||||||
execute unless score @s carpetBot matches 1 run scoreboard players operation @s 10xDamageTaken /= 10 calculator
|
execute unless score @s carpetBot matches 1 run scoreboard players operation @s 10xDamageTaken /= 10 calculator
|
||||||
execute unless score @s carpetBot matches 1 run scoreboard players operation @s damageTaken += @s 10xDamageTaken
|
execute unless score @s carpetBot matches 1 run scoreboard players operation @s damageTaken += @s 10xDamageTaken
|
||||||
execute unless score @s carpetBot matches 1 run scoreboard players operation 总受伤害量 damageTaken += @s 10xDamageTaken
|
execute unless score @s carpetBot matches 1 run scoreboard players operation 群p抖M damageTaken += @s 10xDamageTaken
|
||||||
execute unless score @s carpetBot matches 1 run scoreboard players operation 总受伤害量 totalList += @s 10xDamageTaken
|
execute unless score @s carpetBot matches 1 run scoreboard players operation 群p抖M totalList += @s 10xDamageTaken
|
||||||
#重置伤害探测记分板
|
#重置伤害探测记分板
|
||||||
scoreboard players reset @s 10xDamageTaken
|
scoreboard players reset @s 10xDamageTaken
|
||||||
#重置触发该函数的成就
|
#重置触发该函数的成就
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
#计算死亡数和总榜
|
#计算死亡数和总榜
|
||||||
#判断条件用于排除地毯小人
|
#判断条件用于排除地毯小人
|
||||||
execute unless score @s carpetBot matches 1 run scoreboard players operation @s deathCounter += @s deathTester
|
execute unless score @s carpetBot matches 1 run scoreboard players operation @s deathCounter += @s deathTester
|
||||||
execute unless score @s carpetBot matches 1 run scoreboard players operation 总死亡数 deathCounter += @s deathTester
|
execute unless score @s carpetBot matches 1 run scoreboard players operation 全部木大 deathCounter += @s deathTester
|
||||||
execute unless score @s carpetBot matches 1 run scoreboard players operation 总死亡数 totalList += @s deathTester
|
execute unless score @s carpetBot matches 1 run scoreboard players operation 全部木大 totalList += @s deathTester
|
||||||
#重置死亡探测记分板
|
#重置死亡探测记分板
|
||||||
scoreboard players reset @s deathTester
|
scoreboard players reset @s deathTester
|
||||||
#重置触发该函数的成就
|
#重置触发该函数的成就
|
||||||
|
|||||||
@@ -8,6 +8,5 @@ scoreboard objectives remove damageTaken
|
|||||||
scoreboard objectives remove activation
|
scoreboard objectives remove activation
|
||||||
scoreboard objectives remove totalList
|
scoreboard objectives remove totalList
|
||||||
scoreboard objectives remove bedrockBreaked
|
scoreboard objectives remove bedrockBreaked
|
||||||
scoreboard objectives remove fz.aviate1m
|
|
||||||
#提示已删除
|
#提示已删除
|
||||||
tellraw @a {"text": "[信息]计分板数据已删除","color": "#5fff00"}
|
tellraw @a {"text": "[信息]计分板数据已删除","color": "#5fff00"}
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
#为digtrigger函数修正非挖掘的使用带来的加分(对一些方块使用工具)
|
#为digtrigger函数修正非挖掘的使用带来的加分(对方快使用工具或击打实体)
|
||||||
#判断条件用于排除地毯小人
|
#判断条件用于排除地毯小人
|
||||||
execute unless score @s carpetBot matches 1 run scoreboard players remove @s digCounter 1
|
execute unless score @s carpetBot matches 1 run scoreboard players remove @s digCounter 1
|
||||||
execute unless score @s carpetBot matches 1 run scoreboard players remove 总挖掘量 digCounter 1
|
execute unless score @s carpetBot matches 1 run scoreboard players remove 总挖掘量 digCounter 1
|
||||||
execute unless score @s carpetBot matches 1 run scoreboard players remove 总挖掘量 totalList 1
|
execute unless score @s carpetBot matches 1 run scoreboard players remove 总挖掘量 totalList 1
|
||||||
|
#重置探测右键使用工具的成就
|
||||||
advancement revoke @s only fz:scoreboards/digcounter/toolsfix
|
advancement revoke @s only fz:scoreboards/digcounter/toolsfix
|
||||||
#铲子和锄头的方块判断居然只响应产物不响应原方块,更离谱的是斧头两者会同时相应
|
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
#为digtrigger函数修正非挖掘的使用带来的加分(使用工具攻击实体)
|
#为digtrigger函数修正非挖掘的使用带来的加分(右键副手放置时主手有工具)
|
||||||
#判断条件用于排除地毯小人
|
#判断条件用于排除地毯小人
|
||||||
execute unless score @s carpetBot matches 1 run scoreboard players remove @s digCounter 1
|
execute unless score @s carpetBot matches 1 run scoreboard players add @s digCounter 1
|
||||||
execute unless score @s carpetBot matches 1 run scoreboard players remove 总挖掘量 digCounter 1
|
execute unless score @s carpetBot matches 1 run scoreboard players add 总挖掘量 digCounter 1
|
||||||
execute unless score @s carpetBot matches 1 run scoreboard players remove 总挖掘量 totalList 1
|
execute unless score @s carpetBot matches 1 run scoreboard players add 总挖掘量 totalList 1
|
||||||
|
#重置探测右键副手放置时主手有工具的成就
|
||||||
advancement revoke @s only fz:scoreboards/digcounter/toolsfix2
|
advancement revoke @s only fz:scoreboards/digcounter/toolsfix2
|
||||||
@@ -39,21 +39,17 @@ scoreboard objectives add damageTaken dummy
|
|||||||
scoreboard objectives add activation dummy
|
scoreboard objectives add activation dummy
|
||||||
scoreboard objectives add totalList dummy
|
scoreboard objectives add totalList dummy
|
||||||
scoreboard objectives add bedrockBreaked dummy
|
scoreboard objectives add bedrockBreaked dummy
|
||||||
scoreboard objectives add fz.bbl dummy
|
scoreboard objectives add fz.bbl dummy
|
||||||
scoreboard objectives add fz.aviate1m dummy
|
|
||||||
scoreboard objectives add fz.aviateCounter minecraft.custom:aviate_one_cm
|
|
||||||
scoreboard objectives add fz.aviateOneTime dummy
|
|
||||||
|
|
||||||
scoreboard objectives modify activation displayname {"text": "活跃时间(h)","color": "aqua"}
|
scoreboard objectives modify activation displayname {"text": "活跃时间(h)","color": "aqua"}
|
||||||
scoreboard objectives modify damageTaken displayname {"text": "受伤害榜","color": "yellow"}
|
scoreboard objectives modify damageTaken displayname {"text": "抖M名单","color": "yellow"}
|
||||||
scoreboard objectives modify deathCounter displayname {"text": "死亡榜","color": "dark_red"}
|
scoreboard objectives modify deathCounter displayname {"text": "死亡榜","color": "dark_red"}
|
||||||
scoreboard objectives modify digCounter displayname {"text": "挖掘榜","color": "gray"}
|
scoreboard objectives modify digCounter displayname {"text": "挖掘榜","color": "gray"}
|
||||||
scoreboard objectives modify fishingCounter displayname {"text": "钓鱼榜","color": "blue"}
|
scoreboard objectives modify fishingCounter displayname {"text": "钩直饵咸","color": "blue"}
|
||||||
scoreboard objectives modify killCounter displayname {"text": "击杀榜","color": "red"}
|
scoreboard objectives modify killCounter displayname {"text": "击杀榜","color": "red"}
|
||||||
scoreboard objectives modify tradingCounter displayname {"text": "交易榜","color": "green"}
|
scoreboard objectives modify tradingCounter displayname {"text": "交♂易榜","color": "green"}
|
||||||
scoreboard objectives modify totalList displayname {"text": "总 量","color": "dark_aqua"}
|
scoreboard objectives modify totalList displayname {"text": "总 量","color": "dark_aqua"}
|
||||||
scoreboard objectives modify bedrockBreaked displayname {"text": "破基岩榜","color": "dark_green"}
|
scoreboard objectives modify bedrockBreaked displayname {"text": "铁头功","color": "dark_green"}
|
||||||
scoreboard objectives modify fz.aviate1m displayname {"text": "滑翔距离","color": "light_purple"}
|
|
||||||
|
|
||||||
team add gold
|
team add gold
|
||||||
team add aqua
|
team add aqua
|
||||||
@@ -65,8 +61,6 @@ team add red
|
|||||||
team add green
|
team add green
|
||||||
team add dark_aqua
|
team add dark_aqua
|
||||||
team add dark_green
|
team add dark_green
|
||||||
team add light_purple
|
|
||||||
|
|
||||||
team modify gold color gold
|
team modify gold color gold
|
||||||
team modify aqua color aqua
|
team modify aqua color aqua
|
||||||
team modify yellow color yellow
|
team modify yellow color yellow
|
||||||
@@ -77,35 +71,31 @@ team modify red color red
|
|||||||
team modify dark_aqua color dark_aqua
|
team modify dark_aqua color dark_aqua
|
||||||
team modify green color green
|
team modify green color green
|
||||||
team modify dark_green color dark_green
|
team modify dark_green color dark_green
|
||||||
team modify light_purple color light_purple
|
|
||||||
|
|
||||||
team join aqua 总在线时间(h)
|
team join aqua 总在线时间(h)
|
||||||
team join yellow 总受伤害量
|
team join yellow 群p抖M
|
||||||
team join dark_red 总死亡数
|
team join dark_red 全部木大
|
||||||
team join gray 总挖掘量
|
team join gray 总挖掘量
|
||||||
team join blue 总钓鱼数
|
team join blue 总钓鱼数
|
||||||
team join red 总击杀数
|
team join red 总击杀数
|
||||||
team join green 总交易数
|
team join green 总交♂易数
|
||||||
team join dark_green 总破基岩数
|
team join dark_green 全员头铁
|
||||||
team join light_purple 总滑翔距离
|
|
||||||
#各计分板的总量
|
#各计分板的总量
|
||||||
scoreboard players operation 总在线时间(h) activation = 总在线时间(h) activation
|
scoreboard players operation 总在线时间(h) activation = 总在线时间(h) activation
|
||||||
scoreboard players operation 总受伤害量 damageTaken = 总受伤害量 damageTaken
|
scoreboard players operation 群p抖M damageTaken = 群p抖M damageTaken
|
||||||
scoreboard players operation 总死亡数 deathCounter = 总死亡数 deathCounter
|
scoreboard players operation 全部木大 deathCounter = 全部木大 deathCounter
|
||||||
scoreboard players operation 总挖掘量 digCounter = 总挖掘量 digCounter
|
scoreboard players operation 总挖掘量 digCounter = 总挖掘量 digCounter
|
||||||
scoreboard players operation 总钓鱼数 fishingCounter = 总钓鱼数 fishingCounter
|
scoreboard players operation 总钓鱼数 fishingCounter = 总钓鱼数 fishingCounter
|
||||||
scoreboard players operation 总击杀数 killCounter = 总击杀数 killCounter
|
scoreboard players operation 总击杀数 killCounter = 总击杀数 killCounter
|
||||||
scoreboard players operation 总交易数 tradingCounter = 总交易数 tradingCounter
|
scoreboard players operation 总交♂易数 tradingCounter = 总交♂易数 tradingCounter
|
||||||
scoreboard players operation 总滑翔距离 fz.aviate1m = 总滑翔距离 fz.aviate1m
|
|
||||||
#总榜的总量
|
#总榜的总量
|
||||||
scoreboard players operation 总在线时间(h) totalList = 总在线时间(h) totalList
|
scoreboard players operation 总在线时间(h) totalList = 总在线时间(h) totalList
|
||||||
scoreboard players operation 总受伤害量 totalList = 总受伤害量 totalList
|
scoreboard players operation 群p抖M totalList = 群p抖M totalList
|
||||||
scoreboard players operation 总死亡数 totalList = 总死亡数 totalList
|
scoreboard players operation 全部木大 totalList = 全部木大 totalList
|
||||||
scoreboard players operation 总挖掘量 totalList = 总挖掘量 totalList
|
scoreboard players operation 总挖掘量 totalList = 总挖掘量 totalList
|
||||||
scoreboard players operation 总钓鱼数 totalList = 总钓鱼数 totalList
|
scoreboard players operation 总钓鱼数 totalList = 总钓鱼数 totalList
|
||||||
scoreboard players operation 总击杀数 totalList = 总击杀数 totalList
|
scoreboard players operation 总击杀数 totalList = 总击杀数 totalList
|
||||||
scoreboard players operation 总交易数 totalList = 总交易数 totalList
|
scoreboard players operation 总交♂易数 totalList = 总交♂易数 totalList
|
||||||
scoreboard players operation 总滑翔距离 totalList = 总滑翔距离 totalList
|
|
||||||
|
|
||||||
scoreboard objectives setdisplay sidebar.team.aqua activation
|
scoreboard objectives setdisplay sidebar.team.aqua activation
|
||||||
scoreboard objectives setdisplay sidebar.team.yellow damageTaken
|
scoreboard objectives setdisplay sidebar.team.yellow damageTaken
|
||||||
@@ -116,7 +106,6 @@ scoreboard objectives setdisplay sidebar.team.red killCounter
|
|||||||
scoreboard objectives setdisplay sidebar.team.dark_aqua totalList
|
scoreboard objectives setdisplay sidebar.team.dark_aqua totalList
|
||||||
scoreboard objectives setdisplay sidebar.team.green tradingCounter
|
scoreboard objectives setdisplay sidebar.team.green tradingCounter
|
||||||
scoreboard objectives setdisplay sidebar.team.dark_green bedrockBreaked
|
scoreboard objectives setdisplay sidebar.team.dark_green bedrockBreaked
|
||||||
scoreboard objectives setdisplay sidebar.team.light_purple fz.aviate1m
|
|
||||||
|
|
||||||
data merge storage fz.installed {scoreboards:1b}
|
data merge storage fz.installed {scoreboards:1b}
|
||||||
|
|
||||||
|
|||||||
@@ -5,8 +5,7 @@ schedule function fz:scoreboards/tradingcounter/setdisplay 30s replace
|
|||||||
schedule function fz:scoreboards/fishingcounter/setdisplay 40s replace
|
schedule function fz:scoreboards/fishingcounter/setdisplay 40s replace
|
||||||
schedule function fz:scoreboards/damagetaken/setdisplay 50s replace
|
schedule function fz:scoreboards/damagetaken/setdisplay 50s replace
|
||||||
schedule function fz:scoreboards/activation/setdisplay 60s replace
|
schedule function fz:scoreboards/activation/setdisplay 60s replace
|
||||||
schedule function fz:scoreboards/aviate1m/setdisplay 70s replace
|
schedule function fz:scoreboards/totallist 70s replace
|
||||||
schedule function fz:scoreboards/totallist 80s replace
|
execute if score 全员头铁 bedrockBreaked matches 1.. run schedule function fz:scoreboards/bedrockbreaked/setdisplay 80s replace
|
||||||
execute if score 总破基岩数 bedrockBreaked matches 1.. run schedule function fz:scoreboards/bedrockbreaked/setdisplay 90s replace
|
execute if score 全员头铁 bedrockBreaked matches 1.. run schedule function fz:scoreboards/main 90s replace
|
||||||
execute if score 总破基岩数 bedrockBreaked matches 1.. run schedule function fz:scoreboards/main 100s replace
|
execute unless score 全员头铁 bedrockBreaked matches 1.. run schedule function fz:scoreboards/main 80s replace
|
||||||
execute unless score 总破基岩数 bedrockBreaked matches 1.. run schedule function fz:scoreboards/main 90s replace
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
#计算交易榜和总榜
|
#计算交易榜和总榜
|
||||||
scoreboard players add @s tradingCounter 1
|
scoreboard players add @s tradingCounter 1
|
||||||
scoreboard players add 总交易数 tradingCounter 1
|
scoreboard players add 总交♂易数 tradingCounter 1
|
||||||
scoreboard players add 总交易数 totalList 1
|
scoreboard players add 总交♂易数 totalList 1
|
||||||
#重置触发该函数的成就,地毯小人已在成就里排除
|
#重置触发该函数的成就,地毯小人已在成就里排除
|
||||||
advancement revoke @s only fz:scoreboards/tradingcounter
|
advancement revoke @s only fz:scoreboards/tradingcounter
|
||||||
@@ -35,13 +35,11 @@ scoreboard objectives remove usedNetAxe
|
|||||||
scoreboard objectives remove usedNetPickaxe
|
scoreboard objectives remove usedNetPickaxe
|
||||||
scoreboard objectives remove usedNetShovel
|
scoreboard objectives remove usedNetShovel
|
||||||
scoreboard objectives remove usedNetHoe
|
scoreboard objectives remove usedNetHoe
|
||||||
|
|
||||||
scoreboard objectives remove fz.bbl
|
scoreboard objectives remove fz.bbl
|
||||||
|
|
||||||
scoreboard objectives remove deathTester
|
scoreboard objectives remove deathTester
|
||||||
scoreboard objectives remove fishingTester
|
scoreboard objectives remove fishingTester
|
||||||
scoreboard objectives remove 10xDamageTaken
|
scoreboard objectives remove 10xDamageTaken
|
||||||
scoreboard objectives remove fz.aviateCounter
|
|
||||||
scoreboard objectives remove fz.aviateOneTime
|
|
||||||
|
|
||||||
scoreboard objectives setdisplay sidebar.team.aqua
|
scoreboard objectives setdisplay sidebar.team.aqua
|
||||||
scoreboard objectives setdisplay sidebar.team.yellow
|
scoreboard objectives setdisplay sidebar.team.yellow
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"pack": {
|
"pack": {
|
||||||
"description": "FZ's Datapack - Code By Harvey_Husky",
|
"description": "FZ's Datapack - Code By Harvey_kang",
|
||||||
"pack_format": 7
|
"pack_format": 6
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+19
-45
@@ -1,10 +1,10 @@
|
|||||||
global_version = '1.3.0';
|
global_version = '1.1.1';
|
||||||
__config() -> {
|
__config() -> {
|
||||||
'scope' -> 'global',
|
'scope' -> 'global',
|
||||||
'stay_loaded' -> false
|
'stay_loaded' -> false
|
||||||
};
|
};
|
||||||
__command() -> print('版本:' + global_version);
|
__command() -> print('版本:' + global_version);
|
||||||
global_bl = ['stone', 'granite', 'polished_granite', 'diorite', 'polished_diorite', 'andesite', 'polished_andesite', 'grass_block',
|
global_bl = l('stone', 'granite', 'polished_granite', 'diorite', 'polished_diorite', 'andesite', 'polished_andesite', 'grass_block',
|
||||||
'dirt', 'coarse_dirt', 'podzol', 'crimson_nylium', 'warped_nylium', 'cobblestone', 'oak_planks', 'spruce_planks', 'birch_planks',
|
'dirt', 'coarse_dirt', 'podzol', 'crimson_nylium', 'warped_nylium', 'cobblestone', 'oak_planks', 'spruce_planks', 'birch_planks',
|
||||||
'jungle_planks', 'acacia_planks', 'dark_oak_planks', 'crimson_planks', 'warped_planks', 'sand', 'red_sand', 'gravel', 'gold_ore',
|
'jungle_planks', 'acacia_planks', 'dark_oak_planks', 'crimson_planks', 'warped_planks', 'sand', 'red_sand', 'gravel', 'gold_ore',
|
||||||
'iron_ore', 'coal_ore', 'nether_gold_ore', 'oak_log', 'spruce_log', 'birch_log', 'jungle_log', 'acacia_log', 'dark_oak_log',
|
'iron_ore', 'coal_ore', 'nether_gold_ore', 'oak_log', 'spruce_log', 'birch_log', 'jungle_log', 'acacia_log', 'dark_oak_log',
|
||||||
@@ -101,31 +101,10 @@ global_bl = ['stone', 'granite', 'polished_granite', 'diorite', 'polished_diorit
|
|||||||
'light_weighted_pressure_plate', 'heavy_weighted_pressure_plate', 'daylight_detector', 'redstone_block', 'hopper', 'dropper',
|
'light_weighted_pressure_plate', 'heavy_weighted_pressure_plate', 'daylight_detector', 'redstone_block', 'hopper', 'dropper',
|
||||||
'iron_trapdoor', 'observer', 'iron_door', 'oak_door', 'spruce_door', 'birch_door', 'jungle_door', 'acacia_door', 'dark_oak_door',
|
'iron_trapdoor', 'observer', 'iron_door', 'oak_door', 'spruce_door', 'birch_door', 'jungle_door', 'acacia_door', 'dark_oak_door',
|
||||||
'crimson_door', 'warped_door', 'repeater', 'comparator', 'redstone', 'lectern', 'target', 'powered_rail', 'detector_rail',
|
'crimson_door', 'warped_door', 'repeater', 'comparator', 'redstone', 'lectern', 'target', 'powered_rail', 'detector_rail',
|
||||||
'rail', 'activator_rail', 'beacon', 'turtle_egg', 'conduit', 'brewing_stand', 'cauldron', 'sculk_sensor', 'raw_iron_block',
|
'rail', 'activator_rail', 'beacon', 'turtle_egg', 'conduit', 'brewing_stand', 'cauldron'
|
||||||
'raw_copper_block', 'raw_gold_block', 'powder_snow', 'candle', 'deepslate_coal_ore', 'deepslate_iron_ore', 'deepslate_copper_ore',
|
);
|
||||||
'deepslate_lapis_ore', 'deepslate_gold_ore', 'deepslate_redstone_ore', 'deepslate_diamond_ore', 'deepslate_emerald_ore',
|
|
||||||
'cobbled_deepslate', 'infested_stone', 'infested_cobblestone', 'infested_stone_bricks', 'infested_cracked_stone_bricks',
|
|
||||||
'infested_mossy_stone_bricks', 'infested_chiseled_stone_bricks', 'infested_deepslate', 'deepslate', 'chiseled_deepslate',
|
|
||||||
'polished_deepslate', 'spore_blossom', 'hanging_roots', 'rooted_dirt', 'dirt_path', 'farmland', 'wall_torch', 'tall_grass',
|
|
||||||
'tall_seagrass', 'big_dripleaf', 'small_dripleaf', 'glow_berries', 'cave_vines', 'cave_vines_plant', 'moss_carpet', 'moss_block',
|
|
||||||
'flowering_azalea_leaves', 'azalea_leaves', 'azalea', 'flowering_azalea', 'glow_lichen', 'dripstone_block', 'pointed_dripstone',
|
|
||||||
'lightning_rod', 'cobbled_deepslate_stairs', 'polished_deepslate_stairs', 'deepslate_brick_stairs', 'deepslate_tile_stairs',
|
|
||||||
'cut_copper_stairs', 'exposed_cut_copper_stairs', 'weathered_cut_copper_stairs', 'oxidized_cut_copper_stairs',
|
|
||||||
'waxed_cut_copper_stairs', 'waxed_exposed_cut_copper_stairs', 'waxed_weathered_cut_copper_stairs',
|
|
||||||
'waxed_oxidized_cut_copper_stairs', 'cobbled_deepslate_slab', 'polished_deepslate_slab', 'deepslate_brick_slab',
|
|
||||||
'deepslate_tile_slab', 'cut_copper_slab', 'exposed_cut_copper_slab', 'weathered_cut_copper_slab', 'oxidized_cut_copper_slab',
|
|
||||||
'waxed_cut_copper_slab', 'waxed_exposed_cut_copper_slab', 'waxed_weathered_cut_copper_slab', 'waxed_oxidized_cut_copper_slab',
|
|
||||||
'copper_block', 'exposed_copper', 'weathered_copper', 'oxidized_copper', 'cut_copper', 'exposed_cut_copper',
|
|
||||||
'weathered_cut_copper', 'oxidized_cut_copper', 'waxed_copper_block', 'waxed_exposed_copper', 'waxed_weathered_copper',
|
|
||||||
'waxed_oxidized_copper', 'waxed_cut_copper', 'waxed_exposed_cut_copper', 'waxed_weathered_cut_copper', 'waxed_oxidized_cut_copper',
|
|
||||||
'copper_ore', 'tinted_glass', 'smooth_basalt', 'calcite', 'amethyst_block', 'budding_amethyst', 'amethyst_cluster',
|
|
||||||
'small_amethyst_bud', 'medium_amethyst_bud', 'large_amethyst_bud', 'amethyst_cluster', 'tuff', 'white_candle', 'orange_candle',
|
|
||||||
'magenta_candle', 'light_blue_candle', 'yellow_candle', 'lime_candle', 'pink_candle', 'gray_candle', 'light_gray_candle',
|
|
||||||
'cyan_candle', 'purple_candle', 'blue_candle', 'brown_candle', 'green_candle', 'red_candle', 'black_candle'
|
|
||||||
];
|
|
||||||
__restore(pl, s_player) ->(
|
__restore(pl, s_player) ->(
|
||||||
scoreboard_remove('fz.aviate1m');
|
scoreboard_remove('killCounter');
|
||||||
scoreboard_remove('killCounter');
|
|
||||||
scoreboard_remove('digCounter');
|
scoreboard_remove('digCounter');
|
||||||
scoreboard_remove('deathCounter');
|
scoreboard_remove('deathCounter');
|
||||||
scoreboard_remove('tradingCounter');
|
scoreboard_remove('tradingCounter');
|
||||||
@@ -133,7 +112,6 @@ __restore(pl, s_player) ->(
|
|||||||
scoreboard_remove('damageTaken');
|
scoreboard_remove('damageTaken');
|
||||||
scoreboard_remove('activation');
|
scoreboard_remove('activation');
|
||||||
scoreboard_remove('totalList');
|
scoreboard_remove('totalList');
|
||||||
scoreboard_add('fz.aviate1m');
|
|
||||||
scoreboard_add('killCounter');
|
scoreboard_add('killCounter');
|
||||||
scoreboard_add('digCounter');
|
scoreboard_add('digCounter');
|
||||||
scoreboard_add('deathCounter');
|
scoreboard_add('deathCounter');
|
||||||
@@ -149,21 +127,15 @@ __restore(pl, s_player) ->(
|
|||||||
total_killed = 0;
|
total_killed = 0;
|
||||||
total_traded = 0;
|
total_traded = 0;
|
||||||
total_hurt = 0;
|
total_hurt = 0;
|
||||||
total_aviate = 0;
|
|
||||||
c_for(i = 0, i < length(pl), i += 1,
|
c_for(i = 0, i < length(pl), i += 1,
|
||||||
run('player ' + pl:i + ' spawn');
|
run('player ' + pl:i + ' spawn');
|
||||||
game_tick(50);
|
game_tick(50);
|
||||||
//活跃时间
|
//活跃时间
|
||||||
actime = statistic(pl:i, 'custom', 'play_time')/72000;
|
actime = statistic(pl:i, 'custom', 'play_one_minute')/72000;
|
||||||
print(actime);
|
print(actime);
|
||||||
scoreboard('activation', pl:i, actime);
|
scoreboard('activation', pl:i, actime);
|
||||||
total_actime += actime;
|
total_actime += actime;
|
||||||
//滑翔距离
|
//抖M榜
|
||||||
aviate = statistic(pl:i, 'custom', 'aviate_one_cm')/100;
|
|
||||||
print(aviate);
|
|
||||||
scoreboard('fz.aviate1m', pl:i, aviate);
|
|
||||||
total_aviate += aviate;
|
|
||||||
//受伤害榜
|
|
||||||
hurt = statistic(pl:i, 'custom', 'damage_taken')/100;
|
hurt = statistic(pl:i, 'custom', 'damage_taken')/100;
|
||||||
print(hurt);
|
print(hurt);
|
||||||
scoreboard('damageTaken', pl:i, hurt);
|
scoreboard('damageTaken', pl:i, hurt);
|
||||||
@@ -199,31 +171,33 @@ __restore(pl, s_player) ->(
|
|||||||
total_traded += traded;
|
total_traded += traded;
|
||||||
run('player ' + pl:i + ' kill')
|
run('player ' + pl:i + ' kill')
|
||||||
);
|
);
|
||||||
scoreboard('tradingCounter', '总交易数', total_traded);
|
scoreboard('tradingCounter', '总交♂易数', total_traded);
|
||||||
scoreboard('totalList', '总交易数', total_traded);
|
scoreboard('totalList', '总交♂易数', total_traded);
|
||||||
scoreboard('killCounter', '总击杀数', total_killed);
|
scoreboard('killCounter', '总击杀数', total_killed);
|
||||||
scoreboard('totalList', '总击杀数', total_killed);
|
scoreboard('totalList', '总击杀数', total_killed);
|
||||||
scoreboard('fishingCounter', '总钓鱼数', total_fished);
|
scoreboard('fishingCounter', '总钓鱼数', total_fished);
|
||||||
scoreboard('totalList', '总钓鱼数', total_fished);
|
scoreboard('totalList', '总钓鱼数', total_fished);
|
||||||
scoreboard('digCounter', '总挖掘量', total_mined);
|
scoreboard('digCounter', '总挖掘量', total_mined);
|
||||||
scoreboard('totalList', '总挖掘量', total_mined);
|
scoreboard('totalList', '总挖掘量', total_mined);
|
||||||
scoreboard('deathCounter', '总死亡数', total_death);
|
scoreboard('deathCounter', '全部木大', total_death);
|
||||||
scoreboard('totalList', '总死亡数', total_death);
|
scoreboard('totalList', '全部木大', total_death);
|
||||||
scoreboard('activation', '总在线时间(h)', total_actime);
|
scoreboard('activation', '总在线时间(h)', total_actime);
|
||||||
scoreboard('totalList', '总在线时间(h)', total_actime);
|
scoreboard('totalList', '总在线时间(h)', total_actime);
|
||||||
scoreboard('damageTaken', '总受伤害量', total_hurt);
|
scoreboard('damageTaken', '群p抖M', total_hurt);
|
||||||
scoreboard('totalList', '总受伤害量', total_hurt);
|
scoreboard('totalList', '群p抖M', total_hurt);
|
||||||
scoreboard('fz.aviate1m', '总滑翔距离', total_aviate);
|
|
||||||
scoreboard('totalList', '总滑翔距离', total_aviate);
|
|
||||||
game_tick(50);
|
game_tick(50);
|
||||||
print('完成!');
|
|
||||||
run('function fz:scoreboards/install')
|
run('function fz:scoreboards/install')
|
||||||
);
|
);
|
||||||
by_whitelist() ->(
|
by_whitelist() ->(
|
||||||
pl = keys(system_info('server_whitelist'));
|
pl = keys(system_info('server_whitelist'));
|
||||||
s_player = player();
|
s_player = player();
|
||||||
|
//c_for(i = 0, i < length(pl), i += 1,
|
||||||
|
// run('player ' + pl:i + ' spawn at ' + (s_player~'x'+0.1)+ ' ' +s_player~'y'+ ' ' +(s_player~'z'+0.1));
|
||||||
|
//);
|
||||||
game_tick(50);
|
game_tick(50);
|
||||||
__restore(pl, s_player);
|
__restore(pl, s_player);
|
||||||
print('done! ');
|
//c_for(i = 0, i < length(pl), i += 1,
|
||||||
|
// run('player ' + pl:i + ' kill');
|
||||||
|
//);
|
||||||
return()
|
return()
|
||||||
)
|
)
|
||||||
Reference in New Issue
Block a user