The Best Resource for Minecraft
The Best Resource for Minecraft

Tomb Many Graves 2 Mod Wiki

Tomb Many Graves 2 is a highly advanced death-management mod that preserves player inventories in adaptive, protected graves and ensures items are restored to their exact original slots upon retrieval.

10 sections · 942 words

Overview#

Tomb Many Graves 2 (TMG2) is a comprehensive rewrite of the original Tomb Many Graves mod, designed to provide a seamless and grief-resistant way to handle player deaths in Minecraft. Unlike standard death chest mods, TMG2 focuses on inventory precision, ensuring that every item—including those from popular accessory mods—returns to the exact slot it occupied before the player's demise.

A player standing next to various grave blocks that have adapted to the terrain

The mod is built with compatibility in mind, featuring an internal API that allows it to interface with complex inventory systems like Baubles, Techguns, and Galacticraft. It also introduces a robust friend system and administrative tools to ensure that lost items are never truly gone, even in the most hazardous environments like the Nether or the Void.

Core Mechanics#

The mod operates on several unique mechanics that distinguish it from other gravestone mods:

Never Scramble Items

The hallmark feature of TMG2 is its slot-retention logic. When you retrieve your items from a grave, the mod does not simply dump them into your inventory. Instead, it attempts to place every item back into its original slot (Hotbar, Armor, Offhand, and Main Inventory). If a slot is occupied, the item will be placed in the first available empty slot.

Adaptive Graves

Graves are not static blocks. They are designed to blend into their surroundings by adapting their texture to the block they are placed upon. If a player dies in the air, the grave may appear as a floating head. If they die on grass, the base of the grave will take on a grass texture.

Death Protection

By default, graves are locked to the player who died. Other players cannot open or break your grave unless you have explicitly added them to your friend list. Additionally, graves are virtually indestructible in Survival mode, preventing griefers from destroying your loot.

Hazardous Death Handling

  • Lava Deaths: If a player dies in lava, the grave will attempt to spawn on the nearest solid surface or float safely to prevent items from burning.
  • Void Deaths: If a player falls into the void, the grave will automatically spawn at Y=1, allowing for recovery via flying or platforming.

A grave safely placed next to a lava pool

Items#

TMG2 adds several utility items that are automatically granted to the player upon respawning.

Grave Key

The Grave Key is an enchanted item that serves as a guide to your lost items.

  • Tracking: While holding the key, it provides the exact coordinates and dimension of your grave.
  • Teleportation: By combining a Grave Key with an Ender Pearl in a crafting grid, you can create a one-time use teleportation key. Right-clicking with this enhanced key will teleport you directly to your grave.

Death Inventory List (DIList)

Upon respawning, players receive a physical list of the items they lost.

  • GUI Access: Right-clicking the list opens a graphical interface showing every item that was in your inventory at the time of death.
  • Disposal: If you no longer need the list, pressing the 'Drop' key (default 'Q') while holding it will destroy the item permanently.

The Death Inventory List GUI showing lost items and their quantities

Blocks#

The Grave

The Grave is a tile entity that stores all player data and items.

Property Value
Hardness Indestructible (Survival)
Blast Resistance Immune to Explosions
Tool Required None (Requires Creative Mode to break)
Interaction Sneak + Right-Click to Lock/Unlock

Locking Mechanism: Players can shift-click their grave to toggle its 'Locked' status. When locked, even the owner cannot accidentally pick up the items by walking over it. This is useful for clearing out mobs around the death site before retrieving gear.

Recipes#

Most items in Tomb Many Graves 2 are generated dynamically, but there is one specific crafting recipe for utility:

Result Ingredients Description
Teleportation Key Grave Key + Ender Pearl Allows the player to teleport directly to the grave location.

Friend System#

The mod includes a built-in social system to allow cooperative play. Friends added through this system can interact with your graves (lock, unlock, and retrieve items) as if they were the owner.

  • /tmg_friend [player] — Adds the specified player to your friend list.
  • /tmg_removefriend [player] — Removes a player from your friend list.
  • /tmg_list — Displays all current friends in the chat console.

Commands#

TMG2 provides several powerful commands for players and administrators to manage death events.

Command Permission Description
/tmg_restore [player] [timestamp] Admin Restores the player's inventory directly to their person.
/tmg_drop [player] [timestamp] Admin Drops the items from a specific death at the player's current location.
/tmg_getdeathlist [player] [timestamp] All Gives the player a physical Death Inventory List for a specific death.
/tmg_givekey [player] [timestamp] Admin Grants a Grave Key for a specific death event.

Note: The timestamp format is yyyy-MM-dd_HH-mm-ss. You can use latest as a shortcut for the most recent death.

Configuration#

The mod is highly configurable via the tombmanygraves2.cfg file. Key options include:

  • allowLooting: Set to true to allow any player to loot any grave (disables protection).
  • spawnInVoid: Set to true to enable grave spawning at Y=1 in the void.
  • silentGrave: If enabled, the mod will not announce grave coordinates in chat upon death.
  • keepInventory Interaction: The mod will automatically disable grave generation if the vanilla keepInventory gamerule is set to true.

Compatibility#

Tomb Many Graves 2 includes native support for several major mods to ensure their unique inventory slots are saved:

  • Baubles: Rings, amulets, and belts are restored to their slots.
  • Techguns: Specialized ammo and armor slots are preserved.
  • Galacticraft: Oxygen tanks and equipment are saved.
  • Cosmetic Armor Reworked: Cosmetic slots are fully supported.
  • Backpacks: Various backpack mods are compatible, preventing 'nested' inventory issues.

Mobs and World Generation#

Tomb Many Graves 2 is a utility-focused mod and does not add any new mobs, creatures, biomes, or dimensions to the game. It is designed to function within all existing vanilla and modded dimensions, providing a consistent death recovery experience regardless of the environment.