promotional bannermobile promotional banner

RaceAPI

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

Race API-26.2-0.7.5-hotfix2

File nameRace API-26.2-0.7.5.jar
Uploader
naccelnaccel
Uploaded
Aug 24, 2026
Downloads
8
Size
274.6 KB
Mod Loaders
NeoForge
File ID
8723459
Type
A
Alpha
Supported game versions
  • 26.2

Curse Maven Snippet

NeoForge

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

Learn more about Curse Maven

What's new

🐛 Bug Fixes

  • Lighting Condition Fix: The light_level_below/above conditions previously ignored sky darkening. At night, the surface was still read as light level 15, meaning "in darkness" checks never triggered after sunset. It now uses the real effective light level, correctly accounting for the time of day and weather.

  • Item Condition Crash: Fixed a NullPointerException ("Components not bound yet") that caused a crash when loading races with held_item or offhand_item conditions. Item names are now resolved safely via translation keys instead of requiring early-phase ItemStack construction.

  • Biome Tag Parsing: The in_biome condition no longer rejects tags with a leading #. Using #minecraft:is_forest now works exactly the same as minecraft:is_forest.

✨ New Features & Additions

  • 🧩 24 New Condition Types (50 Total):

    • Items: held_item, offhand_item, wearing_item, and armor_count_above/below.

    • Player State: hunger_below/above, air_below/above, xp_level_above/below, climbing, eye_in_water, riding, and gamemode.

    • World Environment: standing_on (specific block or block tag), biome_id, moon_phase (all 8 phases), thundering, and time_between.

    • RPG Elements: entities_nearby_above/below (radius + threshold + entity/tag filter) and scoreboard_above/below.

  • 🌍 Dynamic Condition Translations: Conditional power labels are no longer raw IDs! They now display readable text like "At night", "Holding Diamond Sword", or "Moon phase: Full Moon". Composite logic joins recursively (e.g., "AT NIGHT and Holding #minecraft:swords"). Added 59 new localization keys for en_us, ru_ru, and uk_ua. (Note: An explicitly set condition_label will still take priority).

  • 📚 Documentation: The datapack guide has been significantly expanded! It now fully covers raceapi:conditional, complete with detailed reference tables for all 50 condition types and practical usage examples.

This mod has no additional files