From 4806752eece54bd6b451bb59b969dcc81f7893a9 Mon Sep 17 00:00:00 2001 From: Stoupy51 Date: Tue, 28 Jun 2022 23:16:42 +0200 Subject: [PATCH] Updated version --- data/stardust/advancements/stardust_fragment.json | 2 +- data/stardust/functions/load.mcfunction | 2 +- data/stardust/functions/post_load.mcfunction | 4 ++-- pack.mcmeta | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/data/stardust/advancements/stardust_fragment.json b/data/stardust/advancements/stardust_fragment.json index 1d41101f..72c41d6a 100644 --- a/data/stardust/advancements/stardust_fragment.json +++ b/data/stardust/advancements/stardust_fragment.json @@ -1,7 +1,7 @@ { "display": { "title": "Stardust Fragment", - "description": "v3.4.0", + "description": "v3.4.1", "icon": { "item": "minecraft:command_block", "nbt": "{CustomModelData:2013000}" diff --git a/data/stardust/functions/load.mcfunction b/data/stardust/functions/load.mcfunction index 421cc790..f2b83578 100644 --- a/data/stardust/functions/load.mcfunction +++ b/data/stardust/functions/load.mcfunction @@ -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 diff --git a/data/stardust/functions/post_load.mcfunction b/data/stardust/functions/post_load.mcfunction index b814df8e..33d5f3c3 100644 --- a/data/stardust/functions/post_load.mcfunction +++ b/data/stardust/functions/post_load.mcfunction @@ -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 diff --git a/pack.mcmeta b/pack.mcmeta index 1e23bf02..cc31cd68 100644 --- a/pack.mcmeta +++ b/pack.mcmeta @@ -1,6 +1,6 @@ { "pack": { "pack_format": 10, - "description": "Stardust Fragment [v3.4.0]" + "description": "Stardust Fragment [v3.4.1]" } }