Accurate Projectile Trajectory Preview
No reviews yet
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)
Includes quality of life improvements and small tweaks to enhance and customize gameplay.
Neoforge is a fork of the Minecraft Forge available for versions 1.20.1+ of Minecraft. Many Forge mods are compatible with Neoforge and vice versa.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description
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
- 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
- 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
- Improved spread simulation
- Added distance-based spread offset:
spreadOffset = normalizedVelocity * (distanceFromStart * maxSpreadFactor) - Adjusted spread multiplier from
* 3.0to* 2.0 - Spread is now simulated dynamically per step instead of being approximated
- Added distance-based spread offset:
- Refined water physics handling
- More explicit switching between normal drag/gravity and underwater values
- Applied consistently during simulation loop
- Minor stability improvements
- Early velocity zero-check
(vel.lengthSqr() < 1e-8) - Added
startPostracking for spread calculation
- Early velocity zero-check
📦 Modpacks
Feel free to include this mod in your modpacks.
Legal Information / Impressum: View Impressum on GitHub
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
- 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.
- 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
- Improved spread simulation
- Added distance-based spread offset:
spreadOffset = normalizedVelocity * (distanceFromStart * maxSpreadFactor)
-
Adjusted spread multiplier from
* 3.0to* 2.0 -
Spread is now simulated dynamically per step instead of being approximated
- Refined water physics handling
-
More explicit switching between normal drag/gravity and underwater values
-
Applied consistently during simulation loop
- Minor stability improvements
-
Early velocity zero-check
(vel.lengthSqr() < 1e-8) -
Added
startPostracking for spread calculation
📦 Modpacks
Feel free to include this mod in your modpacks.
Legal Information / Impressum: View Impressum on GitHub
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources