Just Enough Accidents (JEA)

Quick rating

Just Enough Accidents (JEA)

No reviews yet

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.

Adventure/Exploration
Mod Loaders
Forge
NeoForge
Fabric
Minecraft
26.2

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Required

About

Project Details

Type
Mod
License
MIT License
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

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.

Screenshots

Gallery

  • Fall into lava (en_us)
    Fall into lava (en_us)
  • Creeper Snapshot 2 (zh_cn)
    Creeper Snapshot 2 (zh_cn)
  • banner
    banner
  • Restore (en_us)
    Restore (en_us)
  • Creeper Snapshot (zh_cn)
    Creeper Snapshot (zh_cn)

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Downloads
Last Updated
CurseForge
Modrinth
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works