Accurate Projectile Trajectory Preview

Quick rating

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)

QoL & Tweaks
Mod Loaders
NeoForge
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Unsupported

About

Project Details

Type
Mod
License
MIT License
Latest Version
ptp-neoforge-1.0.26.jar
Authors
CurseForge
Modrinth

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.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

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

  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 

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

Screenshots

Gallery

  • 07bead607182227615d33f0190cf495acdcc9760 (1).jpeg
    07bead607182227615d33f0190cf495acdcc9760 (1).jpeg 07bead607182227615d33f0190cf495acdcc9760 (1).jpeg
  • 07bead607182227615d33f0190cf495acdcc9760.jpeg
    07bead607182227615d33f0190cf495acdcc9760.jpeg 07bead607182227615d33f0190cf495acdcc9760.jpeg
  • 0afe74a89a049935169b8486596021609aa8a60e.jpeg
    0afe74a89a049935169b8486596021609aa8a60e.jpeg 0afe74a89a049935169b8486596021609aa8a60e.jpeg
  • 4eacd3c4438ea8e4961a908a23e2a08521a79994.jpeg
    4eacd3c4438ea8e4961a908a23e2a08521a79994.jpeg 4eacd3c4438ea8e4961a908a23e2a08521a79994.jpeg
  • bc852b80d9c742c5004c7d960a0366be94b18074.jpeg
    bc852b80d9c742c5004c7d960a0366be94b18074.jpeg bc852b80d9c742c5004c7d960a0366be94b18074.jpeg
  • cb1640d59bffd5a0335f0d56caba928d92839010.jpeg
    cb1640d59bffd5a0335f0d56caba928d92839010.jpeg cb1640d59bffd5a0335f0d56caba928d92839010.jpeg
  • d0328987c52118cfe4e8812e112b8fc3bbee2f73.jpeg
    d0328987c52118cfe4e8812e112b8fc3bbee2f73.jpeg d0328987c52118cfe4e8812e112b8fc3bbee2f73.jpeg
  • e8c8523e72c579e29c7d744707af6f458b08dcac.jpeg
    e8c8523e72c579e29c7d744707af6f458b08dcac.jpeg e8c8523e72c579e29c7d744707af6f458b08dcac.jpeg

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

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Total Downloads
CurseForge
<1,000
Modrinth
<1,000
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works