Skip to content

Releases

1.1.0

Choose a tag to compare

@WilyFoxM WilyFoxM released this 16 Nov 19:43
769e37f

Trajectory Projected 1.1.0: Minecraft 26.1 and 26.3.

The mod now runs on every 26.x release. Each family has its own file: +26.1.x covers 26.1, 26.1.1 and 26.1.2, beside +26.2 and +26.3. Everything works the same on all three, and each file follows its own version of vanilla: where 26.3 changed how projectiles fly or hit, the prediction changes with it.

New

  • Minecraft 26.1.x and 26.3. I played on 26.1 and 26.3 with these builds.
  • On 26.3 the fishing hook falls the way 26.3 does, and an arrow that grazes a mob marks the hit where 26.3 counts it, at the edge of the hitbox widened by the arrow's margin.

Fixes

  • Snowballs, eggs, ender pearls, potions, bottles o' enchanting, wind charges, rockets and the fishing hook now mark a hit on a mob where vanilla counts it. These projectiles take the nearest mob whose hitbox, widened by up to 0.3 blocks, the path enters, and the hit is where the path enters that widened box. Before, they used the arrow's rule, so the cross could sit up to 0.3 blocks off, and in rare cases a near miss or a hit came out the other way.

Limits

  • The accuracy measurements were made on 26.2. 26.1.x and 26.3 follow their own vanilla code and pass the same tests, but have not been measured in game.
  • Iris 1.11.7 does not start on 26.3, even without this mod, so shaders on 26.3 are untested.

Compatibility

  • 26.2: Sodium 0.9.2, and Iris 1.11.4 with Complementary Reimagined r5.8.1 and BSL v10.1.8.
  • 26.3: Sodium 0.9.2.
  • 26.1.x: Iris 1.11.4 with Complementary Reimagined r5.8.1.

Some servers don't allow mods like this one, so check the rules of the server you play on.

Requirements

Fabric Loader 0.19.3+ and Java 25, plus Fabric API for your version:

File Minecraft Fabric API
trajectory-projected-1.1.0+26.1.x.jar 26.1, 26.1.1, 26.1.2 0.145.1 or newer
trajectory-projected-1.1.0+26.2.jar 26.2 0.161.0 or newer
trajectory-projected-1.1.0+26.3.jar 26.3 0.166.2 or newer

Files

trajectory-projected-1.1.0+<version>.jar is the mod. trajectory-projected-dev-1.1.0+<version>.jar is an optional add-on that logs predicted against real shots for measurements. You don't need it to play, and it requires the mod of exactly the same version.

1.0.0

Choose a tag to compare

@WilyFoxM WilyFoxM released this 13 Nov 18:30
48400eb

Trajectory Projected 1.0.0: out of beta.

Everything from the betas is here: the bow, the crossbow with Multishot and rockets, the trident, thrown items, wind charges and the fishing rod, with the spread zone, the settings screen and Iris shader pack support. This release fixes how the line looks over water and adds checks that let me call it stable.

Fixes

  • Without a shader pack, water no longer tints the line, the ghost bobber or the ring. This works with improved transparency on too. The line is now drawn after the level, as it already was with a shader pack, so it also lies over particles, clouds and rain.

What I measured

  • The spread zone's rings hold up against real shots. The log has the spread the server drew for each arrow. Of 291 logged bow shots, 48.8% fell inside the half ring (95% confidence 43–55%) and 92.4% inside the 90% ring (89–95%). This is counted across the launch direction, before the flight bends the spread.
  • The fishing rod. In my test runs, real casts came to rest within 0.09 blocks of the prediction. On my own server I didn't notice a cast landing outside the ghost bobber, even on the very edge of a block; that was by eye, not logged.
  • The bow results from 0.1.0 still stand: every launch within vanilla's spread limit in singleplayer and at full draw on my server.

Limits

  • The server results come from one server and one evening: about 166 ms ping and no other players.
  • On a server, a partial bow draw can be counted a tick off, which the client can't know. Allow for draw timing widens the zone for it; that widened zone has not been checked against real shots.
  • Only the bow has been measured with logged shots. On a server the fishing rod was checked by eye only.
  • Other rendering mods besides Sodium and Iris have not been tested.

Compatibility

Checked with Sodium 0.9.2, and with Iris 1.11.4 and Complementary Reimagined r5.8.1 and BSL v10.1.8. Some servers don't allow mods like this one, so check the rules of the server you play on.

Requirements

Minecraft 26.2, Fabric Loader 0.19.3+, Fabric API 0.161.0+26.2 and Java 25.

Files

trajectory-projected-1.0.0.jar is the mod. trajectory-projected-dev-1.0.0.jar is an optional add-on that logs predicted against real shots for measurements; it isn't needed to play and requires this exact version of the mod.

0.2.0

0.2.0 Pre-release
Pre-release

Choose a tag to compare

@WilyFoxM WilyFoxM released this 12 Nov 17:47
23a6c49

Trajectory Projected 0.2.0: the fishing rod.

Fishing rod

  • While you hold a fishing rod and the hook is not out, the mod shows the path of the cast and a ghost of the hook where it will land.
  • On the ground the ghost stands where the hook will lie. Against a wall it shows where the hook drops to.
  • On water there is a ring around it, and the ghost floats above the surface.
  • When the cast will catch a mob or a player, the marker becomes the cross, as with the bow.
  • Behind blocks the ghost is drawn faint and outlined, like the hidden part of the line.
  • Nothing is shown while the hook is out, since a click would reel it in.
  • Fishing rod on the General page turns it off; it is on by default.

Accuracy

The hook's flight follows vanilla, including how it slides along blocks and stops on them. In my test runs in singleplayer, real casts on the ground, on water, against a wall and next to a mob came to rest within 0.09 blocks of the prediction. The hook's own random spread moves it by up to about 0.2 blocks, less than the ghost, so the rod has no spread zone.

Limits

  • Not tested on a server.
  • Not modelled for the rod: boats, cobwebs, honey and soul sand, slime blocks, hooking dropped items, water currents.
  • Without a shader pack, water is drawn after the line, so the ghost and the dots over water look tinted by it. The line has always looked like this over water.

Compatibility

Checked with Sodium 0.9.2, and with Iris 1.11.4 and Complementary Reimagined r5.8.1 and BSL v10.1.8. Some servers don't allow mods like this one, so check the rules of the server you play on.

Requirements

Minecraft 26.2, Fabric Loader 0.19.3+, Fabric API 0.161.0+26.2 and Java 25.

Files

trajectory-projected-0.2.0.jar is the mod. trajectory-projected-dev-0.2.0.jar is an optional add-on that logs predicted against real shots for measurements; it isn't needed to play and requires this exact version of the mod.

0.1.0

0.1.0 Pre-release
Pre-release

Choose a tag to compare

@WilyFoxM WilyFoxM released this 08 Nov 22:23
dada9a0

Trajectory Projected 0.1.0: see where it lands, and how far the spread can carry it.

This is the first release of Trajectory Projected, a client-side mod for Minecraft 26.2 on Fabric, and it is a beta. Nothing needs to be installed on the server.

Projectiles

  • Bow while drawn, at the draw it would fire with.
  • Crossbow when charged: arrows, Multishot volleys with every arrow on its own path, and firework rockets.
  • Trident while readied. A trident with Riptide shows nothing, because it launches you instead.
  • Thrown items: snowballs, eggs, ender pearls, splash and lingering potions, bottles o' enchanting and wind charges.

The line

  • A dotted path that keeps an even spacing on screen and stays steady while you move.
  • Parts hidden behind blocks are drawn faint and outlined.
  • In first person the line starts beside the view and bends into the flight. Crossbow lines start at the eyes.
  • A rocket's line fades out after the earliest moment it can explode.

The target

  • A hit marker on the surface the projectile will meet.
  • On a mob or a player the marker becomes a cross, the line pulses gently, and the crosshair turns into a cross.
  • Spread zone: a soft shade with a thin rim on the blocks around the hit, showing where the server's random spread can put the projectile. Its inner ring marks where about half of the shots land.
  • Optional, off by default: a ring for 90% of the shots, and Allow for draw timing, which widens the zone for partial bow draws on servers.

Settings

Press F7 for a searchable menu in English and Russian, grouped into General, Line and Target. Each part has its own switch, and changes save automatically. A key to turn trajectories on and off can be set under Options → Controls.

What I measured

I fired 334 logged bow shots, 184 in singleplayer and 150 on a small server of my own.

  • Singleplayer: all 184 launches stayed within vanilla's spread limit. Standing, arrows stopped a median of 0.6 blocks from the predicted point at 25 blocks, 1.6 at 43 and 1.3 at 59, and never more than 4.6. That distance is the random spread, which no line can remove.
  • Server, full draw: all 60 launches stayed within the limit.
  • Server, partial draw: in 22 of 60 shots the server counted one tick more or less than the client. At 9–15 blocks such a shot stopped about 1.1–1.4 blocks from the prediction, up to 2.1. The first 30 partial draws exposed a bug in how the mod counted the draw, which is fixed; these 60 were fired after the fix.

Limits

  • The server results come from one server and one evening: about 166 ms ping and no other players. Other latency, server load or plugins may give different numbers.
  • Only the bow has been measured this way. Other projectiles had short singleplayer checks.
  • I haven't checked the zone's rings or the widened zone against real shots.
  • Projectiles already in flight, a Loyalty trident's return and the fishing rod are not shown.
  • A shot into water shows no zone where its spread scatters too widely to say where the arrow lands, as near a shore. Over open water this often applies to the side arrows of a Multishot volley.

Compatibility

  • I play with Sodium; 0.9.2 is tested.
  • With Iris 1.11.4 and a shader pack, the line, markers and zone are drawn over the finished image, so the pack doesn't light or fog them. Checked with Complementary Reimagined r5.8.1 and BSL v10.1.8.
  • Other rendering mods have not been tested.
  • Some servers don't allow mods like this one, so check the rules of the server you play on.

Requirements

Minecraft 26.2, Fabric Loader 0.19.3+, Fabric API 0.161.0+26.2 and Java 25.

Files

trajectory-projected-0.1.0.jar is the mod. trajectory-projected-dev-0.1.0.jar is an optional add-on that logs predicted against real shots for measurements; it isn't needed to play and requires this exact version of the mod.