Skip to content

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)

NeoForge
Loaders
NeoForge
Downloads on Modrinth
344
Followers on Modrinth
2
version
1
Updated
February 23, 2026Feb 23
Published
in 2026

At a glance

Runs on NeoForge
For Minecraft 1.21.11
Client only — no need to install it on the server
Latest version — 1.0.26 from February 23, 2026
License MIT — free
Where it's needed
In gamerequiredOn servernot needed

Install in the game only; not needed on the server

Game versions1.21.11

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

FAQ

How to install Accurate Projectile Trajectory Preview?

Install NeoForge for your Minecraft version, download Accurate Projectile Trajectory Preview for the same version and loader, put the file into the mods folder and launch the game with the loader profile.

Which Minecraft versions does Accurate Projectile Trajectory Preview support?

Accurate Projectile Trajectory Preview has builds for Minecraft 1.21.11.

Is Accurate Projectile Trajectory Preview needed on the server?

Client only — no need to install it on the server

License and source
MIT Licensefree to use and share with credit to the author
Original — Modrinth↗Files unchanged, verified with SHA-512Is this your mod? For rights holders

The site uses cookies: the necessary ones for sign-in and the theme, plus the Yandex Metrica and LiveInternet visit counters — they show us how the site is used. We have no advertising cookies. More