COWMODSКаталог модов

Recipe Book Access API

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

Автор: Jomlom57,3 тыс.9обновлён 27 сент. 2026 г.
Механики игрыБиблиотекиХранение

Описание

Recipe Book Access Banner

Recipe Book Access is a simple 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 is an 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.

This mod alone will not achieve what is shown above - 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 functionality. Two other methods are also available for more control.

You must implement getInventoriesForAutofill() to return a list of containers 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 YourCraftingMenu extends AbstractCraftingMenu implements RecipeBookInventoryProvider {
    // your existing code...

    @Override
    public List<Container> getInventoriesForAutofill() {
        return yourContainersList;
    }
}

Assumptions made by this API:

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

(I have not tested outside these assumptions)

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: Whenever I have time and feel like it, I make sure this mod comes to support the latest versions, but sometimes I get busy! Again, feel free to reach out with reqeusts to support certain versions or other mods.

  • 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!

Последние версии

Все версии →
release

v1.4.0 [NeoForge 26.2]

1.4.0+26.2-neoforge
27 сент. 2026 г.151Minecraft: 26.2neoforge
Скачать
release

v1.4.0 [Fabric 26.2]

1.4.0+26.2-fabric
27 сент. 2026 г.855Minecraft: 26.2fabric
Скачать
release

v1.4.0 [NeoForge 26.1]

1.4.0+26.1-neoforge
27 сент. 2026 г.62Minecraft: 26.1, 26.1.1, 26.1.2neoforge
Скачать
release

v1.4.0 [Fabric 26.1]

1.4.0+26.1-fabric
27 сент. 2026 г.246Minecraft: 26.1, 26.1.1, 26.1.2fabric
Скачать
release

v1.4.0 [NeoForge 1.21.11]

1.4.0+1.21.11-neoforge
27 сент. 2026 г.36Minecraft: 1.21.11neoforge
Скачать
release

v1.4.0 [Fabric 1.21.11]

1.4.0+1.21.11-fabric
27 сент. 2026 г.430Minecraft: 1.21.11fabric
Скачать
release

v1.4.0 [NeoForge 1.21.5-1.21.10]

1.4.0+1.21.10-neoforge
27 сент. 2026 г.24Minecraft: 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10neoforge
Скачать
release

v1.4.0 [Fabric 1.21.5-1.21.10]

1.4.0+1.21.10-fabric
27 сент. 2026 г.117Minecraft: 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10fabric
Скачать
release

v1.4.0 [NeoForge 1.21.2-1.21.4]

1.4.0+1.21.4-neoforge
27 сент. 2026 г.19Minecraft: 1.21.2, 1.21.3, 1.21.4neoforge
Скачать
release

v1.4.0 [Fabric 1.21.2-1.21.4]

1.4.0+1.21.4-fabric
27 сент. 2026 г.53Minecraft: 1.21.2, 1.21.3, 1.21.4fabric
Скачать