Server setup

Attempted to load class PoseStack for invalid dist DEDICATED_SERVER

What it looks like in the log

java.lang.RuntimeException: Attempted to load class com/mojang/blaze3d/vertex/PoseStack for invalid dist DEDICATED_SERVER

How to fix it

  1. Open your server's `crash-reports` folder, open the latest crash report, and read the full stack trace right below `Attempted to load class com/mojang/blaze3d/vertex/PoseStack` to spot which mod package or mixin triggered the call.
  2. Check your server's `mods` folder for client-only visual, shader, camera, or animation mods (for example, `Perception`, `Oculus`, `Rubidium`/`Embeddium`, or client HUD mods) and delete them from the server.
  3. Do not remove core content mods like `Create` first just because the summary says `Mod create has failed to load correctly`—client mods with compatibility hooks frequently cause other mods to take the blame.
  4. Keep those visual mods installed on your own PC (client) if desired, as client-only mods do not need to be on the server for players to join.
  5. Restart the dedicated server to confirm it finishes loading.
LoadersForge, Neoforge, Server
SeverityStops the game
CategoryServer setup

Check your own log

Related errors