跳到正文

VoidQuit

作者:cbtc-59

Quits the world automatically when the player falls below the void threshold.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

VoidQuit

Automatically quits the world the moment you fall below the void threshold — never lose your items to the void again.

Features

  • Checks your Y coordinate every tick and exits the world before void death
  • Works in all game modes: Survival, Creative, Adventure, Spectator (Hardcore worlds use the Survival rules)
  • Singleplayer: saves and returns to the title screen; Servers: disconnects back to the server list
  • Trigger depth, cooldown, and exit message are all configurable
  • Built purely on Fabric API events — no mixins, maximum compatibility

Configuration

Config file: config/voidquit.json (auto-generated on first launch):

| Key | Default | Description |
| — | — | — |
| fallDepth | 24 | How far below the void boundary triggers the exit |
| cooldownSeconds | 5 | Cooldown in seconds after each trigger, 0 to disable |
| enabledSingleplayer | true | Enable in singleplayer |
| enabledServer | true | Enable on servers |
| exitMessage | “已自动退出,防止虚空死亡” | Exit screen message, “” to hide |

Requirements

  • Fabric API

Supported Versions

1.16.5, 1.17.1, 1.18.2, 1.19.4, 1.20.1, 1.20.2, 1.20.4, 1.20.6, 1.21.1, 1.21.3, 1.21.4, 1.21.5, 1.21.8, 1.21.10, 1.21.11, 26.1.2

(The 26.1.2 file also supports 26.1 and 26.1.1.)


中文说明

玩家掉入虚空时自动退出世界/断开连接,防止虚空死亡丢失物品。

  • 每 tick 检测玩家 Y 坐标,低于虚空边界指定格数立即退出
  • 支持全部游戏模式(生存 / 创造 / 冒险 / 旁观;极限世界按生存规则处理)
  • 单机:保存并退出到标题界面;服务器:断开连接回到服务器列表
  • 触发深度、冷却时间、退出画面文字均可配置
  • 纯 Fabric API 实现,无 mixin,兼容性极佳

配置文件 config/voidquit.json(首次运行自动生成):

| 字段 | 默认值 | 说明 |
| — | — | — |
| fallDepth | 24 | 低于虚空边界多少格触发 |
| cooldownSeconds | 5 | 触发后冷却秒数,0 关闭 |
| enabledSingleplayer | true | 单机启用开关 |
| enabledServer | true | 服务器启用开关 |
| exitMessage | 已自动退出,防止虚空死亡 | 退出画面文字,留空不显示 |

前置:Fabric API

常见问题

VoidQuit 支持哪些 Minecraft 版本?

VoidQuit 支持 Minecraft Java 版 1.16.2–26.1.2,共 30 个版本,可用的加载器:Fabric / NeoForge。下载时注意选择和你游戏版本一致的文件。

VoidQuit 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。

评论

登录后评论和评分