Immersive Crafting

Immersive Crafting

Mod

Library mod providing data driven in-world crafting with support for data generation.

Server Game MechanicsLibrary

351 downloads
7 followers
Created10 months ago
Updateda month ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

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.

Project members

CozyPenguin

Owner


Technical information

License
Client side
unsupported
Server side
required
Project ID