Immersive Crafting
Immersive Crafting is a library mod adding support for data-driven in-world crafting.
Crafting recipes are completely data-driven and reside in the data/${your_datapack}/ic_recipes
folder. Recipes can also be generated using the fabric-datagen API.
Immersive Crafting provides several built-in recipe types, such as crafting items when clicking with an item on a block. Everything is designed to be highly customizable.
Documentation
Up-to-date documentation can be found here.
Example
The following example crafts a nether star from five diamonds when the player right-clicks on a quartz block with a stack of diamonds at night.
{
"type": "immersive_crafting:use_item_on",
"ingredient": {
"type": "immersive_crafting:item",
"stack": {
"count": 5,
"id": "minecraft:diamond"
}
},
"predicate": {
"conditions": [
{
"type": "immersive_crafting:invert",
"condition": {
"type": "immersive_crafting:day_time",
"end_time": 12999,
"start_time": 0
}
},
{
"type": "immersive_crafting:block",
"block": {
"id": "minecraft:quartz_block"
}
}
]
},
"result": [
{
"type": "immersive_crafting:item",
"stack": {
"count": 1,
"id": "minecraft:nether_star"
}
}
]
}
Usage & Dependencies
- Immersive Crafting for Fabric depends on Fabric API.
- It is recommended to use EMI to view the recipes. REI and JEI support will be added in the future.
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Compatibility
Minecraft: Java Edition
1.21
1.20.6
1.20.1
Platforms
Fabric