promotional bannermobile promotional banner

RaceAPI

A powerful and extensible race/power API for Minecraft
Back to Files

Race API-26.2-0.7.5-hotfix3

File nameRace API-26.2-0.7.5.jar
Uploader
naccelnaccel
Uploaded
Aug 24, 2026
Downloads
24
Size
273.5 KB
Mod Loaders
NeoForge
File ID
8725432
Type
B
Beta
Supported game versions
  • 26.2

Curse Maven Snippet

NeoForge

implementation "curse.maven:raceapi-1643125:8725432"

Learn more about Curse Maven

What's new

⚙️ Race API (v0.7.5)

Resource & Cooldown Logic

  • No Wasted Mana on Cooldown: Pressing a power key while the ability is on cooldown will no longer consume Mana into the void. The pipeline now correctly checks cooldowns first and silently rejects the action.

  • No Wasted Mana on Conditions: ConditionalPower abilities will no longer consume Mana if the required condition is currently unmet (e.g., trying to use a night-only power during the day is now a guaranteed no-op).

  • Resource Persistence: Your Mana/Stamina pool now survives relogs and deaths! It is properly saved via PlayerPersisted and will only reset if you explicitly change your race.

Power & Gameplay Fixes

  • Attribute Power Conflicts Resolved: Multiple powers modifying the same attribute (e.g., two powers altering Max Health) no longer overwrite or delete each other. They now use unique keys based on their power ID, and a cleanup sweep removes any leftover modifiers upon respawning or reloading.

  • LightSensitive Actually Burns: The sun weakness power used to apply a purely visual 1-tick fire. It now applies ≥25 ticks, ensuring that actual vanilla fire damage ticks every ~0.5 seconds while in sunlight.

  • ShadowStep Weakness: Fixed a parsing bug where the weakness debuff lasted 20x longer than intended (60 seconds instead of 3).

  • Kinetic Strike Penalty: The cooldown penalty for missing a Kinetic Counter-strike actually works now, applying the cooldown from the exact moment of the miss.

Core Engine Updates

  • Accurate Slot Validation: The /raceapi validate command now calculates ability slots exactly like the game engine does, eliminating false conflict warnings between different races.

  • ID Collision Warnings: Overwriting a built-in Java power or race with a custom JSON file now throws a proper warning in ParseErrors (visible via /raceapi validate) instead of failing silently.

  • Code Cleanup: Removed completely unused PehkuiCompat dead code (race scaling is natively handled via the vanilla SCALE attribute).

(Note regarding deliberate design choices: Missing an ability—like blinking into a wall—will still consume Mana, as success is only determined during execution. Additionally, race width/height parameters do not alter hitboxes; this is intentional, and hitboxes are solely modified via the scale attribute).

This mod has no additional files