AgriCraft

AgriCraft

30M Downloads

Changing the Strength value in JEI Growth Requirements crashes the game

lorewalkercho opened this issue ยท 1 comments

commented

Quick description

When viewing the Growth Requirements JEI tab for an Agricraft seed, there are two vertical bars with up and down buttons, one for Growth and one for Strength. The Growth bar works fine; pressing the up button changes the preview of the crop model to a higher growth stage, and pressing the down button moves back to a lower growth stage. However, pressing the up button on the Strength bar causes a "Saving Game..." message to appear, then the game crashes to desktop.

Mods and versions used

  • Minecraft: 1.18.2
  • AgriCraft: 3.1.6
  • InfinityLib: 2.1.4
  • Just Enough Items: jei-1.18.2-forge-10.2.1.1005

Steps to replicate the issue

  1. Load any world
  2. Search JEI for 'seed'
  3. Right click on any Agricraft seed
  4. Click the up button above the segmented red Strength bar on the center right of the Growth Requirements tab
  5. The game will crash

Expectations and explanations

I was expecting the moisture, PH, and Nutrients requirements on the bottom of the tab to update with expanded values to show what the effects of increased Strength stat were
 

Links to crash logs, stack traces, etc

Crash report: https://gist.github.com/lorewalkercho/f50eb1f04ba1869bd2f9498e63b6b5dd

Screenshots (or videos)

image
The Strength bar outlined with a red box

commented

Had the same problem, no crashes with jei-1.18.2-9.7.1.255.

My Java knowledge is quite limited but from what I can see it might be because in working version RecipeLogicStateListener.class is stored in mezz/jei/gui/recipes directory while in crashing one it's stored in mezz/jei/common/gui/recipes