Launch command by clicking words at the chat

Launch command by clicking words at the chat - Anonymous lady showing O letter using sign language

In the map I am currently working on, there is a part where the player can choose [Yes] / [No] from chat, where The [Yes] is in green and the [No] is in red. Then a command would be run when the player clicks on either the Yes or the No. Are there any commands that can do that?






Pictures about "Launch command by clicking words at the chat"

Launch command by clicking words at the chat - Free stock photo of business, composition, data
Launch command by clicking words at the chat - Overhead Shot of a Cup Near a Notebook
Launch command by clicking words at the chat - Girl with a Phrase on her T-shirt



How do you make a command say something in chat?

How to Enter the Command
  • Open the Chat Window. The easiest way to run a command in Minecraft is within the chat window.
  • Type the Command. In this example, we will send a private message to the player called DigMinecraft with the following command: /tellraw DigMinecraft {"text":"Herobrine joined the game","color":"yellow"}




  • Command Block Tutorial #38: Simple Clickable Chat Commands in Minecraft (1.14+)




    Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

    Images: SHVETS production, Karolina Grabowska, Karolina Grabowska, Karolina Grabowska