Lifesteal datapack

Life steal datapack with crafting recepts and revives, also losing hearts as normal when u die

# ❀️ Lifesteal SMP

**Steal hearts. Survive. Don't hit zero.**

A full Lifesteal datapack for **Minecraft Java 26.3**. Every death costs you a heart and every kill earns one. Lose them all and you're out until someone brings you back.

---

## βš”οΈ How It Works
- Everyone starts with **10 hearts**, and there's **no maximum**
- **Kill a player** and gain +1 heart
- **Die to anything** (players, mobs, falling, lava) and lose 1 heart
- Hearts show in the **Tab list**

## πŸ’€ Elimination
When you hit **0 hearts**:
- You're switched to **spectator mode**
- Your **inventory is wiped**
- The whole server gets an elimination announcement

## πŸ’Ž Heart Items
Turn hearts into items to trade, store, or give to teammates.

- **Right-click** a Heart in the air to use it instantly
- `/trigger ls.withdraw` turns 1 heart into an item (`set 5` for more)
- `/trigger ls.redeem` uses Heart items from your inventory (`set 5` for more)
- You always keep at least 1 heart when withdrawing

**Crafting Recipe:** 8 Diamonds around 1 Iron Ingot

πŸ’Ž πŸ’Ž πŸ’Ž
πŸ’Ž ⬜ πŸ’Ž
πŸ’Ž πŸ’Ž πŸ’Ž


## ✨ Revive Token
Bring a fallen friend back into the fight.

**Crafting Recipe:** TNT pattern with 5 Hearts and 4 Diamond Blocks

❀️ πŸ”· ❀️
πŸ”· ❀️ πŸ”·
❀️ πŸ”· ❀️


**To use it:**
1. Rename the token in an anvil to the player's **exact name**
2. Keep it in your inventory
3. Run `/trigger ls.revive`

The revived player comes back in survival with **5 hearts**, an empty inventory, and teleports to you. It works on offline players too, who return the next time they join.

## πŸ› οΈ Admin Commands (Ops Only)
| Command | What It Does |
|---|---|
| `/function lifesteal:give {player:"Name",amount:5}` | Give Heart items to a player |
| `/function lifesteal:reset` | Reset everyone to 10 hearts |
| `/scoreboard players set <player> ls.hearts <#>` | Set someone's hearts directly |

## πŸ“₯ Installation
1. Download the zip
2. Put it in your world's `datapacks` folder
3. Run `/reload` or reopen the world

If it shows as incompatible, press **F3 + V** to check your pack format and update it in `pack.mcmeta`.

---

Found a bug or have an idea? Leave a comment!.    This datapack use help from A.I.     if you make content on this please put the datapack in the discription!

 

Lifesteal datapack Team

profile avatar
  • 1
    Projects
  • 17
    Downloads