как высветить текст на экран в майнкрафт
Как сделать так, чтобы текст появлялся посередине экрана?
Я видел карты приключений, которые во время запуска объявляют название карты с красочным текстом в центре экрана. Как они это делают?
Это не работает. Как это сделать?
/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*) |
---|---|
| Yes (1.8) |
| Yes (1.0.5) |
| No |
| Yes (1.2) |
| No |
| Yes (1.14.0) |
| No |
| Yes (1.5.0) |
| Yes (1.0.5) |
| 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
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
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:
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
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
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
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
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
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
Examples
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:
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:
Цветовые коды в Minecraft
В Майнкрафт существуют коды цветов и форматирования, которые позволяют изменять цвет и начертания текста прямо в чате игры. Цветовые коды варьируются от чёрного, до белого (всего 16 цветов).
Цвета и коды форматирования
Очень легко отформатировать ваш текст в конфигах или в игре, используя таблицу цветов ниже. &r используется для сброса всех кодов, т.е. &mААА&rБББ будет отображаться как ААА БББ.
Таблица цветовых кодов
Код | Название | Тех.название | Цвет символа | Цвет тени символа | ||||||
---|---|---|---|---|---|---|---|---|---|---|
R | G | B | Hex | R | G | B | Hex | |||
&0 | Черный | black | 0 | 0 | 0 | 000000 | 0 | 0 | 0 | 000000 |
&1 | Тёмно-синий | dark_blue | 0 | 0 | 170 | 0000AA | 0 | 0 | 42 | 00002A |
&2 | Тёмно-зелёный | dark_green | 0 | 170 | 0 | 00AA00 | 0 | 42 | 0 | 002A00 |
&3 | Тёмно-сине-зелёный | dark_aqua | 0 | 170 | 170 | 00AAAA | 0 | 42 | 42 | 002A2A |
&4 | Тёмно-красный | dark_red | 170 | 0 | 0 | AA0000 | 42 | 0 | 0 | 2A0000 |
&5 | Тёмно-фиолетовый | dark_purple | 170 | 0 | 170 | AA00AA | 42 | 0 | 42 | 2A002A |
&6 | Золотой | gold | 255 | 170 | 0 | FFAA00 | 42 | 42 | 0 | 2A2A00 |
&7 | Серый | gray | 170 | 170 | 170 | AAAAAA | 42 | 42 | 42 | 2A2A2A |
&8 | Тёмно-серый | dark_gray | 85 | 85 | 85 | 555555 | 21 | 21 | 21 | 151515 |
&9 | Голубой | blue | 85 | 85 | 255 | 5555FF | 21 | 21 | 63 | 15153F |
&a | Зелёный | green | 85 | 255 | 85 | 55FF55 | 21 | 63 | 21 | 153F15 |
&b | Сине-зелёный | aqua | 85 | 255 | 255 | 55FFFF | 21 | 63 | 63 | 153F3F |
&c | Красный | red | 255 | 85 | 85 | FF5555 | 63 | 21 | 21 | 3F1515 |
&d | Светло-фиолетовый | light_purple | 255 | 85 | 255 | FF55FF | 63 | 21 | 63 | 3F153F |
&e | Жёлтый | yellow | 255 | 255 | 85 | FFFF55 | 63 | 63 | 21 | 3F3F15 |
&f | Белый | white | 255 | 255 | 255 | FFFFFF | 63 | 63 | 63 | 3F3F3F |
Таблица кодов форматирования
Иногда бывает нужно подчеркнуть, зачеркнуть, выделить какой-либо текст. Для этого используется форматирование текста. Используется точно так же как и цвета (перед текстом ставим амперсант и код, например &lMinecraft = Minecraft)