Race API-26.2-0.7.5-hotfix2
Curse Maven Snippet
What's new
🐛 Bug Fixes
-
Lighting Condition Fix: The
light_level_below/aboveconditions 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 withheld_itemoroffhand_itemconditions. Item names are now resolved safely via translation keys instead of requiring early-phaseItemStackconstruction. -
Biome Tag Parsing: The
in_biomecondition no longer rejects tags with a leading#. Using#minecraft:is_forestnow works exactly the same asminecraft:is_forest.
✨ New Features & Additions
-
🧩 24 New Condition Types (50 Total):
-
Items:
held_item,offhand_item,wearing_item, andarmor_count_above/below. -
Player State:
hunger_below/above,air_below/above,xp_level_above/below,climbing,eye_in_water,riding, andgamemode. -
World Environment:
standing_on(specific block or block tag),biome_id,moon_phase(all 8 phases),thundering, andtime_between. -
RPG Elements:
entities_nearby_above/below(radius + threshold + entity/tag filter) andscoreboard_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, anduk_ua. (Note: An explicitly setcondition_labelwill 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

