跳到正文

Endurance

作者:Black-Cat

Adds a status effect that will save you from dying and (barely) keep you alive.

收藏

截图

介绍

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

Description

This mod adds 2 new status effects that are inspired by Dead by Daylight. These status effects only apply to players for now.

  • Endurance
  • Deep Wound

Some enchantments and potions about these 2 status effects are also added.

This comes with a 32x resource pack for the textures in this mod. You can use it if you are using any 32x resource packs. Click here to download.

You can add this mod as a dependency and access the status effects in your code. The set up process is at the bottom.

Here are the simplified descriptions of the 2 status effects. For detailed explanation, please visit Wiki.

Replace this with a description Endurance

Prevents fatal damage once, leaving you at 1 HP and applying Deep Wound. Removes all other Endurance effects.

Does not trigger if you already have Deep Wound.

Obtainable from

  • Eating food
  • Undying enchantment
  • Potion of Endurance

For each amplifier

  • You will gain Deep Wound with the same amplifier of this status effect.

Replace this with a description Deep Wound

Removes all other status effects and applies 20 Bleed Points (BP). Lose 1 BP/sec, dies when all BP are lost.

Taking damage increases loss speed and can cause instant death after multiple hits.

Sprinting, eating, and drinking slows down bleeding. Increasing MP, taking damage or damaging mobs pauses bleeding.

Health restoration is converted to mending progress (MP), conversion rate is increased when sneaking. Remaining still and sneaking will gradually increase MP.

MP is gradually lost if it does not increase within 5 seconds.

Reaching 20 MP removes Deep Wound, converting a portion of remaining BP into Absorption and granting Regeneration IV + Speed I for 2s.

While suffering from Deep Wound, your vision will slowly fade. This can be turned on/off using this command “/endurance showVignette true/false“.

Orange frames = Mending progress, Special red hearts = Bleed points

  • Orange frames = Mending progress
  • Red hearts = Bleed points

Obtainable from

  • Triggering Endurance effect
  • Borrowed Life enchantment
  • Potion of bleeding

For each amplifier

  • Time it takes to lose all BP -2s
  • Time it takes to fully mend -1s

Set up

If you want to access the status effects in your own mods, follow this set up to depend your mods on this mod.

repositories {
    maven {
        url = "https://api.modrinth.com/maven"
    }
}

dependencies {
    modImplementation "maven.modrinth:deep-wound:{the_version}"
}

The version is in format “x.y.z+[mc_version]` e.g. `1.0.0+1.21.7“.

The code is documented in the Wiki page. You also need to add the DuskyWisp’s Library mod in your mods folder for your dev client to run. It can be downloaded via the link below.

Dependencies

Languages

  • English (US)
  • English (UK)
  • Chinese (Taiwan)
  • Chinese (Hong Kong)
  • French (Canada)
  • French (France)

Huge thank you to ysob64 for translating to French!

MISC

Yes you can include this mod in your modpacks.

Yes you can use this mod as a dependency.

Yes you can post your mods that depend on this mod on mod platforms.

Yes you can freely use the textures in this mod.

Yes you can make the resource pack better and post it although I don’t think anyone has got nothing better to do than doing this.

Yes I might release Neoforge version but I’m still learning.

No you cannot copy my code and post it somewhere else under your name.

No you cannot post this mod on other platforms under your name.

No you cannot modify this mod and claim it is yours.

No I will not backport to older versions.

If there are any issues, please report it through my Email [email protected] or through Github, thank you.

常见问题

Endurance 支持哪些 Minecraft 版本?

Endurance 支持 Minecraft Java 版 1.21.7–1.21.10,共 4 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Endurance 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

Black-Cat 的其他作品

查看全部 →