Just Enough Accidents (JEA)
Just Enough Accidents detects dangerous moments—fatal falls, drowning, lava, failing elytra, low health, totems, and creepers—and asks MineBackup to create an accident-site snapshot.
截图
介绍
Just Enough Accidents
Just Enough Accidents, or JEA, is an accident-detection extension for MineBackup and FolderRewind.
JEA watches for dangerous situations while you play. When a configured threat is detected, it asks MineBackup to save the world and create an accident-site snapshot, giving you a possible recovery point if something goes wrong.
JEA does not automatically restore your world or guarantee a perfectly safe checkpoint. Its snapshots capture the world around the time a threat is detected.
Detected Accidents
JEA 0.1.0 can detect:
- A predicted fatal fall
- Air running dangerously low underwater
- Entering lava without Fire Resistance
- An elytra nearing its breaking point while gliding
- Critically low effective health
- Successful activation of a Totem of Undying
- A nearby creeper beginning to swell
- External requests from data packs or command blocks
Each detector can be enabled or disabled independently.
Accident-Site Snapshots
When an accident is detected, JEA:
- Collects all threats detected during the same server tick.
- Merges them into a single backup request.
- Asks MineBackup to save the current world.
- Passes the request to FolderRewind through MineRewind.
- Reports the result in chat.
If an archive is successfully created, the world owner receives a clickable Restore this JEA snapshot message. Restoration uses MineBackup’s existing confirmation and countdown system.
JEA never restores a world automatically.
Trigger Protection
To avoid excessive backups:
- A detector only triggers when its state changes from safe to dangerous.
- It must return to a safe state before it can trigger again.
- All incidents detected during the same tick are merged.
- A global cooldown of 60 seconds is enabled by default.
- Requests are not queued while another world operation is running.
- Immediately rejected requests do not start the cooldown.
Configurable Backup Settings
JEA creates its configuration file at:
config/just-enough-accidents.json
The default backup settings are:
{
"mode": "incremental",
"compressionMethod": "zstd",
"compressionLevel": 11
}
Supported backup modes:
incrementalfull
Supported compression methods:
zstdLZMA2DeflateBZip2
The configuration also contains detector thresholds, individual enable switches, and the global cooldown.
Invalid configuration files are preserved instead of being overwritten. JEA disables itself for that server session and writes the exact configuration error to the log.
Data Pack and Command Block Integration
Data packs and command blocks can request a snapshot through the scoreboard:
scoreboard objectives add jea_request dummy
scoreboard players add #global jea_request 1
JEA treats any score greater than or equal to 1 as one request.
The score is reset to 0 before the world is saved, preventing restored snapshots from repeatedly triggering new backups.
Requirements
JEA 0.1.0 requires:
- Minecraft 26.1–26.1.2
- Fabric Loader 0.18.4 or newer
- Fabric API
- Java 25
- MineBackup 3.1.0 or newer
- FolderRewind 1.8.0 or newer
- MineRewind 1.8.0 or newer
Current Limitations
- Only singleplayer and LAN-hosted worlds are supported.
- Dedicated servers are not supported in 0.1.0.
- Snapshots are not guaranteed to represent a safe location.
- Low-health snapshots may already contain the triggering damage.
- Totem snapshots are created after the totem has been consumed.
- JEA snapshots share FolderRewind’s normal
KeepCount. - Frequent incidents may therefore cause older archives to be cleaned normally.
- JEA does not currently create scheduled safe checkpoints or protected backup slots.
Planned Expansion
Possible future detectors include:
- Fatal incoming damage
- TNT and End Crystal explosions
- Dangerous bed or Respawn Anchor interactions
- Deaths of pets, villagers, and named entities
- Additional ongoing damage sources
- Protected safe checkpoints
JEA is designed so that new detectors and backup strategies can be added without replacing the existing incident-coordination system.
常见问题
Just Enough Accidents (JEA) 支持哪些 Minecraft 版本?
Just Enough Accidents (JEA) 支持 Minecraft Java 版 1.20–26.2,共 18 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
Just Enough Accidents (JEA) 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。
Leafuke 的其他作品
查看全部 →
MineBackup
这个模组搭建了 Minecraft 与强大的 MineBackup 桌面应用之间的桥梁。无需离开游戏,就能享受 MineBackup 带来的各种便利。只需输入命令,即可备份和恢复存档!
Death Rewind
Death Rewind lets you rewind to a few minutes earlier right from the death screen. It creates automatic checkpoints during gameplay, restores quickly after death, and helps you get back into the world with minimal downtime.
Death Rewind
Death Rewind lets you rewind to a few minutes earlier right from the death screen. It creates automatic checkpoints during gameplay, restores quickly after death, and helps you get back into the world with minimal downtime.
BetterArrow
Make arrow shots feel better: movement-inherited arrows + optional cinematic trails. Simple to use, highly configurable.
评论
登录后评论和评分