Mediumcore datapack port
作者:rebot | 分类:模组
Minecraft 版本: 1.20.2 23w40a 23w41a 23w42a 23w43a 23w43b 23w44a 23w45a 23w46a 1.20.3-pre1 1.20.3-pre2 1.20.3-pre3 1.20.3-pre4 1.20.3 1.20.4 23w51a 23w51b 24w03a 24w03b 24w04a 24w05a 24w05b 24w06a 24w07a 24w09a 24w10a 24w11a 24w12a 24w13a 24w14a 1.20.5-pre1 1.20.5-pre2 1.20.5-pre3 1.20.5-pre4 1.20.5-rc1 1.20.5-rc2 1.20.5-rc3 1.20.5 1.20.6 24w18a 24w19a 24w19b 24w20a 24w21a 24w21b 1.21-pre1 1.21-pre2 1.21-pre3 1.21-pre4 1.21-rc1 1.21 1.21.1 24w33a 24w34a 24w35a 24w36a 24w37a 24w38a 24w39a 24w40a 1.21.2-pre1 1.21.2-pre2 1.21.2 1.21.3 24w44a 24w45a 24w46a 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11 26.1 26.1.1 26.1.2
平台: datapack
标签: food game-mechanics
Mediumcore vanilla datapack unofficial port
Original mod - AlexModGuy: Mediumcore
His github
What does this datapack do?
As AlexModGuy wrote,
Mediumcore is a new difficulty option that is designed to be more difficult than regular survival, but far less punishing than vanilla's Hardcore Mode. The only significant change mediumcore has over default survival is that each death decreases the maximum available health a player can regenerate. The player looses a heart of max health per death, until they only have 3 hearts of health left. At this point, they will not loose anymore and can continue to play the game in their hobbled, feeble state. Luckily, this punishment isn't permanent - if you're willing to do what it takes to get your hearts back. Consuming a Golden Apple or Enchanted Golden Apple will grant you one of your missing hearts, along with the usual effects of consuming these foods.
↑ ↑ ↑ ↑
if the player died 3 times
This is my first datapack coded with minecraft variables.
It was a hard journey and in the end almost all functions from original mod are working
How to configure it?
the main config file is located in \data\mediumcore\function\config.mcfunction
(in \data\mediumcore\functions\config.mcfunction for 1.20.2)
Here's what each value does
| in config | what it means |
|----------|----|
| items:["enchanted_golden_apple",...] | items, that when consumed will regenerate your health |
| max:10 | maximum player hearts |
| max_1:11 | maximum player hearts+1 (please do not set it with wrong values, that are not "max"+1) |
| max_deaths:7 | maximum player deaths (when you die a lot you will end up with (max)-(max_deaths) hearts. By default your minimum hearts is 3) |
If the project will get some attention
I will make this datapack more configurable
In original mod you can change, how many health an item will regenerete you, how many hearts will disappear after death and so on
I will make a better 1.20.2 version
in 1.20.2 - function is functions and minecraft:max_health is minecraft:generic.max_health and also something just doest work, so I did a temporarly solution: I put load.mcfunction inside tick.mcfuction
If this project gets attention I'll try to find an error and make a better solution
I'll TRY to make support for <=1.20.1
Mojang added "$" macros in mcfunction only in 1.20.2, and my datapack uses it a lot
Will stretch this datapack to 1.20.1 if only project gets a lot of attention
请登录后举报
暂无评论,抢个沙发吧~