|
|
沉浸式制作 (Immersive Crafting)Github |相关wiki |源站链接支持: fabric , forge , neoforge , quilt沉浸式制作是一个提供数据驱动世界内制作支持的库模组。
沉浸式制作是一个库模组,为数据驱动的世界内制作提供支持。
制作配方完全由数据驱动,并位于 `data/{某个文件夹}/ic_recipes` 文件夹中。配方也可以使用 fabric-datagen API 进行生成。
沉浸式制作提供了几种内置的配方类型,例如在方块上右键点击物品时制作物品。一切都设计得可以高度定制。
文档
最新的文档可以在[这里](链接)找到。
示例
以下示例在玩家在夜晚用一堆钻石右键点击石英块时,制作一颗下界之星。
{
\"type\": \"immersive_crafting:use_item_on\",
\"ingredient\": {
\"type\": \"immersive_crafting:item\",
\"stack\": {
\"count\": 5,
\"item\": \"minecraft:diamond\"
}
},
\"predicate\": {
\"conditions\": [
{
\"type\": \"immersive_crafting:invert\",
\"condition\": {
\"type\": \"immersive_crafting:day_time\",
\"end_time\": 12999,
\"start_time\": 0
}
},
{
\"type\": \"immersive_crafting:block\",
\"id\": \"minecraft:quartz_block\"
}
]
},
\"result\": [
{
\"type\": \"immersive_crafting:item\",
\"stack\": {
\"item\": \"minecraft:nether_star\"
}
}
]
}Copy已复制!
用法与依赖
- 沉浸式制作适用于 Fabric,并依赖于 [Fabric API](链接)。
- 建议使用 EMI 查看配方。未来将添加对 REI 和 JEI 的支持。
来自Modrinth所有游戏版本1.211.21.11.20.61.20.1所有类型neoforgefabricquiltforge0.5.1+1.21 - Neoforgeimmersivecrafting-neoforge-0.5.1+1.21.jar下载0.5.1+1.21+neoforge#Alphaimmersivecrafting-neoforge-0.5.1+1.21-api.jar下载0.5.1+1.21+neoforge#Alphaimmersivecrafting-neoforge-0.5.1+1.21-sources.jar下载0.5.1+1.21+neoforge#Alpha- fix incorrect registry creation### Known issues:EMI might not display recipes properly if connected to a dedicated server.展开版本: 0.5.1+1.21+neoforge支持游戏: 1.21类型:NeoForgeAlpha下载次数: 1410.5.1+1.21 - Fabricimmersivecrafting-fabric-0.5.1+1.21.jar下载0.5.1+1.21+fabric#Alphaimmersivecrafting-fabric-0.5.1+1.21-api.jar下载0.5.1+1.21+fabric#Alphaimmersivecrafting-fabric-0.5.1+1.21-sources.jar下载0.5.1+1.21+fabric#Alpha- fix incorrect registry creation### Known issues:EMI might not display recipes properly if connected to a dedicated server.展开版本: 0.5.1+1.21+fabric支持游戏: 1.21, 1.21.1类型:FabricQuiltAlpha下载次数: 6450.5.0+1.21 - Neoforgeimmersivecrafting-neoforge-0.5.0+1.21.jar下载0.5.0+1.21+neoforge#Alphaimmersivecrafting-neoforge-0.5.0+1.21-api.jar下载0.5.0+1.21+neoforge#Alphaimmersivecrafting-neoforge-0.5.0+1.21-sources.jar下载0.5.0+1.21+neoforge#Alpha## 0.5.0- Allow use item recipes to take multiple ingredients.The first ingredient contains the item stack in the main hand, the second one the item stack in the offhand.If less than one or more than two ingredients are present, parsing the recipe will fail.- Validate recipe ingredients and predicates. This should prevent exceptions from being thrown at runtime.- remove `spawn_at_player` in favor of `from_face`. This property determines how stacks are crafted.- Block Stacks (see below): If `from_face` is true, the block will be spawned at the block position next to theblockon which the item was used. Otherwise, the block the player used the item on will be replaced.- allow blocks to be possible results. The placement of blocks is determined based on the value of the `fromFace`property which was introduced in this release.- Separate Ingredients and stacks. This means:- Stacks still test against recipe contexts, but contrary to ingredients and conditions, they should not return iftheymatch a contexts, but rather true if they can be crafted under the current circumstances, e.g. if a block can beplaced at the given `BlockPos`.- Stacks are now tested to check if they can be crafted, not if they meet certain conditions- the item and tag ingredients (which replace the item stack) have more freedom and can match against tags as wellasspecific items.### Known issues:EMI might not display recipes properly if connected to a dedicated server.展开版本: 0.5.0+1.21+neoforge支持游戏: 1.21类型:NeoForgeAlpha下载次数: 1080.5.0+1.21 - Fabricimmersivecrafting-fabric-0.5.0+1.21.jar下载0.5.0+1.21+fabric#Alphaimmersivecrafting-fabric-0.5.0+1.21-api.jar下载0.5.0+1.21+fabric#Alphaimmersivecrafting-fabric-0.5.0+1.21-sources.jar下载0.5.0+1.21+fabric#Alpha## 0.5.0- Allow use item recipes to take multiple ingredients.The first ingredient contains the item stack in the main hand, the second one the item stack in the offhand.If less than one or more than two ingredients are present, parsing the recipe will fail.- Validate recipe ingredients and predicates. This should prevent exceptions from being thrown at runtime.- remove `spawn_at_player` in favor of `from_face`. This property determines how stacks are crafted.- Block Stacks (see below): If `from_face` is true, the block will be spawned at the block position next to theblockon which the item was used. Otherwise, the block the player used the item on will be replaced.- allow blocks to be possible results. The placement of blocks is determined based on the value of the `fromFace`property which was introduced in this release.- Separate Ingredients and stacks. This means:- Stacks still test against recipe contexts, but contrary to ingredients and conditions, they should not return iftheymatch a contexts, but rather true if they can be crafted under the current circumstances, e.g. if a block can beplaced at the given `BlockPos`.- Stacks are now tested to check if they can be crafted, not if they meet certain conditions- the item and tag ingredients (which replace the item stack) have more freedom and can match against tags as wellasspecific items.### Known issues:EMI might not display recipes properly if connected to a dedicated server.展开版本: 0.5.0+1.21+fabric支持游戏: 1.21类型:FabricQuiltAlpha下载次数: 2710.4.3+1.21 - Neoforgeimmersivecrafting-neoforge-0.4.3+1.21.jar下载0.4.3+1.21+neoforge#Alphaimmersivecrafting-neoforge-0.4.3+1.21-api.jar下载0.4.3+1.21+neoforge#Alphaimmersivecrafting-neoforge-0.4.3+1.21-sources.jar下载0.4.3+1.21+neoforge#Alpha## 0.4.3- Add +modloader to version- fix api jar uploading### Known issues:EMI might not display recipes properly if connected to a dedicated server.展开版本: 0.4.3+1.21+neoforge支持游戏: 1.21类型:NeoForgeAlpha下载次数: 1050.4.3+1.21 - Fabricimmersivecrafting-fabric-0.4.3+1.21.jar下载0.4.3+1.21+fabric#Alphaimmersivecrafting-fabric-0.4.3+1.21-api.jar下载0.4.3+1.21+fabric#Alphaimmersivecrafting-fabric-0.4.3+1.21-sources.jar下载0.4.3+1.21+fabric#Alpha## 0.4.3- Add +modloader to version- fix api jar uploading### Known issues:EMI might not display recipes properly if connected to a dedicated server.展开版本: 0.4.3+1.21+fabric支持游戏: 1.21类型:FabricQuiltAlpha下载次数: 1190.4.2+1.21 - Fabricimmersivecrafting-fabric-0.4.2+1.21.jar下载0.4.2+1.21#Alphaimmersivecrafting-fabric-0.4.2+1.21-api.jar下载0.4.2+1.21#Alphaimmersivecrafting-fabric-0.4.2+1.21-sources.jar下载0.4.2+1.21#Alpha## 0.4.2- set up unit tests for common module- Port to 1.21- Fix registries not being created correctly### Known issues:EMI might not display recipes properly if connected to a dedicated server.展开版本: 0.4.2+1.21支持游戏: 1.21类型:FabricQuiltAlpha下载次数: 1110.4.2+1.21 - Neoforgeimmersivecrafting-neoforge-0.4.2+1.21.jar下载0.4.2+1.21#Alphaimmersivecrafting-neoforge-0.4.2+1.21-sources.jar下载0.4.2+1.21#Alpha## 0.4.2- set up unit tests for common module- Port to 1.21- Fix registries not being created correctly### Known issues:EMI might not display recipes properly if connected to a dedicated server.展开版本: 0.4.2+1.21支持游戏: 1.21类型:NeoForgeAlpha下载次数: 840.4.0+1.20.6 - Fabricimmersivecrafting-fabric-0.4.0+1.20.6.jar下载0.4.0+1.20.6#Alphaimmersivecrafting-fabric-0.4.0+1.20.6-api.jar下载0.4.0+1.20.6#Alphaimmersivecrafting-fabric-0.4.0+1.20.6-sources.jar下载0.4.0+1.20.6#Alpha- ported to 1.20.6- t## Breaking Changes- the mutually exclusive resource location and tag fields for the block condition are now grouped into the `block`category like so:```json5{// this is new\"block\": {\"id\": \"minecraft:stone\"},// nothing changed here\"hardness\": {\"min\": 1}}```Instead of leaving out `id` and `tag`, one must now leave out the whole `block` key instead. If `block` is present,it must contain `id` *xor* `tag`.- support Neoforge instead of Forge展开版本: 0.4.0+1.20.6支持游戏: 1.20.6类型:FabricQuiltAlpha下载次数: 1640.4.0+1.20.6 - Neoforgeimmersivecrafting-neoforge-0.4.0+1.20.6.jar下载0.4.0+1.20.6#Alphaimmersivecrafting-neoforge-0.4.0+1.20.6-api.jar下载0.4.0+1.20.6#Alphaimmersivecrafting-neoforge-0.4.0+1.20.6-sources.jar下载0.4.0+1.20.6#Alpha- ported to 1.20.6- t## Breaking Changes- the mutually exclusive resource location and tag fields for the block condition are now grouped into the `block`category like so:```json5{// this is new\"block\": {\"id\": \"minecraft:stone\"},// nothing changed here\"hardness\": {\"min\": 1}}```Instead of leaving out `id` and `tag`, one must now leave out the whole `block` key instead. If `block` is present,it must contain `id` *xor* `tag`.- support Neoforge instead of Forge展开版本: 0.4.0+1.20.6支持游戏: 1.20.6类型:NeoForgeAlpha下载次数: 1190.3.2+1.20.1 - Fabricimmersivecrafting-fabric-0.3.2+1.20.1.jar下载0.3.2+1.20.1#Alphaimmersivecrafting-fabric-0.3.2+1.20.1-api.jar下载0.3.2+1.20.1#Alphaimmersivecrafting-fabric-0.3.2+1.20.1-sources.jar下载0.3.2+1.20.1#Alpha- added multiloader support展开版本: 0.3.2+1.20.1支持游戏: 1.20.1类型:FabricQuiltAlpha下载次数: 3370.3.2+1.20.1 - Forgeimmersivecrafting-forge-0.3.2+1.20.1.jar下载0.3.2+1.20.1#Alphaimmersivecrafting-forge-0.3.2+1.20.1-api.jar下载0.3.2+1.20.1#Alphaimmersivecrafting-forge-0.3.2+1.20.1-sources.jar下载0.3.2+1.20.1#Alpha- added multiloader support展开版本: 0.3.2+1.20.1支持游戏: 1.20.1类型:ForgeNeoForgeAlpha下载次数: 3310.3.1+1.20.1immersivecrafting-0.3.1+1.20.1.jar下载0.3.1+1.20.1#Alphaimmersivecrafting-0.3.1+1.20.1-api.jar下载0.3.1+1.20.1#Alphaimmersivecrafting-0.3.1+1.20.1-sources.jar下载0.3.1+1.20.1#Alpha- Fix Tree rendering when a node only has a single child.- The complete API has javadoc comments now.展开版本: 0.3.1+1.20.1支持游戏: 1.20.1类型:QuiltAlpha下载次数: 1380.3.0+1.20.1immersivecrafting-0.3.0+1.20.1.jar下载0.3.0+1.20.1#Alphaimmersivecrafting-0.3.0+1.20.1-api.jar下载0.3.0+1.20.1#Alphaimmersivecrafting-0.3.0+1.20.1-sources.jar下载0.3.0+1.20.1#Alpha- Clients with immersive crafting will now be able to browse recipes.- Initial Condition tree implementation. Can be accessed from emi- more javadoc展开版本: 0.3.0+1.20.1支持游戏: 1.20.1类型:QuiltAlpha下载次数: 1470.2.0+1.20.1immersivecrafting-0.2.0+1.20.1.jar下载0.2.0+1.20.1#Alphaimmersivecrafting-0.2.0+1.20.1-api.jar下载0.2.0+1.20.1#Alphaimmersivecrafting-0.2.0+1.20.1-sources.jar下载0.2.0+1.20.1#Alpha- Added basic support for EMI (predicates are still missing)- Recipe in- and outputs are now based on the same powerfulpredicate-based system as recipe conditions.展开版本: 0.2.0+1.20.1支持游戏: 1.20.1类型:QuiltAlpha下载次数: 1370.1.0+1.20.1immersivecrafting-0.1.0+1.20.1.jar下载0.1.0+1.20.1#Alphaimmersivecrafting-0.1.0+1.20.1-api.jar下载0.1.0+1.20.1#Alphaimmersivecrafting-0.1.0+1.20.1-sources.jar下载0.1.0+1.20.1#AlphaInitial Release展开版本: 0.1.0+1.20.1支持游戏: 1.20.1类型:QuiltAlpha下载次数: 160全部版本
markdown_parsed
文章类型:收录
layui.use([\'form\'], function(){
var form = layui.form;
});
沉浸式制作 |
楼主
2025-8-10 18:02:17
回复(0)
收起回复
|