Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 52075ad98b | |||
| 2233b3b95d | |||
| 0241f6e5f0 | |||
| 12f5b34329 | |||
| a765aa75b9 | |||
| eb9931ea06 | |||
| 1971888161 | |||
| 82b1f0dcdd | |||
| 79ee77b42d |
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
为FZ服务器写的Minecraft生存辅助数据包
|
为FZ服务器写的Minecraft生存辅助数据包
|
||||||
|
|
||||||
[](https://gitee.com/harvey-husky/FZ-sDatapack/releases) [](https://minecraft.net/)
|
|
||||||
|
[](https://gitee.com/harvey-husky/FZ-sDatapack/releases) [](https://minecraft.net/)
|
||||||
|
|
||||||
|
|
||||||
> 其他版本见[发行页面](https://gitee.com/harvey-husky/FZ-sDatapack/releases)
|
> 其他版本见[发行页面](https://gitee.com/harvey-husky/FZ-sDatapack/releases)
|
||||||
|
|
||||||
@@ -78,7 +80,6 @@
|
|||||||
- ***使用前请务必备份存档!请报告不符预期的结果***
|
- ***使用前请务必备份存档!请报告不符预期的结果***
|
||||||
- ***使用前请务必备份存档!请报告不符预期的结果***
|
- ***使用前请务必备份存档!请报告不符预期的结果***
|
||||||
- ***使用前请务必备份存档!请报告不符预期的结果***
|
- ***使用前请务必备份存档!请报告不符预期的结果***
|
||||||
- `updateFrom <version>`:用于从给定的数据包版本恢复计分板数据(需要测试!)
|
|
||||||
- `recalculate`:重新计算所有计分板总分
|
- `recalculate`:重新计算所有计分板总分
|
||||||
- `recalculate <scoreboardID>`:重新计算该计分板总分
|
- `recalculate <scoreboardID>`:重新计算该计分板总分
|
||||||
- `set <player> <scoreboardID> <score>`:设置该玩家该计分板的分数
|
- `set <player> <scoreboardID> <score>`:设置该玩家该计分板的分数
|
||||||
|
|||||||
@@ -0,0 +1,101 @@
|
|||||||
|
{
|
||||||
|
"condition": "minecraft:any_of",
|
||||||
|
"terms": [
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"type": "item",
|
||||||
|
"nbt": "{Item:{id:\"minecraft:minecart\"}}"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"type": "item",
|
||||||
|
"nbt": "{Item:{id:\"minecraft:hopper_minecart\"}}"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"type": "item",
|
||||||
|
"nbt": "{Item:{id:\"minecraft:chest_minecart\"}}"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"type": "item",
|
||||||
|
"nbt": "{Item:{id:\"minecraft:furnace_minecart\"}}"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"type": "item",
|
||||||
|
"nbt": "{Item:{id:\"minecraft:oak_boat\"}}"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"type": "item",
|
||||||
|
"nbt": "{Item:{id:\"minecraft:birch_boat\"}}"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"type": "item",
|
||||||
|
"nbt": "{Item:{id:\"minecraft:acacia_boat\"}}"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"type": "item",
|
||||||
|
"nbt": "{Item:{id:\"minecraft:cherry_boat\"}}"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"type": "item",
|
||||||
|
"nbt": "{Item:{id:\"minecraft:jungle_boat\"}}"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"type": "item",
|
||||||
|
"nbt": "{Item:{id:\"minecraft:spruce_boat\"}}"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"type": "item",
|
||||||
|
"nbt": "{Item:{id:\"minecraft:mangrove_boat\"}}"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"type": "item",
|
||||||
|
"nbt": "{Item:{id:\"minecraft:bamboo_raft\"}}"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
{
|
||||||
|
"replace": false,
|
||||||
|
"values": [
|
||||||
|
"minecraft:stripped_acacia_log",
|
||||||
|
"minecraft:stripped_acacia_wood",
|
||||||
|
"minecraft:stripped_birch_log",
|
||||||
|
"minecraft:stripped_birch_wood",
|
||||||
|
"minecraft:stripped_crimson_hyphae",
|
||||||
|
"minecraft:stripped_crimson_stem",
|
||||||
|
"minecraft:stripped_dark_oak_log",
|
||||||
|
"minecraft:stripped_dark_oak_wood",
|
||||||
|
"minecraft:stripped_jungle_log",
|
||||||
|
"minecraft:stripped_jungle_wood",
|
||||||
|
"minecraft:stripped_oak_log",
|
||||||
|
"minecraft:stripped_oak_wood",
|
||||||
|
"minecraft:stripped_spruce_log",
|
||||||
|
"minecraft:stripped_spruce_wood",
|
||||||
|
"minecraft:stripped_warped_hyphae",
|
||||||
|
"minecraft:stripped_warped_stem",
|
||||||
|
"minecraft:stripped_cherry_log",
|
||||||
|
"minecraft:stripped_cherry_wood",
|
||||||
|
"minecraft:stripped_mangrove_log",
|
||||||
|
"minecraft:stripped_mangrove_wood"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"replace": false,
|
||||||
|
"values": [
|
||||||
|
"minecraft:armor_stand",
|
||||||
|
"minecraft:boat",
|
||||||
|
"minecraft:shulker_bullet",
|
||||||
|
"minecraft:item_frame",
|
||||||
|
"minecraft:glow_item_frame",
|
||||||
|
"minecraft:painting",
|
||||||
|
"minecraft:end_crystal"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -21,10 +21,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"killing_blow": {
|
|
||||||
"bypasses_invulnerability": false
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
execute store success storage fzsd:version fzsd.need_update byte 1 run data merge storage fzsd:version {fzsd: {version: '3.1.10'}}
|
execute store success storage fzsd:version fzsd.need_update byte 1 run data merge storage fzsd:version {fzsd: {version: '3.1.14'}}
|
||||||
execute if data storage fzsd:version fzsd{need_update: 1b} run function fzsd:system/update
|
execute if data storage fzsd:version fzsd{need_update: 1b} run function fzsd:system/update
|
||||||
function fzsd:system/carpet/try_load_fzsd_score
|
function fzsd:system/carpet/try_load_fzsd_score
|
||||||
function #fzsd:load
|
function #fzsd:load
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
execute store success storage fzsd:version fzsd.need_update byte 1 run data merge storage fzsd:version {fzsd: {version: '3.1.11'}}
|
execute store success storage fzsd:version fzsd.need_update byte 1 run data merge storage fzsd:version {fzsd: {version: '3.1.14'}}
|
||||||
execute if data storage fzsd:version fzsd{need_update: 1b} run function fzsd:system/update
|
execute if data storage fzsd:version fzsd{need_update: 1b} run function fzsd:system/update
|
||||||
function fzsd:system/carpet/try_load_fzsd_score
|
function fzsd:system/carpet/try_load_fzsd_score
|
||||||
function #fzsd:load
|
function #fzsd:load
|
||||||
|
|||||||
@@ -85,6 +85,13 @@
|
|||||||
"nbt": "{Item:{id:\"minecraft:mangrove_boat\"}}"
|
"nbt": "{Item:{id:\"minecraft:mangrove_boat\"}}"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"nbt": "{Item:{id:\"minecraft:pale_oak_boat\"}}"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"condition": "minecraft:entity_properties",
|
"condition": "minecraft:entity_properties",
|
||||||
"entity": "this",
|
"entity": "this",
|
||||||
|
|||||||
@@ -20,6 +20,8 @@
|
|||||||
"minecraft:stripped_cherry_log",
|
"minecraft:stripped_cherry_log",
|
||||||
"minecraft:stripped_cherry_wood",
|
"minecraft:stripped_cherry_wood",
|
||||||
"minecraft:stripped_mangrove_log",
|
"minecraft:stripped_mangrove_log",
|
||||||
"minecraft:stripped_mangrove_wood"
|
"minecraft:stripped_mangrove_wood",
|
||||||
|
"minecraft:stripped_pale_oak_log",
|
||||||
|
"minecraft:stripped_pale_oak_wood"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"replace": false,
|
||||||
|
"values": [
|
||||||
|
"#fzsd:liquid",
|
||||||
|
"minecraft:powder_snow"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
"replace": false,
|
"replace": false,
|
||||||
"values": [
|
"values": [
|
||||||
"minecraft:armor_stand",
|
"minecraft:armor_stand",
|
||||||
"minecraft:boat",
|
"#minecraft:boat",
|
||||||
"minecraft:minecart",
|
"minecraft:minecart",
|
||||||
"minecraft:shulker_bullet",
|
"minecraft:shulker_bullet",
|
||||||
"minecraft:item_frame",
|
"minecraft:item_frame",
|
||||||
|
|||||||
+9
-2
@@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
"pack": {
|
"pack": {
|
||||||
"description": "FZ Survival Datapack 3.1 | Author: Harvey_Husky",
|
"description": "FZ Survival Datapack 3.1 | Author: Harvey_Husky",
|
||||||
"pack_format": 15,
|
"pack_format": 61,
|
||||||
"supported_formats": {
|
"supported_formats": {
|
||||||
"min_inclusive": 15,
|
"min_inclusive": 15,
|
||||||
"max_inclusive": 48
|
"max_inclusive": 61
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"overlays": {
|
"overlays": {
|
||||||
@@ -29,6 +29,13 @@
|
|||||||
"min_inclusive": 42,
|
"min_inclusive": 42,
|
||||||
"max_inclusive": 48
|
"max_inclusive": 48
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"directory": "compat_49",
|
||||||
|
"formats": {
|
||||||
|
"min_inclusive": 49,
|
||||||
|
"max_inclusive": 61
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user