CHM-Neo1.21.1-0.7.1-Beta
Curse Maven Snippet
What's new
0.7.1-beta
小版本,主打「可写性」与「界面」:手搓配方现在能写成 KubeJS 语法糖、能带概率产物;手搓流水线里可以把风箱当作一步; 配置界面换成了 Create 风格的全中文界面,也能一键切回原版。游戏行为无破坏性改动,旧存档 / 旧配方 / 旧工具都不用处理。
中文
新增
- KubeJS 语法糖(可选,需装 KubeJS Create):
event.recipes.create_hand_made.*提供 8 个工具专属入口 ——press_hammer_basin/press_hammer_depot/stirring_staff/mortar/crusher_mortar/hand_saw/infusion_gun/pointer。位置参数是(results, ingredients),tool字段由 schema 自动写入,.heated()/.superheated()/.processingTime(n)照常可用。 - 概率产物:
results现在可以写CreateItem.of(item, chance),也可以写{ id: 'minecraft:gold_nugget', chance: 0.25 }。event.replaceOutput(...)之类的批量替换会保留原概率,不会悄悄变成 1.0。 - 流水线支持风箱步骤:
create_hand_made:hand_sequenced_assembly的sequence里现在能写create_hand_made:bellows_recipe(JSON 与普通风箱配方完全一致),可与工具步骤混排。 过渡物品放置物台 / 传送带,副手持该步骤对应的触媒后长按风箱,一次推进一格;介质不消耗。 - Create 风格的中文配置界面:全中文标签、搜索框、单值重置、保存 / 丢弃 / 全部重置;
联机时 op 可以在游戏内直接改服务端配置。触媒覆盖列表(
bellows_type_overrides)在界面里也能逐行编辑 (新增 / 删除 / 上移下移 / 恢复默认)。 - 两种界面可切换且会记住:Create 界面右侧的图标按钮可切回 NeoForge 原版界面;
想切回来,在
config/create_hand_made-client.toml的use_create_style勾上即可(原版界面同样可用)。
改进
- JEI 流水线类别重排:起始原料与产物槽的中心对准箭头中线、步骤图标移到箭头上方, 步骤副产物画在箭头下方(带概率底纹与百分比),卡片高度压到 177×106,一页能放两条流水线。
- 风箱步骤在 JEI 里显示风箱图标 + 按
fan_type查到的实际触媒槽;另新增「风箱步骤」子类别, 供作者把风箱步骤塞进原版create:sequenced_assembly时显示。 - 提示文本统一显示鼓风类型名(如
风箱鼓风 · 批量冷冻),没有语言键的类型改用触媒示例 (如风箱鼓风 · 细雪桶),不再直接甩 id。
修复
- 配置页标题的语言键从
...configuration.section.…common.toml修正为…server.toml(此前该标题一直回退显示 "Server Config")。 - 搅拌杖 + 工作盆:断开连接时清掉客户端会话状态,换存档后同坐标的工作盆不会再一直「在搅拌」。
变更
- 去掉了项目里最后一个 Mixin(搅拌时让工作盆液面动起来的逻辑改用 Create 的公开 API 补写)。 代价:那处液面转速比机械搅拌器慢约 10%,且每约 0.55 秒有一次非常轻微的顿挫;除此之外无副作用。
已知限制
- 序列组装的步骤(
sequence里的内联配方)仍然只能用event.custom,没有对应语法糖。 - 概率产物写法依赖 KubeJS Create;没装时
results表达不了概率(改为写数据包 JSON 即可)。
English
A small release focused on authoring and UI: hand-crafted recipes can now be written as KubeJS sugar and support probabilistic outputs, bellows can be a step inside a handcrafted pipeline, and the config screen is now a localized Create-style one (switchable back to vanilla). No breaking gameplay changes: existing saves, recipes and tools work as-is.
Added
- KubeJS sugar (optional, requires KubeJS Create):
event.recipes.create_hand_made.*with 8 per-tool entry points —press_hammer_basin/press_hammer_depot/stirring_staff/mortar/crusher_mortar/hand_saw/infusion_gun/pointer. Positional args are(results, ingredients); thetoolfield is filled in by the schema, and.heated()/.superheated()/.processingTime(n)still work. - Probabilistic outputs:
resultsacceptsCreateItem.of(item, chance)as well as{ id: 'minecraft:gold_nugget', chance: 0.25 }. Bulk edits such asevent.replaceOutput(...)keep the original chance instead of silently resetting it to 1.0. - Bellows steps in the handcrafted pipeline:
create_hand_made:hand_sequenced_assembly'ssequencenow acceptscreate_hand_made:bellows_recipe(same JSON as a regular bellows recipe) mixed with tool steps. Put the transitional item on a depot / belt, hold the matching catalyst in your off hand and hold the bellows to advance one step; the medium is not consumed. - Create-style localized config screen: Chinese labels, search box, per-value reset, save / discard / reset-all, and
an opped player can edit the server config in game. The catalyst override list (
bellows_type_overrides) is also editable there, row by row (add / remove / move up-down / reset to default). - Switchable and remembered: an icon button on the right of the Create-style screen switches back to the vanilla
NeoForge screen; to return, tick
use_create_styleinconfig/create_hand_made-client.toml.
Improved
- JEI pipeline category re-laid out: input/output slots are centered on the arrow centreline, step icons sit above the arrow, per-step byproducts are drawn below it (with chance shading and percentages), and the card is 177×106 so two pipelines fit on one page.
- Bellows steps show the bellows icon plus the actual catalyst slot resolved from
fan_type; a new "bellows step" sub-category covers bellows steps placed inside vanillacreate:sequenced_assembly. - Tooltips consistently show the fan type name (e.g.
Bellows Blast · Bulk Freezing), falling back to a catalyst example (e.g.Bellows Blast · Powder Snow Bucket) instead of printing raw ids.
Fixed
- Config section title keys now use
…section.….server.tomlinstead of…common.toml(the title used to fall back to "Server Config"). - Stirring staff + basin: client session state is cleared on disconnect, so a basin at the same coordinates no longer keeps "stirring" after switching saves.
Changed
- Removed the last remaining Mixin (the stirring fluid animation now uses Create's public API). Cost: the fluid rotation speed there is ~10% slower than a mechanical mixer and has a very slight hitch roughly every 0.55 s; nothing else changed.
Known limitations
- Sequenced-assembly steps (inline recipes inside
sequence) still requireevent.custom; no sugar for them. - Probabilistic outputs need KubeJS Create; without it
resultscannot express a chance (use datapack JSON instead).
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include