Woodland Fox Verses
林间狐咏
在聊天气泡中显示各种文本,如诗歌、词汇、数学公式等。
“当月光穿过松枝时,你可能会遇见那只饱读诗书的狐狸——”

简介
这是 Minecraft 女仆模组(Touhou Little Maid Mod)的一个附加模组,会在游戏中随机显示各种聊天气泡。目前整合的内容包括:
- 300 首唐宋诗词
- 初中、高中及大学四级/六级英语词汇
- 经典数学公式
致谢
- 聊天气泡纹理由 YSBB 慷慨提供
- chinese-poetry project
- Common English Wordlists
- ChillCalligraphy Font (Hanchan Shuti)
- Libertinus Font
其他
- 数学公式由 GPT-4.1 生成,相关内容可在此查看 here
KubeJS 支持
你现在可以使用 KubeJS 添加游戏提示:
// 你需要在 server_scripts 目录中创建 JS 脚本来添加提示
// 使用 addTipInAllBiome 方法在所有生物群系中添加提示
WoodlandFoxVerses.addTipInAllBiome("按 F3 查看坐标和生物群系信息")
// 你可以使用 \n 进行换行,游戏会自动对长文本进行换行处理
WoodlandFoxVerses.addTipInAllBiome("Two roads diverged in a yellow wood,\nAnd sorry I could not travel both")
WoodlandFoxVerses.addTipInAllBiome("To be or not to be, that is the question:\n" +
"Whether 'tis nobler in the mind to suffer the slings and arrows of outrageous fortune,\n" +
"Or to take arms against a sea of troubles and by opposing end them.")
// 使用 addTipInBiome 方法在特定生物群系中添加提示
// 第二个生物群系参数可以是生物群系 ID 或生物群系标签
WoodlandFoxVerses.addTipInBiome("这里是下界荒地,拥有广阔的熔岩海和散落的萤石簇", "minecraft:nether_wastes")
// 别忘了标签需要以 # 开头
WoodlandFoxVerses.addTipInBiome("你处于一个可以生成村庄的平原生物群系中", "#minecraft:has_structure/village_plains")
// 当然,聊天气泡背景也是可自定义的。你可以参考现有纹理进行定制(使用九宫格切片机制)
// 纹理需要使用包含 .png 扩展名的完整路径
WoodlandFoxVerses.addTipInAllBiomeWithBg("这是一个带有自定义背景的提示", "woodlandfoxverses:textures/verses.png")
// 由于 Woodland Fox Verses 模组默认添加了数学公式、英文单词和古典诗词
// 有些人可能只想将其用作游戏提示,因此我们也提供了 KJS 接口来强制禁用这些功能
WoodlandFoxVerses.showWords(false) // 禁用英文单词显示
WoodlandFoxVerses.showPoetry(false) // 禁用古典诗词显示
WoodlandFoxVerses.showMathFormula(false) // 禁用数学公式显示
// 你还可以强制指定气泡的显示持续时间和频率
WoodlandFoxVerses.bubbleAddInterval(60) // 每 60 刻尝试显示一次气泡
WoodlandFoxVerses.bubbleShowDuration(40) // 每个气泡显示 40 刻后消失
Woodland Fox Verses
林间狐咏
Display various texts such as poetry, vocabulary, math formulas, and more in chat bubbles.
"When the moonlight passes through the pine branches, you may encounter the well-read fox—"

Introduction
This is an add-on mod for the Minecraft maid mod (Touhou Little Maid Mod) that randomly displays various chat bubbles in-game. Currently integrated content includes:
- 300 Tang and Song poems
- English vocabulary for junior high, senior high, and CET-4/CET-6 college levels
- Classic mathematical formulas
Acknowledgements
- Chat bubble textures generously provided by YSBB
- chinese-poetry project
- Common English Wordlists
- ChillCalligraphy Font (Hanchan Shuti)
- Libertinus Font
Others
- Mathematical formulas are generated by GPT-4.1, and related content can be found in the here
KubeJS Support
You can now use KubeJS to add game tips:
// You need to create JS scripts in the server_scripts directory to add tips
// Add tips in all biomes using the addTipInAllBiome method
WoodlandFoxVerses.addTipInAllBiome("Press F3 to view coordinates and biome information")
// You can add \n for line breaks, and the game will automatically wrap long text
WoodlandFoxVerses.addTipInAllBiome("Two roads diverged in a yellow wood,\nAnd sorry I could not travel both")
WoodlandFoxVerses.addTipInAllBiome("To be or not to be, that is the question:\n" +
"Whether 'tis nobler in the mind to suffer the slings and arrows of outrageous fortune,\n" +
"Or to take arms against a sea of troubles and by opposing end them.")
// Add tips in specific biomes using the addTipInBiome method
// The second biome parameter can be a biome ID or biome tag
WoodlandFoxVerses.addTipInBiome("This is the Nether Wastes, featuring vast lava seas and scattered glowstone clusters", "minecraft:nether_wastes")
// Don't forget that tags need to start with #
WoodlandFoxVerses.addTipInBiome("You are in a plains biome where villages can generate", "#minecraft:has_structure/village_plains")
// Of course, the chat bubble background is also customizable. You can reference existing textures for customization (using nine-slice mechanism)
// Textures need the full path with .png extension
WoodlandFoxVerses.addTipInAllBiomeWithBg("This is a tip with custom background", "woodlandfoxverses:textures/verses.png")
// Since the Woodland Fox Verses mod adds math formulas, English words, and classical poetry by default
// Some people might just want to use it for game tips, so we also provide KJS interfaces to forcibly disable these features
WoodlandFoxVerses.showWords(false) // Disable English word display
WoodlandFoxVerses.showPoetry(false) // Disable classical poetry display
WoodlandFoxVerses.showMathFormula(false) // Disable math formula display
// You can also forcibly specify the bubble display duration and frequency
WoodlandFoxVerses.bubbleAddInterval(60) // Attempt to display a bubble every 60 ticks
WoodlandFoxVerses.bubbleShowDuration(40) // Each bubble disappears after displaying for 40 ticks
下载 WoodlandFoxVerses
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WoodlandFoxVerses
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WoodlandFoxVerses
下载 WoodlandFoxVerses
下载 WoodlandFoxVerses
下载 WoodlandFoxVerses
下载 WoodlandFoxVerses
下载 WoodlandFoxVerses
下载 WoodlandFoxVerses
下载 WoodlandFoxVerses
-
修复了唐诗的 JSON 数据格式错误问题
-
添加了 KubeJS 兼容性。现在你可以使用 KubeJS 添加游戏提示。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧