另一种尝试创建用于世界内制作的通用模组。该模组旨在为整合包制作者扩展早期阶段的制作可能性。
第一种变体:表面制作
将第一个原料放置在任意固体方块上以开始制作。在第一个原料上方放置第二个,依此类推。使用空手 Shift+右键尝试制作。使用空手右键(或左键)将最顶部的原料取回快捷栏。
序列中最多可包含 16 个原料。此外,还可以指定具体需要哪种方块(支持方块标签,以及用于分别指定任意固体或非固体方块的特殊条件 "$solid" 和 "$nonsolid")。
输出可以是物品,并在世界中掉落。例如:

或者可以制作并放置方块:

或者结果方块可以替换制作方块:

第二种变体:物品到流体
按任意顺序将物品投入流体中以获得结果。当物品被用于配方时,它们具有无敌状态(不会被爆炸或燃烧摧毁,仅会消失)。
原料数量上限为 6 个。应指定所需的流体。
输出可以是物品:

或者是新的流体:

特性:
有关如何使用这些配方类型的详细手册,请参阅随附的模组数据包。
未来计划:
-
通过混合两种液体来制作物品(类似圆石的生成)
-
通过用铁砧敲击原料来制作物品
-
通过将原料扔进火中来制作物品
非常欢迎您的评论和建议!
Another attempt to create versatile mod for in-world crafting. This mod was created for modpack makers to expand possible crafting while in early game stages.
First variant: Surface Crafting
Place the first ingredient on any solid block to start crafting. Place another one above the first and so on. Shift-Right-Click with empty hand to attempt crafting. Right-Click with empty hand (or just left-click) to grab the topmost ingradient back to hotbar.
Maximum number of ingredients in sequence is 16. Also it is possible to specify which block exactly is needed for craft (block tags supported as well as special conditions "$solid" and "$nonsolid" for specifying any solid or non-solid block respectively).
Output can be Item, which drops in world. Like this:

Or block can be crafted and placed:

Or result block can replace crafting block:

Second variant: Item to Fluid
Toss items in fluid in any order to get the result. Items are invulnerable when they are used in a recipe (can't be exploded or burned, only despawned).
Maximum number of ingredients is 6. Desired fluid should be specified.
Out can either be an Item:

Or a new Fluid:

Features:
-
Full data-driven recipes
-
JEI Integration
For a detailed manual on how to use these recipe types, please see included mod datapack.
Future plans:
-
Craft items by combining two liquids (like cobblestone generation)
-
Craft items by hitting ingredients with an Anvil
-
Craft items by throwing ingredients in fire
Your comments and suggestions are heartly welcome!
评论 0
登录后参与评分
还没有评论,来抢沙发吧