Arqade Asked by maxintosh on June 16, 2021
i’m doing a map and i’m trying to make a conversation between the player and a villager with clikable answer in the chat like this (i’m french so the text is in fench but it doesn’t matter i think)
/tellraw @a [{"text":"<Bernard> Salut l'ami ! tu aime le bon bon sauciflard ?","color":"aqua"},{"text":"Oui","color":"green","clickEvent":{"action":"run_command","value":"/setblock -87 102 158 minecraft:redstone_block"}},{"text":"Non","color":"red","clickEvent":{"action":"run_command","value":"/setblock -96 102 158 minecraft:redstone_block"}}]
It work’s but i’d like to skip a line between "oui" and "non" and i don’t now how i can do it.
The n
escape code will let you start a new line. For example:
/tellraw @s "Line1nLine2"
In your command:
/tellraw @a [{"text":"Salut l'ami! Tu aime le bon bon sauciflard?n","color":"aqua"},{"text":"Ouin","color":"green","clickEvent":{"action":"run_command","value":"/setblock -87 102 158 minecraft:redstone_block"}},{"text":"Non","color":"red","clickEvent":{"action":"run_command","value":"/setblock -96 102 158 minecraft:redstone_block"}}]
Correct answer by SirBenet on June 16, 2021
While typing a /tellraw
command, once you want the line to be skipped there, use n
(backslash+n).
Answered by Mine Craft on June 16, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP