Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Mod Compat] JEI slot backgrounds are not drawn #828

Open
hjake123 opened this issue Jan 17, 2025 · 0 comments
Open

[Mod Compat] JEI slot backgrounds are not drawn #828

hjake123 opened this issue Jan 17, 2025 · 0 comments
Labels
safe Low priority, may take some time

Comments

@hjake123
Copy link

As of version 1.1.19 (tested in 1.20.1 and 1.21.1), EMI does not draw slot backgrounds assigned to slots by JEI plugins.

Example (JEI):
Image

Example (EMI):
Image

In these examples, each slot was defined in the JEI plugin like this:

IRecipeSlotBuilder input_slot = builder.addSlot(RecipeIngredientRole.INPUT, 1, 1);
input_slot.setSlotName("reactant");
input_slot.addItemStacks(List.of(recipe.getReactant().getItems()));
input_slot.setStandardSlotBackground();

The call to setStandardSlotBackground() is what I was expecting to add the slots behind the ingredients.

@hjake123 hjake123 added the safe Low priority, may take some time label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe Low priority, may take some time
Projects
None yet
Development

No branches or pull requests

1 participant