Accurate Projectile Trajectory Preview

Accurate Projectile Trajectory Preview

Accurate Projectile Trajectory Preview is a NeoForge client-side Minecraft mod that displays a real-time projectile trajectory preview. LikePTP, but with improved trajectory accuracy and without multiplayer restrictions. Forked from ptp by maDU59 (MIT)

by
83 Downloads
neoforgegame-mechanicsutility
Rent Server with this Mod

Screenshots

Accurate Projectile Trajectory Preview Screenshot 1
Accurate Projectile Trajectory Preview Screenshot 2
Accurate Projectile Trajectory Preview Screenshot 3
Accurate Projectile Trajectory Preview Screenshot 4
Accurate Projectile Trajectory Preview Screenshot 5
Accurate Projectile Trajectory Preview Screenshot 6

About this Mod

Accurate Projectile Trajectory Preview

Forked from Projectile Trajectory Preview by maDU59 (MIT License)

Ever wondered where your arrow, snowball, or potion will land? This mod provides a visual preview of projectile trajectories, similar to PTP, but with improved prediction accuracy and no multiplayer limitations.

🔎 Features

  • Trajectory Visualization: Displays the expected path of your projectile before launching.
  • Target Highlighting: Trajectory color indicates a higher likelihood of hitting a target.

⚠️ Limitations and Notes

  • Minecraft projectile physics include random spread offsets, so the actual impact position may slightly differ from the preview.
  • However, trajectory prediction is designed to be more precise than the original PTP implementation.

🔬 Technical Changes Compared to Original PTP

  • This fork modifies both the simulation logic and multiplayer behavior:

Multiplayer behavior

  • Removed the server handshake check (serverHasMod)

  • Removed networking validation logic

  • Trajectory preview is now always available client-side (no server requirement)

Simulation changes

  1. Removed projectileInfo.order-based update system
    The original implementation updated motion using a configurable order array.
    This fork replaces it with a fixed per-tick update sequence:
  • position update

  • drag application

  • gravity application

This makes motion simulation consistent and closer to vanilla projectile behavior.

  1. Reworked entity collision handling
  • Reduced broad-phase AABB inflation from 1.0 to 0.3

  • Added distance-based spread-aware entity hit detection

  • Added a “guaranteed hit” detection flag when the ray intersects the true bounding box

  1. Improved spread simulation
  • Added distance-based spread offset:

spreadOffset = normalizedVelocity * (distanceFromStart * maxSpreadFactor)

  • Adjusted spread multiplier from * 3.0 to * 2.0

  • Spread is now simulated dynamically per step instead of being approximated

  1. Refined water physics handling
  • More explicit switching between normal drag/gravity and underwater values

  • Applied consistently during simulation loop

  1. Minor stability improvements
  • Early velocity zero-check (vel.lengthSqr() < 1e-8)

  • Added startPos tracking for spread calculation

📦 Modpacks

Feel free to include this mod in your modpacks.


Legal Information / Impressum: View Impressum on GitHub

Available Versions

Accurate Projectile Trajectory Preview 1.0.26release
MC 1.21.11neoforge
February 23, 2026

How to Install Accurate Projectile Trajectory Preview on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set neoforge Loader

In the panel under "Egg", select the neoforge loader and matching Minecraft version (1.21.11).

3

Install Mod

Open the mod browser in the dashboard and search for "Accurate Projectile Trajectory Preview". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

neoforge

Minecraft Versions

1.21.11

Server-side

Unsupported

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Accurate Projectile Trajectory Preview server crashes on startup – what to do?

Most common cause: wrong neoforge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.11). You can switch loaders with one click in the panel.

Is Accurate Projectile Trajectory Preview compatible with neoforge?

Accurate Projectile Trajectory Preview officially supports neoforge for Minecraft 1.21.11. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Accurate Projectile Trajectory Preview – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Accurate Projectile Trajectory Preview consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Accurate Projectile Trajectory Preview with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Unsupported

Supported Versions

1.21.11