模组化的世界如同石头滋生苔藓一般,会产生大量重复物品。船、木板、工具——理念相同,只是出自不同模组、拥有不同的 ID。它们在功能上完全一致,却在机制上被割裂。本模组旨在消除这种摩擦。
它允许你定义无形状的物品转换配方,仅根据标识符将一种物品转换为另一种。无需覆盖。无需硬替换。仅在等效物品之间进行清晰、有意的转换。
TerraFirmaCraft 等会覆盖原版机制的模组从 Pearity 中受益最多,尤其是当存在其他在其配方中需要原版方块的模组时。
剧透
最简单的方式下,你可以定义直接转换:
minecraft:oak_boat -> tfc:wood/boat/oak
通过此规则,原版橡木船可以直接合成为其 TerraFirmaCraft 对应版本。
需要真正的可互换性?使用双向规则:
minecraft:oak_boat <-> tfc:wood/boat/oak
现在转换可以双向进行。两种物品地位平等。
该模组的真正潜力在于基于模式的匹配。支持两种通配符:
?:捕获 ID 可变部分的匹配通配符
*:广泛通配符,可跨命名空间或路径匹配
例如:
minecraft:?_boat <-> tfc:wood/boat/?
单条规则即可将所有原版船只变体(橡木、白桦、云杉等)链接到其对应的 TFC 版本。
这就像“匹配 ID minecraft:something_boat 与 tfc:wood/boat/something”
更进一步:
*:?_boat <-> tfc:wood/boat/?
现在,任何模组(命名空间)中按惯例命名的船只都可以与其 TFC 等价物互换。
注意 “*” 可以被替换为任何内容,但 “?” 必须匹配。
请记住这些仅仅是示例。你始终可以匹配任意两个物品 ID,创建打破进度限制的配方。例如:
minecraft:dirt -> minecraft:diamond
自解释
或者:
minecraft:egg -> create:*
现在,你可以通过一只鸡来自动化整个 Create 目录
或者稍微合理一点的:
minecraft:_sapling -> minecraft:_sapling
你现在理论上可以从任意树苗开始,生长出任意树木
所有配方生成规则均通过内置专用 GUI 进行管理,可通过可配置的快捷键(默认为 Insert)访问。可以在不重启世界或服务器的情况下实时添加、编辑或删除配方生成规则。非常适合在构建或调整整合包时进行快速迭代。
Modded worlds grow duplicates the way stone grows moss. Boats, planks, tools—same idea, different mods, different IDs. Functionally identical, mechanically divided. This mod exists to dissolve that friction.
It lets you define shapeless item transformation recipes that convert one item into another based purely on identifiers. No overrides. No hard replacements. Just clean, intentional translation between equivalent items.
Mods that override vanilla mechanics such as TerraFirmaCraft benefit most from Pearity, especially if other mods are present that require vanilla blocks in their recipes.
Spoiler
At its simplest, you can define a direct conversion:
minecraft:oak_boat -> tfc:wood/boat/oak
With this rule, a vanilla oak boat can be crafted directly into its TerraFirmaCraft counterpart.
Need true interchangeability? Use a bidirectional rule:
minecraft:oak_boat <-> tfc:wood/boat/oak
Now the transformation works both ways. Neither item is privileged.
Where the mod truly opens up is pattern-based matching. Two wildcards are supported:
? : a match wildcard that captures variable parts of an ID
- : a broad wildcard that matches across namespaces or paths
For example:
minecraft:?_boat <-> tfc:wood/boat/?
This single rule links every vanilla boat variant (oak, birch, spruce, and more) to its corresponding TFC version.
Think of it like "Match ids minecraft:something_boat with tfc:wood/boat/something"
Push it further:
:?_boat <-> tfc:wood/boat/?
Now any conventionally named boat from any mod (namespace) becomes interchangeable with its TFC equivalent.
Notice how "" can be replaced with anything, but "?" have to match.
Keep in mind these are just examples. You can always match any two item IDs, creating progression-breaking recipes. For example, this:
minecraft:dirt -> minecraft:diamond
Self explanatory
or this:
minecraft:egg -> create:*
Now you can automate the entire create catalog by having a single chicken
or a slightly more sensible one like this:
minecraft:_sapling -> minecraft:_sapling
You can now technically begin with any sapling and grow any tree
All recipe generation rules are managed in-game through a dedicated GUI, accessible via a configurable hotkey (Insert by default). Recipe generation rules can be added, edited, or removed live, without restarting the world or server. Ideal for rapid iteration while building or tuning a modpack.
评论 0
登录后参与评分
还没有评论,来抢沙发吧