跳到正文

Title Writer

作者:barden

Animate Title Text with Typewriter animation

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

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:
<br>
"text":'"TIME 9:30"'<br>

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.

常见问题

Title Writer 支持哪些 Minecraft 版本?

Title Writer 支持 Minecraft Java 版 1.20.5–26.2,共 18 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。

Title Writer 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。

评论

登录后评论和评分

barden 的其他作品

查看全部 →