在黑暗中待得太久将危及生命,因为你会开始感受到某种邪恶的存在。
这是一个独立的 Forge 模组,让探索和冒险变得更加困难;现在你正被黑暗本身所追逐!仅仅在黑暗中停留过久就会让你死亡(此行为可在配置文件中更改),这实际上极大地限制了你的探索能力。小心谨慎,并确保随身携带光源以驱散黑暗!
该模组与 Dynamic Lights 完美兼容 ,我甚至建议将其搭配使用以获得更好的体验。由于 Dynamic Lights 是一个服务端和客户端都支持的模组,你手持或放置在地上的光源对其他玩家也生效。请注意,来自 Optifine 或 Lucent 的动态光照无效,因为它们是仅客户端的模组。对于那些出于某些原因不想使用 Dynamic Lights 的玩家,还有一个用于伪动态光照的回退配置选项(但其他玩家无法看到效果)。
配置文件:
关于黑暗行为的基本配置
[darkness]
光照等级阈值(包含该值),在此等级及以下时,黑暗会逐渐侵蚀玩家
范围:-65536 ~ 65536
light_level_threshold = 4
玩家在进入黑暗后,需要停留多少秒(时间单位:秒)才会开始积累黑暗效果
一旦玩家进入足够明亮的区域,计时器会重置;当玩家再次回到黑暗中且黑暗等级为 0 时,计时器重新开始计算
范围:0.0 ~ 65536.0
delay = 4.0
黑暗完全侵蚀一名玩家所需的时间(时间单位:秒)
在此语境下,0 表示一旦进入无光区域,黑暗应立即瞬间吞噬玩家
范围:0.0 ~ 65536.0
growth_time = 10.0
黑暗消退所需的时间(时间单位:秒)
在此语境下,0 表示一旦进入足够明亮的区域,黑暗应立即瞬间消退
范围:0.0 ~ 65536.0
falloff_time = 2.0
黑暗完全侵蚀玩家后是否会导致其死亡
darkness_kills = true
任何与维度相关的配置
[darkness.dimension]
禁用黑暗效果的维度注册名列表
例如:"minecraft:overworld", "minecraft:the_nether", "minecraft:the_end"
dim_blacklist = []
是否将维度黑名单用作白名单
dim_blacklist_as_whitelist = false
任何与持续伤害相关的配置
[darkness.damage]
黑暗在可自定义的 [damage_interval] 间隔内造成的伤害量(单位:半颗心)
范围:0.0 ~ 65536.0
damage = 0.0
黑暗对玩家造成伤害的时间间隔(秒)
例如,设为 3 表示每 3 秒对玩家造成一次伤害
范围:0.0 ~ 65536.0
damage_interval = 3.0
玩家开始受到伤害前的延迟时间(秒)
该计时器在黑暗开始侵蚀玩家时启动
范围:0.0 ~ 65536.0
damage_delay = 0.0
其他配置
[darkness.misc]
是否显示黑暗遮罩效果
show_overlay = true
是否播放黑暗音效
play_sound_effect = true
黑暗音效的音量
范围:0.0 ~ 1.0
sound_effect_volume = 0.8
当玩家在任一手中持有这些物品时,应累加到总光照值上的物品
物品应按以下格式包含:"item_registry_name$N",其中 N 为累加的光照值
如果省略 $N,则默认该物品的光照值为 15
如果玩家在两只手中分别持有此列表中指定的两个物品,它们的光照值将相加
物品的堆叠数量不参与计算
shiny_items = ["minecraft:beacon$8", "minecraft:conduit$8", "minecraft:glowstone$8", "minecraft:jack_o_lantern$8", "minecraft:lantern$8", "minecraft:soul_lantern$5", "minecraft:sea_lantern$8", "minecraft:shroomlight$8", "minecraft:glow_berries$3", "minecraft:end_rod$7", "minecraft:torch$7", "minecraft:crying_obsidian$5", "minecraft:enchanting_table$4", "minecraft:ender_chest$4", "minecraft:glow_lichen$4", "minecraft:redstone_torch$2", "minecraft:small_amethyst_bud$1", "minecraft:medium_amethyst_bud$1", "minecraft:large_amethyst_bud$2", "minecraft:amethyst_cluster$3", "minecraft:magma_block$2", "minecraft:brewing_stand$1", "minecraft:brown_mushroom$1", "minecraft:dragon_egg$1", "minecraft:end_portal_frame$1", "minecraft:light$8", "minecraft:ender_pearl$1", "minecraft:ender_eye$1", "minecraft:experience_bottle$1", "minecraft:redstone$1", "minecraft:lava_bucket$8", "minecraft:spectral_arrow$3", "minecraft:enchanted_golden_apple$3", "minecraft:glow_ink_sac$2", "minecraft:amethyst_shard$1", "minecraft:nether_star$8", "minecraft:glistering_melon_slice$2", "minecraft:glowstone_dust$4", "minecraft:blaze_powder$1", "minecraft:blaze_rod$1", "minecraft:magma_cream$1"]
应用于玩家的任何额外效果
效果应按以下格式包含:"effect_registry_name[duration=A][level=B][timing=C]"
Duration(持续时间)为数字,以秒为单位确定效果的持续时间,默认为无限(只要黑暗等级持续存在)
Level(等级)为数字,确定效果的强度,默认为 1
Timing(时机)为后跟 '%' 或 's'(分别代表百分比或秒)的数字,确定效果发生的时间戳,默认为 0s
可以省略任何参数,此时它们将设置为默认值
示例:
"minecraft:hunger[duration=2][timing=50%]" 会对玩家施加持续约 2 秒的饥饿 I 效果,该效果会在中期(即如果 growth_time 设置为 20,则效果将在第 10 秒时)生效
"minecraft:slowness[timing=2.8s][level=2]" 会对玩家施加缓慢 II 效果,只要玩家被黑暗吞噬就会一直生效,从第 2.8 秒开始
"minecraft:strength" 会在玩家刚开始获得黑暗等级后立即对其施加力量 I 效果,只要其黑暗等级高于 0,效果就会持续存在
effects = []
还要特别感谢 toujourspareil (Twitter) 制作了图标。
Being in the darkness for too long is now life-threatening, as you start feeling the presence of something evil within.
This is a standalone Forge mod that makes exploration and adventures a whole lot more difficult; now you're hunted by the darkness itself! Simply being out in the darkness for too long kills you (this behavior can be changed in the config), effectively rendering your exploration capabilities quite limited. Watch out and make sure to bring some light with you to dispel the darkness!
The mod works perfectly with Dynamic Lights and I even recommend pairing my mod with it for better experience. Since Dynamic Lights is both-sided mod, light sources you hold and that are on the ground also work for other players. Note however that dynamic lighting from Optifine or Lucent won't work since they are client-sided. For those who for some reason don't want to play with Dynamic Lights, there's a fallback config for pseudo-dynamic lighting (won't work for other players).
Configuration file:
The basic configuration for how the darkness should behave
[darkness]
The light level threshold (inclusive), at and below which the darkness will start consuming a player over time
Range: -65536 ~ 65536
light_level_threshold = 4
The time (in seconds) a player has to spend in the darkness before it starts accumulating
The timer gets reset once the player is in a lit enough area, and starts ticking again once in the darkness and the player's darkness level is at 0
Range: 0.0 ~ 65536.0
delay = 4.0
The time (in seconds) it takes for the darkness to fully consume a player
In this context, 0 would mean that the darkness should consume the player instantly, once in an unlit area
Range: 0.0 ~ 65536.0
growth_time = 10.0
The time (in seconds) it takes for the darkness to fall off
In this context, 0 would mean that the darkness should fall off instantly, once in a lit enough area
Range: 0.0 ~ 65536.0
falloff_time = 2.0
Whether the darkness should kill a player upon fully consuming them
darkness_kills = true
Any dimension-related configuration
[darkness.dimension]
The list of dimension registry names where the effects of the darkness should be disabled
e.g., "minecraft:overworld", "minecraft:the_nether", "minecraft:the_end"
dim_blacklist = []
Whether to use dimension blacklist as whitelist instead
dim_blacklist_as_whitelist = false
Any damage-over-time-related configuration
[darkness.damage]
The amount of damage (in half-hearts) the darkness deals at customizable [damage_interval] intervals
Range: 0.0 ~ 65536.0
damage = 0.0
The interval (in seconds) at which the darkness damages a player
For example, 3 would mean that the darkness will hit the player every 3 seconds
Range: 0.0 ~ 65536.0
damage_interval = 3.0
The delay (in seconds) after which a player will start taking damage
This timer starts ticking once the darkness begins consuming the player
Range: 0.0 ~ 65536.0
damage_delay = 0.0
Miscellaneous configuration
[darkness.misc]
Whether to show the darkness overlay
show_overlay = true
Whether to play the darkness sound effect
play_sound_effect = true
The darkness sound effect's volume
Range: 0.0 ~ 1.0
sound_effect_volume = 0.8
Items that should add to the total light value when a player is holding them in either hand
An item should be included as follows: "item_registry_name$N", where N is an additive light value
$N can be omitted, in this case it is implied that the item has the light value of 15
If the player is holding two items specified in this list (one in each hand), their light values are summed
Stack size does not participate in calculations
shiny_items = ["minecraft:beacon$8", "minecraft:conduit$8", "minecraft:glowstone$8", "minecraft:jack_o_lantern$8", "minecraft:lantern$8", "minecraft:soul_lantern$5", "minecraft:sea_lantern$8", "minecraft:shroomlight$8", "minecraft:glow_berries$3", "minecraft:end_rod$7", "minecraft:torch$7", "minecraft:crying_obsidian$5", "minecraft:enchanting_table$4", "minecraft:ender_chest$4", "minecraft:glow_lichen$4", "minecraft:redstone_torch$2", "minecraft:small_amethyst_bud$1", "minecraft:medium_amethyst_bud$1", "minecraft:large_amethyst_bud$2", "minecraft:amethyst_cluster$3", "minecraft:magma_block$2", "minecraft:brewing_stand$1", "minecraft:brown_mushroom$1", "minecraft:dragon_egg$1", "minecraft:end_portal_frame$1", "minecraft:light$8", "minecraft:ender_pearl$1", "minecraft:ender_eye$1", "minecraft:experience_bottle$1", "minecraft:redstone$1", "minecraft:lava_bucket$8", "minecraft:spectral_arrow$3", "minecraft:enchanted_golden_apple$3", "minecraft:glow_ink_sac$2", "minecraft:amethyst_shard$1", "minecraft:nether_star$8", "minecraft:glistering_melon_slice$2", "minecraft:glowstone_dust$4", "minecraft:blaze_powder$1", "minecraft:blaze_rod$1", "minecraft:magma_cream$1"]
Any additional effects to apply to a player
An effect should be included as follows: "effect_registry_name[duration=A][level=B][timing=C]"
Duration is a number and determines the duration of the effect in seconds, defaults to infinite (for as long as the darkness level persists)
Level is a number and determines the power of the effect, defaults to 1
Timing is a number followed by either '%' or 's' (for percentage or seconds respectively) and determines the timestamp at which the effect occurs, defaults to 0s
Any parameters can be omitted, in this case they are set to their default values
Examples:
"minecraft:hunger[duration=2][timing=50%]" would apply Hunger I to a player for 2 seconds roughly halfway through (that is, if growth_time is set to 20, the effect would be applied at 10 seconds)
"minecraft:slowness[timing=2.8s][level=2]" would apply Slowness II to a player for as long as they are being consumed by the darkness, starting at 2.8 seconds
"minecraft:strength" would apply Strength I to a player right after they start gaining the darkness level, with the effect persisting for as long as their darkness level is higher than 0
effects = []
Also special thanks to toujourspareil (Twitter) for making the icon.
下载 Ominous Darkness
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Ominous Darkness
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Ominous Darkness
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Ominous Darkness
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Ominous Darkness
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Ominous Darkness
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Ominous Darkness
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Ominous Darkness
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Ominous Darkness
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Ominous Darkness
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 修复了服务器启动崩溃问题。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧