Minecraft Data Packs / Challenge

Lifesteal smp datapack

  • check_circle Advancements
  • check_circle Functions
  • check_circle Predicates
  • check_circle Recipes
  • 10,855 views, 12 today
  • 1,658 downloads, 1 today
  • 5
  • 2
  • 11
Required Resource Pack
DatapackGeek's Avatar DatapackGeek
Level 43 : Master Nerd
19
You have been waiting for this and I finally posted it!

The lifesteal datapack is all good and finished. It also requires a resource pack.

Features:

/trigger withdraw_heart to withdraw a heart
Drop a heart near a player in spectator to revive them!
You can craft hearts! You will get a knowledge book but it'll turn into a heart once you get it.
Killing players grants you hearts!
Dying removes hearts.

For server owners:

To make the resource pack be applied to all people online to these steps if you don't know how.

In your server folder find "server.properties". Open it with a text editor and find the line that says "resource-pack=..." and paste this after the equal sign:
www.dropbox.com/s/0kb4yhhbb9kv0fe/Lifesteal%20texture%20pack.zip.

It's basically a link to the resource pack so the server knows where to get the file from.
CompatibilityMinecraft 1.18
Tags

1 Update Logs

Losing hearts due to normal deaths (not getting killed by a player) is now toggleable! : by DatapackGeek 12/21/2022 8:19:12 pmDec 21st, 2022

Doing
/scoreboard players set @s lose_hearts_due_to_normal_deaths 0
will make you not lose hearts on normal deaths.

Change @s to @a to change losing hearts to all players online.

Change the 0 to a 1 to revert it and make people lose hearts on normal deaths.

Create an account or sign in to comment.

User4411235G
12/22/2022 10:10 am
Level 1 : New Miner
User4411235G's Avatar
Can you please program something to revive players?
1
DatapackGeek
12/22/2022 7:12 pm
Level 43 : Master Nerd
DatapackGeek's Avatar
I already did. It says in the desc. You drop a heart and if a spectator gets close to it, they get revived to one heart.
1
YepImStorm
09/07/2022 4:46 am
Level 1 : New Crafter
YepImStorm's Avatar
is there a way to make it so you don't lose hearts to normal deaths and only lose hearts when a player kills you
1
DatapackGeek
11/07/2022 8:09 am
Level 43 : Master Nerd
DatapackGeek's Avatar
I can add a function to the datapack that does that if you want.
1
DatapackGeek
12/21/2022 8:21 pm
Level 43 : Master Nerd
DatapackGeek's Avatar
Added.
1
ImAcarrot2
07/24/2022 11:07 am
Level 1 : New Miner
history
ImAcarrot2's Avatar
Is this a java edition mod or a bedrock edition addon?
1
DatapackGeek
07/25/2022 1:16 pm
Level 43 : Master Nerd
DatapackGeek's Avatar
It's a java datapack.
1
stvnx111
07/07/2022 4:19 am
Level 1 : New Miner
stvnx111's Avatar
pls make a recepi for hearts like smp
1
DatapackGeek
07/10/2022 3:14 pm
Level 43 : Master Nerd
DatapackGeek's Avatar
There is a recipe in the images on how to make a heart.
1
ZIstream
06/23/2022 2:28 am
Level 1 : New Miner
ZIstream's Avatar
Is there a limit on hearts?
1
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome