Skip to content

Repository files navigation

Fireball Predictor

A client-side Fabric mod for Minecraft 26.2 and 1.21.11 that visualizes the trajectory and impact of fireballs, wither skulls, and wind charges in real-time.

Fireball Predictor Video

Modrinth Downloads CurseForge Downloads

What it does

Fireball Predictor calculates exactly where explosive projectiles will land and what damage they will do before they hit.

By syncing explosion power from the server to the client, the mod deterministically simulates the projectile's kinematics and replicates vanilla Minecraft's explosion raycasting algorithm. The result is a highly accurate, real-time prediction rendered directly in the world.

Features

  • Trajectory Ribbon: A translucent trail showing the projectile's calculated flight path, accounting for drag and acceleration.
  • Shockwave Dome: Visualizes the predicted explosion radius at the exact point of impact.
  • Block Highlights: Highlights the specific blocks that will be destroyed by the explosion.
  • Impact Warning Badge: On-screen HUD warning badge with a countdown timer when on a collision course.
  • Cracking Damage Hearts Overlay: Overlays your health bar with animated cracking hearts showing the exact health predicted to be lost, fully accounting for distance falloff, line-of-sight cover, armor, Protection/Blast Protection enchantments, absorption hearts, and Resistance effects.
  • Damage & Knockback Readout: Live HUD readout displaying the predicted heart loss and initial knockback velocity (in blocks/second) for the most threatening incoming projectile.
  • Multiple Projectiles: Supports fireballs, uncharged and charged wither skulls, wind charges, and dragon fireballs.
  • Smart Owner Tracking: Infers which mob, player, dispenser, or command spawned each projectile and lets you filter highlights per source.
  • Server Enforcement: Server owners can disable tracking of "other"-source projectiles (players, dispensers, commands) for every connected client, either for the whole group or per sub-option.
  • Configurable: Tweak visual settings, colors, owner filters, HUD badge anchors, and damage overlay toggles through an in-game mod menu with live previews.

Fair Play

Some servers might classify this mod as Extra-Sensory Perception (ESP), which is a bannable offense on competitive networks. Always play fair and only use this mod on servers where it is explicitly allowed.

Server Configuration

When the mod is installed on a server, it creates config/fireballpredictor-server.json on first start. Server owners can use it to disable prediction tracking of "other"-source projectiles (e.g. in PvP contexts where predicting player-owned fireballs is unwanted) for all mod users on the server:

{
  "disableOtherOwnerTracking": false,
  "disablePlayerTracking": false,
  "disableDispenserTracking": false,
  "disableCommandTracking": false
}
  • disableOtherOwnerTracking: master switch — disables the whole "other" owner group (player, dispenser, command projectiles).
  • disablePlayerTracking / disableDispenserTracking / disableCommandTracking: sub-options to disable individual sources.

Restrictions are pushed to clients when they join and override their local settings. After editing the file, run /fireballpredictor reload (operator permission) to apply changes to all connected players without a restart.

Requirements & Compatibility

Side Requirement Details
Minecraft 26.2 / 1.21.11 Fabric Loader >=0.19.3
Java Java 25 Gradle toolchain target
Required Mods Fabric API Core networking and lifecycle hooks
YetAnotherConfigLib (YACL v3) >=3.9.6 — In-game config screen & live previews
Optional Mods ModMenu In-game configuration screen button
Iris Shaders + Sodium Soft-loaded fullbright translucent pipeline integration

Setup & Build Instructions

This mod requires Java 25 and uses the Gradle toolchain.

# Build the mod JAR
./gradlew build

# Run the client development environment
./gradlew runClient

# Run the client development environment with Iris & Sodium activated
./gradlew runClientWithShaders

# Run the server development environment
./gradlew runServer

# Run the automated GameTest suite
./gradlew runGameTest

Consult the /docs directory for more technical details.

Publishing a New Release

To publish a new version to Modrinth, CurseForge, and GitHub Releases:

  1. Update mod_version in gradle.properties and add the version release notes under CHANGELOG.md.
  2. Commit and push a release tag matching v*:
    git commit -am "Prepare release v1.3.0"
    git tag v1.3.0+26.2
    git push origin v1.3.0+26.2

The GitHub Actions workflow will automatically build the mod and publish the binary and changelog to Modrinth, CurseForge, and GitHub Releases.

About

A client-side Fabric mod for Minecraft that visualizes the trajectory and impact of fireballs, wither skulls, and wind charges in real-time.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages