When viewing a recipe in the Liquifier machine via JEI, the game crashes with the following exception:
java.lang.IllegalStateException: Can't modify the empty stack
at net.minecraftforge.fluids.FluidStack.setAmount(FluidStack.java:175)
at mezz.jei.forge.platform.FluidHelper.normalize(FluidHelper.java:162)
It seems that one of the Liquifier recipes returns a FluidStack.EMPTY or does not provide a proper fluid object. This causes JEI to crash when it tries to normalize the fluid stack.
Steps to Reproduce:
Launch a modpack with Alchemistry and JEI on Minecraft 1.20.1
Open JEI and search for Liquifier recipes
Click to view a recipe (e.g., for turning H₂O item into Ice)
Game crashes
JEI Version: 15.20.0.106 (also occurred on .105)
Alchemistry Version: (your version here)
Minecraft: 1.20.1
Forge: 47.3.0
Modpack: All the Mods 9 - To the Sky
Crash Log:
(Attach the crash-2025-05-27_18.20.37-client.txt file or pastebin link)
Suggested fix:
Ensure that FluidStack in Liquifier recipes is never empty or null. If no fluid is present, avoid returning a stack or skip normalization.
When viewing a recipe in the Liquifier machine via JEI, the game crashes with the following exception:
java.lang.IllegalStateException: Can't modify the empty stack
at net.minecraftforge.fluids.FluidStack.setAmount(FluidStack.java:175)
at mezz.jei.forge.platform.FluidHelper.normalize(FluidHelper.java:162)
It seems that one of the Liquifier recipes returns a FluidStack.EMPTY or does not provide a proper fluid object. This causes JEI to crash when it tries to normalize the fluid stack.
Steps to Reproduce:
Launch a modpack with Alchemistry and JEI on Minecraft 1.20.1
Open JEI and search for Liquifier recipes
Click to view a recipe (e.g., for turning H₂O item into Ice)
Game crashes
JEI Version: 15.20.0.106 (also occurred on .105)
Alchemistry Version: (your version here)
Minecraft: 1.20.1
Forge: 47.3.0
Modpack: All the Mods 9 - To the Sky
Crash Log:
(Attach the crash-2025-05-27_18.20.37-client.txt file or pastebin link)
Suggested fix:
Ensure that FluidStack in Liquifier recipes is never empty or null. If no fluid is present, avoid returning a stack or skip normalization.