A Minecraft 1.21.1 Fabric mod that predicts where players will move and displays their movement history.
✅ Player Movement Prediction - Calculates velocity from history
✅ Backtrack Visualization - Green trails showing where players have been
✅ Prediction Display - Red boxes showing predicted next positions
✅ Velocity Vectors - Yellow lines showing movement direction
✅ Auto Memory Cleanup - Efficient data management
✅ High Performance - Optimized for smooth gameplay
- Ensure you have Fabric Loader 0.15+ installed
- Download the latest JAR from releases
- Place in
.minecraft/mods/folder - Launch Minecraft with Fabric
- Java 21+
- Git
git clone https://github.com/jujadisowsk-coder/Player-Prediction.git
cd Player-Prediction
bash build.sh # or build.bat on WindowsJAR will be at: build/libs/player-prediction-1.0.0.jar
Edit PlayerTracker.java to adjust:
MAX_HISTORY- Maximum trail points (default: 200)HISTORY_RETENTION_TICKS- How long to keep data (default: 600 ticks = 30 seconds)VELOCITY_SMOOTHING- Prediction smoothness (default: 0.7)
- Tracking - Stores player positions and velocity every tick
- Prediction - Calculates next position using smoothed velocity
- Rendering - Displays trails, predictions, and velocity vectors
- Cleanup - Automatically removes old data to prevent memory leaks
MIT License