Команда title не работает

Как сделать так, чтобы текст появлялся посередине экрана?

Я видел карты приключений, которые во время запуска объявляют название карты с красочным текстом в центре экрана. Как они это делают?

Я слышал, что это называется командой /title , но я не знаю, как ее настроить. Даже когда я набираю в чате /title следующим образом:

Это не работает. Как это сделать?

/title работает иначе, чем другие команды в Minecraft, потому что он использует необработанный JSON для печати сообщения. Способ сделать это — написать что-то подобное в чат:

^ Это объявляет, что команда заголовка является используемой командой.

^ Это селектор. Есть разные виды селекторов:

@a = показывает заголовок всем

@e = выполняет команду на всех объектах (Все, включая мобов)

@r = Случайный игрок

@p = ближайший игрок

Итак, теперь у нас закончили селекторы, и мы понимаем, что добавим другой сегмент кода:

Заголовок аддона подтверждает, что используемая команда должна транслировать «заглавие». Другие варианты использования можно найти, набрав/title.

Приведенная выше команда напечатает «Ваш текст» без кавычек. Цвет будет белым.

Итак, если мы оторвем фигурную скобку от последнего сообщения и добавим это>, «color»: «dark_red»>

Для шкиперов

замените «Your Text» на текст, который вы хотите (заключите в кавычки), и измените «dark_red» на нужный вам цвет.

Я также приложил генератор tellraw/title для тех из вас, кто не хочет этому учиться сами.

Его можно найти здесь

Поместите текст внутри звездочек.

Я сам нашел этот текст на этом форуме вещь.

Источник

How to Use the Title Command in Minecraft

This Minecraft tutorial explains how to use the /title command with screenshots and step-by-step instructions.

You can display a large title screen for a player using the /title command in Minecraft. Let’s explore how to use this cheat (game command).

Supported Platforms

The /title command is available in the following versions of Minecraft:

Platform Supported (Version*)
Java Edition (PC/Mac) Yes (1.8)
Pocket Edition (PE) Yes (1.0.5)
Xbox 360 No
Xbox One Yes (1.2)
PS3 No
PS4 Yes (1.14.0)
Wii U No
Nintendo Switch Yes (1.5.0)
Windows 10 Edition Yes (1.0.5)
Education Edition Yes (1.0.18)

* The version that it was added or removed, if applicable.
NOTE: Pocket Edition (PE), Xbox One, PS4, Nintendo Switch, and Windows 10 Edition are now called Bedrock Edition. We will continue to show them individually for version history.

Requirements

To run game commands in Minecraft, you have to turn cheats on in your world.

Title Command

  • Java
  • PE
  • Xbox
  • PS
  • Nintendo
  • Win10
  • Edu

Title Command in Minecraft Java Edition (PC/Mac)

The /title command is used to configure the title screen for a player. The /title command has different syntaxes depending on what you would like to do.

To add a title to the title screen and display the title screen:

To add a subtitle to the next title screen (NOTE: The title screen will not display when this command is run):

To add text to the action bar (introduced in Java Edition 1.11):

To set the fade-in, stay and fade-out times for the title screen:

To remove the title screen from the screen:

To reset the title screen to the default settings and options:

Definitions

    targets is the name of a player (or a target selector) who you want to display a title screen for.

titleText is the text to appear on the title screen. It is formatted as raw JSON and most values (except true or false ) must be enclosed in double quotes. It can have values such as:

  1. text — message that appears in title screen (ie: «text»:»The End is Near» ).
  2. bold — true or false value to indicate whether the text is bolded (ie: «bold»:true ).
  3. italic — true or false value to indicate whether the text is italicized (ie: «italic»:true ).
  4. color — the color of the text that will appear (ie: «color»:»red» ).
    The color can be one of the following: red, dark_red, yellow, gold, green, dark_green, blue, dark_blue, aqua, dark_aqua, light_purple, dark_purple, gray, dark_gray, white, black
  • fadeIn is the length of time in game ticks (1/20th of a second) that the title screen takes to fade in. The default is 20 game ticks (1 second).
  • stay is the length of time in game ticks (1/20th of a second) that the title screen stays on the screen. The default is 60 game ticks (3 seconds).
  • fadeOut is the length of time in game ticks (1/20th of a second) that the title screen takes to fade out. The default is 20 game ticks (1 second).
  • Title Command in Minecraft Pocket Edition (PE)

    To remove the title screen from the screen:

    To reset the title screen to the default settings and options:

    To add text to the title, subtitle or actionbar:

    To set the fade-in, stay and fade-out times for the title screen:

    Definitions

    • player is the name of a player (or a target selector) who you want to display a title screen for.
    • title will add text to title screen and display the title screen.
    • subtitle will add text to the subtitle on the next title screen (Note: the title screen will not display when this subtitle command is run.)
    • actionbar will add text to the action bar.
    • titleText is the text to appear on the title screen. It is NOT formatted as raw JSON so you can not add text effects such as bold, italic or change the color of the text.
    • fadeIn is the length of time in game ticks (1/20th of a second) that the title screen takes to fade in. The default is 20 game ticks (1 second).
    • stay is the length of time in game ticks (1/20th of a second) that the title screen stays on the screen. The default is 60 game ticks (3 seconds).
    • fadeOut is the length of time in game ticks (1/20th of a second) that the title screen takes to fade out. The default is 20 game ticks (1 second).

    Title Command in Minecraft Xbox One Edition

    To remove the title screen from the screen:

    To reset the title screen to the default settings and options:

    To add text to the title, subtitle or actionbar:

    To set the fade-in, stay and fade-out times for the title screen:

    Definitions

    • player is the name of a player (or a target selector) who you want to display a title screen for.
    • title will add text to title screen and display the title screen.
    • subtitle will add text to the subtitle on the next title screen (Note: the title screen will not display when this subtitle command is run.)
    • actionbar will add text to the action bar.
    • titleText is the text to appear on the title screen. It is NOT formatted as raw JSON so you can not add text effects such as bold, italic or change the color of the text.
    • fadeIn is the length of time in game ticks (1/20th of a second) that the title screen takes to fade in. The default is 20 game ticks (1 second).
    • stay is the length of time in game ticks (1/20th of a second) that the title screen stays on the screen. The default is 60 game ticks (3 seconds).
    • fadeOut is the length of time in game ticks (1/20th of a second) that the title screen takes to fade out. The default is 20 game ticks (1 second).

    Title Command in Minecraft PS4 Edition

    To remove the title screen from the screen:

    To reset the title screen to the default settings and options:

    To add text to the title, subtitle or actionbar:

    To set the fade-in, stay and fade-out times for the title screen:

    Definitions

    • player is the name of a player (or a target selector) who you want to display a title screen for.
    • title will add text to title screen and display the title screen.
    • subtitle will add text to the subtitle on the next title screen (Note: the title screen will not display when this subtitle command is run.)
    • actionbar will add text to the action bar.
    • titleText is the text to appear on the title screen. It is NOT formatted as raw JSON so you can not add text effects such as bold, italic or change the color of the text.
    • fadeIn is the length of time in game ticks (1/20th of a second) that the title screen takes to fade in. The default is 20 game ticks (1 second).
    • stay is the length of time in game ticks (1/20th of a second) that the title screen stays on the screen. The default is 60 game ticks (3 seconds).
    • fadeOut is the length of time in game ticks (1/20th of a second) that the title screen takes to fade out. The default is 20 game ticks (1 second).

    Title Command in Minecraft Nintendo Switch Edition

    To remove the title screen from the screen:

    To reset the title screen to the default settings and options:

    To add text to the title, subtitle or actionbar:

    To set the fade-in, stay and fade-out times for the title screen:

    Definitions

    • player is the name of a player (or a target selector) who you want to display a title screen for.
    • title will add text to title screen and display the title screen.
    • subtitle will add text to the subtitle on the next title screen (Note: the title screen will not display when this subtitle command is run.)
    • actionbar will add text to the action bar.
    • titleText is the text to appear on the title screen. It is NOT formatted as raw JSON so you can not add text effects such as bold, italic or change the color of the text.
    • fadeIn is the length of time in game ticks (1/20th of a second) that the title screen takes to fade in. The default is 20 game ticks (1 second).
    • stay is the length of time in game ticks (1/20th of a second) that the title screen stays on the screen. The default is 60 game ticks (3 seconds).
    • fadeOut is the length of time in game ticks (1/20th of a second) that the title screen takes to fade out. The default is 20 game ticks (1 second).

    Title Command in Minecraft Windows 10 Edition

    To remove the title screen from the screen:

    To reset the title screen to the default settings and options:

    To add text to the title, subtitle or actionbar:

    To set the fade-in, stay and fade-out times for the title screen:

    Definitions

    • player is the name of a player (or a target selector) who you want to display a title screen for.
    • title will add text to title screen and display the title screen.
    • subtitle will add text to the subtitle on the next title screen (Note: the title screen will not display when this subtitle command is run.)
    • actionbar will add text to the action bar.
    • titleText is the text to appear on the title screen. It is NOT formatted as raw JSON so you can not add text effects such as bold, italic or change the color of the text.
    • fadeIn is the length of time in game ticks (1/20th of a second) that the title screen takes to fade in. The default is 20 game ticks (1 second).
    • stay is the length of time in game ticks (1/20th of a second) that the title screen stays on the screen. The default is 60 game ticks (3 seconds).
    • fadeOut is the length of time in game ticks (1/20th of a second) that the title screen takes to fade out. The default is 20 game ticks (1 second).

    Title Command in Minecraft Education Edition

    To remove the title screen from the screen:

    To reset the title screen to the default settings and options:

    To add text to the title, subtitle or actionbar:

    To set the fade-in, stay and fade-out times for the title screen:

    Definitions

    • player is the name of a player (or a target selector) who you want to display a title screen for.
    • title will add text to title screen and display the title screen.
    • subtitle will add text to the subtitle on the next title screen (Note: the title screen will not display when this subtitle command is run.)
    • actionbar will add text to the action bar.
    • titleText is the text to appear on the title screen. It is NOT formatted as raw JSON so you can not add text effects such as bold, italic or change the color of the text.
    • fadeIn is the length of time in game ticks (1/20th of a second) that the title screen takes to fade in. The default is 20 game ticks (1 second).
    • stay is the length of time in game ticks (1/20th of a second) that the title screen stays on the screen. The default is 60 game ticks (3 seconds).
    • fadeOut is the length of time in game ticks (1/20th of a second) that the title screen takes to fade out. The default is 20 game ticks (1 second).

    Examples

    • Java
    • PE
    • Xbox
    • PS
    • Nintendo
    • Win10
    • Edu

    Example in Java Edition (PC/Mac)

    To display a title screen to the player called DigMinecraft that says «The End is Near» in bold italicized red text:

    To add a subtitle to the next title for DigMinecraft that says «Run for your Life!» in italicized yellow text (title screen will not display with this command):

    To add text to the action bar for all players that says «Get Ready!» in light purple text:

    To change the fade-in time for the title to 40 game ticks, the stay time to 120 game ticks and the fade-out to 60 game ticks (for the nearest player):

    Example in Pocket Edition (PE)

    To display a title screen to all players that says «The First Battle»:

    To add a subtitle to the next title for all players that says «Run for your Life!» (title screen will not display with this command):

    To add text to the action bar for all players that says «Get Ready!»:

    To change the fade-in time for the title to 85 game ticks, the stay time to 240 game ticks and the fade-out to 70 game ticks (for the nearest player):

    Example in Xbox One Edition

    To display a title screen to all players that says «Find a Shipwreck»:

    To add a subtitle to the next title for all players that says «Open your Treasure Map» (title screen will not display with this command):

    To add text to the action bar for all players that says «Go!!»:

    To change the fade-in time for the title to 40 game ticks, the stay time to 300 game ticks and the fade-out to 55 game ticks (for the nearest player):

    Example in PS4 Edition

    To display a title screen to all players that says «Find a Bee»:

    To add a subtitle to the next title for all players that says «But do not get stung» (title screen will not display with this command):

    To add text to the action bar for all players that says «Go!»:

    To change the fade-in time for the title to 100 game ticks, the stay time to 300 game ticks and the fade-out to 55 game ticks (for the nearest player):

    Example in Nintendo Switch Edition

    To display a title screen to all players that says «Team Deathmatch»:

    To add a subtitle to the next title for all players that says «Be the last to survive» (title screen will not display with this command):

    To add text to the action bar for all players that says «Start Now!»:

    To change the fade-in time for the title to 20 game ticks, the stay time to 500 game ticks and the fade-out to 45 game ticks (for the nearest player):

    Example in Windows 10 Edition

    To display a title screen to all players that says «The Adventure»:

    To add a subtitle to the next title for all players that says «Get Ready. » (title screen will not display with this command):

    To add text to the action bar for all players that says «Go!»:

    To change the fade-in time for the title to 90 game ticks, the stay time to 360 game ticks and the fade-out to 85 game ticks (for the nearest player):

    Example in Education Edition

    To display a title screen to all players that says «Let’s Begin»:

    To add a subtitle to the next title for all players that says «Go!» (title screen will not display with this command):

    To add text to the action bar for all players that says «Level 1»:

    To change the fade-in time for the title to 45 game ticks, the stay time to 400 game ticks and the fade-out to 30 game ticks (for the nearest player):

    How to Enter the Command

    1. Open the Chat Window

    The easiest way to run a command in Minecraft is within the chat window. The game control to open the chat window depends on the version of Minecraft:

    • For Java Edition (PC/Mac), press the T key to open the chat window.
    • For Pocket Edition (PE), tap on the chat button at the top of the screen.
    • For Xbox One, press the D-Pad (right) on the controller.
    • For PS4, press the D-Pad (right) on the controller.
    • For Nintendo Switch, press the right arrow button on the controller.
    • For Windows 10 Edition, press the T key to open the chat window.
    • For Education Edition, press the T key to open the chat window.

    2. Type the Command

    We will cover examples of how to use the /title command to display a title, display a subtitle, and change the fade-in, stay and fade-out values.

    Display a Title

    In this example, we will display a title screen to the player called DigMinecraft that says «The End is Near» in bold italicized red text with the following command:

    Type the command in the chat window. As you are typing, you will see the command appear in the lower left corner of the game window. Press the Enter key to run the command.

    Once the cheat has been entered, the title screen will appear on the player’s screen.

    You will see the message » Title command successfully executed » appear in the lower left corner of the game window to indicate that the title screen has been successfully displayed.

    Add a Subtitle

    To add a subtitle, you must first run the command to add the subtitle text and then run a second command that displays the title screen. So if we wanted to display a title screen to the player called DigMinecraft that has a title «The End is Near» with a subtitle (next line down) of «Run for your Life!», you would need to run two /title commands.

    First, set the subtitle text with the following command:

    Remember to enter a command in Minecraft, open the chat window and then type the command.

    Then run the next command to display the title screen to the player:

    Once the cheat has been entered, the title screen (with title and subtitle) will appear on the player’s screen.

    You will see two messages » Title command successfully executed » appear in the lower left corner of the game window to indicate that the title screen (with subtitle) has been successfully displayed.

    Set Times for Fade-In, Stay and Fade-Out

    You can change various time values for the title screen such as the fade-in time, how long the title screen stays up, and the fade-out time.

    If you wanted to change the fade-in time to 40 game ticks, the stay time to 120 game ticks and the fade-out to 60 game ticks, you would type the following command:

    To enter a command in Minecraft, open the chat window and then type the command.

    Now the next time that you display the title screen for the player DigMinecraft, the new fade-in, stay and fade-out times will take effect.

    Congratulations, you just learned how to use the /title command in Minecraft!

    Other Game Commands

    You can use other commands and cheats in Minecraft such as:

    Источник

    Читайте также:  Бензогенератор не работает регулятор оборотов
    Оцените статью