Elytra Drag NF

Hold sneak while flying with an elytra to apply air drag and slow down.

A NeoForge 1.21.1 port of bl4sterino's Elytra Drag, extended with configurable Do a Barrel Roll integration, server-side fall protection and kinetic damage immunity.

Hold sneak while flying with an elytra to apply air drag and slow down.

Features

  • Hold sneak while gliding to apply drag; strength and minimum speed are configurable
  • Caps fall distance while braking (server side)
  • Cancels FLY_INTO_WALL kinetic damage while braking (server side, configurable)
  • Cancels firework rockets used while braking
  • Do a Barrel Roll integration: braking only slows you down by default; a config switch restores the older behaviour that suppresses DaBR and levels the view

Requirements

  • Minecraft 1.21.1 / NeoForge 21.1.235+ / Java 21
  • Do a Barrel Roll (NeoForge) 3.8.2+ is required on the client. The game will not start without it.

Client / Server

  • Client is required: drag, DaBR handling and firework suppression are client-side.
  • Server is optional: the fall-distance cap and FLY_INTO_WALL immunity only apply when the mod is also installed on the server.
  • A server-only install does nothing, because the braking state is produced by the client.
  • When playing multiplayer, installing it on the server as well avoids unregistered-payload warnings; fall/kinetic values follow the server config.

Configuration (config/elytradrag-common.toml)

Option Default Description
dragMultiplier 2.0 Drag strength, per-tick factor = 1 - 0.05 * value
minimumSpeed 2.0 No drag below this speed (blocks/second)
maxFallDistance 15.0 Fall distance cap while braking (server)
removeKineticDamage true Cancel FLY_INTO_WALL damage while braking (server)
keepDaBREnabledWhileBraking true Only slow down, leave DaBR alone; false restores the old behaviour

这是 bl4sterino 的 Elytra Drag 的 NeoForge 1.21.1 移植版,并在原版基础上增加了可配置的 Do a Barrel Roll 联动、服务端摔落距离保护与撞墙动能免疫。

滑翔时按住潜行键(默认左 Shift)对自身施加空气阻力,实现空中减速。

功能

  • 滑翔中按住潜行键减速;阻力强度、最低生效速度可配置
  • 刹车期间限制摔落距离(服务端)
  • 刹车期间免疫高速撞墙的动能伤害(服务端,可关闭)
  • 刹车期间禁止右键消耗烟花
  • 与 Do a Barrel Roll 联动:默认只减速,不改动 DaBR 的翻滚与视角;配置里可切回"刹车时压制 DaBR 并回正视角"的旧行为

环境与依赖

  • Minecraft 1.21.1 / NeoForge 21.1.235 或更新 / Java 21
  • Do a Barrel Roll (NeoForge) 3.8.2 或更新 —— 必需,且必须装在客户端;不装会直接无法启动

客户端与服务端

  • 客户端必须安装:减速、DaBR 联动、烟花拦截都在客户端完成
  • 服务端可选:只有服务端也装了,"刹车期间摔落距离上限"和"撞墙动能免疫"才会生效
  • 只装服务端没有任何效果(刹车状态由客户端产生并上报)
  • 联机时建议服务端一起安装,避免未注册数据包的提示;摔落/动能相关数值以服务端配置为准

配置(config/elytradrag-common.toml)

选项 默认 说明
dragMultiplier 2.0 阻力强度,每 tick 系数为 1 - 0.05 × 该值
minimumSpeed 2.0 低于该速度(格/秒)不再施加阻力
maxFallDistance 15.0 刹车期间摔落距离上限(服务端)
removeKineticDamage true 刹车期间取消撞墙动能伤害(服务端)
keepDaBREnabledWhileBraking true 只减速、不动 DaBR;设为 false 恢复旧行为

Elytra Drag NF Team

profile avatar
Owner
  • 3
    Projects
  • 269
    Downloads

More from baflamx