描述
此数据包会让火把以及许多其他发光物品(如萤石、 glowberries、灯笼等)在手持时发出光芒。它还会使某些生物(如烈焰人和发光鱿鱼)永久发光,掉落的发光物品也会发光。该效果是服务端计算的,其他玩家也能看到。这样你就可以轻松探索洞穴,而不必到处放置火把。
安装/卸载指南
安装:
-
数据包版本:前往你的存档文件夹,Windows 系统路径为:
C:\Users\(your name)\AppData\Roaming\.minecraft\saves
进入你的世界文件夹,打开datapacks文件夹,放入压缩文件,然后重启你的世界。 -
模组版本:将 jar 文件放入
c:\Users\(your name)\AppData\Roaming\.minecraft\mods,然后启动游戏。
卸载:
-
v1:运行命令
/function dl:uninstall,然后删除数据包。确保在运行卸载命令后、删除数据包前不要执行重载(/reload 或重启世界)! -
v2-v3:确保你没有手持火把,运行
/datapack disable (file),删除数据包并运行 /reload。 -
v4 - v5:使用
/function dt:config禁用所有设置,运行/datapack disable (file),删除数据包并重新加载。 -
v5.1+:运行
/function dt:uninstall并按照提示操作。
功能/配置选项
配置
使用 /function dt:config 打开配置菜单。
| 功能 | 存储位置(在 dt.config 记分板中) |
描述 | 默认值 |
|---|---|---|---|
| 手持发光物品的玩家发光 | playersitemsglows |
如果手持火把等发光物品的玩家应否发光 | true (1) |
| 掉落物发光 | itemsglow |
如果掉落在地上的发光物品应否发光 | true (1) |
| 烈焰人发光 | blazesglow |
如果烈焰人应否发光 | true (1) |
| 发光鱿鱼发光 | glowsquidsglow |
如果发光鱿鱼应否发光 | true (1) |
| 点燃的苦力怕发光 | litcreepersglow |
如果苦力被火点燃时应否发光 | true (1) |
| 着火的生物发光 | fireglow |
如果着火的生物应否发光 | true (1) |
| 手持发光物品的生物发光 | mobsitemsglow |
如果持有火把等发光物品的生物(如僵尸)应否发光 | true (1) |
| 箭矢发光 | arrowsglow |
如果火焰箭和光灵箭应否发光 | true (1) |
| 火球发光 | fireballsglow |
如果 Ghast 和烈焰人的火球应否发光 | true (1) |
| 岩浆怪发光 | magmacubesglow |
如果岩浆怪应否发光 | true (1) |
| 扫描间隔 | scaninterval |
扫描发光实体的时间间隔(以刻为单位) | 5 (ticks) |
每个配置设置都可以通过使用相应的 /scoreboard players set 命令来编辑。例如,要切换“手持发光物品的玩家发光”功能,你可以使用命令 /scoreboard players set playersitemsglows dt.config 1 或 0 来启用或禁用它,其中 1 表示 true,0 表示 false。你可以运行 /function dt:config 调出菜单,点击即可自动生成命令。(如需帮助,请随时通过下方的 Discord 联系我!)
发光物品与实体列表
| 发光物品 | 发光实体 |
|---|---|
| 火把/铜火把 | 烈焰人 |
| 南瓜灯 | 发光鱿鱼 |
| 灯笼/铜灯笼 | 岩浆怪 |
| 末地烛 | 苦力怕(当被点燃时) |
| 菌光体 | 任何处于着火状态的实体 |
| 萤石 | 任何手持发光物品的实体(例如僵尸、玩家、悦灵) |
| 青蛙灯方块 | 火焰箭 |
| 海晶灯 | 光灵箭 |
| 信标 | 掉落的发光物品实体 |
| 营火 | 火球(由烈焰人或 Ghast 发射) |
| 熔岩桶 | |
| 发光浆果 | |
| 发光墨囊 |
其他注意事项
- 你可以通过运行
/function dt:config更改设置,并通过/function dt:uninstall卸载。 - 如需反馈、错误报告或其他帮助,请加入本页面链接部分的 discord server!
DESCRIPTION
This data pack makes torches and many other luminous items like glowstone, glowberries, lanters, etc. emit light while in your hand. It also makes certain mobs such as blazes and glow squids glow permanently and dropped light emitting items also glow. The light is server-side and visible to other players. This allows you to explore caves with ease without having to place torches everywhere.
INSTALLATION/UNINSTALLATION GUIDE
Installation:
-
for datapack version, go to your saves folder located here on Windows:
C:\Users\(your name)\AppData\Roaming\.minecraft\savesgo to your world's folder, open the datapacks folder, put the zipped file, and restart your world -
for mod version, put the jar file in
c:\Users\(your name)\AppData\Roaming\.minecraft\modsand then launch the game
Uninstallation:
for v1: run this command /function dl:uninstall, and then delete the data pack. Make sure to not reload (/reload or by restarting your world) after running the uninstall command until the data pack is deleted!
for v2-v3: make sure you are not holding a torch, run /datapack disable (file), delete the datapack and run /reload
for v4 - v5: use /function dt:config to disable every setting, /datapack disable (file), delete the datapack and reload.
for v5.1+: run /function dt:uninstall and follow instructions
FEATURES/CONFIG OPTIONS
Config
Use /function dt:config to open the config menu.
| Feature | Stored as (in dt.config scoreboard) |
Description | Default Value |
|---|---|---|---|
| Players holding light glow | playersitemsglows |
If players holding luminous items such as torches should glow | true (1) |
| Item entities glow | itemsglow |
If luminous items dropped on the ground should glow | true (1) |
| Blazes glow | blazesglow |
If blazes should glow | true (1) |
| Glow Squids glow | glowsquidsglow |
If glow squids should glow | true (1) |
| Ignited Creepers glow | litcreepersglow |
If creepers should glow when lit with flint and steel | true (1) |
| Mobs set on fire glow | fireglow |
If mobs set on fire should glow | true (1) |
| Mobs holding light glow | mobsitemsglow |
If mobs, such as zombies, holding luminous items like torches should glow | true (1) |
| Arrows glow | arrowsglow |
If flaming and spectral arrows and should glow | true (1) |
| Fireballs glow | fireballsglow |
If ghast and blaze fireballs should glow | true (1) |
| Magma Cubes glow | magmacubesglow |
If magma cubes should glow | true (1) |
| Scan Interval | scaninterval |
Interval in ticks in which luminous entities are scanned for | 5 (ticks) |
Each config setting can be edited by using the appropriate /scoreboard players set command. For example, to toggle Players holding light glow, you can use the command /scoreboard players set playersitemsglows dt.config 1 or 0 to enable or disable it, 1 being true and 0 being false. You can run /function dt:config to bring up a menu which you can click to type the commands automatically. (Feel free to message me on discord below for assistance!)
List of luminous items and entities
| Luminous Items | Luminous Entities |
|---|---|
| Torch/Copper Torch | Blazes |
| Jack o' Lantern | Glow Squids |
| Lantern/Copper 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
- You may change settings by running
/function dt:configand uninstall by/function dt:uninstall - for feedback, bug reports, or other help, join the discord server from the links section of this page!
下载 Dynamic Lights
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Dynamic Lights
下载 Dynamic Lights
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Dynamic Lights
下载 Dynamic Lights
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Dynamic Lights
下载 Dynamic Lights
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Dynamic Lights
下载 Dynamic Lights
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Dynamic Lights
优化
- 当没有玩家在线时,整合包现在会进入空闲状态,并在最后一名玩家离开后清除灯光效果
- 新增的配置项“扫描间隔”使发光实体的扫描从每 tick 运行一次改为每 x(默认为 5)tick 运行一次
- 如果标记已经存在于某个发光实体所在的方块中,现在会保留该标记,而不是将其击杀并重新召唤
……还有更多!
配置
- 新增设置:扫描间隔:发光实体现在按照设定的扫描间隔进行扫描,默认为 5 tick。可以增大该值以提升性能,或减小以获得更流畅的灯光效果
- 配置菜单现在使用可点击的按钮,不再使用 1 和 0
修复
- 箭矢错误地使用了“燃烧”设置而非“箭矢发光”
- 修复了岩浆怪相关的 bug:之前每次重新扫描发光实体时都会重复扫描所有岩浆怪
- 燃烧的物体、箭矢和火球被错误地归类到“火焰物品发光”下,而非各自对应的类别
- 修复了卸载功能中的按钮无法正常工作的问题
- 流体流动不再受阻
- 现在可以在流动的液体中正常使用
- 活塞现在能够正常推动玩家
- 将铜灯笼和火把加入发光物品列表
- 更新以支持 26.3
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
原版世界生成优化模组
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
评论 0
登录后参与评分
还没有评论,来抢沙发吧