Data Packs Game Mechanic

Attrition: death reduces max health

  • Advancements
  • Functions
  • 63,058 views • 3 today
  • 8,605 downloads • 0 today
MacchuPicchu
Level 53 : Grandmaster Pokémon
81
  Attrition is a simple, vanillalike data pack that’s designed for players who want something harder than regular survival, but not quite as harsh as hardcore mode. Here’s how it works:
  • You lose one heart of max health each time you die
  • You gain one heart of max health each time you eat an enchanted golden apple (max 20 hearts)
  • If you die with only one heart of max health left, you lose the game and are put into spectator mode
  Attrition is meant to blend in well with vanilla Minecraft – almost as if it were simply an alternative gamemode. Because of this, it can be played by itself, or in conjunction with other data packs. Enjoy :D 

ℹ️ FAQ

Q: Does this data pack have life steal?

For expanded features like lifesteal and multiplayer revive, you'll need to add Attrition's companion pack, Contrition!

Q: Where are the settings for this data pack?

Attrition's options menu is available via the /function mp.attr:display_options command. Basically every part of the data pack can be customized here, so be sure to explore this menu!

Options menu GIF


Q: What does the resource pack look like? Is it required?

The HeartFade resource pack (created by AmyTheMudkip) is a subtle retexture of the player's heads-up display, including the health bar, armor bar, and hunger bar. It is optional, but it does look really good!

Heartfade resource pack
Attrition: death reduces max health Minecraft Data Pack


Q: Does this data pack work with hardcore?

Unfortunately, no. Attrition will not work correctly in hardcore worlds.
Q: Does this data pack change anything about vanilla Minecraft?

Other than the basic mechanics of gaining and losing max health – no, Attrition does not change anything.

Occasionally, Attrition will play custom sounds and display flavor texts in chat, but these can be toggled off with the commands /trigger mp.attr.toggle_sounds and /trigger mp.attr.toggle_flavor_text.

Q: Is this data pack under copyright?

Yes, 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.

Creative Commons License

If you want 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.
Q: What if I have another question, a comment, or a feature request?

The best way to reach me is to either leave a comment below, or to message me at .macchupicchu on Discord.
CreditArt & resource pack by AmyTheMudkip; technical advice by rx97 et al.
CompatibilityMinecraft 1.16
toMinecraft 1.21
Tags

33 Update Logs

Attrition 3.0.1 : by MacchuPicchu 05/10/2025 6:51:59 pmMay 10, 2025 @ 10:51 pm UTC

CHANGES
  • Attrition now sets players' personal health gain cooldowns to whatever the global cooldown is if their personal cooldown is higher than the global cooldown
LOAD MORE LOGS

  Have something to say?

AndrewFireYT
10/01/2025 11:58 am
Level 1 : New Miner
Hi, can you update it to 1.21.9 pls and also the contrition datapack, I want to do a server but its going to be in the 1.21.9.
I also tried changing the pack.mcmeta myself but it doesnt work
1
Unsub
09/04/2025 1:36 am
Level 1 : New Miner
when I die, I lose my life, but after I respawn, everything gets restored. I also use a multiplayer add-on
1
User5748935G
05/06/2025 9:59 pm
Level 1 : New Miner
Hi! The plugin works well! I was wondering if there was a way to change the crafting recipes?
1
User5615276G
05/06/2025 5:51 pm
Level 1 : New Miner
hey i love this data pack im going to use it for my server with me and my friends, i am having an issue though, how can i disable the cooldown for gaining a heart by eating an enchanted golden apple. i tried using the options menu and i set the ticks to 1 but it still doesnt work. can you help me
2
MacchuPicchu
05/06/2025 6:14 pm
Level 53 : Grandmaster Pokémon
history
Changing the global cooldown doesn't affect your own personal cooldown, so if you had already eaten an enchanted golden apple before setting the global cooldown to 0, it won't work. Try the command /scoreboard players set @s mp.attr.cooldown 0
2
User5615276G
05/06/2025 6:18 pm
Level 1 : New Miner
wow okay thank you so much, it worked. thanks for the quick reply man ur so smart
2
MacchuPicchu
05/06/2025 6:21 pm
Level 53 : Grandmaster Pokémon
I'm so glad it worked, and you're welcome! If you like my data pack you can always drop me a heart and/or diamond :D
2
pewblaze
04/26/2025 2:46 pm
Level 1 : New Miner
Will you backport the new changes to 1.21.1 ? Love it btw <3
2
MacchuPicchu
04/26/2025 6:20 pm
Level 53 : Grandmaster Pokémon
history
I hadn't planned to but if you give me more detailed feedback on which changes you liked and why, then I just might :D
1
pewblaze
05/03/2025 5:51 am
Level 1 : New Miner
I didnt play the new pack (cause im on 1.21.1) but i like the ideas & i really like the mod idea.

Im working on a new modpack for 1.21.1 (for 1.21.5 are too many mods missing that i want) & we always used gravestone mods in the past. But no one was afraid to die anymore, so i liked the new "penalty".

For the update i like the new mechanic with the health cooldown. Im always trying to make minecraft harder, but not too hard so its a good mix between survival & building stuff. Im also a sucker fpr immersive & ambient stuff. Not sure what i should tell you tbh ^^" i mean everything sounds nice, but its okay if its too much work. someday we will play on 1.21.5 when all the other mods are updating :)
2

Welcome