Skip to content

Commit 165d9d7

Browse files
committed
Updated dependencies
1 parent aba73bb commit 165d9d7

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

data/simplenergy/functions/load/check_dependencies.mcfunction

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
scoreboard players set #load_error simplenergy.data 0
44
execute if score #load_error simplenergy.data matches 0 unless score #smithed.custom_block.major load.status matches 0.. run scoreboard players set #load_error simplenergy.data 2
55
execute if score #load_error simplenergy.data matches 0 unless score #smithed.crafter.major load.status matches 0.. run scoreboard players set #load_error simplenergy.data 2
6-
execute if score #load_error simplenergy.data matches 0 unless score #energy.major load.status matches 0.. run scoreboard players set #load_error simplenergy.data 2
7-
execute if score #load_error simplenergy.data matches 0 unless score SmartOreGeneration load.status matches 10.. run scoreboard players set #load_error simplenergy.data 2
8-
execute if score #load_error simplenergy.data matches 0 unless score DurabilityMultiplier load.status matches 10.. run scoreboard players set #load_error simplenergy.data 2
9-
execute if score #load_error simplenergy.data matches 0 unless score FurnaceNbtRecipes load.status matches 10.. run scoreboard players set #load_error simplenergy.data 2
6+
execute if score #load_error simplenergy.data matches 0 unless score #energy.minor load.status matches 6.. run scoreboard players set #load_error simplenergy.data 2
7+
execute if score #load_error simplenergy.data matches 0 unless score SmartOreGeneration load.status matches 11.. run scoreboard players set #load_error simplenergy.data 2
8+
execute if score #load_error simplenergy.data matches 0 unless score DurabilityMultiplier load.status matches 13.. run scoreboard players set #load_error simplenergy.data 2
9+
execute if score #load_error simplenergy.data matches 0 unless score FurnaceNbtRecipes load.status matches 11.. run scoreboard players set #load_error simplenergy.data 2
1010

data/simplenergy/functions/load/waiting_for_player.mcfunction

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ execute unless entity @p run schedule function simplenergy:load/waiting_for_play
44
execute if entity @p store result score #game_version simplenergy.data run data get entity @p DataVersion
55

66
# 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
88

99
# Decode error
1010
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"}
1111
execute if score #load_error simplenergy.data matches 2 run tellraw @a {"text":"SimplEnergy Error: Libraries are missing\nplease download the right SimplEnergy datapack\nor download each of these libraries one by one:","color":"red"}
1212
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/"}}
1313
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"}}
1818

1919
# Load SimplEnergy
2020
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

Comments
 (0)