跳到正文

Mediumcore datapack port

Vanilla unofficial datapack port of AlexModGuy's Mediumcore mod: if you die, you lose one heart

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

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.

image

↑ ↑ ↑ ↑

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)

image

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

常见问题

Mediumcore datapack port 支持哪些 Minecraft 版本?

Mediumcore datapack port 支持 Minecraft Java 版 1.20.2–26.1.2,共 20 个版本。下载时注意选择和你游戏版本一致的文件。

Mediumcore datapack port 怎么安装?

新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。

评论

登录后评论和评分

Kostya_Pictures 的其他作品

查看全部 →