Compatibility
Minecraft: Java Edition
26.1.x
1.21.x
1.20.6
1.20.4
1.20–1.20.2
1.19.4
1.18.x
1.17.x
1.16.x
Platforms
Supported environments
Client-side
Links
Tags
Creators
Details
Licensed MIT
Published 12 hours ago
Updated 2 weeks ago
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

