介绍
中文介绍正在准备中,下面暂时显示原文。
Stay in the Dark
Bright light burns you.
The opposite of Stay in the Light.
How it works
- Once a second (every 20 ticks) the pack checks the light level at every player’s feet.
- If it’s 8 or higher, the player takes 2 damage (one heart).
- It’s the combined light level, the same one mob spawning uses: the brighter of block light (torches, lava, glowstone) and sky light, with sky light dimmed by time of day and weather.
- The damage is generic, so armor reduces it.
- Players in creative and spectator mode are ignored.
Limitations
- Daytime outdoors is deadly: sky light is 15, so standing in the open costs a heart per second. Caves, covered unlit areas and nights are safe.
- Respawning in daylight hurts right away, since spawn points are usually outdoors. You have about 20 seconds to reach shade.
Configuration
Both values are in data/stay_in_the_dark/function/step.mcfunction:
light:{light:{min:8}}is the threshold: damage starts at this light level.damage @s 2is the damage per hit.schedule function stay_in_the_dark:step 20tis the interval.
Run /reload after editing.
常见问题
Stay In The Dark 支持哪些 Minecraft 版本?
Stay In The Dark 支持 Minecraft Java 版 26.1–26.3,共 5 个版本。下载时注意选择和你游戏版本一致的文件。
Stay In The Dark 怎么安装?
新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。
Sansrus 的其他作品
查看全部 →
BetterHead Chat
by Sansrus
在玩家头顶显示聊天消息。支持原版聊天、私聊和可配置的 /tellraw 模式。
1,866
1 个月前
Modrinth
Shadow Items Mod
by Sansrus
This mod returns shadow items to the game
325
9 个月前
Modrinth
SansrusMod
by Sansrus
A client mod with all sorts of things for personal convenience
273
1 个月前
Modrinth
Bigger Every Kill
by Sansrus
+0.05 size to all mobs for every mob killed by a player
33
1 个月前
Modrinth
评论
登录后评论和评分