promotional bannermobile promotional banner

RaceAPI

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

Race API-26.2-0.4.1-fix.jar

File nameRace API-26.2-0.4.1.jar
Uploader
naccelnaccel
Uploaded
Aug 20, 2026
Downloads
12
Size
232.2 KB
Mod Loaders
NeoForge
File ID
8690907
Type
B
Beta
Supported game versions
  • 26.2

Curse Maven Snippet

NeoForge

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

Learn more about Curse Maven

What's new

Race API 0.4.1

Fixes
- Respawn handler — The `PlayerRespawnEvent` handler is integrated into the JAR via a separate `@Mod` class, `RaceAPIRespawnFix`, with a reflective call to `RaceManager.applyPersistedRace()`. The original class files are not modified (ASM is not used)
- matchesEntityType — null check for `PlayerEntity` and `OtherEntity` before calling `getType()`
- tryParse — null validation for the `JsonObject` parameter
- cooldownMap — memory leak fixed: cooldowns are cleared when an ability is removed in `onRemove()`
- GrantItemPower — duplicate items upon relog fixed: `onAttach` checks for the item’s existence before granting it
- Mining Fatigue — Fixed duplicate `MINING_FATIGUE` effect instead of `DIG_SLOWDOWN`
Spawn truncation bias — Fixed rounding of spawn positions

Race API 0.4.1

 Исправления
- Respawn handler — `PlayerRespawnEvent` обработчик встроен в jar через отдельный `@Mod` класс `RaceAPIRespawnFix` с рефлексивным вызовом `RaceManager.applyPersistedRace()`. Оригинальные class-файлы не модифицированы (ASM не используется)
- matchesEntityType — null-проверка для `PlayerEntity` и `OtherEntity` перед вызовом `getType()`
- tryParse — null-валидация для `JsonObject` параметра
- cooldownMap — утечка памяти исправлена: кулдауны очищаются при снятии способности в `onRemove()`
- GrantItemPower — дубликаты предметов при релоге исправлены: `onAttach` проверяет наличие предмета перед выдачей
- Mining Fatigue — дублирующийся эффект `MINING_FATIGUE` вместо `DIG_SLOWDOWN` исправлен
- Spawn truncation bias — исправлено округление позиции спавна

This mod has no additional files