Skip to content

Commit

Permalink
Split out welcome message to separate function
Browse files Browse the repository at this point in the history
  • Loading branch information
slicedlime committed May 23, 2021
1 parent 0972c38 commit 2855b38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion data/mob_dash/functions/display_menu.mcfunction
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Display the menu

tellraw @s [{"text":"Welcome to "},{"text":"Mob Dash!","color":"gold"},{"text":" version "},{"text":"beta 0.5","color":"gold"},{"text":" by "},{"text":"slicedlime","color":"green","clickEvent":{"action":"open_url","value":"https://www.youtube.com/slicedlime"}}]
function mob_dash:welcome
tellraw @s ""
tellraw @s [{"text":"- "},{"text":"[","color":"gold","bold": true},{"text":"Tutorial", "color":"green","clickEvent":{"action":"run_command", "value":"/trigger md_action set 1"}},{"text":"]","color":"gold", "bold": true}]
tellraw @s [{"text":"- "},{"text":"[","color":"gold","bold": true},{"text":"Switch Teams", "color":"green","clickEvent":{"action":"run_command", "value":"/trigger md_action set 2"}},{"text":"]","color":"gold", "bold": true}]
Expand Down
1 change: 1 addition & 0 deletions data/mob_dash/functions/welcome.mcfunction
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tellraw @s [{"text":"Welcome to "},{"text":"Mob Dash!","color":"gold"},{"text":" version "},{"text":"beta 0.5","color":"gold"},{"text":" by "},{"text":"slicedlime","color":"green","clickEvent":{"action":"open_url","value":"https://www.youtube.com/slicedlime"}}]

0 comments on commit 2855b38

Please sign in to comment.