diff --git a/.vscode/settings.json b/.vscode/settings.json index 61f84de..82fea75 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -16,5 +16,8 @@ "TEXT": "{\"text\": \"${1:TEXT}\", \"color\": \"${2:COLOR}\"}", "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}" - } + }, + "datapack.env.cmdVersion": "1.19", + "datapack.env.jsonVersion": "1.19", + "datapack.env.dataVersion": "1.19" } \ No newline at end of file diff --git a/data/fzsd/advancements/game_event/on_unsneak.json b/data/fzsd/advancements/game_event/on_unsneak.json index c2b20c4..93e9353 100644 --- a/data/fzsd/advancements/game_event/on_unsneak.json +++ b/data/fzsd/advancements/game_event/on_unsneak.json @@ -16,11 +16,18 @@ "flags": { "is_sneaking": false }, + "__comment_type_specific": "1.19+", "type_specific": { "type": "player", "advancements": { "fzsd:game_event/on_sneak": true } + }, + "__comment_player": "1.18 compat", + "player": { + "advancements": { + "fzsd:game_event/on_sneak": true + } } } } diff --git a/data/fzsd/functions/boot.mcfunction b/data/fzsd/functions/boot.mcfunction index 710ffc2..6cc0539 100644 --- a/data/fzsd/functions/boot.mcfunction +++ b/data/fzsd/functions/boot.mcfunction @@ -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 function fzsd:system/carpet/try_load_fzsd_score function #fzsd:load