Mod conflictsCrash When Viewing Fluids: "potionContents" is null in WaterPotionStorage
What the log looks like
java\.lang\.NullPointerException: Cannot invoke "java\.util\.Optional\.map\(java\.util\.function\.Function\)" because "potionContents" is null
net\.fabricmc\.fabric\.impl\.transfer\.fluid\.WaterPotionStorage\.isWaterPotion\(WaterPotionStorage\.java:\d+\)
How to fix it
- Update Fabric API (`fabric-api`) in your `mods` folder to the latest available release for your Minecraft version, which patches the `WaterPotionStorage` null check.
- Update Roughly Enough Items (REI) and Architectury API to their latest matching versions as well.
- If you are using a mod that bundles an older copy of `fabric-transfer-api-v1`, update that mod so Fabric Loader selects the fixed Transfer API version.
| Loaders | Fabric |
|---|
| Severity | Stops the game |
|---|
| Category | Mod conflicts |
|---|
Check your own log