World and tick crashes

IllegalStateException: 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

  1. 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.
  2. Stop mechanical pumps or disconnect rotational power before wrenching, breaking, or connecting pipes, hose pulleys, basins, and fluid tanks.
  3. 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.
  4. 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.
LoadersNeoforge, Server
SeverityStops the game
CategoryWorld and tick crashes

Check your own log

Related errors