Home›Java›Datapacks›Eternity Guard
DatapacksJava

Eternity Guard

Java data pack listed for Minecraft 26.x. Downloads from the MC Java Mods app on Android.

by Eternity_SMP · on Modrinth

A lightweight Minecraft Java datapack that deters players from killing villagers or iron golems by announcing the incident in chat and teleporting the…

⬇ Download on Modrinth

EternityGuard

A lightweight Minecraft Java datapack designed to deter players from harming villagers and iron golems. Whenever a player directly kills a protected entity, EternityGuard announces the incident globally in chat and teleports the responsible player to a designated punishment zone.

Unlike a simple teleport punishment, EternityGuard keeps offenders confined to the zone. Players can move freely within its boundaries, but attempting to escape or dying to avoid punishment won't free them.

🚀 Features

⚙️ Customization

Changing the Punishment Zone

The default punishment zone is centered at X: 0, Y: 0, Z: 0, with a default radius of 7 blocks.

You can customize the zone to fit your world:

  1. Open the datapack ZIP archive using a standard archive tool.
  2. Navigate to the relevant function files under data/eternity_guard/function/.
  3. Locate the commands responsible for the punishment destination and boundary enforcement.
  4. Change the center coordinates or radius to your preferred values.
  5. Save the changes while preserving the original ZIP folder structure.

Important: Update all relevant functions that reference the zone, including the initial punishment teleport and boundary enforcement. Changing only the initial teleport destination may cause the player to be returned to the old location.

Releasing a Punished Player

An operator can release a player by running:

/tag <player> remove eternity_guard.punished

Replace <player> with the target player's username. This removes the persistent punishment tag.

📦 Installation

  1. Download the EternityGuard ZIP file.
  2. Locate your server or single-player world's datapacks folder. On a dedicated server, this is normally inside the active world directory.
  3. Place the ZIP file directly inside the datapacks folder. Do not extract it.
  4. Run /reload in-game or from the server console.
  5. Verify that the datapack is enabled:
/datapack list enabled

📋 Compatibility

EternityGuard was originally developed for Eternity SMP to encourage responsible gameplay and protect villagers and iron golems through automatic punishment enforcement.

Quick facts

Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.

Eternity Guard is a free Minecraft Java datapack. Compatible with Minecraft 26.2. Downloaded 5 times (via Modrinth). Download it and open it directly in the game.

Explore more