Just Enough Accidents (JEA) 图标

Just Enough Accidents (JEA)

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 0.2.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/just-enough-accidents
资源信息

Minecraft 版本: 26.1 26.1.1 26.1.2

平台: fabric

标签: adventure game-mechanics

资源介绍

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:

  1. Collects all threats detected during the same server tick.
  2. Merges them into a single backup request.
  3. Asks MineBackup to save the current world.
  4. Passes the request to FolderRewind through MineRewind.
  5. 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:

  • incremental
  • full

Supported compression methods:

  • zstd
  • LZMA2
  • Deflate
  • BZip2

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.

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Foxx's Scythe Mace

价格:0 墨喵币
下载量:0

查看详情
Reshaded items

价格:0 墨喵币
下载量:0

查看详情
Fern To Hemp

价格:0 墨喵币
下载量:0

查看详情
ModernFix-mVUS

价格:0 墨喵币
下载量:0

查看详情