Minecraft Data Packs / Challenge

Attrition: death reduces max health

  • check_circle Advancements
  • check_circle Functions
  • 47,626 views, 19 today
  • 6,022 downloads, 1 today
MacchuPicchu's Avatar MacchuPicchu
Level 49 : Master Pokemon
57
  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, up to a maximum of 15 hearts
  • If you die with only one heart of max health left, you lose the game and are put into spectator mode
  Attrition plays sounds and displays custom chat messages whenever any of these three events happen, but it has no effect on any other aspect of gameplay.

  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 

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

Are you looking for expanded features for this data pack, like lifesteal or multiplayer revive?
If so, take a look at Attrition's companion data pack, Contrition!

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


🔢 Options menu
  A custom options menu for Attrition is available via the /function mp.attr: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.

Attrition: death reduces max health Minecraft Data Pack

🏞 Resource pack
  Attrition includes an optional resource pack by AmyTheMudkip that subtly retextures the player’s heads-up display, including the health bar, armor bar, and hunger bar. A side-by-side comparison can be seen below.

Attrition: death reduces max health Minecraft Data Pack

ℹ️ Extra info
  Attrition is compatible with both single and multiplayer, and it should work seamlessly with any other data pack you use. However, it is not designed for Hardcore mode, so please play in a regular survival world!

  When playing Attrition, do whatever it takes to stay alive! One tip is to prepare backup gear and store it near your respawn point – that way, if you do die, you'll be less likely to die again while trying to retrieve your original items.

  In vanilla Minecraft, enchanted golden apples are a mostly useless trophy item. In Attrition, however, they are the most valuable item in the game. Explore your world regularly to find them and keep your maximum health high!

▶️ 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 Attrition, please do let me know!

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

Alternatively, you can always leave a comment on the Attrition video showcase on YouTube!

-------------------------------------
CreditArt & resource pack by AmyTheMudkip; technical advice by rx97 et al.
CompatibilityMinecraft 1.16
toMinecraft 1.20
Tags

24 Update Logs

Attrition 2.5.2 : by MacchuPicchu 01/24/2024 5:07:22 pmJan 24th

  • Extended compatibility to snapshot 24w04a (pack format number 29)
  • Corrected internal references to the data pack's version
LOAD MORE LOGS

Create an account or sign in to comment.

2
04/18/2024 6:50 pm
Level 1 : New Miner
ZORBZE
ZORBZE's Avatar
is there any way to bring someone back after they lose all there hearts?
1
04/18/2024 10:47 pm
Level 49 : Master Pokemon
MacchuPicchu
MacchuPicchu's Avatar
Yes there is! For that, check out my second data pack, Contrition. Let me know how it works for you!
1
01/24/2024 6:20 pm
Level 19 : Journeyman Sus
scratchcrafter1
scratchcrafter1's Avatar
what is divine wrath
2
01/24/2024 6:55 pm
Level 49 : Master Pokemon
MacchuPicchu
MacchuPicchu's Avatar
Divine wrath gives permanent blindness to players who have lost all of their max health
1
01/23/2024 7:16 am
Level 1 : New Miner
BombiumX
BombiumX's Avatar
you know that the attrition is in requiem mod? you should credit the autor of the requiem mod, since you've came up with idea of making this datapack
2
01/23/2024 2:02 pmhistory
Level 49 : Master Pokemon
MacchuPicchu
MacchuPicchu's Avatar
Hi there, I'm not 100% sure what you're trying to say, but it seems like you might be accusing me of copying from the Requiem mod. I have two points in response.

First, according to the Github page for the Requiem mod, the "attrition status effect" was added in October 2020. If you scroll up here, you'll notice that my data pack was originally released in June 2020, which is, of course, earlier.

Second, while it is true that Requiem's attrition and my Attrition data pack have similar names and both involve post-death health loss, they are not the same thing. Requiem's attrition is a status effect involving mod-specific concepts like souls, hosts, etc. By contrast, my data pack does not need a mod loader and is designed to be as straightforward and vanillalike as possible. The rate at which max health is reduced after death is also different between the two.

Hope this helps.
2
01/25/2024 8:05 amhistory
Level 1 : New Miner
BombiumX
BombiumX's Avatar
now i had time to fully understand the datapack, sorry for the false accuse, good datapack and i hope to see more!
also, is gaining max amount of hearts from enchanted golden apple configurable? to make it f.e max 30 hearts?
1
01/25/2024 11:18 amhistory
Level 49 : Master Pokemon
MacchuPicchu
MacchuPicchu's Avatar
Yeah man, no hard feelings, glad you like the pack!

And the answer to your other question is yes! If you open the options menu, then click on the words "options menu", you will get access to a developer menu with even more options. From here you can customize the maximum amount of health you can accumulate, and you can even configure the amount of health you get from eating each enchanted golden apple. Enjoy!

EDIT btw the developer menu accepts arguments in health points NOT hearts so to get 30 hearts you put 60 in the command
1
01/21/2024 9:52 am
Level 57 : Grandmaster Blockhead
Panda_Tyger
Panda_Tyger's Avatar
sounds like lifesteal
1
01/21/2024 10:13 am
Level 49 : Master Pokemon
MacchuPicchu
MacchuPicchu's Avatar
It's similar, yeah, except I came up with it way before lifesteal was a thing
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome