兼容1.18!
This commit is contained in:
parent
1defc59eb5
commit
1b18ff0218
5
.vscode/settings.json
vendored
5
.vscode/settings.json
vendored
@ -16,5 +16,8 @@
|
|||||||
"TEXT": "{\"text\": \"${1:TEXT}\", \"color\": \"${2:COLOR}\"}",
|
"TEXT": "{\"text\": \"${1:TEXT}\", \"color\": \"${2:COLOR}\"}",
|
||||||
"storageText": "{\"nbt\": \"${1:NBT}\", \"interpret\": true, \"storage\": \"${2:A namespaced ID}\"}",
|
"storageText": "{\"nbt\": \"${1:NBT}\", \"interpret\": true, \"storage\": \"${2:A namespaced ID}\"}",
|
||||||
"ifInstalled": "execute if data storage fz:installed fz.module{${1:module_name}:1b} run ${tellraw}"
|
"ifInstalled": "execute if data storage fz:installed fz.module{${1:module_name}:1b} run ${tellraw}"
|
||||||
}
|
},
|
||||||
|
"datapack.env.cmdVersion": "1.19",
|
||||||
|
"datapack.env.jsonVersion": "1.19",
|
||||||
|
"datapack.env.dataVersion": "1.19"
|
||||||
}
|
}
|
@ -16,11 +16,18 @@
|
|||||||
"flags": {
|
"flags": {
|
||||||
"is_sneaking": false
|
"is_sneaking": false
|
||||||
},
|
},
|
||||||
|
"__comment_type_specific": "1.19+",
|
||||||
"type_specific": {
|
"type_specific": {
|
||||||
"type": "player",
|
"type": "player",
|
||||||
"advancements": {
|
"advancements": {
|
||||||
"fzsd:game_event/on_sneak": true
|
"fzsd:game_event/on_sneak": true
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"__comment_player": "1.18 compat",
|
||||||
|
"player": {
|
||||||
|
"advancements": {
|
||||||
|
"fzsd:game_event/on_sneak": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
execute store success storage fzsd:version fzsd.need_update int 1 run data merge storage fzsd:version {fzsd:{version: '3.0.0-beta.6'}}
|
execute store success storage fzsd:version fzsd.need_update int 1 run data merge storage fzsd:version {fzsd: {version: '3.0.0-beta.6'}}
|
||||||
execute if data storage fzsd:version fzsd{need_update: 1} run function fzsd:system/update
|
execute if data storage fzsd:version fzsd{need_update: 1} 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
|
||||||
|
Loading…
Reference in New Issue
Block a user