终末之诗

来自Minecraft基岩版开发Wiki
LPaicen讨论 | 贡献2021年3月30日 (二) 15:56的版本

终末之诗(End Poem)是基于文本的一段消息,会在玩家进入返回传送门时出现。

文件

终末之诗的文本文件位于assets/credits/end.txt,鸣谢名单储存在assets/credits/credits.json,引言则储存在assets/credits/quote.txt。它们都可以使用资源包编辑。谈话者1叙述的格式化代码是§3(湖蓝色),而谈话者2叙述的使用了§2(深绿色),玩家名称以PLAYERNAME的形式来插入进去,而乱码则是§f§k§a§b。

内容

终末之诗和鸣谢名单总共会持续27分钟15秒。

正文

终末之诗文本的文件类型为txt。

鸣谢名单

内容

Json结构示例

鸣谢名单的文件类型为json。

[
    {
        "section": "Section",//板块
        "titles": [
            {
                "title": "Title_0",//标题
                "names": [
                    "Name_0"
                ]//名单
            },
            {
                "title": "Title_1",//标题
                "names": [
                    "Name_1",
                    "Name_2",
                    "Name_3"
                ]//名单
            }
        ]
    }
]

引言

鸣谢名单的末尾附有如下引言:

Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did do. So throw off the bowlines. Sail away from the safe harbor. Catch the trade winds in your sails. Explore. Dream. Discover.

——Unknown

参考译文:

20年之后,更令你失望的不是你做了什么,而是你没做什么。所以解开帆脚索,离开安全的港湾,赶着航程中的信风,去探索,去梦想,去发现。

——佚名

这段话被广泛地认为出自马克·吐温,但相关证据表明它实际上是其他人所创作的。

引言的文件类型为txt。