Docs

Trajectory Visualizer

The Trajectory Visualizer is one of AerosPearls' standout features. It displays a real-time particle arc predicting the exact flight path and landing location of an ender pearl while a player is holding it.

How It Works

  • No Client Mods Required: Fully server-side via vanilla particle effects (Effect.COLOURED_DUST and Effect.FLAME).
  • Real-Time Physics Simulation: The trajectory calculator factors in player eye position, pitch, yaw, and velocity vectors to step through up to 64 trajectory points.
  • Landing Indicator: Draws a landing ring of particles around the predicted point of impact, warning players of walls, drops, or exact landing coordinates.
  • Performance Optimized: Ticks smoothly every 3 ticks and only calculates for players actively holding an ender pearl.

Configuration

In config.yml:

yaml
visualizer:
  enabled: true
  effect-radius: 32

Options

  • enabled: Set to true to enable the trajectory predictor, or false to disable it globally.
  • effect-radius: The radius in blocks within which players can see the trajectory particle effects (default: 32 blocks).
Trajectory Visualizer | AerosPearls Docs