
SmartElytra
This mod is designed to help players reduce accidental activation of the elytra.
About this Mod
Welcome to SmartElytra
This mod is dedicated to preventing players from accidentally triggering the elytra as much as possible.
Detection Logic
The mod uses a fixed logic to guess whether the player intends to use the elytra, thereby disabling the elytra when the player does not want to use it.
The detection logic is as follows:
- Check if the player is holding fireworks. If yes, allow the use of the elytra; otherwise, continue to the next step.
- Check if the player is not running and the block under their feet is not air. If yes, it means the player's feet are in a block or fluid, and the elytra is disabled; otherwise, continue to the next step.
- Check if the absolute value of the player's vertical speed is less than 0.25 and the time since the last jump is less than 20 ticks. If yes, it means the player pressed the spacebar near the peak of their jump, possibly intending to glide into crawl mode using the elytra, and the elytra is allowed; otherwise, continue to the next step.
- Check if the player is not running and the block one space below their feet is a fluid or air. If yes, it means the player might be trying to enter crawl mode or use the elytra to jump out of the water, and the elytra is allowed; otherwise, continue to the next step.
- Check if there is enough space for flight in the five blocks ahead of the player. If yes, allow the use of the elytra; otherwise, disable the elytra.
欢迎使用 SmartElytra
本模组致力于尽可能地避免玩家误触鞘翅。
检测逻辑
模组通过固定的逻辑猜测玩家是否是主观地想要使用鞘翅,从而在玩家不想使用鞘翅时禁用鞘翅。
检测逻辑如下:
- 检查玩家是否手持烟花,如果是则允许使用鞘翅,否则继续向下
- 检查玩家是否不在奔跑且脚下不是空气方块,如果是说明玩家地脚在方块中或在流体中,此时禁用鞘翅,否则继续向下
- 检查玩家垂直方向速度的绝对值是否小于 0.25 且距离上一次跳跃的间隔小于 20 Tick,如果是说明玩家在跳跃最高点附近按下了空格,可能是想要通过鞘翅滑行进入爬行模式,此时允许使用鞘翅,否则继续向下
- 检查玩家是否不在奔跑且脚下间隔一个方块的位置是流体或空气,如果是说明玩家可能在尝试进入爬行或借助鞘翅越出水面,此时允许使用鞘翅,否则继续向下
- 检查玩家前方五格的空间是否允许飞行,如果是则允许使用鞘翅,否则禁用鞘翅
Available Versions
How to Install SmartElytra on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.6).
Install Mod
Open the mod browser in the dashboard and search for "SmartElytra". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.20.6, 1.20.5, 1.20.4 (+3 more)
Server-side
✗ UnsupportedRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
SmartElytra server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.6). You can switch loaders with one click in the panel.
Is SmartElytra compatible with fabric?
SmartElytra officially supports fabric for Minecraft 1.20.6, 1.20.5, 1.20.4. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with SmartElytra – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if SmartElytra consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install SmartElytra with just one click on your server.