Minecraft Data Packs / Game Mechanic

Contrition: lifesteal, revive, & other perks

  • check_circle Advancements
  • check_circle Functions
  • check_circle Predicates
  • check_circle Recipes
  • 45,451 views, 88 today
  • 4,501 downloads, 17 today
MacchuPicchu's Avatar MacchuPicchu
Level 51 : Grandmaster Pokémon
70
  Contrition is a companion data pack to my first data pack, Attrition! It's designed for players who want even more ways to customize their survival experience, but without straying too far from that vanilla feel. Here's what it adds:
  • Lifesteal allows players to regain maximum health by killing other players
  • Lifeshare allows players to share their maximum health with other players
  • Revival allows players to revive other players that have lost all of their health
  • Alchemy offers a craftable alternative to enchanted golden apples
  • Chivalry lets players create chainmail armor that gives maximum health bonuses when worn
  • Immunity lets players lose maximum health only when dying to another player
  All of these features are optional and can be toggled on and off however you like! These features are meant to appeal to a variety of players. Enjoy :D

-------------------------------------

Please note that, for Contrition to work properly, you MUST have Attrition installed as well.
If you don't have it already, you can download Attrition here.

-------------------------------------


🔢 Options menu
  A custom options menu for Contrition is available via the /function mp.cntr:display_options command (picture shown below). You can use this menu to test out the data pack, customize your experience with it, or uninstall it.

Contrition: lifesteal, revive, & other perks Minecraft Data Pack

🛠 Custom recipes
  As part of its functionality, Contrition includes a small number of custom crafting recipes. A guide for them is available via the /trigger mp.cntr.guide command (picture shown below).

Contrition: lifesteal, revive, & other perks Minecraft Data Pack

ℹ️ Extra info
  Lifesteal, Lifeshare, Revival, and Immunity are primarily meant for SMPs and other multiplayer environments, where they can help keep things fresh and exciting for everyone.

  Alchemy is an alternative to enchanted golden apples, and is meant to be used in situations where those might not be available, such as CTMs or adventure maps.

  Chivalry can be used in basically any situation as a way to protect yourself when on low maximum health – and also, to give chainmail armor a use for once!

▶️ Content creation and copyright information
If you'd like to create content with my data pack on YouTube or some other platform, please include my name, the name of this data pack, and a link to this webpage somewhere in the description.

Creative Commons License

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. For more information on using and distributing this data pack, follow the link provided.


#️⃣ Contact me
If you have a question, suggestion, comment, or concern about Contrition, please do let me know!

Leave a comment below, message me on PMC, or message me on Discord at MacchuPicchu#8655.

-------------------------------------
CreditArt by AmyTheMudkip
CompatibilityMinecraft 1.16
toMinecraft 1.21
Tags

18 Update Logs

Contrition 1.4.2 : by MacchuPicchu 07/17/2024 11:46:47 pmJul 17th

Have a couple of bug fixes! Nothing huge but still good to have.

FIXES
  • Fixed an issue where drinking a Potion of Accretion or getting a Lifesteal kill would revert the Attrition setting for having enchanted golden apples always grant max health
  • Fixed an issue where crafting Potions of Accretion via lifeshare would incorrectly display health loss flavor text messages (custom flavor text for this might come later, we'll see)
LOAD MORE LOGS

Create an account or sign in to comment.

MacchuPicchu
07/11/2024 12:52 am
Level 51 : Grandmaster Pokémon
history
MacchuPicchu's Avatar
Hey everyone - Contrition 1.4.1 is in the works right now. Because of a bunch of related changes I'm working on for Attrition, it's taking quite a bit longer than anticipated. has been released!

In the meantime, I realize that Revival is currently was previously broken - it doesn't didn't actually bring players back from the dead. An official fix is on its way already here, but if you absolutely want it to work now, here's how to do it you would have done it.

1) Open the data pack (Contrition v1.4.0) in your file navigator
2) Navigate to data > mp.cntr > function > modes
3) Open the file revival_resurrect.mcfunction in a text editor
4) Find line 8, which reads:
execute as @s[​tag=mp.cntr.resurrect] run function mp.attr:options/reset_player
5) Replace the word 'options' with 'options_advanced', so that the line instead reads:
execute as @s[​tag=mp.cntr.resurrect] run function mp.attr:options_advanced/reset_player
6) Save the file and reload Minecraft.
2
NOOBMASTERS007
07/01/2024 5:57 pm
Level 1 : New Miner
NOOBMASTERS007's Avatar
In game version 1.21. when I became a soul. I try to revive me use command /function mp.cntr:modes/consume_totem. Then I see the text told me I was already revived, but I still was die. Then I find my friend to test revival function, we try too many times and find out that revival totem doesn't work in vanilla?
2
MacchuPicchu
07/03/2024 7:59 pm
Level 51 : Grandmaster Pokémon
MacchuPicchu's Avatar
Thanks for your comment, you are correct. I moved some functions around in the last updates and forgot to update the function call for revival. A fix is coming very soon.
1
Unavalible_User
06/26/2024 10:13 pm
Level 12 : Journeyman Cookie
Unavalible_User's Avatar
since 1.21 now has the ability to set a custom consummation time for an item I would like to petition that the potions should be made to drink faster (maybe 4x faster, i.e. 0.5 secs per potion)
2
MacchuPicchu
07/03/2024 10:18 pm
Level 51 : Grandmaster Pokémon
MacchuPicchu's Avatar
Bad news. It's literally not possible to do. As you can see from this bug report (MC-270924), if you try to assign a food item stack component to a potion, none of the corresponding attributes will work, including eat time. Worse still, the bug report was marked as Won't Fix by Mojang. Sorry :(
1
MacchuPicchu
06/27/2024 1:11 pm
Level 51 : Grandmaster Pokémon
MacchuPicchu's Avatar
I like this, but I'll probably do 1 second, so that people are less likely to drink them when they didn't mean to
1
DJGuu12
05/31/2024 2:13 pm
Level 1 : New Miner
DJGuu12's Avatar
how to change the recipe
1
MacchuPicchu
05/31/2024 3:55 pm
Level 51 : Grandmaster Pokémon
MacchuPicchu's Avatar
Uhm, well, open the data pack, find the recipes folder, and go from there
1
provaxmen
05/26/2024 7:24 am
Level 1 : New Miner
provaxmen's Avatar
how to revive?
1
MacchuPicchu
05/26/2024 11:33 am
Level 51 : Grandmaster Pokémon
MacchuPicchu's Avatar
1) Make sure Revival is toggled on in the options menu
2) Craft a Totem of Resurrection using the custom recipe
3) Use the Totem
1

Welcome