作者:rebot | 分类:模组
Minecraft 版本: 1.21.1
平台: neoforge
标签: utility
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—"

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:
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请登录后举报
暂无评论,抢个沙发吧~