Skip to content

Commit

Permalink
🔖 v0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
haiiro2gou committed Jan 4, 2024
1 parent 1d8aa25 commit 20f6886
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
2 changes: 1 addition & 1 deletion data/ashen_lib/functions/load_once.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions data/ashen_lib/functions/migration/.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -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/
1 change: 0 additions & 1 deletion data/ashen_lib/functions/migration/v0.3.1/.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@

# Migration
data modify storage global Ashen.Lib.Version set value "v0.3.1"

8 changes: 8 additions & 0 deletions data/ashen_lib/functions/migration/v0.4.0/.mcfunction
Original file line number Diff line number Diff line change
@@ -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"
8 changes: 2 additions & 6 deletions pack.mcmeta
Original file line number Diff line number Diff line change
@@ -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"
}
}

0 comments on commit 20f6886

Please sign in to comment.