HomeJavaModsFlyWithFood_fabric
FlyWithFood_fabric
ModsJava

FlyWithFood_fabric

by Guailoudou · on Modrinth

Hunger Flight, allows survival players to fly, deducts Hunger Points over time, facilitates building use. 饥饿飞行,允许生存玩家飞行,随时间扣除饥饿值,方便建筑使用。

⬇ Download on Modrinth

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 功能特性

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 安装要求

License

MIT License

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more