Just enough recipes

Supported MCreator versions
2023.3
2023.4
2024.1
2024.2
2024.3
2024.4
Tags / plugin type
API support
Java plugin
Procedures
JEI
Downloads:
13002
Upvotes: 135
About the plugin

Introducing two brand new mod elements to MCreator, Just Enough Recipes (JER) revolutionizing the creation of crafting stations with the JEI recipe type and JEI recipe. Now, unleash the full potential of your custom crafting stations by seamlessly integrating their recipes into Just Enough Items (JEI). 

 

This is a Java Plugin and therefore requires the java plugins feature to be enabled in plugin management.

 

How to use?

 

For any of this to work, you will first need to enable the JEI API in workspace settings.


You can then create a recipe type, which is a category in which all of your recipes will be displayed. Here, you can integrate the layout of your custom crafting station into JEI.


JEI renders textures in its menu at over double the size, so your textures will need to have a canvas size of 256x256. You can just change the canvas size of your regular texture like below. Texture width and height in the recipe type determines how much of this is shown.


You can then add recipes to the category using the JEI recipe element.


After doing all this, you should see your custom recipe layout in JEI when you click at the item your recipe crafts.

a

The recipes you create for JEI are also real minecraft recipes that can be used in your crafting table using the new procedure block introduced by the plugin.


PS: You can also get the amount of items this results in using this existing procedure block:


For a more detailed guide check out Kyoukster's tutorial


Item information

Thought that's all the plugin offers? Think again. Now with the JEI information mod element, you can add item information to any item.


Anvil recipes and brewing recipe integration

In addition to allowing you to integrate custom crafting layouts into JEI, this plugin will also integrate brewing recipes into JEI, which does not happen with base MCreator. This is done automatically while the Just enough items API is enabled.


It also intoduces the anvil recipe mod element, which creates a functional anvil recipe and integrates it into JEI.


Changelog

v2.1
-Updated for MCreator 2024.4

v2.0
-Ported to 2024.3 and neoforge 1.21.1
-Recipe types can now have multiple crafting tables selected

v1.9
-Ported to 2024.2 and neoforge 1.20.6

v1.8.3
-Updated JEI to the latest version of each generator version

v1.8.2
-Fixed recipe types causing a build error in versions below 1.20.4

v1.8.1
-Updated to work with MCreator 2024.1.15821

v1.8
-Support for MCreator 2024.1
-Support for neoforge 1.20.4

v1.7.2
-Added a validator in JEI recipes to prevent user mistakes

v1.7.1
-Fixed using tags in brewing recipes causing a build error

v1.7
-Added the JEI information mod element

v1.6
-Redesigned the JEI recipe GUI
-JEI recipes can now use the same ingredient multiple times
-Fixed using air in JEI recipes causing the recipes not to load

v1.5
-Added a procedure block to get the result itemstack of a recipe type

v1.4.1
-Fixed brewing recipes being registered incorrectly when using potions in some cases

v1.4
-Fixed a build error in 1.20.1 in MCreator 2023.4
-Added the ability to make working vanilla anvil recipes

v1.3.1
-Fixed potion items in brewing recipes not showing up in JEI

v1.3
-MCreator brewing recipes are now automatically added to JEI if JEI is enabled
-Replaced the old element icon

v1.2.2
-Made crafting table selection for recipe types optional through a toggle
-Fixed recipes not generating in 2023.3

v1.2.1
-Fixed some, uhh... build errors

v1.2
-Recipe types now require defining the crafting table they are crafted with

v1.1
-Fixed recipes not working when using the same ingredient more than once
-Fixed texture width and height not being able to have different values
-Fixed being able to save JEI elements without enabling the API
License
MIT License

Plugin downloads
Just enough recipes v1.7.2 (2023.3 ONLY) - just_enough_recipes_5.zip Uploaded on: 02/24/2024 - 05:54   File size: 92.12 KB
Just enough recipes v1.7.2 (2023.4 ONLY) - just_enough_recipes_6.zip Uploaded on: 02/24/2024 - 05:55   File size: 80.16 KB
Just enough recipes v1.8.3 (2024.1 ONLY) - just_enough_recipes.zip Uploaded on: 06/21/2024 - 23:49   File size: 90.84 KB
Just enough recipes v1.9 (2024.2 ONLY) - just_enough_recipes_0.zip Uploaded on: 07/19/2024 - 11:42   File size: 73.14 KB
Just enough recipes v2.1 (2024.3 + 2024.4 ONLY) - just_enough_recipes.zip Uploaded on: 12/20/2024 - 22:13   File size: 73.65 KB

Comments

Custom recipes doesn't work on the new JEI versions. I used Forge 1.20.1 generator and JEI 15.3.0.7 and it doesn't work. It works with JEI 15.2.0.27.

i have a little suggestion to improve the recipes:
what if you could have more options than just items? like numbers, strings and logic, it would be helpful to make things like some recipes that uses more fuel or for example in create you can choose if a mixing recipe has a heated blaze burner, you see what i mean? and you could be able to get these informations with another procedure

I want to add JEI Info to an item that is from another mod that I don't have in the pack. Normally when I want to do something like this for recipes I just swap ids (ie swapping minecraft:oak_slab for cobblemon:egg) but the code editor shows a format I'm not used to as a new dev showing "Blocks.ANDESITE" as an example.

Is there an easy way to find what other mods have that labeled as that I could use to yoink that info to slap it in there? Or is there a way you or I could change the addon to follow normal item formats so I can swap it?

Can you add the ability to make recipes with a waste of energy?

This plugin doesnt load on my end, any possible reason why? im using the right version

Are you planning to release a 2023.2 version? I'd like to know because its the latest one with 1.19.2 and the other mods are not on 1.19.4 yet.

Is it possible to set an amount of items in the input slots? Or does it have to always be 1? I've tried locking the recipe element and adding ["count": 2] line but Minecraft then just did not read that recipe.

I like the idea of having the JEI Information - is there a way to change the label of it? Where it says Information, I would like to replace it with a label specific for each of my mods.

Hello ! When i try to compile my mod, i get an error :/ :

MCreatorWorkspaces\Mynthos_Juice\src\main\java\be\justekal\mynthosjuice\jei_recipes\MynthosJuiceJEI2Recipe.java:88: error: cannot find symbol
public MynthosJuiceJEI2Recipe fromJson(ResourceLocation pRecipeId, JsonObject pSerializedRecipe) {
^
symbol: class JsonObject
location: class Serializer
MCreatorWorkspaces\Mynthos_Juice\src\main\java\be\justekal\mynthosjuice\jei_recipes\MynthosJuiceJEI2Recipe.java:90: error: cannot find symbol
JsonArray ingredients = GsonHelper.getAsJsonArray(pSerializedRecipe, "ingredients");
^
symbol: class JsonArray
location: class Serializer
2 errors
FAILURE: Build failed with an exception.