跳到正文

Heartbound: Lifesteal

作者:zvry

A complete Lifesteal datapack: kill a player to steal a heart, lose them all and you're out until a friend revives you.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Heartbound: Lifesteal

Kill a player and take one of their hearts. Lose your last heart and you’re out until a friend brings you back with a Revive Orb.

Heartbound adds Lifesteal rules to any Minecraft Java 1.21.4 world, ready for a Lifesteal SMP.

A free datapack. No mods and no plugins, so it works in single-player, on Realms and on vanilla, Paper, Purpur and Fabric servers.

Features

  • Steal hearts: every player kill moves one heart from the victim to the killer, by sword, bow or knocking them into lava
  • Out at 0 hearts: a player who loses their last heart becomes a spectator, and everyone is told
  • Revive Orb: craft one, hold right-click and click a name in chat to bring that player back next to you
  • Withdraw hearts: /trigger hb.withdraw turns a heart into an item to trade or save; only you can pick up a heart you dropped
  • Craftable Heart and Revive Orb with their own name and glow
  • Max hearts: at the cap, a stolen heart drops as an item instead
  • Hearts in the player list (Tab)
  • Clickable settings for operators: starting hearts, max hearts, hearts after a revive, PvP-only or any death, elimination on or off. No file editing.
  • One-command uninstall that puts online players back to 10 hearts

Recipes

Item Recipe
Heart 4 diamond blocks in the corners, 4 gold blocks on the sides, 1 netherite ingot in the middle
Revive Orb 4 diamond blocks in the corners, 4 gold blocks on the sides, 1 totem of undying in the middle

Commands

Command Who What it does
/trigger hb.info Every player Shows your hearts, the max and the recipes
/trigger hb.withdraw Every player Turns one of your hearts into an item
/function heartbound:settings Operators Opens the clickable settings menu
/function heartbound:uninstall Operators Puts everyone back to normal and removes the scores

Install

Single-player

  1. Click your world, then Edit > Open World Folder.
  2. Put Heartbound-1.0.0.zip in the datapacks folder. Don’t unzip it.
  3. Load the world, or type /reload if it’s open.

Servers (vanilla, Paper, Purpur, Fabric)

  1. Put Heartbound-1.0.0.zip in world/datapacks.
  2. Restart the server, or type /reload (on Paper and Purpur, /minecraft:reload).
  3. Operators open the settings with /function heartbound:settings.

Requirements

  • Minecraft Java Edition 1.21.4
  • No mods, no plugins, no resource pack

Good to know

  • The Revive Orb list shows online players. Operators can revive offline players with /scoreboard players set <player> hb.hearts 1.
  • Revived players get 5 seconds of protection and slow falling.

Tested

Tested on our Paper 1.21.4 test server with two real player connections: 41 checks, including real melee kills, eliminations, revives, withdrawing and eating hearts, every setting, /reload and uninstall.

Links

Not associated with Mojang or Microsoft.

常见问题

Heartbound: Lifesteal 支持哪些 Minecraft 版本?

Heartbound: Lifesteal 支持 Minecraft Java 版 1.21.4。下载时注意选择和你游戏版本一致的文件。

Heartbound: Lifesteal 怎么安装?

新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。

评论

登录后评论和评分

zvry 的其他作品

查看全部 →