Show
Controls text displayed on the screen. Usage[]A screen title is displayed to players as a single line of large center-aligned text in the middle of their displays, and can include a subtitle; a second, separate line of text displayed just below the title. Text can also be printed to the action bar, the space just above the player's hotbar. All of them are specified using raw JSON text components in Java Edition. In Bedrock Edition, the /title command uses plain text while /titleraw uses raw JSON text components. Screen titles can be set to fade in and fade out, and the duration they are displayed can also be specified. Screen titles scale in size with the GUI Scale and screen titles that are too big to fit on the screen are not line-wrapped (they just overflow off the screen on both sides). Note that "fadeIn", "stay", and "fadeOut" values of each player are only stored on their own client side, and these values can be changed only when executing this command. Syntax[]title <targets> (clear|reset) title <targets> (title|subtitle|actionbar) <title> title <targets> times <fadeIn> <stay> <fadeOut>
Detail[]... clear Clears the screen title from the screens of the specified player(s). ... reset Resets the subtitle text for the specified player(s) to blank text, and the fade-in, stay and fade-out times to their default values (defaults to 10 gt, 70 gt, and 20 gt). ... subtitle ... If a screen title is currently being displayed to the specified player(s), changes the current subtitle to the specified text; otherwise, specifies the subtitle for the next screen title to be displayed to the specified player(s). ... title ... Displays a screen title to the specified player(s), or changes the current screen title to the specified text. After fading out, resets the subtitle back to blank text, but does not reset fade-in, stay, and fade-out times. ... actionbar ... Displays text on the action bar to the specified player(s), or changes the current action bar title. ... times ... Changes the fade-in, stay, and fade-out times (measured in game ticks) of all current and future screen titles for the specified player(s).Arguments[]JE: <targets>: entity JE: <title>: component
JE: <fadeIn>: integer, <stay>: integer and <fadeOut>: integer Result[]Example result of the title command.
Output[]
Examples[]All of the following displays a bold screen title "Chapter I" with a gray italic subtitle "The story begins…" to all players.
History[]Notes[]Commands
So, recently, I spent hours trying to find a way to make screen pop up in the chat or across the screen. When I finally did, It was confusing.... but, I decided to make a blog to show you how. /title @a title {"text":"","extra":[{"text":"YOUR-TEXT-HERE","color":"YOUR-COLOR-HERE","bold":"true"}]} If you want to add italic to the command, add ,"italic":"true" to the end of that command, like so :/title @a title {"text":"","extra":[{"text":"YOUR-TEXT-HERE","color":"YOUR-COLOR-HERE","bold":"true"},"italic":"true"]} You can also add: bold, underline, strike-through, or italic.You might be wondering: What if text is TOO long to fit on the screen?Easy: Change the /title @a title to /tellraw @a.Then the text will appear in the chat. If you want to ONLY give the text to one person, you can replace @a with @p (nearest person) or a player's name, such as SharkStew (my username).COLORS:red, dark_red, yellow, gold, green, dark_green, blue, dark_blue, aqua, dark_aqua, light_purple, dark_purple, gray, dark_gray, white, blackThese are all the colors that will show up in this command. If you type something like "purple", the text will show up white.TAGS/FORMATS: • bold • italic • underlined: • strikethrough • obfuscatedIf you want to send a command to a friend to troll them, just use this command:/title (Player's Name or @a/@p) title {"text":"","extra":[{"text":"The End Is Near!!","color":"red","bold":"true"}]} This command can be issued from the chat (T) or a command block. If the text is very long and in /tellraw format, using a command block is best idea, so the whole command shows up.Thanks for reading this post on MC Screen Text and have a great day!Please give me a diamond or comment if this helped/didn't help you, and why!! Love ya guys!! -Puppi Dog (SharkStew) |