介绍
Quark All Days Matter
📖 Overview
This mod extends the QButton (the “q” button on the main menu) from the Quark mod. It allows you to freely add or remove celebration dates, and supports displaying multiple celebrations on the same day with multi-line tooltips.
Note: Due to the use of reflection, this mod may not work properly in some modpack environments or after future Quark updates.
✨ Features
- Customizable Celebrations: Add new celebrations or remove default ones via configuration file.
- Multiple Celebrations on the Same Day: If multiple celebrations fall on the same date, the “q” button tooltip displays all of them (multi-line).
- Pre-configured Defaults:
- Children’s Day (June 1st)
- Workers’ Day (May 1st)
- Easy to Extend: Simply add translation entries in language files to set custom greeting messages.
📂 Configuration File
Configuration file location:
config/quark_custom_celebrations.json
Example Format
{
"additions": [
{
"name": "children",
"day": 1,
"month": "JUNE",
"tier": 1
},
{
"name": "workers",
"day": 1,
"month": "MAY",
"tier": 1
}
],
"removals": [
"example_to_remove1",
"example_to_remove2"
]
}
Fields Explanation
additions – List of new celebrations
Each entry contains:
| Field | Type | Description |
|---|---|---|
name |
String | Unique identifier (used for translation key and removal matching) |
day |
Integer | Start day (1-31) |
len |
Integer | Optional, duration in days (default 0, meaning single day only) |
month |
String | Month name in uppercase (e.g., JUNE, MARCH, …) |
tier |
Integer | Icon tier (1-4, different colors/styles) |
If len is specified, the celebration lasts from day to day + len - 1.
removals – List of celebration names to remove
Add the name of celebrations you want to remove from Quark’s default list (e.g., "example_to_remove").
What celebrations does Quark have? The celebration names can be found in Quark’s language files. For example, for quark.gui.celebration.unclesam, the celebration name is unclesam.
🌐 Language Files
After adding a new celebration, you must add its translation entry in the language file; otherwise, the tooltip will display the raw key.
Language File Path
assets/quark/lang/en_us.json
or the corresponding language file (e.g., zh_cn.json).
Example (en_us.json)
{
"quark.gui.celebration.children": "Happy Children's Day! Stay young at heart!",
"quark.gui.celebration.workers": "Happy Workers' Day!"
}
The translation key format is fixed:
quark.gui.celebration.<celebration_name>
📌 Notes
- Requires Quark mod as a dependency, of course.
- Take effect on Client-side.
- The
nameof each added celebration must be unique and match the key used in the language file. - The celebration names can be found in Quark’s language files. For example, if there is quark.gui.celebration.unclesam, the celebration name is unclesam.
- Configuration changes require a game restart (or reload, depending on implementation).
📝 Example: Adding “Valentine’s Day”
- In
celebration_config.json, add toadditions:
{
"name": "valentine",
"day": 14,
"month": "FEBRUARY",
"tier": 1
}
- In
en_us.json, add:
{
"quark.gui.celebration.midautumn": "Happy Valentine's Day!"
}
- Launch the game – on Feb 14th, the “q” button will display the greeting.
常见问题
Quark: All Days Matter 支持哪些 Minecraft 版本?
Quark: All Days Matter 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。
Quark: All Days Matter 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
Hakujoucho 的其他作品
查看全部 →Armor Damage Limit
确保单次攻击造成的耐久损失不超过盔甲最大耐久度的一定百分比。
OPack2Reload
防止玩家没有真正更改所选资源包时 Minecraft 重新加载资源包。同时在 PackSelectionScreen 中添加一个“取消”按钮。
Cataclysm: Weapon Skill Config/ Incinerator’s Try Hard
让你可以自定义 L_Ender 's Cataclysm 中焚化者、焚灭者、潮汐之爪等武器的技能伤害、范围、蓄力时间等参数!
Virtual Witch Arrangement
调整 Iron's Spellbooks 的 Eldritch 研究界面,让大量 Eldritch 法术同时出现时更易阅读。
评论
登录后评论和评分