Перейти к содержимому
Mineforgian

Title Writer

Animate Title Text with Typewriter animation

Загрузки
1K
Подписчики
16
Обновлён
13 августа 2025 г.
Лицензия
MIT

Опубликован 24 сентября 2024 г.

About Me

"TitleWriter" is a small datapack/mapmaking/gamemaking tool that allows players to show animated titles to players where the animation style is "typewriter". Players can set tick-delay and sound that is played per character, to imitate a typewriter animation style!

How to use

/function tl:title {"text":"abcd","tick":10,"location":"actionbar/title","sound":"block.note_block.bit master @s ~ ~ ~ 1 2 1", args:{font:"minecraft:default",is_bold:FALSE,is_italic:FALSE}}
To use this datapack, you'll have to run a function file "tl:title" with a set of parameters inside `{..}`. These are the following:
- text : Self-explanatory, it's the text.
    |_______ can be either pure string, or literal SNBT (lists supported!)
                                              |____ if literal SNBT is used, set args to {is_literal:TRUE}.
- tick : this is the animation delay between every letter in ticks.
- location : this field defines whether title is shown.
    |_______ can be either title or actionbar.
- sound : this is the sound that is played.
    |_______ example: "minecraft.sound master @s ~ ~ ~ 1 1 1"
- args : Optional Arguments for different behavior
    |_______ is_bold: TRUE/FALSE; Turns all text to Bold
    |_______ is_italic: TRUE/FALSE; Turns all text to italic.
    |_______ font: string; Change the font of the text.
    |_______ is_literal: TRUE/unset; 
                |_____ This Flag disregards the flags above. 
                |_____ If mentioned/set to true, text interprets SNBT similar to /tellraw or default /title. 
                |_____ Can be used to animate Words, Complex SNBT or Text with Gradient. 

Note:

If you're text has a semi-colon or an "=" sign, make sure that your text value in the command looks like this: "text":'"TIME 9:30"' which is TEXT inside DOUBLE_QUOTATION_MARKS inside SINGLE_QUOTATION_MARKS

Limitations:

  • You cannot color/italicize/bold text currently

This has been fixed by introducing literal SNBT support.

Центр версий

7 версий
  • Релиз13 КБ
  • Релиз7 КБ
  • Релиз18 КБ
  • Релиз10 КБ
  • Релиз9 КБ
  • Релиз5 КБ
  • Релиз5 КБ

Ченджлог

1.2+modРелиз26.1, 26.1.1, 26.1.2 · 13 августа 2025 г.

Features:

  • Added another tag called "args", any future additions will be added to this tag instead.
/function tl:title {"text":'',"sound":"",tick:1,location:"actionbar/title",args:{}}

args currently have the following valid arguments:

  • font: it will set the font for the text.
  • is_bool: TRUE/FALSE, to set all text to BOLD
  • is_italic: TRUE/FALSE, to set all text to italic.
  • is_literal: TRUE/unset, if TRUE, all the above arguments will be disregarded and the text will be interpreted as literal snbt, useful if players have gradient text or want to use words instead:
1.2Релиз26.1.1, 26.1.2, 26.2 · 13 августа 2025 г.

Features:

  • Added another tag called "args", any future additions will be added to this tag instead.
/function tl:title {"text":'',"sound":"",tick:1,location:"actionbar/title",args:{}}

args currently have the following valid arguments:

  • font: it will set the font for the text.
  • is_bool: TRUE/FALSE, to set all text to BOLD
  • is_italic: TRUE/FALSE, to set all text to italic.
  • is_literal: TRUE/unset, if TRUE, all the above arguments will be disregarded and the text will be interpreted as literal snbt, useful if players have gradient text or want to use words instead:
1.1+modРелиз1.21.6, 1.21.7, 1.21.8 · 28 октября 2024 г.
  • Removed "username" macro and replaced it with default command selector. So now, if you want to show title to everyone, you'll have to
execute as @a run function tl:title {...}
  • Replaced "sound" macro parameters. Sound macro can now take channel, selector (@s is the player title is shown to), location, max volume, pitch and min volume. "block.note_block.bit" => "block.note_block.bit master @s ~ ~ ~ 1 2 1"
1.1Релиз1.21.6, 1.21.7, 1.21.8 · 28 сентября 2024 г.
  • Removed "username" macro and replaced it with default command selector. So now, if you want to show title to everyone, you'll have to
execute as @a run function tl:title {...}
  • Replaced "sound" macro parameters. Sound macro can now take channel, selector (@s is the player title is shown to), location, max volume, pitch and min volume. "block.note_block.bit" => "block.note_block.bit master @s ~ ~ ~ 1 2 1"
1.0.1Релиз1.20.6, 1.21, 1.21.1 · 24 сентября 2024 г.

This datapack contains both 1.21 and 1.20.6 files into a single datapack. Check project description for usage guide.

1.0Релиз1.20.5, 1.20.6 · 24 сентября 2024 г.

check project description for usage guide.

1.0Релиз1.21 · 24 сентября 2024 г.

check project description for usage guide.

Комментарии

Загружаем…