Skip to content

Commit

Permalink
Updated Version
Browse files Browse the repository at this point in the history
  • Loading branch information
Stoupy51 committed Jul 1, 2022
1 parent d1b490f commit 175ee12
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion data/simplenergy/advancements/simplenergy.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"display": {
"title": "SimplEnergy",
"description": "v1.9.1",
"description": "v1.9.2",
"icon": {
"item": "minecraft:command_block",
"nbt": "{CustomModelData:2012005}"
Expand Down
2 changes: 1 addition & 1 deletion data/simplenergy/functions/load.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ scoreboard objectives add simplenergy.data dummy
scoreboard objectives add simplenergy.data_2 dummy
scoreboard objectives add simplenergy.right_click minecraft.used:minecraft.warped_fungus_on_a_stick

scoreboard players set SimplEnergy load.status 1091
scoreboard players set SimplEnergy load.status 1092
scoreboard players set #second simplenergy.data 0

scoreboard players set #1000000000 simplenergy.data 1000000000
Expand Down
2 changes: 1 addition & 1 deletion data/simplenergy/functions/post_load.mcfunction
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
execute store result score #game_version load.status run data get entity @r DataVersion

execute unless score #game_version load.status matches 3105.. run tellraw @a {"text":"SimplEnergy Error: You need at least Minecraft 1.19+.","italic":false,"color":"red"}
execute if score #game_version load.status matches 3105.. run tellraw @a[tag=convention.debug] {"text":"[Loaded SimplEnergy v1.9.1]","italic":false,"color":"green"}
execute if score #game_version load.status matches 3105.. run tellraw @a[tag=convention.debug] {"text":"[Loaded SimplEnergy v1.9.2]","italic":false,"color":"green"}

execute unless entity @a run schedule function simplenergy:post_load 1t replace
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": "SimplEnergy [v1.9.1]"
"description": "SimplEnergy [v1.9.2]"
}
}

0 comments on commit 175ee12

Please sign in to comment.