How to use @p in tellraw? [duplicate]
//ads -- adsterra.com -- native banner
?>
Me and my friends are making a game in minecraft and are using tellraw. How do we use @p in tellraw because we cannot find it anywhere! Thanks
Best Answer
Add an object to the JSON that uses "selector":"@p" instead of the "text" value. For example:
/tellraw @p ["Hello", {"selector":"@p","color":"red"}, {"text":"!","color":"red"}]
I recommend using this tellraw generator
Pictures about "How to use @p in tellraw? [duplicate]"
![How to use @p in tellraw? [duplicate] - High angle of pensive African American female freelancer in glasses and casual clothes focusing on screen and interacting with netbook while sitting at table with glass of yummy drink on cafe terrace in sunny day How to use @p in tellraw? [duplicate] - High angle of pensive African American female freelancer in glasses and casual clothes focusing on screen and interacting with netbook while sitting at table with glass of yummy drink on cafe terrace in sunny day](/assets/images/how_to_use_p_in_tellraw_duplicate_1.jpeg)
![How to use @p in tellraw? [duplicate] - Young troubled woman using laptop at home How to use @p in tellraw? [duplicate] - Young troubled woman using laptop at home](/assets/images/how_to_use_p_in_tellraw_duplicate_2.jpeg)
![How to use @p in tellraw? [duplicate] - Serious ethnic young woman using laptop at home How to use @p in tellraw? [duplicate] - Serious ethnic young woman using laptop at home](/assets/images/how_to_use_p_in_tellraw_duplicate_3.jpeg)
How do you use Tellraw commands?
How to Enter the CommandHow do you start a new line in Minecraft Tellraw?
While typing a /tellraw command, once you want the line to be skipped there, use \\n (backslash+n).Minecraft Tellraw Command [1.19] Tutorial
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Andrea Piacquadio, Andrea Piacquadio, Andrea Piacquadio, Andrea Piacquadio
