Closed mkremins closed 9 years ago
How is this different from the existing ´suggest` function, other then corresponding to a different JSON tag?
Insertion differs from suggestion in that suggestions completely replace the text in the chat input box, whereas insertions append to the text that's already been entered. See this post and scroll down to the section about suggest_command
for details.
OK, I can write code for it later today
You also need to hold shift for insertion to work, according to that thread.
Wrote the code for this in #56
Example tellraw:
Shift-clicking on the text "Click." will then append the text "Hello there." to the contents of the recipient's chat input box. This feature is apparently similar and orthogonal to
clickEvent
andhoverEvent
.