Skip to content
This repository was archived by the owner on Apr 9, 2026. It is now read-only.

Commit 751a73a

Browse files
authored
Merge pull request #8 from asn44nb/main
Update open.mcfunction
2 parents 0e8ea68 + d770111 commit 751a73a

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1 @@
1-
execute unless data storage macro:engine dialog.DIALOG run return 0
2-
3-
scoreboard players set @s macro.dialog_load -1
4-
tag @s remove macro.dialog_closed
5-
tag @s remove macro.dialog_opened
6-
tag @s add macro.dialog_opened
7-
8-
tellraw @s ["",{"text":"[AME] ","color":"aqua","bold":true},{"text":"Dialog: ","color":"gray"},{"nbt":"dialog.DIALOG","storage":"macro:engine","color":"yellow"},{"text":"","color":"#555555"},{"text":"[Load]","color":"green","bold":true,"underlined":true,"clickEvent":{"action":"run_command","value":"/function macro:load"},"hoverEvent":{"action":"show_text","value":{"text":"Upgrade to 1.21.6+ for native dialog support","color":"gray"}}}]
9-
10-
return 1
1+
return run tellraw @s {"text":"This feature requires 1.21.5 or higher!","color":"red","italic":false}

0 commit comments

Comments
 (0)