? Quiz Survival
Minecraft Fabric 模组 | 1.21.11
谁说玩 Minecraft 只是玩游戏?
想砍树?先回答问题。挖矿?先回答。打怪物?先回答。甚至跳跃也需要答题。
当 Minecraft 遇上问答,一切都将改变。题库完全开放——默认附带 Minecraft 常识题,但你可以替换为高等数学、物理、英语、历史——任何你想学习的内容。边玩边学。想玩吗?那就先答对。
这不仅仅是一个模组。它是一个游戏驱动的学习系统。
✨ 特性
? 全动作拦截
- 砍伐 — 砍树会触发问答
- 挖掘 — 挖掘矿石、石头和泥土各有独立的分类
- 战斗 — 近战和远程攻击都会触发问答;只有答对后才能造成伤害
- 跳跃 — 连跳跃都需要答题
- 交互 — 打开工作台、箱子、熔炉等需要答题
⚔️ 战斗系统
- 攻击生物时,周围所有怪物会被冻结,让你安全答题
- 伤害根据生物血量等级计算(小型怪=一击必杀,中型怪=半血,Boss=固定伤害)
- 远程攻击(弓/弩)造成近战伤害的 50%(可配置)
- 答错 = 怪物解冻 + 健康惩罚;答错时苦力怕会自燃!
- 支持 PvP 问答决斗 —— 攻击其他玩家也会触发问答
? 问答机制
- 200+ 道题目涵盖 Minecraft 知识:挖掘、战斗、附魔、酿造、红石、生物群系等
- 不重复的题目;当所有题目用完时重新洗牌
- 答对授予免费行动次数(按分类追踪)
- 答错造成递增伤害(公式:
min(max, base^连续错误次数))
- 带进度条的倒计时器;归零时自动提交错误答案
? 用户界面
- 带有分类标签、伤害警告和倒计时进度条的问答屏幕
- HUD 覆盖层显示每个分类剩余的免费行动次数
- 正确/错误答案的声音效果
⚙️ 完全可配置
- 所有参数均可通过 JSON 配置文件调整——无需重新编译
- 使用
/quizsurvival reload 命令热重载
- 自定义方块分类、战斗排除项、伤害乘数等
- 外部 JSON 题库——自由添加/修改题目
? 多语言支持
- 内置中文和英文题库(各 200+ 道题)
- 在游戏中使用
/quizsurvival lang <zh|en> 切换语言
- 所有 UI 文本、HUD、聊天消息和配置注释均为双语
? 多人游戏安全
- 所有状态按玩家 UUID 隔离
- ConcurrentHashMap 确保线程安全
- 引用计数的怪物冻结防止在多人游戏中过早解冻
? 安装
- 安装 Fabric Loader (1.21.11)
- 安装 Fabric API (0.140.2+)
- 将模组 JAR 放入
.minecraft/mods/
- 启动游戏——首次运行时自动生成配置文件和题库
? 命令
所有命令均使用统一的 /quizsurvival 根命令:
| 命令 |
权限 |
描述 |
/quizsurvival |
所有人 |
显示命令帮助 |
/quizsurvival reload |
OP |
热重载配置和题库 |
/quizsurvival stats [player] |
所有人 |
查看问答统计信息(总数/正确/错误/准确率) |
/quizsurvival time <seconds> |
OP |
更改问答时限(0 = 无限) |
/quizsurvival lang <zh|en> |
OP |
切换题目语言 |
? 配置
路径:config/quizsurvival/quizsurvival_config.json
{
"questionLanguage": "zh", // zh=中文, en=英文
"freeActionCount": 5, // 每次答对获得的免费行动次数
"freezeRadius": 32, // 战斗期间怪物冻结半径(格)
"quizTimeLimit": 30, // 倒计时秒数,0 = 无限
"wrongDamageBase": 2.0, // 答错伤害基数
"wrongDamageMax": 20.0, // 答错伤害上限
"smallMobHpThreshold": 20, // 小型怪血量阈值
"mediumMobHpThreshold": 100, // 中型怪/Boss 血量阈值
"meleeDamageSmall": 10.0, // 小型怪伤害乘数(一击必杀)
"meleeDamageMedium": 0.5, // 中型怪伤害乘数(半血)
"meleeDamageBoss": 20.0, // Boss 固定伤害
"rangedDamageRatio": 0.5 // 远程伤害比例(相对于近战)
}
所有配置注释均为双语(中文/英文)。删除配置文件并重启以重新生成默认值。
? 自定义题目
路径:config/quizsurvival/quiz_questions_zh.json(中文)或 quiz_questions_en.json(英文)
[
{
"question": "钻石生成的最低 Y 坐标是多少?",
"options": ["-64", "0", "16", "32"],
"answer": 0
}
]
answer 是正确选项的从零开始的索引
- 编辑后使用
/quizsurvival reload 热重载——无需重启
- 使用
/quizsurvival lang <zh|en> 切换语言——缺失的题库文件会自动生成
? 不仅仅是 Minecraft 常识
默认题库涵盖 Minecraft 知识,但 JSON 格式意味着你可以使用任何内容:
| 用例 |
题库 |
| ? 学生复习 |
微积分、物理公式、化学方程式 |
| ? 语言学习 |
英语词汇、语法、翻译 |
| ? 考试准备 |
驾照、标准化考试备考 |
| ? 课堂 |
教师创建自定义测验,学生在游玩中学习 |
| ? 服务器活动 |
为服务器社区定制常识竞赛 |
只需编辑 JSON 文件——4 个选项,1 个答案。无需编程。
optional_question_banks/ 目录中包含一份**高等数学题库(50 道题)**作为示例:
optional_question_banks/
├── quiz_questions_zh.json ← 中文数学问题
└── quiz_questions_en.json ← 英文数学问题
使用方法:直接复制到 config/quizsurvival/ 以替换默认文件,然后执行 /quizsurvival reload。
? 答案反馈
答题结果会在聊天栏中实时显示:
| 情况 |
消息示例 |
| ✅ 正确 |
§a✔ 正确!奖励5次免费行动! |
| ✅ 战斗正确 |
§a✔ 正确!近战造成20点伤害!(剩余0次) |
| ❌ 错误 |
§c✘ 错误!扣除2点生命值!(剩余18点) |
| ❌ 战斗错误 |
§c✘ 错误!怪物解冻!扣除4点生命值! |
| ? 苦力怕错误 |
§c✘ 错误!苦力怕点燃!快跑! |
| ⏰ 超时 |
§c✘ 时间到!扣除2点生命值! |
? 提示与策略
- 答对题目 — 每答对一题可获得5次免费行动 = 更长的自由时间
- 避免连续答错 — 答错造成的伤害会递增(2→4→8→16→最高20)
- 小心苦力怕 — 答对苦力怕相关题目若出错 = 立即点燃。请使用远程攻击!
- 不要等到超时 — 如果不确定就猜一个,超时也算作答错
- 远程攻击伤害减半 — 弓箭更安全,但只造成近战50%的伤害
❓ 常见问题
问:题目太难/太简单?
答:使用你自己的问题编辑 quiz_questions_zh.json 或 quiz_questions_en.json,然后执行 /quizreload。
问:如何为特定动作禁用问答?
答:将免费行动次数设置为一个非常大的数字(例如 99999)—— 这实际上禁用了该动作。
问:在服务器上有效吗?
答:是的!客户端和服务器都需要安装模组。所有玩家状态都是隔离的。
问:当计时器归零时会发生什么?
答:自动判定为答错 —— 扣除生命值 + 进入下一题(战斗模式也会解冻怪物)。
问:与其他模组兼容吗?
答:与大多数 Fabric 模组兼容。使用标准事件 API,无核心覆盖。
? Quiz Survival
Minecraft Fabric Mod | 1.21.11
Who says playing Minecraft is just playing games?
Want to chop a tree? Answer a question first. Mine ores? Answer first. Fight mobs? Answer first. Even jumping requires a quiz.
When Minecraft meets quizzes, everything changes. The question bank is fully open — it ships with Minecraft trivia by default, but you can swap it out for advanced math, physics, English, history — anything you want to learn. Play and learn at the same time. Want to play? Then answer correctly first.
This isn't just a mod. It's a game-driven learning system.
✨ Features
? Full Action Interception
- Chopping — Cutting trees triggers a quiz
- Mining — Mining ores, stone, and dirt each have separate categories
- Combat — Both melee and ranged attacks trigger quizzes; damage is only dealt after a correct answer
- Jumping — Even jumping requires a quiz
- Interaction — Opening crafting tables, chests, furnaces, etc. requires a quiz
⚔️ Combat System
- When attacking a mob, all nearby monsters are frozen so you can answer safely
- Damage is calculated based on mob HP tier (small mobs = one-shot, medium = half HP, boss = fixed damage)
- Ranged attacks (bow/crossbow) deal 50% of melee damage (configurable)
- Wrong answer = mobs unfreeze + health penalty; Creepers ignite on wrong answer!
- PvP quiz duels supported — attacking another player triggers a quiz too
? Quiz Mechanics
- 200+ questions covering Minecraft knowledge: mining, combat, enchanting, brewing, redstone, biomes, and more
- Non-repeating questions; deck reshuffles when all questions are used
- Correct answers grant free action charges (tracked per category)
- Wrong answers deal escalating damage (formula:
min(max, base^consecutive_errors))
- Countdown timer with progress bar; auto-submits wrong answer at 0
? User Interface
- Quiz screen with category label, damage warning, and countdown progress bar
- HUD overlay showing remaining free action charges per category
- Sound effects for correct/wrong answers
⚙️ Fully Configurable
- All parameters adjustable via JSON config — no recompilation needed
- Hot-reload with
/quizsurvival reload command
- Customizable block categories, combat exclusions, damage multipliers, and more
- External JSON question bank — add/modify questions freely
? Multi-Language Support
- Built-in Chinese and English question banks (200+ questions each)
- Switch language in-game with
/quizsurvival lang <zh|en>
- All UI text, HUD, chat messages, and config comments are bilingual
? Multiplayer Safe
- All state is isolated per player UUID
- ConcurrentHashMap ensures thread safety
- Reference-counted mob freezing prevents premature unfreeze in multiplayer
? Installation
- Install Fabric Loader (1.21.11)
- Install Fabric API (0.140.2+)
- Place the mod JAR in
.minecraft/mods/
- Launch the game — config files and question bank are auto-generated on first run
? Commands
All commands use the unified /quizsurvival root:
| Command |
Permission |
Description |
/quizsurvival |
Everyone |
Show command help |
/quizsurvival reload |
OP |
Hot-reload config and question bank |
/quizsurvival stats [player] |
Everyone |
View quiz statistics (total/correct/wrong/accuracy) |
/quizsurvival time <seconds> |
OP |
Change quiz time limit (0 = unlimited) |
/quizsurvival lang <zh|en> |
OP |
Switch question language |
? Configuration
Path: config/quizsurvival/quizsurvival_config.json
{
"questionLanguage": "zh", // zh=Chinese, en=English
"freeActionCount": 5, // Free actions granted per correct answer
"freezeRadius": 32, // Mob freeze radius during combat (blocks)
"quizTimeLimit": 30, // Countdown in seconds, 0 = unlimited
"wrongDamageBase": 2.0, // Wrong answer damage base
"wrongDamageMax": 20.0, // Wrong answer damage cap
"smallMobHpThreshold": 20, // Small mob HP threshold
"mediumMobHpThreshold": 100, // Medium mob / Boss HP threshold
"meleeDamageSmall": 10.0, // Small mob damage multiplier (one-shot)
"meleeDamageMedium": 0.5, // Medium mob damage multiplier (half HP)
"meleeDamageBoss": 20.0, // Boss fixed damage
"rangedDamageRatio": 0.5 // Ranged damage ratio (vs melee)
}
All config comments are bilingual (Chinese/English). Delete the config file and restart to regenerate defaults.
? Custom Questions
Path: config/quizsurvival/quiz_questions_zh.json (Chinese) or quiz_questions_en.json (English)
[
{
"question": "What is the lowest Y level where diamonds can generate?",
"options": ["-64", "0", "16", "32"],
"answer": 0
}
]
answer is the zero-based index of the correct option
- Use
/quizsurvival reload to hot-reload after editing — no restart needed
- Switch language with
/quizsurvival lang <zh|en> — missing question bank files are auto-generated
? Not Just Minecraft Trivia
The default question bank covers Minecraft knowledge, but the JSON format means you can use any content:
| Use Case |
Question Bank |
| ? Student Review |
Calculus, physics formulas, chemistry equations |
| ? Language Learning |
English vocabulary, grammar, translations |
| ? Exam Prep |
Driver's license, standardized test prep |
| ? Classroom |
Teachers create custom quizzes, students learn while playing |
| ? Server Events |
Custom trivia contests for your server community |
Just edit the JSON file — 4 options, 1 answer. No programming required.
An Advanced Math question bank (50 questions) is included as a sample in the optional_question_banks/ directory:
optional_question_banks/
├── quiz_questions_zh.json ← Chinese math questions
└── quiz_questions_en.json ← English math questions
To use: copy directly to config/quizsurvival/ to replace the default files, then /quizsurvival reload.
? Answer Feedback
Quiz results appear in real-time in the chat:
| Situation |
Message Example |
| ✅ Correct |
§a✔ Correct! 5 free actions granted! |
| ✅ Combat Correct |
§a✔ Correct! Melee dealt 20 damage! (0 left) |
| ❌ Wrong |
§c✘ Wrong! -2 HP! (18 left) |
| ❌ Combat Wrong |
§c✘ Wrong! Mobs unfrozen! -4 HP! |
| ? Creeper Wrong |
§c✘ Wrong! Creeper ignited! RUN! |
| ⏰ Timeout |
§c✘ Time's up! -2 HP! |
? Tips & Strategy
- Answer correctly — Each correct answer grants 5 free actions = extended freedom
- Don't streak wrong — Wrong answer damage escalates (2→4→8→16→20 cap)
- Watch out for Creepers — Wrong answer on a Creeper = instant ignition. Use ranged attacks!
- Don't wait for timeout — Guess if unsure, timeout counts as wrong too
- Ranged = half damage — Bows are safer but deal only 50% of melee damage
❓ FAQ
Q: Questions too hard/easy?
A: Edit quiz_questions_zh.json or quiz_questions_en.json with your own questions, then /quizreload.
Q: How to disable quizzes for a specific action?
A: Set free action count to a very large number (e.g. 99999) — effectively disables it.
Q: Does it work on servers?
A: Yes! Both client and server need the mod installed. All player states are isolated.
Q: What happens when the timer hits 0?
A: Auto-judged as wrong answer — health penalty + next question (combat mode also unfreezes mobs).
Q: Compatible with other mods?
A: Compatible with most Fabric mods. Uses standard event APIs, no core overwrites.
评论 0
登录后参与评分
还没有评论,来抢沙发吧