为你的工作台添加制作时间——点击输出槽位会启动一个计时过程,而不是瞬间完成制作。进度通过带有声音和反馈的视觉叠加层显示。完全由服务器权威控制:配置在加入服务器时同步给所有客户端并重新加载。
⚙️ 功能
制作延迟 — 基础时间与原料数量成正比,并通过多层乘数(全局、按容器、按原料、按产出物、按配方)进行修改。移动时会阻止制作。创造模式完全绕过延迟。
经验缩放 — 制作速度通过自定义属性 patience:crafting_speed 随经验等级提升。该属性已开放供其他模组集成使用。
进度衰减 — 启用后,制作过程中移动会导致进度流失而非直接取消。中断制作后剩余的进度也会随时间衰减。如果禁用衰减,任何移动都会立即取消制作并重置进度。
小游戏 — 可选的技能检查机制,可在制作中途触发。进度叠加层的随机部分被指定为成功区域。当进度到达该区域时,叠加层变黄——在此期间点击输出槽位可瞬间完成制作。错过则施加时间惩罚。在没有激活小游戏区域时提前点击输出槽位也会受到惩罚。绿色表示成功,红色表示失败。
饥饿 — 每次完成制作会增加疲劳值。当饥饿度低于阈值时,制作速度会受到惩罚。
音效 — 每个工作台都有独特的循环制作音效和完成音效。音效可以在三个层级进行覆盖:按容器、按物品或按标签。
屏幕震动 — 制作期间的可选摄像机震动效果。默认关闭。
? 支持的容器
预配置支持 17 个工作台。所有工作台均可通过配置文件禁用、自定义或扩展。
| 容器 | |
|---|---|
| 原版 | 玩家背包 (2×2)、工作台、锻造台、铁砧、砂轮、切石机、制图台、织布机 |
| 模组 | Curios、Inventorio、Sawmill、Woodworks、Easel Does It、Galosphere、Clayworks、Cold Sweat、Hexerei |
?️ 配置
配置文件存储在游戏的 config 目录下的 patience.json 中。安装 Cloth Config 后可用 GUI 界面(Fabric/Quilt 通过 Mod Menu,NeoForge/Forge 通过模组列表界面)。GUI 涵盖一般设置——乘数映射和容器定义仅支持 JSON 格式。
常规
| 设置项 | 默认值 | 描述 |
|---|---|---|
debug |
false |
将槽位点击、屏幕名称、制作状态变化和移动检查记录到控制台 |
enable_sounds |
true |
播放制作和完成音效 |
default_crafting_sound |
patience:crafting |
制作期间播放的音效 |
default_finish_sound |
patience:finish |
完成时播放的音效 |
default_penalty_sound |
patience:penalty |
受到惩罚性点击时播放的音效 |
default_success_sound |
patience:success |
小游戏成功时播放的音效 |
global_time_multiplier |
1.0 |
应用于所有制作时间的乘数 (0.0 - 100.0) |
经验
速度公式:(attributeValue × baseSpeed) + (speedPerLevel × min(xpLevel, maxLevelCap))
| 设置项 | 默认值 | 描述 |
|---|---|---|
enabled |
true |
启用基于经验等级的制作速度缩放 |
multiplier |
1.0 |
总体制作速度乘数 (0.0 - 100.0) |
base_speed |
1.0 |
经验加成前的基础速度 (0.01 - 100.0) |
speed_per_level |
0.02 |
每级经验提供的额外速度 (0.0 - 10.0) |
max_level_cap |
200 |
超过此等级将被忽略 (0 - 30000) |
衰减
| 设置项 | 默认值 | 描述 |
|---|---|---|
enabled |
true |
移动导致进度流失而非取消制作 |
rate |
2.0 |
移动或闲置时每秒流失的进度量 (0.0 - 100.0) |
屏幕震动
| 设置项 | 默认值 | 描述 |
|---|---|---|
enabled |
false |
制作期间的摄像机震动 |
intensity |
0.5 |
震动强度 (0.0 - 5.0) |
饥饿
| 设置项 | 默认值 | 描述 |
|---|---|---|
enabled |
true |
启用饥饿消耗与速度惩罚 |
exhaustion_cost |
0.1 |
每次完成合成所增加的疲劳值(0.0 - 40.0) |
penalty.enabled |
true |
在低饥饿度时减缓合成速度 |
penalty.threshold |
6 |
触发惩罚的饥饿等级阈值(0 - 20) |
penalty.multiplier |
0.5 |
低于阈值时的速度倍率(0.0 - 10.0) |
小游戏
| 设置项 | 默认值 | 描述 |
|---|---|---|
enabled |
true |
启用技能检查小游戏 |
chance |
0.5 |
每次合成触发小游戏的概率(0.0 - 1.0) |
window_width |
0.15 |
成功区域大小占总进度的比例(0.01 - 0.5) |
penalty_percent |
0.25 |
失败时损失的进度占剩余进度的比例(0.0 - 1.0) |
penalty_cancels_craft |
true |
当惩罚点击使进度归零时取消合成 |
倍率
倍率映射允许对合成时间进行精细控制。在 JSON 中,它们均为 Map<String, Float> 类型。标签键使用 # 前缀(例如 "#minecraft:planks": 1.5)。
by_mod— 按模组命名空间缩放时间(例如"minecraft": 1.0)by_item— 按物品 ID 缩放时间(例如"minecraft:stick": 0.5)by_tag— 按物品标签缩放时间(例如"#minecraft:planks": 1.5)by_type— 按配方类型缩放时间(例如"minecraft:crafting": 2.0)by_recipe— 按特定配方 ID 缩放时间
这些倍率在 JSON 中分别归属于 ingredient_multipliers、output_multipliers 和 recipe_multipliers 对象。原料倍率和产出倍率支持 by_mod、by_item、by_tag。配方倍率支持 by_type、by_recipe。
物品音效
item_sounds 是一个 Map<String, String>,用于覆盖每个物品或标签的合成音效(例如 "minecraft:stick": "patience:crafting"、"#minecraft:planks": "patience:sawmill")。
容器
containers 数组包含针对每个工作台的配置。每项均支持以下字段:
| 字段 | 类型 | 描述 |
|---|---|---|
enabled |
boolean | 切换此容器的合成时间功能 |
screen_class |
string | 容器屏幕的完整 Java 类路径(例如 net.minecraft.client.gui.screens.inventory.CraftingScreen) |
recipe_type |
string | 用于查找配方倍率的配方类型 ID(例如 minecraft:crafting)。如果省略,则从菜单类型推断 |
time_multiplier |
float | 容器专用的时间倍率 |
output_slot |
int | 玩家点击以开始合成的槽位索引(即显示产出预览的位置) |
result_slot |
int | 完成后成品放置的槽位索引(-1 = 第一个可用的背包槽位) |
ingredient_slots |
string | 定义扫描原料范围的槽位区间 — 例如 "1-9"、"0,2,4"、"0-2,4,6-8" |
ingredient_mode |
string | 原料如何影响合成时间:"slot" 计算每个占用槽位一次,"stack" 按堆叠数量倍增,"custom" 使用硬编码的模组专属兼容逻辑 |
show_overlay |
boolean | 渲染进度条覆盖层 |
overlay_texture |
string | 覆盖层的纹理路径 |
overlay_direction |
string | 填充方向:"right"、"left"、"up"、"down" |
overlay_x / overlay_y |
int | 覆盖层位置偏移量 |
overlay_width / overlay_height |
int | 覆盖层尺寸 |
crafting_sound |
string | 覆盖此容器的合成音效 |
finish_sound |
string | 覆盖此容器的完成音效 |
? 命令
| 命令 | 权限 | 描述 |
|---|---|---|
/patience reload |
Op (level 2) | 从磁盘重新加载配置并同步给所有已连接的玩家 |
Adds crafting time to your workstations — clicking the output slot starts a timed process instead of completing the craft instantly. Progress is shown as a visual overlay with sounds and feedback. Fully server-authoritative: the config is synced to all clients on join and reload.
⚙️ Features
Crafting Delay — Base time scales with the number of ingredients and is modified by a stack of multipliers (global, per-container, per-ingredient, per-output, per-recipe). Crafting is blocked while moving. Creative mode bypasses the delay entirely.
Experience Scaling — Crafting speed increases with XP level through a custom patience:crafting_speed attribute. The attribute is exposed to other mods for integration.
Progress Decay — When enabled, moving during a craft causes progress to drain instead of cancelling outright. Leftover progress from an interrupted craft also decays over time. When decay is disabled, any movement immediately cancels the craft and resets progress.
Minigame — An optional skill check that can trigger mid-craft. A random section of the progress overlay is designated as the success zone. When progress reaches that zone, the overlay turns yellow — clicking the output slot during this completes the craft instantly. Missing it applies a time penalty. Clicking the output slot early when no minigame zone is active also applies a penalty. Green indicates success, red indicates failure.
Hunger — Each completed craft adds exhaustion. When hunger drops below a threshold, crafting speed is penalized.
Sounds — Each workstation has a unique looping crafting sound and a completion sound. Sounds can be overridden at three levels: per container, per item, or per tag.
Screen Shake — Optional camera shake during crafting. Disabled by default.
? Supported Containers
Ships with preconfigured support for 17 workstations. All can be disabled, customized, or extended via config.
| Containers | |
|---|---|
| Vanilla | Player inventory (2×2), Crafting table, Smithing table, Anvil, Grindstone, Stonecutter, Cartography table, Loom |
| Modded | Curios, Inventorio, Sawmill, Woodworks, Easel Does It, Galosphere, Clayworks, Cold Sweat, Hexerei |
?️ Configuration
Config is stored in patience.json in the game's config directory. A GUI screen is available when Cloth Config is installed (Fabric/Quilt via Mod Menu, NeoForge/Forge via the mods screen). The GUI covers general settings — multiplier maps and container definitions are JSON-only.
General
| Setting | Default | Description |
|---|---|---|
debug |
false |
Log slot clicks, screen names, crafting state changes, and movement checks to the console |
enable_sounds |
true |
Play crafting and completion sounds |
default_crafting_sound |
patience:crafting |
Sound played during crafting |
default_finish_sound |
patience:finish |
Sound played on completion |
default_penalty_sound |
patience:penalty |
Sound played on penalty click |
default_success_sound |
patience:success |
Sound played on minigame success |
global_time_multiplier |
1.0 |
Multiplier applied to all craft times (0.0 - 100.0) |
Experience
Speed formula: (attributeValue × baseSpeed) + (speedPerLevel × min(xpLevel, maxLevelCap))
| Setting | Default | Description |
|---|---|---|
enabled |
true |
Enable XP-based crafting speed scaling |
multiplier |
1.0 |
Overall crafting speed multiplier (0.0 - 100.0) |
base_speed |
1.0 |
Base speed before XP bonus (0.01 - 100.0) |
speed_per_level |
0.02 |
Bonus speed per XP level (0.0 - 10.0) |
max_level_cap |
200 |
Levels above this are ignored (0 - 30000) |
Decay
| Setting | Default | Description |
|---|---|---|
enabled |
true |
Moving drains progress instead of cancelling the craft |
rate |
2.0 |
Progress lost per tick while moving or idle (0.0 - 100.0) |
Screen Shake
| Setting | Default | Description |
|---|---|---|
enabled |
false |
Camera shake during crafting |
intensity |
0.5 |
Shake strength (0.0 - 5.0) |
Hunger
| Setting | Default | Description |
|---|---|---|
enabled |
true |
Enable hunger exhaustion and speed penalty |
exhaustion_cost |
0.1 |
Exhaustion added per completed craft (0.0 - 40.0) |
penalty.enabled |
true |
Slow crafting at low hunger |
penalty.threshold |
6 |
Hunger level that triggers the penalty (0 - 20) |
penalty.multiplier |
0.5 |
Speed multiplier when below threshold (0.0 - 10.0) |
Minigame
| Setting | Default | Description |
|---|---|---|
enabled |
true |
Enable the skill-check minigame |
chance |
0.5 |
Probability of triggering per craft (0.0 - 1.0) |
window_width |
0.15 |
Success zone size as a fraction of total progress (0.01 - 0.5) |
penalty_percent |
0.25 |
Progress lost on failure as a fraction of remaining (0.0 - 1.0) |
penalty_cancels_craft |
true |
Cancel the craft when penalty clicks reduce progress to zero |
Multipliers
Multiplier maps allow fine-grained control over craft time. All are Map<String, Float> in the JSON. Tag keys use the # prefix (e.g., "#minecraft:planks": 1.5).
by_mod— scale time by mod namespace (e.g.,"minecraft": 1.0)by_item— scale time by item ID (e.g.,"minecraft:stick": 0.5)by_tag— scale time by item tag (e.g.,"#minecraft:planks": 1.5)by_type— scale time by recipe type (e.g.,"minecraft:crafting": 2.0)by_recipe— scale time by specific recipe ID
These are grouped under ingredient_multipliers, output_multipliers, and recipe_multipliers objects in the JSON. Ingredient and output multipliers support by_mod, by_item, by_tag. Recipe multipliers support by_type, by_recipe.
Item Sounds
item_sounds is a Map<String, String> that overrides the crafting sound per item or tag (e.g., "minecraft:stick": "patience:crafting", "#minecraft:planks": "patience:sawmill").
Containers
The containers array holds per-workstation configuration. Each entry supports:
| Field | Type | Description |
|---|---|---|
enabled |
boolean | Toggle crafting time for this container |
screen_class |
string | Full Java class path of the container screen (e.g., net.minecraft.client.gui.screens.inventory.CraftingScreen) |
recipe_type |
string | Recipe type ID used for recipe multiplier lookup (e.g., minecraft:crafting). If omitted, inferred from the menu type |
time_multiplier |
float | Container-specific time multiplier |
output_slot |
int | Slot index the player clicks to start crafting (where the output preview appears) |
result_slot |
int | Slot index where the finished item is placed after completion (-1 = first available inventory slot) |
ingredient_slots |
string | Slot range defining which slots are scanned for ingredients — e.g., "1-9", "0,2,4", "0-2,4,6-8" |
ingredient_mode |
string | How ingredients contribute to craft time: "slot" counts each occupied slot once, "stack" multiplies by stack size, "custom" uses hardcoded mod-specific compatibility logic |
show_overlay |
boolean | Render the progress bar |
overlay_texture |
string | Texture path for the overlay |
overlay_direction |
string | Fill direction: "right", "left", "up", "down" |
overlay_x / overlay_y |
int | Overlay position offset |
overlay_width / overlay_height |
int | Overlay dimensions |
crafting_sound |
string | Override crafting sound for this container |
finish_sound |
string | Override completion sound for this container |
? Commands
| Command | Permission | Description |
|---|---|---|
/patience reload |
Op (level 2) | Reload config from disk and sync to all connected players |
下载 Patience
下载 Patience
下载 Patience
下载 Patience
下载 Patience
下载 Patience
下载 Patience
下载 Patience
下载 Patience
下载 Patience
? 已修复
- 由于客户端专用类在专用服务器上加载,导致 NeoForge 和 Forge 服务器崩溃
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧