@@ -4,17 +4,17 @@ execute unless entity @p run schedule function simplenergy:load/waiting_for_play
4
4
execute if entity @p store result score #game_version simplenergy . data run data get entity @p DataVersion
5
5
6
6
# Check if the game version is supported
7
- execute if entity @p unless score #game_version simplenergy . data matches 3337 .. run scoreboard players set #load_error simplenergy . data 1
7
+ execute if entity @p unless score #game_version simplenergy . data matches 3454 .. run scoreboard players set #load_error simplenergy . data 1
8
8
9
9
# Decode error
10
10
execute if score #load_error simplenergy . data matches 1 run tellraw @a {" text " : " SimplEnergy Error: This version is made for Minecraft 1.19+. " , " color " : " red " }
11
11
execute if score #load_error simplenergy . data matches 2 run tellraw @a {" text " : " SimplEnergy Error: Libraries are missing \n please download the right SimplEnergy datapack \n or download each of these libraries one by one: " , " color " : " red " }
12
12
execute if score #load_error simplenergy . data matches 2 unless score #smithed.custom_block.major load . status matches 0 .. run tellraw @a {" text " : " - [Smithed Custom Block Placement] " , " color " : " gold " , " clickEvent " : {" action " : " open_url " , " value " : " https://wiki.smithed.dev/libraries/custom-block/ " }}
13
13
execute if score #load_error simplenergy . data matches 2 unless score #smithed.crafter.major load . status matches 0 .. run tellraw @a {" text " : " - [Smithed Crafter] " , " color " : " gold " , " clickEvent " : {" action " : " open_url " , " value " : " https://wiki.smithed.dev/libraries/crafter/ " }}
14
- execute if score #load_error simplenergy . data matches 2 unless score #energy.major load . status matches 0 .. run tellraw @a {" text " : " - [DatapackEnergy] " , " color " : " gold " , " clickEvent " : {" action " : " open_url " , " value " : " https://github.com/ICY105/DatapackEnergy " }}
15
- execute if score #load_error simplenergy . data matches 2 unless score SmartOreGeneration load . status matches 10 .. run tellraw @a {" text " : " - [Stoupy's Smart Ore Generation] " , " color " : " gold " , " clickEvent " : {" action " : " open_url " , " value " : " https://github.com/Stoupy51/SmartOreGeneration " }}
16
- execute if score #load_error simplenergy . data matches 2 unless score DurabilityMultiplier load . status matches 10 .. run tellraw @a {" text " : " - [Stoupy's Durability Multiplier] " , " color " : " gold " , " clickEvent " : {" action " : " open_url " , " value " : " https://github.com/Stoupy51/DurabilityMultiplier " }}
17
- execute if score #load_error simplenergy . data matches 2 unless score FurnaceNbtRecipes load . status matches 10 .. run tellraw @a {" text " : " - [Stoupy's Furnace NBT Recipes] " , " color " : " gold " , " clickEvent " : {" action " : " open_url " , " value " : " https://github.com/Stoupy51/FurnaceNbtRecipes " }}
14
+ execute if score #load_error simplenergy . data matches 2 unless score #energy.major load . status matches 6 .. run tellraw @a {" text " : " - [DatapackEnergy] " , " color " : " gold " , " clickEvent " : {" action " : " open_url " , " value " : " https://github.com/ICY105/DatapackEnergy " }}
15
+ execute if score #load_error simplenergy . data matches 2 unless score SmartOreGeneration load . status matches 11 .. run tellraw @a {" text " : " - [Stoupy's Smart Ore Generation] " , " color " : " gold " , " clickEvent " : {" action " : " open_url " , " value " : " https://github.com/Stoupy51/SmartOreGeneration " }}
16
+ execute if score #load_error simplenergy . data matches 2 unless score DurabilityMultiplier load . status matches 13 .. run tellraw @a {" text " : " - [Stoupy's Durability Multiplier] " , " color " : " gold " , " clickEvent " : {" action " : " open_url " , " value " : " https://github.com/Stoupy51/DurabilityMultiplier " }}
17
+ execute if score #load_error simplenergy . data matches 2 unless score FurnaceNbtRecipes load . status matches 11 .. run tellraw @a {" text " : " - [Stoupy's Furnace NBT Recipes] " , " color " : " gold " , " clickEvent " : {" action " : " open_url " , " value " : " https://github.com/Stoupy51/FurnaceNbtRecipes " }}
18
18
19
19
# Load SimplEnergy
20
20
execute if score #game_version simplenergy . data matches 1 .. if score #load_error simplenergy . data matches 0 run function simplenergy:load/confirm_load
0 commit comments