Перейти к содержимому
Mineforgian

Acrophobia

Minecraft mod that aims to nerf flight with elytra, modded creative flight armors and other flight methods

Загрузки
249
Подписчики
1
Обновлён
22 декабря 2025 г.
Лицензия
MIT

Опубликован 30 ноября 2025 г.

Acrophobia

Minecraft mod that aims to nerf flight with elytra, modded creative flight armors and other flight methods.

Features

If you are not touching the ground/liquid/riding a vehicle you get the Fear of Heights effect for a configurable duration. If you land on the ground/liquid/riding a vehicle the effect is removed. If the effect runs out it transforms into a higher level for a longer (configurable) duration. On level II and above every 5 seconds you get affected by Nausea, Wither, and Hunger (levels scale up with fear level). The maximum level is configurable (default V). If heavyArmor is enabled and you have more armor than full diamond (or toughness above 8), the fear jumps instantly to max level.

Configuration

On first run, a config file is created at config/acrophobia.json with:

  • waitDuration: Level I duration in ticks (default 200)
  • fearDuration: Level II+ duration in ticks (default 400)
  • maxLevel: Maximum fear level (default 5)
  • heavyArmor: If true, excess armor jumps to max level (default true)
  • effectsGrounded: If true, Levitation/Slow Falling count as grounded (default true)

Ченджлог

1.0.2+mc1.21.11Релиз1.21.11 · 22 декабря 2025 г.

Changelog

All notable changes to the Acrophobia mod will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[1.0.2] - 2025-12-22

Fixed

  • Fixed armor toughness detection failing on Minecraft 1.21.11 (was returning 0.0 instead of actual toughness values)
  • Fixed armor toughness detection broken on Minecraft 1.20.1 after initial 1.21.11 fix attempt
  • Fixed armor toughness detection broken on Minecraft 1.21.1 after initial 1.21.11 fix attempt
  • Heavy armor detection (toughness ≥ 9) now works correctly on all supported versions

Added

  • New FearOfHeightsEffect_1_20_1 class for MC 1.20.1-specific armor toughness detection
  • New FearOfHeightsEffect_1_21_1 class for MC 1.21.0-1.21.10 specific armor toughness detection
  • New FearOfHeightsEffect_1_21_11 class for MC 1.21.11+ specific armor toughness detection
  • New StatusEffectHandler utility class for improved effect management
  • New VersionConstants utility class for version-specific constants
  • Version-specific JAR outputs: acrophobia-1.0.2+mc1.20.1.jar, acrophobia-1.0.2+mc1.21.1.jar, acrophobia-1.0.2+mc1.21.11.jar

Changed

  • Replaced fragile reflection-based armor toughness detection with direct API access
  • Each Minecraft version now has its own implementation class with proper attribute access:
    • MC 1.20.1: Uses EntityAttributes.GENERIC_ARMOR_TOUGHNESS
    • MC 1.21.0-1.21.10: Uses EntityAttributes.GENERIC_ARMOR_TOUGHNESS
    • MC 1.21.11+: Uses EntityAttributes.ARMOR_TOUGHNESS (renamed constant)
  • Updated Minecraft version compatibility range: >=1.20.0 <1.22.0 (previously >=1.20.0 <1.21.0)
  • Improved code architecture with cleaner inheritance chain and better separation of concerns
  • Enhanced build system with true multi-version support (separate version-specific classes per version)
  • Updated author name in mod metadata: "MidnightSP"

Technical Details

  • New Classes: 3 version-specific implementations + 2 utility classes
  • Removed: Complex reflection-based fallback code from base class
  • File Size: Varies by version (~300-400KB per version-specific JAR)
  • Compilation: Each version compiles independently with its own Fabric Yarn version
  • Version Detection: No runtime version checking needed - compile-time separation ensures correct APIs

Version Support

  • MC 1.20.1: ✅ Fully supported and tested
  • MC 1.21.0-1.21.10: ✅ Fully supported and tested
  • MC 1.21.11+: ✅ Fully supported and tested

[1.0.1] - Previous Release

Features

  • Initial multi-version support for Minecraft 1.20.x and 1.21.x
  • Basic armor toughness detection (using reflection)
  • Heavy armor detection feature (Level I→V jump after 10 seconds with armor > 20 OR toughness ≥ 9)
  • Single unified JAR per version range (1.0.1-mc-1.20.x.jar, 1.0.1-mc-1.21.x.jar)

Known Issues

  • MC 1.21.11 armor toughness detection broken (returns 0.0 instead of actual values)
  • Relies on reflection which is fragile across Minecraft versions

Version Support

  • MC 1.20.x: ✅ Working
  • MC 1.21.x: ⚠️ Partially working

Version Support Summary

Version 1.20.1 1.21.1 1.21.11
1.0.1
1.0.2

Breaking Changes

None - Version 1.0.2 maintains full backward compatibility with all existing worlds and configurations.

Migration Guide

From 1.0.1 to 1.0.2:

  1. Download the version-specific JAR for your Minecraft version
    • Use acrophobia-1.0.2+mc1.20.1.jar for MC 1.20.1
    • Use acrophobia-1.0.2+mc1.21.1.jar for MC 1.21.0-1.21.10
    • Use acrophobia-1.0.2+mc1.21.11.jar for MC 1.21.11+
  2. Remove old JAR file from mods folder
  3. Add new JAR to mods folder
  4. Launch game - no config changes needed, old worlds work as-is
1.0.2+mc1.21.1Релиз1.21.1 · 22 декабря 2025 г.

Changelog

All notable changes to the Acrophobia mod will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[1.0.2] - 2025-12-22

Fixed

  • Fixed armor toughness detection failing on Minecraft 1.21.11 (was returning 0.0 instead of actual toughness values)
  • Fixed armor toughness detection broken on Minecraft 1.20.1 after initial 1.21.11 fix attempt
  • Fixed armor toughness detection broken on Minecraft 1.21.1 after initial 1.21.11 fix attempt
  • Heavy armor detection (toughness ≥ 9) now works correctly on all supported versions

Added

  • New FearOfHeightsEffect_1_20_1 class for MC 1.20.1-specific armor toughness detection
  • New FearOfHeightsEffect_1_21_1 class for MC 1.21.0-1.21.10 specific armor toughness detection
  • New FearOfHeightsEffect_1_21_11 class for MC 1.21.11+ specific armor toughness detection
  • New StatusEffectHandler utility class for improved effect management
  • New VersionConstants utility class for version-specific constants
  • Version-specific JAR outputs: acrophobia-1.0.2+mc1.20.1.jar, acrophobia-1.0.2+mc1.21.1.jar, acrophobia-1.0.2+mc1.21.11.jar

Changed

  • Replaced fragile reflection-based armor toughness detection with direct API access
  • Each Minecraft version now has its own implementation class with proper attribute access:
    • MC 1.20.1: Uses EntityAttributes.GENERIC_ARMOR_TOUGHNESS
    • MC 1.21.0-1.21.10: Uses EntityAttributes.GENERIC_ARMOR_TOUGHNESS
    • MC 1.21.11+: Uses EntityAttributes.ARMOR_TOUGHNESS (renamed constant)
  • Updated Minecraft version compatibility range: >=1.20.0 <1.22.0 (previously >=1.20.0 <1.21.0)
  • Improved code architecture with cleaner inheritance chain and better separation of concerns
  • Enhanced build system with true multi-version support (separate version-specific classes per version)
  • Updated author name in mod metadata: "MidnightSP"

Technical Details

  • New Classes: 3 version-specific implementations + 2 utility classes
  • Removed: Complex reflection-based fallback code from base class
  • File Size: Varies by version (~300-400KB per version-specific JAR)
  • Compilation: Each version compiles independently with its own Fabric Yarn version
  • Version Detection: No runtime version checking needed - compile-time separation ensures correct APIs

Version Support

  • MC 1.20.1: ✅ Fully supported and tested
  • MC 1.21.0-1.21.10: ✅ Fully supported and tested
  • MC 1.21.11+: ✅ Fully supported and tested

[1.0.1] - Previous Release

Features

  • Initial multi-version support for Minecraft 1.20.x and 1.21.x
  • Basic armor toughness detection (using reflection)
  • Heavy armor detection feature (Level I→V jump after 10 seconds with armor > 20 OR toughness ≥ 9)
  • Single unified JAR per version range (1.0.1-mc-1.20.x.jar, 1.0.1-mc-1.21.x.jar)

Known Issues

  • MC 1.21.11 armor toughness detection broken (returns 0.0 instead of actual values)
  • Relies on reflection which is fragile across Minecraft versions

Version Support

  • MC 1.20.x: ✅ Working
  • MC 1.21.x: ⚠️ Partially working

Version Support Summary

Version 1.20.1 1.21.1 1.21.11
1.0.1
1.0.2

Breaking Changes

None - Version 1.0.2 maintains full backward compatibility with all existing worlds and configurations.

Migration Guide

From 1.0.1 to 1.0.2:

  1. Download the version-specific JAR for your Minecraft version
    • Use acrophobia-1.0.2+mc1.20.1.jar for MC 1.20.1
    • Use acrophobia-1.0.2+mc1.21.1.jar for MC 1.21.0-1.21.10
    • Use acrophobia-1.0.2+mc1.21.11.jar for MC 1.21.11+
  2. Remove old JAR file from mods folder
  3. Add new JAR to mods folder
  4. Launch game - no config changes needed, old worlds work as-is
1.0.2+mc1.20.1Релиз1.20.1 · 22 декабря 2025 г.

Changelog

All notable changes to the Acrophobia mod will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[1.0.2] - 2025-12-22

Fixed

  • Fixed armor toughness detection failing on Minecraft 1.21.11 (was returning 0.0 instead of actual toughness values)
  • Fixed armor toughness detection broken on Minecraft 1.20.1 after initial 1.21.11 fix attempt
  • Fixed armor toughness detection broken on Minecraft 1.21.1 after initial 1.21.11 fix attempt
  • Heavy armor detection (toughness ≥ 9) now works correctly on all supported versions

Added

  • New FearOfHeightsEffect_1_20_1 class for MC 1.20.1-specific armor toughness detection
  • New FearOfHeightsEffect_1_21_1 class for MC 1.21.0-1.21.10 specific armor toughness detection
  • New FearOfHeightsEffect_1_21_11 class for MC 1.21.11+ specific armor toughness detection
  • New StatusEffectHandler utility class for improved effect management
  • New VersionConstants utility class for version-specific constants
  • Version-specific JAR outputs: acrophobia-1.0.2+mc1.20.1.jar, acrophobia-1.0.2+mc1.21.1.jar, acrophobia-1.0.2+mc1.21.11.jar

Changed

  • Replaced fragile reflection-based armor toughness detection with direct API access
  • Each Minecraft version now has its own implementation class with proper attribute access:
    • MC 1.20.1: Uses EntityAttributes.GENERIC_ARMOR_TOUGHNESS
    • MC 1.21.0-1.21.10: Uses EntityAttributes.GENERIC_ARMOR_TOUGHNESS
    • MC 1.21.11+: Uses EntityAttributes.ARMOR_TOUGHNESS (renamed constant)
  • Updated Minecraft version compatibility range: >=1.20.0 <1.22.0 (previously >=1.20.0 <1.21.0)
  • Improved code architecture with cleaner inheritance chain and better separation of concerns
  • Enhanced build system with true multi-version support (separate version-specific classes per version)
  • Updated author name in mod metadata: "MidnightSP"

Technical Details

  • New Classes: 3 version-specific implementations + 2 utility classes
  • Removed: Complex reflection-based fallback code from base class
  • File Size: Varies by version (~300-400KB per version-specific JAR)
  • Compilation: Each version compiles independently with its own Fabric Yarn version
  • Version Detection: No runtime version checking needed - compile-time separation ensures correct APIs

Version Support

  • MC 1.20.1: ✅ Fully supported and tested
  • MC 1.21.0-1.21.10: ✅ Fully supported and tested
  • MC 1.21.11+: ✅ Fully supported and tested

[1.0.1] - Previous Release

Features

  • Initial multi-version support for Minecraft 1.20.x and 1.21.x
  • Basic armor toughness detection (using reflection)
  • Heavy armor detection feature (Level I→V jump after 10 seconds with armor > 20 OR toughness ≥ 9)
  • Single unified JAR per version range (1.0.1-mc-1.20.x.jar, 1.0.1-mc-1.21.x.jar)

Known Issues

  • MC 1.21.11 armor toughness detection broken (returns 0.0 instead of actual values)
  • Relies on reflection which is fragile across Minecraft versions

Version Support

  • MC 1.20.x: ✅ Working
  • MC 1.21.x: ⚠️ Partially working

Version Support Summary

Version 1.20.1 1.21.1 1.21.11
1.0.1
1.0.2

Breaking Changes

None - Version 1.0.2 maintains full backward compatibility with all existing worlds and configurations.

Migration Guide

From 1.0.1 to 1.0.2:

  1. Download the version-specific JAR for your Minecraft version
    • Use acrophobia-1.0.2+mc1.20.1.jar for MC 1.20.1
    • Use acrophobia-1.0.2+mc1.21.1.jar for MC 1.21.0-1.21.10
    • Use acrophobia-1.0.2+mc1.21.11.jar for MC 1.21.11+
  2. Remove old JAR file from mods folder
  3. Add new JAR to mods folder
  4. Launch game - no config changes needed, old worlds work as-is
1.0.1Релиз1.21.8, 1.21.9, 1.21.10 · 30 ноября 2025 г.

Release for Minecraft 1.21.x for Fabric

1.0.1Релиз1.20.4, 1.20.5, 1.20.6 · 30 ноября 2025 г.

Release for Minecraft 1.20.x on Fabric

Комментарии

Загружаем…