Description
This is a small utility mod for Minecraft (version 1.20.1, Fabric/Quilt) that prevents server crashes caused by faulty, infinite train positions (NaN), even if the create_tracks.dat file appears uncorrupted.
-
The Problem: During data serialization, train positions can somehow turn into
NaN(Not a Number), causing immediate server crashes when the game attempts to load the train data. -
The Fix: The mod injects a mixin into the
createEntityprocess. It clears the corrupted position data from the NBT and recalculates a safe, valid position using the carriage'spositionAnchor.


