NotEnoughItems Unofficial 1.7.10

NotEnoughItems Unofficial 1.7.10

436k Downloads

'Low' liquid amount render

Mudresistor opened this issue ยท 6 comments

commented

IDK how to correctly explain, but to look what amount of liquid is required in a recipe for example in II, you need to search below the actual picture.

image

commented

Can you please spell out what 'II' means? If this is a mod or modpack, please list the version of those.

Also, does this work with regular non-GTNH NEI? What I'm trying to ascertain here is whether this is an issue with our NEI, Usually these recipe views are provided by external mods, not NEI itself and the bug might be with the other mod and not NEI.

commented

Yeah, sure. It means Immersive Engineering. It's a mod. (I made a horrible mistake typing I instead of E, lmaooo)
And yes, display works correctly with non-GTNH NEI. Also providing you with screenshots of my own mod.
First pic is regular NEI, second -- GTNH.
image
image

commented

Thank you!
Sorry, i was away for a while. So. To clarify. I installed the last version of NEI and offset really changed from 32 to 16 px, but it is still low. For my mod, undestandable, i will fix ASAP. But for Immersive it looks like this now.
image

commented

Ah, I missed checking the Fermenter. Should be fixed now. Please try this build: https://github.com/GTNewHorizons/NotEnoughItems/suites/14137782293/artifacts/791700114

Also, make sure to clear your NEI config.

2023-07-07_17 15 47

commented

It's taken me a while, but I've finally implemented a fix for the Immersive Engineering issue in #395.

Regarding the issue in your own mod: this is caused by you assuming a fixed recipe screen layout. However our version of NEI changed this in two ways:

  1. the recipe screen now has a flexible length and is no longer centered vertically
  2. the recipe paging widget was moved from the bottom of the recipe screen to the top, changing the offset from 16px to 32px

Potential pitfalls are using GuiScreen.height to calculate the top of the recipe screen instead of guiTop, or using a fixed offset from guiTop instead of useing GuiRecipe.getRecipePosition.

You should make your recipe handler more layout-agnostic. In #399 I've added some recommendations for this as well as documentation for adding new features of our NEI version to your own mod. You can read a preview here. Please let me know if this documentation is in any way confusing or needs to be improved and if you were able to fix the issue on your side.

commented

Good! Works now, thank you!