Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion data/mce/functions/load/main.mcfunction
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
scoreboard objectives add loadMCE trigger
scoreboard players enable @a loadMCE

execute if data storage mce:config {global:{loaded:1b}} run tellraw @a ["",{"text":"[✔ INSTALL]","color":"green","bold":true,"clickEvent":{"action":"run_command","value":"/trigger loadMCE set 1"},"hoverEvent":{"action":"show_text","contents":"Install the datapack"}},{"text":" "},{"text":"[✖ CANCEL]","color":"red","bold":true,"clickEvent":{"action":"run_command","value":"/trigger loadMCE set 2"},"hoverEvent":{"action":"show_text","contents":"Cancel the installation"}}]
execute unless data storage mce:config {global:{loaded:1b}} run tellraw @a ["",{"text":"[✔ INSTALL]","color":"green","bold":true,"clickEvent":{"action":"run_command","value":"/trigger loadMCE set 1"},"hoverEvent":{"action":"show_text","contents":"Install the datapack"}},{"text":" "},{"text":"[✖ CANCEL]","color":"red","bold":true,"clickEvent":{"action":"run_command","value":"/trigger loadMCE set 2"},"hoverEvent":{"action":"show_text","contents":"Cancel the installation"}}]