diff --git a/.vscode/settings.json b/.vscode/settings.json index 6996136..0b936ca 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,6 +1,6 @@ { - "datapack.env.cmdVersion": "1.20.2", - "datapack.env.dataVersion": "1.20.2", + "datapack.env.cmdVersion": "1.20.3", + "datapack.env.dataVersion": "1.20.4", "datapack.env.defaultVisibility": "public", "datapack.env.dependsOnVanilla": true, "datapack.env.detectionDepth": 1, diff --git a/data/ashen_lib/functions/load_once.mcfunction b/data/ashen_lib/functions/load_once.mcfunction index 146e121..bb4445a 100644 --- a/data/ashen_lib/functions/load_once.mcfunction +++ b/data/ashen_lib/functions/load_once.mcfunction @@ -5,7 +5,7 @@ # @within function ashen_lib:load # Version tag - data modify storage global Ashen.Lib.Version set value "v0.3.1" + data modify storage global Ashen.Lib.Version set value "v0.4.0" # Reset scoreboard objectives remove Ashen.Lib.FirstJoin diff --git a/data/ashen_lib/functions/migration/.mcfunction b/data/ashen_lib/functions/migration/.mcfunction index 612e89f..6d0ff38 100644 --- a/data/ashen_lib/functions/migration/.mcfunction +++ b/data/ashen_lib/functions/migration/.mcfunction @@ -13,3 +13,5 @@ execute if data storage global Ashen.Lib{Version: "v0.1.1"} run function ashen_l execute if data storage global Ashen.Lib{Version: "v0.2.0"} run function ashen_lib:migration/v0.3.0/ execute if data storage global Ashen.Lib{Version: "v0.3.0"} run function ashen_lib:migration/v0.3.1/ + +execute if data storage global Ashen.Lib{Version: "v0.3.1"} run function ashen_lib:migration/v0.4.0/ diff --git a/data/ashen_lib/functions/migration/v0.3.1/.mcfunction b/data/ashen_lib/functions/migration/v0.3.1/.mcfunction index 8ef0ba9..bf93100 100644 --- a/data/ashen_lib/functions/migration/v0.3.1/.mcfunction +++ b/data/ashen_lib/functions/migration/v0.3.1/.mcfunction @@ -6,4 +6,3 @@ # Migration data modify storage global Ashen.Lib.Version set value "v0.3.1" - \ No newline at end of file diff --git a/data/ashen_lib/functions/migration/v0.4.0/.mcfunction b/data/ashen_lib/functions/migration/v0.4.0/.mcfunction new file mode 100644 index 0000000..387ca07 --- /dev/null +++ b/data/ashen_lib/functions/migration/v0.4.0/.mcfunction @@ -0,0 +1,8 @@ +#> ashen_lib:migration/v0.4.0/ +# +# v0.3.1 -> v0.4.0 +# +# @within function ashen_lib:migration/ + +# Migration + data modify storage global Ashen.Lib.Version set value "v0.4.0" diff --git a/pack.mcmeta b/pack.mcmeta index 06700b7..a037567 100644 --- a/pack.mcmeta +++ b/pack.mcmeta @@ -1,10 +1,6 @@ { "pack": { - "pack_format": 18, - "supported_formats": { - "min_inclusive": 18, - "max_inclusive": 18 - }, - "description": "Prerequisite Library" + "pack_format": 26, + "description": "Prerequisite Library by haiiro2gou" } } \ No newline at end of file