An open API service indexing awesome lists of open source software.

https://github.com/lullaby6/graves-data-pack

MC Data-Pack - Graves to save items when players die!
https://github.com/lullaby6/graves-data-pack

data-pack data-packs datapack datapacks graves mc mcfunction mcfuntions minecraft minecraft-data-pack minecraft-data-packs minecraft-datapack minecraft-datapacks tumbs

Last synced: 2 days ago
JSON representation

MC Data-Pack - Graves to save items when players die!

Awesome Lists containing this project

README

        

# Graves

[![Latest](https://img.shields.io/github/v/release/lullaby6/graves-data-pack?color=blueviolet&logo=github)](https://github.com/lullaby6/graves-data-pack/releases)
[![Discord](https://img.shields.io/discord/1327308441324097681?label=discord&color=blue&logo=discord)](https://discord.gg/5UdcDa5xNC)
[![Modrinth](https://img.shields.io/modrinth/dt/graves?label=modrinth&logo=modrinth)](https://modrinth.com/datapack/lullaby-graves)
[![License](https://img.shields.io/badge/license-mit-green)](https://github.com/lullaby6/graves-data-pack/blob/main/LICENSE)
[![Issues](https://img.shields.io/github/issues/lullaby6/graves-data-pack?color=orange&logo=github)](https://github.com/lullaby6/graves-data-pack/issues)
[![Code Size](https://img.shields.io/github/languages/code-size/lullaby6/graves-data-pack?color=purple&logoColor=white)](https://github.com/lullaby6/graves-data-pack)
[![Repo Size](https://img.shields.io/github/repo-size/lullaby6/graves-data-pack?logo=dropbox&color=red)](https://github.com/lullaby6/graves-data-pack)
[![Stars](https://img.shields.io/github/stars/lullaby6/graves-data-pack?logo=github&color=yellow)](https://github.com/lullaby6/graves-data-pack/stargazers)

![bg](https://raw.githubusercontent.com/lullaby6/graves-data-pack/refs/heads/main/images/bg.png)

Graves to save items when players die!

This Data-Pack is not compatible with the `keepInventory` and `doImmediateRespawn` gamerules in true.

If you are updating this Data-PAck please run the command `function graves:settings/reset`.

Version: `1.21.X`

## 📂 Installation

Move the downloaded file in the path `.minecraft/saves/[world]/datapacks`

## 👾 Bugs/Issues

Please report any bug/issues to the [Discord Server](https://discord.gg/5UdcDa5xNC) in the `bugs` channel, or create a issue in the [Github Repostiroy](https://github.com/lullaby6/graves-data-pack/issues), or a comment in [Planet Minecraft](https://www.planetminecraft.com/data-pack/graves-6529892/).

## ⌨️ Commands

### Player

Disable grave spawning on death:

```mcfunction
/trigger graves.player.disabled set 1
```

Enable grave spawning on death:

```mcfunction
/trigger graves.player.disabled set 0
```

### Admin

Settings:

```mcfunction
/function graves:settings
```

![settings](https://raw.githubusercontent.com/lullaby6/graves-data-pack/refs/heads/main/images/settings.png)

Set graves despawn delay (20 ticks = 1 second):

```mcfunction
/scoreboard players set despawn_delay graves.settings
```

Loot narest grave:

```mcfunction
/function graves:grave/loot/nearest
```

Loot all graves:

```mcfunction
/function graves:grave/loot/all
```

Clear nearest grave:

```mcfunction
/function graves:grave/clear/nearest
```

Clear all graves:

```mcfunction
/function graves:grave/clear/all
```

Disable graves for a player:

```mcfunction
/tag add graves.player.disabled
```

Enable graves for a player:

```mcfunction
/tag remove graves.player.disabled
```

Disable:

```mcfunction
/datapack disable "file/graves.zip"
```

Enable:

```mcfunction
/datapack enable "file/graves.zip"
```

## 🪪 License

[MIT](https://github.com/lullaby6/graves-data-pack/blob/main/LICENSE)