-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
37096cd
commit 1b69027
Showing
6 changed files
with
84 additions
and
2 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
...flowey/data/omegaflowey.entity/advancement/player_interacted_with_feedback_form_link.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"criteria": { | ||
"requirement": { | ||
"trigger": "minecraft:player_interacted_with_entity", | ||
"conditions": { | ||
"entity": { | ||
"type": "minecraft:interaction", | ||
"nbt": "{ Tags: [\"description-feedback-form-interaction\"] }" | ||
} | ||
} | ||
} | ||
}, | ||
"rewards": { | ||
"function": "omegaflowey.entity:player/interacted/with_feedback_form_link" | ||
} | ||
} |
2 changes: 2 additions & 0 deletions
2
...wey/data/omegaflowey.entity/function/player/interacted/with_feedback_form_link.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
function omegaflowey.entity:player/interacted/with_feedback_form_link/macro with storage omegaflowey:decorative | ||
advancement revoke @s only omegaflowey.entity:player_interacted_with_feedback_form_link |
14 changes: 14 additions & 0 deletions
14
...lowey.entity/function/player/interacted/with_feedback_form_link/as_interaction.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
execute on target run function omegaflowey.utils:log/self { text_component: ' \ | ||
[ \ | ||
{ \ | ||
"text": "", "extra": [ \ | ||
{ "text": "Click here to leave us ", "color": "aqua" }, \ | ||
{ "text": "feedback", "underlined": true, "color": "yellow" }, \ | ||
{ "text": "!", "color": "aqua" } \ | ||
], \ | ||
"clickEvent": { \ | ||
"action": "open_url", \ | ||
"value": "https://forms.gle/AkksowKZeQYoZ2z46" \ | ||
} } \ | ||
]' \ | ||
} |
1 change: 1 addition & 0 deletions
1
...ta/omegaflowey.entity/function/player/interacted/with_feedback_form_link/macro.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
$execute as $(feedback_form_interaction_uuid) run function omegaflowey.entity:player/interacted/with_feedback_form_link/as_interaction |
2 changes: 2 additions & 0 deletions
2
...ity/function/player/interacted/with_feedback_form_link/with_animated_java_link.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
function omegaflowey.entity:player/interacted/with_animated_java_link/macro with storage omegaflowey:decorative | ||
advancement revoke @s only omegaflowey.entity:player_interacted_with_animated_java_link |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters