Skip to content

Commit

Permalink
Updated version
Browse files Browse the repository at this point in the history
  • Loading branch information
Stoupy51 committed Jun 28, 2022
1 parent dd8d339 commit 4806752
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion data/stardust/advancements/stardust_fragment.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"display": {
"title": "Stardust Fragment",
"description": "v3.4.0",
"description": "v3.4.1",
"icon": {
"item": "minecraft:command_block",
"nbt": "{CustomModelData:2013000}"
Expand Down
2 changes: 1 addition & 1 deletion data/stardust/functions/load.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ gamerule maxCommandChainLength 2147483647
execute unless score #dungeon_built stardust.data matches 2 in stardust:dungeon run forceload add -27 40 182 -168
execute unless score #ultimate_built stardust.data matches 2 in stardust:ultimate run forceload add -73 -69 71 75

scoreboard players set StardustFragment load.status 3040
scoreboard players set StardustFragment load.status 3041
scoreboard players set #second stardust.data 10

scoreboard players set #1500 simplenergy.data 1500
Expand Down
4 changes: 2 additions & 2 deletions data/stardust/functions/post_load.mcfunction
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@

execute store result score #game_version load.status run data get entity @r DataVersion

execute unless score SimplEnergy load.status matches 1090..1100 run tellraw @a {"text":"Stardust Fragment Error: SimplEnergy v1.9.x is required, click [here] to download","italic":false,"color":"red","clickEvent":{"action":"open_url","value":"https://www.planetminecraft.com/data-pack/simplenergy/"}}
execute unless score SimplEnergy load.status matches 1091..1100 run tellraw @a {"text":"Stardust Fragment Error: SimplEnergy v1.9.x is required, click [here] to download","italic":false,"color":"red","clickEvent":{"action":"open_url","value":"https://www.planetminecraft.com/data-pack/simplenergy/"}}
execute unless score SimplEnergy load.status matches 1.. run tellraw @a {"text":"Stardust Fragment Error: SimplEnergy v1.9.x is missing, click [here] to download","italic":false,"color":"red","clickEvent":{"action":"open_url","value":"https://www.planetminecraft.com/data-pack/simplenergy/"}}
execute unless score #game_version load.status matches 3105.. run tellraw @a {"text":"Stardust Fragment Error: This version is only available with Minecraft 1.19+.","italic":false,"color":"red"}

execute if score #game_version load.status matches 3105.. if score SimplEnergy load.status matches 1090..1100 run tellraw @a[tag=convention.debug] {"text":"[Loaded Stardust Fragment v3.4.0]","italic":false,"color":"green"}
execute if score #game_version load.status matches 3105.. if score SimplEnergy load.status matches 1091..1100 run tellraw @a[tag=convention.debug] {"text":"[Loaded Stardust Fragment v3.4.1]","italic":false,"color":"green"}

execute unless entity @a run schedule function stardust:post_load 1t replace

Expand Down
2 changes: 1 addition & 1 deletion pack.mcmeta
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 10,
"description": "Stardust Fragment [v3.4.0]"
"description": "Stardust Fragment [v3.4.1]"
}
}

0 comments on commit 4806752

Please sign in to comment.