Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
ICY105 committed Jan 23, 2021
1 parent 50159ee commit e158099
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions data/cook/functions/install.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ scoreboard players set $install cook_data 1

#check for 1.16.2
execute unless score $minecraft.ver du_data matches 162 run scoreboard players set $install cook_data 0
execute unless score $minecraft.ver du_data matches 162 run tellraw @a [{"text":"Error: Immersive Cooking v1.0.0 requires Minecraft +1.16.4. Click [here] to download alternate versions.\n","color":"red","clickEvent":{"action":"open_url","value":"https://github.com/ImCoolYeah105/Immersive-Cooking/releases"}}]
execute unless score $minecraft.ver du_data matches 162 run tellraw @a [{"text":"Error: Immersive Cooking v1.0.0b requires Minecraft +1.16.4. Click [here] to download alternate versions.\n","color":"red","clickEvent":{"action":"open_url","value":"https://github.com/ImCoolYeah105/Immersive-Cooking/releases"}}]

#check DU
execute unless score $du.ver load matches 2020100.. run scoreboard players set $install cook_data 0
execute unless score $du.ver load matches 2020100.. run tellraw @a [{"text":"Error: Immersive Cooking requires Datapack Utilities version +2.2.1. You can download that [here].\n","color":"red","clickEvent":{"action":"open_url","value":"https://github.com/ImCoolYeah105/Datapack-Utilities/releases"}}]

#print install message
execute if score $install cook_data matches 1 run tellraw @a [{"text":"[Loaded Immersive Cooking v1.0.0a]","color":"dark_green"}]
execute if score $install cook_data matches 1 run tellraw @a [{"text":"[Loaded Immersive Cooking v1.0.0b]","color":"dark_green"}]

#resourcepack
tellraw @a [{"translate":"Looks like you don't have the resourcepack for Immersive Cooking. You can download that [here].","color":"red","clickEvent":{"action":"open_url","value":"https://github.com/ImCoolYeah105/Immersive-Cooking/releases"}}]
2 changes: 1 addition & 1 deletion data/cook/functions/load.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ scoreboard objectives add cook_data dummy
scoreboard objectives add cook_food dummy
scoreboard objectives add cook_coas minecraft.used:minecraft.carrot_on_a_stick

scoreboard players set $cook.ver load 01000001
scoreboard players set $cook.ver load 01000002

execute unless score $incr_id cook_data matches 1.. run scoreboard players set $incr_id cook_data 1

0 comments on commit e158099

Please sign in to comment.