World and tick crashesIllegalStateException: Do not call getCapability on an invalid cache (Create Fluid Crash)
What it looks like in the log
java.lang.IllegalStateException: Do not call getCapability on an invalid cache or from the invalidation listener!
How to fix it
- Update the Create mod to the newest available 1.21.1 release, as multiple fluid capability cache bugs in FluidNetwork.tick have been patched across Create 6.0.x updates.
- Stop mechanical pumps or disconnect rotational power before wrenching, breaking, or connecting pipes, hose pulleys, basins, and fluid tanks.
- Install the Neruina mod on your server (or client for single-player) so that unexpected ticking block entity exceptions in Create fluid networks are caught without crashing the server.
- If the server crashes in a loop on startup, look for the exact X, Y, Z coordinates of the ticking create: pipe or pump in the crash report and delete that block with an external editor, or temporarily enable removeErroringBlockEntities in config/neoforge-server.toml.
| Loaders | Neoforge, Server |
|---|
| Severity | Stops the game |
|---|
| Category | World and tick crashes |
|---|
Check your own log