Dynamic Lights - Dynamic Lights 动态光源
DESCRIPTION
这个数据包可以让火把以及许多其他发光物品,如 glowstone、glowberries、lanters 等,在你手持时发光。它还会让某些生物,例如 blaze 和 glow squid 持续发光,掉落在地上的发光物品也会发光。这个光源是服务端生效的,其他玩家也能看见。这样你就可以更轻松地探索洞穴,而不必到处放置火把。
INSTALLATION/UNINSTALLATION GUIDE
Installation:
- 对于 datapack 版本,请前往你的存档文件夹,在 Windows 上位置为:
C:\Users\(your name)\AppData\Roaming\.minecraft\saves
进入你的世界文件夹,打开 datapacks 文件夹,将压缩包放进去,然后重启你的世界
- 对于 mod 版本,将 jar 文件放入
c:\Users\(your name)\AppData\Roaming\.minecraft\mods,然后启动游戏
Uninstallation:
对于 v1:运行此命令 /function dl:uninstall,然后删除数据包。请确保在运行卸载命令后、删除数据包之前,不要进行重载(/reload 或重启世界)!
对于 v2-v3:确保你没有手持火把,运行 /datapack disable (file),删除 datapack,然后运行 /reload
对于 v4 - v5:使用 /function dt:config 禁用所有设置,运行 /datapack disable (file),删除 datapack,然后重载。
对于 v5.1+:运行 /function dt:uninstall 并按照说明操作
FEATURES/CONFIG OPTIONS
Config
使用 /function dt:config 打开配置菜单。
| Feature | Stored as (in dt.config scoreboard) |
Description | Default Value |
|---|---|---|---|
| Players holding light glow | playersitemsglows |
玩家手持火把等发光物品时是否应发光 | true (1) |
| Item entities glow | itemsglow |
掉落在地上的发光物品是否应发光 | true (1) |
| Blazes glow | blazesglow |
blaze 是否应发光 | true (1) |
| Glow Squids glow | glowsquidsglow |
glow squid 是否应发光 | true (1) |
| Ignited Creepers glow | litcreepersglow |
苦力怕被打火石点燃时是否应发光 | true (1) |
| Mobs set on fire glow | fireglow |
被点燃的生物是否应发光 | true (1) |
| Mobs holding light glow | mobsitemsglow |
生物(例如僵尸)手持火把等发光物品时是否应发光 | true (1) |
| Arrows glow | arrowsglow |
着火箭和光灵箭是否应发光 | true (1) |
| Fireballs glow | fireballsglow |
ghast 和 blaze 发射的火球是否应发光 | true (1) |
| Magma Cubes glow | magmacubesglow |
magma cube 是否应发光 | true (1) |
每个配置项都可以使用对应的 /scoreboard players set 命令来修改。例如,要切换 Players holding light glow,你可以使用命令 /scoreboard players set playersitemsglows dt.config 1 或 0 来启用或禁用它,1 表示 true,0 表示 false。你也可以运行 /function dt:config 打开一个可点击菜单,以自动输入这些命令。(如果需要帮助,欢迎通过下方的 discord 联系我!)
List of luminous items and entities
| Luminous Items | Luminous Entities |
|---|---|
| Torch | Blazes |
| Jack o' Lantern | Glow Squids |
| Lantern | Magma Cubes |
| End Rod | Creepers (when lit) |
| Shroomlight | Any entity set on fire |
| Glowstone | Any entity (e.g., zombie, player, allay) holding a luminous item |
| Froglight blocks | Flame Arrow |
| Sea Lantern | Spectral Arrows |
| Beacon | Dropped luminous item entity |
| Campfire | Fireballs (shot by blazes/ghasts) |
| Lava Bucket | |
| Glow Berries | |
| Glow Ink Sac |
OTHER THINGS TO NOTE
- 你可以通过运行
/function dt:config修改设置,并通过/function dt:uninstall卸载 - 由于 minecraft 的限制以及该 datapack/mod 的特性,它可能会阻碍 lava 和 water 等液体的流动
- 如需反馈、提交 bug,或获得其他帮助,请通过本页面 links 部分中的链接加入 discord server!