跳到正文

Lifesteal

作者:faker

Killing players lets you steal one of their hearts, and vice versa. Hearts can be bottled and traded!

收藏

截图

介绍

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

Lifesteal

Every time you kill a player, a heart is removed from their base health and added to yours. If all a player’s hearts are lost, they get eliminated.

This pack adds the classic lifesteal mechanics as well as more advancements and a natural way to trade hearts with others, and is playable on a completely vanilla world!

(Note: Enviromental deaths do not count. Just because you forgot your elytra or your shield, doesn’t mean you lose a valuable heart!)

Features

  • Heart System: Hearts are transferred between players from the victim to the killer immediately upon death. Maximum hearts you can reach is 20 hearts.
  • More Advancements: 9 new advancements are added, each related to the new added mechanics. They can be found in the adventure tab.
  • Elimination: Once a player reaches 0 hearts, they will automatically be put in spectator mode, and their death will be announced to the server.
  • Heart Trading: Players can peacefully trade and deal hearts through the new ‘heart bottle’.
  • And more! New sounds, optimisations, admin commands etc.

Heart Trading

Heart bottled can be crafted in the crafting table by using any potion, 2 redstone dust and 1 glowstone dust, as shown below.

Heart bottle crafting recipe

Older version (<1.2) method:

Heart bottles can be crafted by throwing 1 thick potion, 1 redstone dust and 1 glowstone dust on the ground.

If drunk, the player who consumed the potion will lose a heart, and the bottle will become a ‘Bottled heart’.
Heart being bottled
This bottled heart can be stored, traded and even destroyed just like a normal item. When drunk, the heart is transferred into the player who drank the bottles heart! The player will also get the weakness potion effect, to avoid abusing this item in battle.
Bottles heart being drunk
After use, these bottles shatter. If a bottled heart is drunk at the max hearts (20) the bottle will shatter, destroying the heart inside. If an empty heart bottle is drunk at one heart, the bottle will shatter.

Other

Admin Commands

Give Commands
/function lifesteal:admin/give/emptyheartbottle – Gives you an empty heart bottle.
/function lifesteal:admin/give/bottledheart – Gives you a bottled heart.
/function lifesteal:admin/give/emptyheartbottle – Gives you an empty heart bottle.
…

Utility Commands
/function lifesteal:admin/uninstall – Run this command before removing the datapack from the world folder to remove the scoreboards.
/function lifesteal:admin/reinstall – Reinstalls the pack if you run the above command accidentally. It also resets all players. (Reloading the server will not reset the pack.)
/function lifesteal:admin/reset – Resets all players back to 10 hearts, removes all related advancements and respawns eliminated players.

To change a players health manually, run /scoreboard players set (username) health (number of hearts), the run execute as (username) run function lifesteal:updatehealth


常见问题

Lifesteal 支持哪些 Minecraft 版本?

Lifesteal 支持 Minecraft Java 版 1.19–26.1.2,共 27 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。

Lifesteal 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。

评论

登录后评论和评分

faker 的其他作品

查看全部 →