▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/FlyWithFood_fabric
FlyWithFood_fabric

FlyWithFood_fabric

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

Оцените первым
191
1

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 权限节点
/flySwitch flight status (on/off) 切换飞行状态(开/关)flywithfood.use
/fly onActivate flight 启用飞行flywithfood.use
/fly offBan flights 禁用飞行flywithfood.use
/fly reloadOverload configuration files 重载配置文件flywithfood.reload

permission node 权限节点

permission node 权限节点described 描述default 默认
flywithfood.useAllow the use of flight orders 允许使用飞行命令everyone 所有人
flywithfood.reloadAllow 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 描述
hungerDrainPerSeconddouble1.0Hunger points consumed per time 每次消耗的饥饿值
minHungerToFlyint6The lowest hunger value allowed to fly (automatically shut down when the hunger value falls below this value) 允许飞行的最低饥饿值(饥饿值低于此值时自动关闭飞行)
hungerDrainIntervalTicksint20Interval between hunger points consumed (unit: quarter, 20 quarters =1 second) 饥饿值消耗的间隔(单位:刻,20刻=1秒)
saturationWarningSecondsint10Reminder starts when the remaining time of saturation effect falls below this value (unit: seconds) 饱和效果剩余时间低于此值时开始提醒(单位:秒)
messageFlyEnabledString§a[FlyWithFood] 飞行已启用!...Enable messages displayed during flight 启用飞行时显示的消息
messageFlyDisabledString§c[FlyWithFood] 飞行已禁用!Disable messages displayed during flight 禁用飞行时显示的消息
messageHungerLowString§c[FlyWithFood] 饥饿值不足...Message displayed when hunger is insufficient 饥饿值不足时显示的消息
messageConfigReloadedString§a[FlyWithFood] 配置文件已重新加载!Message displayed when overloading configuration 重载配置时显示的消息
messageSaturationWarningString§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

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

1.21.x

Платформы

Поддерживаемые окружения

Сервер

Ссылки

Создатели

Детали

Лицензия:
Опубликован:6 месяцев назад
Обновлён:6 месяцев назад
Главная