Download Recipe Remainders — Minecraft Mods — MetaMods

Recipe Remainders

Active

Downloads

0

Last update

5 years ago
Client
Libraries

Recipe Remainders

This modification is a simple library for developers. Its main function is to provide the ability to use ItemStack remainders instead of regular Items when creating crafting recipes. This is especially useful for tools and items that can take damage during use.

Although there are currently alternative solutions (such as overriding item supply methods or using the NBT Crafting mod), this library remains more efficient when working with a large number of recipes due to its optimized performance.

To integrate the library into your mod, you need to:

1. Implement the mod.linguardium.reciperemainders.RecipeHelpers.RecipeRemainderProvider interface in your item class

2. Override the getRecipeRemainder(ItemStack) method

3. Enjoy the result of your work

Project members
Linguardium

Linguardium

Created: 24 Jun 2020

ID: 37358