Back to mods
Recipe Book Access API project artwork

CurseForge · Minecraft mod

Recipe Book Access API

An effortless Fabric API, enabling recipe-book crafting from customizable external inventories.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Recipe Book Access API release should I use?

Updated last month
Latest stable file 1.4.0+26.2-neoforge
Game version 26.2
Loader NeoForge

Recipe Book Access API 1.4.0+26.2-neoforge targets 26.2 with NeoForge. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is Recipe Book Access API required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does Recipe Book Access API 1.4.0+26.2-neoforge need?

1.4.0+26.2-neoforge. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Recipe Book Access API without breaking your instance.

Built for Recipe Book Access API 1.4.0+26.2-neoforge. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.4.0+26.2-neoforge. It targets 26.2 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.4.0+26.2-neoforge. It opens that exact file at the source.

About this project

What does Recipe Book Access API add?

Recipe Book Access Banner

Recipe Book Access is a simple Fabric API designed to intuitively add support for external inventory access in any crafting screen. It redirects the recipe book functionality to check and fill from a customisable list of inventories, instead of just the player's.

What does this mean?

See for yourself! Recipe Book Access Demonstration This example of a modded crafting table uses a custom list of inventories via this API, in this specific case it uses all inventories from nearby chests.

If you are looking for a mod that implements this for the crafting table, you probably want the Nearby Crafting mod.

Quickstart Guide

For a more detailed how-to-use guide, including how to setup this API in your project's environment, please see the readme on Github for this project here.

This API provides a simple interface called RecipeBookInventoryProvider, located in com.jomlom.recipebookaccess.api.

This interface must be implemented to your screen handler class, only one method needs overriding (getInventoriesForAutofill()) for the API's full functionality.

You must implement this method to return a list of inventories which you want the recipe book to access and craft from, this won't include the player's inventory by default.

Code Example:

import com.jomlom.recipebookaccess.api.RecipeBookInventoryProvider

public class YourCraftingScreenHandler extends AbstractRecipeScreenHandler implements RecipeBookInventoryProvider {
    // your existing code...

    @Override
    public List<Inventory> getInventoriesForAutofill() {
        return yourInventoriesList;
    }
}

Assumptions made by this API:

  • Your screen handler class extends 'AbstractRecipeScreenHandler', or any of its subclasses
  • Your corresponding screen extends 'RecipeBookScreen', in order to utilize the minecraft recipe book

(I have not tested outside these assumptions)

FAQs

FAQs

  • Q: I think I found an issue… \ A: Feel free to create an issue on Github or reach out directly by email contact@jontyali.com.

  • Q: Will you release support for x ? \ A: Again, feel free to reach out with reqeusts to support certain versions or other mods. I plan to explore support for NeoForge soon.

  • Q: Does my getInventoriesForAutofill() implementation need to work from the client?
    A: Nope! getInventoriesForAutofill() is only used from the server side screen handler, and the API will keep the client up to date on the results for you automatically!

Project description from CurseForge.

Pick your setup

Recipe Book Access API by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

34 available setups

Showing the newest 12 of 17 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Recipe Book Access API versions and loaders

48 of 48 releases match

Looking for an older file? The official CurseForge project page is in Resources.