
FlyWithFood_fabric
Hunger Flight, allows survival players to fly, deducts Hunger Points over time, facilitates building use. 饥饿飞行,允许生存玩家飞行,随时间扣除饥饿值,方便建筑使用。
About this Mod
FlyWithFood - Fabric Mod
A flight module based on hunger consumption that allows players to fly while consuming hunger.
一个基于饥饿值消耗的飞行模组,允许玩家在消耗饥饿值的情况下飞行。
95% of this mod code is generated by AI 本mod95%代码由AI生成
functional properties 功能特性
Hunger Points Flying: Players can activate the flying function, which will continue to consume Hunger Points while flying
Automatic shutdown: Automatic shutdown of flight capabilities when the hunger value is below the threshold
Server module: You only need to install it on the server, and you can use it on the client without installing it.
Configurable: Supports custom hunger consumption rates, minimum hunger thresholds and prompt messages
Permission support: Supports LuckPerms privilege management, and uses OP privileges when there is no LuckPerms
Configurable hunger consumption interval: Customizable hunger consumption interval
Saturation effect reminder: Automatic reminder when the player has a saturation potion effect and the remaining time is insufficient
饥饿值飞行:玩家可以启用飞行功能,飞行时会持续消耗饥饿值
自动关闭:当饥饿值低于阈值时,自动关闭飞行能力
服务端模组:仅需在服务端安装,客户端无需安装即可使用
可配置:支持自定义饥饿消耗速率、最低饥饿阈值和提示消息
权限支持:支持 LuckPerms 权限管理,无 LuckPerms 时使用 OP 权限
可配置的饥饿消耗间隔:可自定义饥饿值消耗的时间间隔
饱和效果提醒:当玩家身上有饱和药水效果且剩余时间不足时,自动提醒
command 命令
| command 命令 | described 描述 | permission node 权限节点 |
|---|---|---|
/fly |
Switch flight status (on/off) 切换飞行状态(开/关) | flywithfood.use |
/fly on |
Activate flight 启用飞行 | flywithfood.use |
/fly off |
Ban flights 禁用飞行 | flywithfood.use |
/fly reload |
Overload configuration files 重载配置文件 | flywithfood.reload |
permission node 权限节点
| permission node 权限节点 | described 描述 | default 默认 |
|---|---|---|
flywithfood.use |
Allow the use of flight orders 允许使用飞行命令 | everyone 所有人 |
flywithfood.reload |
Allow overloading of configuration files 允许重载配置文件 | 管理员 (OP) |
configuration 配置文件
The configuration file is located at: config/flywithfood.json
配置文件位于:config/flywithfood.json
{
"hungerDrainPerSecond": 1.0,
"minHungerToFly": 6,
"hungerDrainIntervalTicks": 20,
"saturationWarningSeconds": 10,
"messageFlyEnabled": "§a[FlyWithFood] 飞行已启用!飞行时会消耗饥饿值。",
"messageFlyDisabled": "§c[FlyWithFood] 飞行已禁用!",
"messageHungerLow": "§c[FlyWithFood] 饥饿值不足,飞行已自动关闭!",
"messageConfigReloaded": "§a[FlyWithFood] 配置文件已重新加载!",
"messageSaturationWarning": "§e[FlyWithFood] 饱和效果剩余时间:%time%秒"
}
Configuration item description 配置项说明
| configuration items 配置项 | type 类型 | default value 默认值 | described 描述 |
|---|---|---|---|
hungerDrainPerSecond |
double | 1.0 | Hunger points consumed per time 每次消耗的饥饿值 |
minHungerToFly |
int | 6 | The lowest hunger value allowed to fly (automatically shut down when the hunger value falls below this value) 允许飞行的最低饥饿值(饥饿值低于此值时自动关闭飞行) |
hungerDrainIntervalTicks |
int | 20 | Interval between hunger points consumed (unit: quarter, 20 quarters =1 second) 饥饿值消耗的间隔(单位:刻,20刻=1秒) |
saturationWarningSeconds |
int | 10 | Reminder starts when the remaining time of saturation effect falls below this value (unit: seconds) 饱和效果剩余时间低于此值时开始提醒(单位:秒) |
messageFlyEnabled |
String | §a[FlyWithFood] 飞行已启用!... | Enable messages displayed during flight 启用飞行时显示的消息 |
messageFlyDisabled |
String | §c[FlyWithFood] 飞行已禁用! | Disable messages displayed during flight 禁用飞行时显示的消息 |
messageHungerLow |
String | §c[FlyWithFood] 饥饿值不足... | Message displayed when hunger is insufficient 饥饿值不足时显示的消息 |
messageConfigReloaded |
String | §a[FlyWithFood] 配置文件已重新加载! | Message displayed when overloading configuration 重载配置时显示的消息 |
messageSaturationWarning |
String | §e[FlyWithFood] 饱和效果剩余时间:%time%秒 | Saturation effect reminder message ( %time% will be replaced with remaining seconds) 饱和效果提醒消息(%time%会被替换为剩余秒数) |
installation requirements 安装要求
- Minecraft 1.21.11
- Fabric Loader 0.18.2+
- Fabric API
- Java 21+
- LuckPerms(Optional 可选)
License
MIT License
Available Versions
How to Install FlyWithFood_fabric 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.21.11).
Install Mod
Open the mod browser in the dashboard and search for "FlyWithFood_fabric". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.11
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
FlyWithFood_fabric 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.21.11). You can switch loaders with one click in the panel.
Is FlyWithFood_fabric compatible with fabric?
FlyWithFood_fabric officially supports fabric for Minecraft 1.21.11. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with FlyWithFood_fabric – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if FlyWithFood_fabric 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 FlyWithFood_fabric with just one click on your server.