截图
介绍

This mod adds the Nyctography substitution cipher as a Minecraft font! This font can be used for books, signs, chat messages, tooltips, and most forms of ingame text.
History
The nyctography writing system was invented in 1891 by Lewis Carrol. The goal of this system was to make writing in the dark easier, which is where the system gets its name. Text was written using a nyctograph, a stencil with squre holes that were used to align and write the characters. In modern times this writing system has been used for puzzles in games, DnD campaigns, and geocaches.
Understanding Nyctography
This writing system uses a series of dots and lines aranged around the edges of a square. For example the letter E has a dot in the top left corner and a line on the top. Each symbol loosely resembles its latin alphabet counterpart. For example the letter O has a dot in the top left corner and then a line on all sides of the box, creating a closed loop.

Similarly to braille, numbers are written using a letter. This mod will automatically handle this when writing text with the font but you will still need to know how to read them. Only consonants are used to avoid confusion with actual words.
- 0 = Z
- 1 = B (First consonant in the alphabet)
- 2 = D (Two in Latin is Duo)
- 3 = T
- 4 = F
- 5 = L (Roman for 50)
- 6 = S
- 7 = M (From Septem which is Seven in Latin)
- 8 = H (Eight in french is huit)
- 9 = N
There are five special characters in addition to the letters and numbers.
- The – Written in this mod using a dash (-). Appears as a dot in the top left, a line on the top, and two dots on the bottom.
- And – Written in this mod using an ampersand (&). Appears as a dot in the top and bottom left, and a line on the right.
- Digit – Written in this mod using a hashtag (#). Indicates that the following characters should be read as a number. Appears as only the corners of the letter F for “figures”.
- Letter – Written in this mod using an asterisk (*). Indicates that the following characters are letters. Appears as only the corners of the letter L for “letters”.
- Date – Written in this mod using an at (@). Indicates the following characters are a date in DDMMYY format. Appears as corners of the letter D for “date”.
Technical Usage
This font can be applied to any text using Mojang’s text component system, including all commands and datapack features that accept raw JSON text. This is done by setting the font property of the text to nyctography:nyctography.
Vanilla Commands
Vanilla commands will often allow you to define text using the raw JSON format. The font property controls which font will be used when rendering that text. This can be done for all fonts and is not unique to fonts added by this mod.
/give @a stone[custom_name='["",{"text":"Stone","font":"nyctography:nyctography",italic:false}]']/title @a title {"text":"Hello","font":"nyctography:nyctography"}/give @a written_book[written_book_content={pages:['[["",{"text":"Test book","font":"nyctography:nyctography"}]]'],title:"aaa",author:"bbb"}]
Bookshelf Commands
This mod depends on the Bookshelf library which offers several commands to help work with fonts. A few examples of these commands are given below.
- /bookshelf font say nyctography:nyctography – Posts a chat message styled with the font.
- /bookshelf font item nyctography:nyctography – Renames the held item to use the font.
- /bookshelf font block nyctography:nyctography X Y Z – Applies the font to the block. This will change sign text, or rename namable blocks like chests.
Scripts, Plugins, and Mods
If you have access to code or scripting tools you can apply the font to any mutable text component. This is done by setting the font ID on the style of the text component. You can find an example of how I do this in my code here.
This project is sponsored by Nodecraft. Use code DARKHAX for 30% off your first month of service!
常见问题
Nyctography 支持哪些 Minecraft 版本?
Nyctography 支持 Minecraft Java 版 1.21.1–26.3,共 6 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。
Nyctography 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
Darkhax 的其他作品
查看全部 →Bookshelf
一个供其他模组使用的开源前置库!
Enchantment Descriptions
提供了一种从附魔书中获取附魔描述的方法。
AttributeFix
移除 Minecraft 属性系统上的任意限制。修复大量模组!
Tips
这个模组会在加载界面显示提示,还支持整合包和模组添加自定义提示!

评论
登录后评论和评分