格式说明
我敢肯定大家都了解 Minecraft 中的节符号(§)的作用,但不久前,Minecraft 移除了它在聊天、告示牌和书籍中可输入/粘贴的功能。这让我非常难过,因为能够直接输入 § 加上字母或数字来让文本呈现完全不同的效果是一个很棒的功能。因此,我制作了一个模组以恢复这一功能。
缺陷
-
该字符在告示牌上仍然无法输入。这个问题不会修复,原因有二:首先,本模组旨在仅作为客户端模组运行,而更改方块数据是在服务器端处理的;其次,我认为在告示牌上使用此功能的益处不大,因为我们无论如何都可以使用染料来改变告示牌的颜色。
-
在书与笔中,我希望符号在用户在其后输入内容之前保持可见,这一点已经实现。唯一的问题是,每个新段落都会继承前一个段落的格式,这意味着如果前一个是 §k(混淆),你就无法看到下一个段落。目前我正在努力改进,使每个段落能结合自身的样式以及之前的样式进行显示。
格式代码列表
颜色
§0: 黑色 (#000000)
§1: 深蓝色 (#0000AA)
§2: 深绿色 (#00AA00)
§3: 深青色 (#00AAAA)
§4: 深红色 (#AA0000)
§5: 深紫色 (#AA00AA)
§6: 金色 (#FFAA00)
§7: 灰色 (#AAAAAA)
§8: 深灰色 (#555555)
§9: 蓝色 (#5555FF)
§a: 绿色 (#55FF55)
§b: 青色 (#55FFFF)
§c: 红色 (#FF5555)
§d: 浅紫色 (#FF55FF)
§e: 黄色 (#FFFF55)
§f: 白色 (#FFFFFF)
样式与格式
§k: 混淆(随机移动字符)
§l: 加粗
§m: 删除线
§n: 下划线
§o: 斜体
§r: 重置(清除所有之前的颜色和样式)
Formatting
Im pretty sure that everybody knows what the Section Symbol(§) does in minecraft, but a while ago minecraft removed it as a typable/pastable character in chat, signs and books. This made me very sad since it was such a cool feature to just be able to type § then a letter/number and have my text look completely different. so therefore, I made a mod to add it back.
Flaws
-
This Character is still not typable on signs. This will not be fixed for two reasons. The First reason is that i intend for this mod to be client side only, and changing the data of a block is handled on the server side. The second reason is that i feel like it isnt as beneficial on signs since you can just use dyes on them anyway.
-
In the book and quill, i wanted the symbol(s) to be visible until you typed something after them, which worked, the only problem is that every new section takes on the formatting of the previous one(s) which means that if the previous one was §k(obfuscate) then you wouldnt be able to see the next section. Im currently working on making it so that the each section will take on its own look combined with the previous ones.
List Of Formatting Codes
Color
§0: Black (#000000)
§1: Dark Blue (#0000AA)
§2: Dark Green (#00AA00)
§3: Dark Aqua (#00AAAA)
§4: Dark Red (#AA0000)
§5: Dark Purple (#AA00AA)
§6: Gold (#FFAA00)
§7: Gray (#AAAAAA)
§8: Dark Gray (#555555)
§9: Blue (#5555FF)
§a: Green (#55FF55)
§b: Aqua (#55FFFF)
§c: Red (#FF5555)
§d: Light Purple (#FF55FF)
§e: Yellow (#FFFF55)
§f: White (#FFFFFF)
Style And Formatting
§k: Obfuscated (random moving characters)
§l: Bold
§m: Strikethrough
§n: Underline
§o: Italic
§r: Reset (clears all previous colors and styles)
评论 0
登录后参与评分
还没有评论,来抢沙发吧