概述
制作这个模组的原因是,我通常会在探索世界时安装 Hunger Strike 模组来移除不断进食的需求,但我一直对仍然需要食物来恢复生命值感到失望。
Heart Drop 模组应运而生。当生物死亡后,现在会掉落心形物品,玩家拾取后可以每颗回复半颗心(即一个爱心)的生命值。每个生物掉落的心的数量由其最大生命值决定,因此越难击杀的生物掉落的爱心就越多。
即使不安装其他模组,它也是任何禁用了自然生命恢复的生存世界的完美伴侣;而且它本身也能很好地发挥作用,帮助你在尸潮中突围时快速恢复生命值。
小贴士:如果你发现世界里到处都是散落的爱心,可以尝试在配置文件中启用吸血鬼模式。
heartdrop.cfg
# 配置文件
general {
# 0 到 1 之间的数值。每次玩家攻击 Boss 并使其失去该百分比的生命值时,它就会掉落一颗心。
# 例如,设置为 0.1 (10%) 时,拥有 100 点生命值的 Boss 会在玩家每次攻击使其生命值降至 90、80、70 等以下时掉落一颗心。
# 默认值:0.1
D:BossHeartDrops=0.1
# 设为 true 并击打实体即可查看其名称。
# 仅用于构建实体黑名单。
# 默认值:false
B:DebugEntities=false
# 你不希望其掉落爱心的所有实体的逗号分隔列表。
# 例如,如果你不希望牲畜掉落爱心,请使用:Pig,Sheep,Cow,Chicken
S:EntityBlackList=
# 爱心消失前的刻数。
# 默认值:6000
I:HeartDespawn=6000
# 0 到 1 之间的数值,决定实体死亡时掉落爱心的频率。
# 如果设置为 1,爱心将 100% 掉落。
# 默认值:1
D:HeartDropChance=1.0
# 0 到 1 之间的数值,用于修改实体死亡时掉落的爱心数量。
# 当 singleHeart 设置为 'true' 时将被忽略
# 默认值:0.5
D:HeartDropModifier=0.5
# 你的武器上每一点抢夺附魔等级所获得的额外爱心数量。
# 默认值:1
I:LootHearts=1
# 如果设为 true,实体每次只会掉落一颗爱心。
# HeartDropModifier 将被忽略。
# 默认值:false
B:SingleHeart=false
# 如果设为 true,你将直接消耗敌人的生命力。
# 不会掉落爱心,但你仍会恢复生命值。
# 默认值:false
B:VampireMode=false
}
资源包
由于此模组直接从“驯服之心”粒子效果中提取纹理,因此它应与所有资源包自动兼容。
Overview
This mod was created because I usually play Minecraft with the Hunger Strike mod installed to remove the need to constantly stuff my face as I explore the world, but I have always been disappointed that I still need food to regen health.
Enter the Heart Drop mod. Upon death, all mobs now drop hearts, which when picked up by the player will heal them one heart each. The number of hearts dropped by each mob is determined by its max health, so the harder they are to kill the more hearts they will drop.
Even with no other mods installed, it still would be the perfect companion to any survival world with natural regen disabled, and also works great all by itself just to give you some quick health as you fight your way out of the zombie horde.
PROTIP: If you find you have too many hearts littering your world, try enabling Vampire Mode in the config.
heartdrop.cfg
# Configuration file
general {
# A number between 0 and 1. Every time a player attacks a boss and it loses this percentage of its health, it will drop a heart.
# For example, at 0.1 (10%) a boss with 100 health will drop a heart every time a player attack brings its health below 90, 80, 70, etc.
# Default: 0.1
D:BossHeartDrops=0.1
# Set to true and punch an entity to see its name.
# Only useful for building the entity blacklist.
# Default: false
B:DebugEntities=false
# A comma-separated list of all entities you do NOT want to drop hearts.
# For example, if you don't want livestock to drop hearts, use: Pig,Sheep,Cow,Chicken
S:EntityBlackList=
# The number of ticks before hearts will despawn.
# Default: 6000
I:HeartDespawn=6000
# A number between 0 and 1 that determines how often entities drop hearts upon death.
# If set to 1, hearts will drop 100% of the time.
# Default: 1
D:HeartDropChance=1.0
# A number between 0 and 1 that modifies the amount of hearts dropped by entities on death.
# Is ignored when singleHeart is set to 'true'
# Default: 0.5
D:HeartDropModifier=0.5
# The number of extra hearts you get for every level of the looting enchantment on your weapon.
# Default: 1
I:LootHearts=1
# If set to true, entities will only ever drop one heart at a time.
# HeartDropModifier will be ignored.
# Default: false
B:SingleHeart=false
# If set to true, you will directly consume the life-force of your enemies.
# No hearts will drop, but you will still heal.
# Default: false
B:VampireMode=false
}
Resource Packs
This mod should be automatically compatible with all resource packs since it pulls the texture directly from the "tame heart" particle effect.
评论 0
登录后参与评分
还没有评论,来抢沙发吧