关于我
"TitleWriter" 是一款小型的数据包/地图制作/游戏制作工具,允许玩家向其他玩家展示采用“打字机”风格的动画标题。玩家可以设置每个字符播放的 Tick 延迟和声音,以模仿打字机的动画风格!
使用方法
/function tl:title {"text":'"Title Writer by barden!"',"tick":2,"location":"actionbar","sound":"block.note_block.bit master @s ~ ~ ~ 1 2 1", args:{font:"minecraft:default",is_bold:TRUE,is_italic:FALSE}}
要使用此数据包,你需要运行一个包含一组参数的函数文件 "tl:title",这些参数位于 `{..}` 内。具体如下:
- text : 顾名思义,即文本内容。
|_______ 可以是纯字符串,也可以是字面量 SNBT(支持列表!)
|____ 如果使用字面量 SNBT,请将 args 设置为 {is_literal:TRUE}。
- tick : 这是每两个字母之间的动画延迟(以 Tick 为单位)。
- location : 此字段定义标题显示的位置。
|_______ 可以是 title 或 actionbar。
- sound : 这是播放的声音。
|_______ 示例:"minecraft.sound master @s ~ ~ ~ 1 1 1"
- args : 用于不同行为的可选参数
|_______ is_bold: TRUE/FALSE;将所有文本加粗
|_______ is_italic: TRUE/FALSE;将所有文本设为斜体。
|_______ font: string;更改文本字体。
|_______ is_literal: TRUE/unset;
|_____ 此标志会忽略上述标志。
|_____ 如果提及/设置为 true,文本将解释为类似 /tellraw 或默认 /title 的 SNBT。
|_____ 可用于动画化单词、复杂 SNBT 或带有渐变的文本。
注意:
如果你的文本中包含分号或“=”符号,请确保命令中的文本值如下所示:
"text":'"TIME 9:30"'
即单引号内的双引号内的 TEXT
限制:
-
你目前无法对文本进行着色/斜体/加粗
通过引入字面量 SNBT 支持,此问题已修复。
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":'"Title Writer by barden!"',"tick":2,"location":"actionbar","sound":"block.note_block.bit master @s ~ ~ ~ 1 2 1", args:{font:"minecraft:default",is_bold:TRUE,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.
下载 Title Writer
下载 Title Writer
下载 Title Writer
下载 Title Writer
下载 Title Writer
下载 Title Writer
更新了数据包以适配 Minecraft 26.3
特性:
- 新增了一个名为“args”的标签,所有未来的添加都将统一加入此标签中。
/function tl:title {"text":'',"sound":"",tick:1,location:"actionbar/title",args:{}}
目前 args 支持以下有效参数:
- font:用于设置文本字体。
- is_bool:值为 TRUE/FALSE,用于将所有文本设置为粗体。
- is_italic:值为 TRUE/FALSE,用于将所有文本设置为斜体。
- is_literal:值为 TRUE/未设置;若设为 TRUE,则忽略上述所有参数,文本将被直接解释为字面量 SNBT 格式。这在玩家使用渐变文本或希望直接使用文字时非常有用:
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧