探照灯(及壁灯)
这是 Forge 版本。你可以在这里找到 Fabric 版本:
.
展示视频:
如果你想支持此类模组的开发,可以在此处进行 赞助。
每一美元(或在本例中为卢布)都至关重要,它们使我能够投入更多时间制作各种供你享受的项目。
探照灯
此模组添加了探照灯——一种特殊的方块,它自身不发光,但会在指定方向投射一个不可见的“光源方块”。

当玩家右键点击探照灯方块时,它会朝向玩家旋转,从而移动光源方块的位置。
在 1.18 版本中,可以通过提供红石信号来关闭探照灯。
该方块的用途是在那些可见光源会破坏美学效果的地方提供照明,同时以符合 Mojang 对原版生存 Minecraft 愿景的方式实现。

手持探照灯时,会显示一条从探照灯指向其光源的射线,并显示光源方块的碰撞箱。
(Forge 版本仅在探照灯处于帧内时才显示射线)

壁灯
此模组还添加了一系列壁灯:铁质、海晶石以及 16 种彩色变体(匹配陶土的调色板)。
(铜制壁灯预留用于即将到来的 1.17 版本)
当放置在墙上时,其高度会调整至视线水平,专门用于隐藏发光部分。
为了遵循 Mojang 的原版愿景,木质和石质版本的壁灯在设计上被省略,因为大多数现有的光源已经很好地匹配了木材/石材建筑风格,而现代和未来主义建筑则缺乏合适的配套光源。
合成配方

技术细节
放置探照灯时,它会尝试面向玩家。如果在玩家方向上的光线投射没有结果,它将不会创建光源方块。如果你右键点击探照灯且光线投射没有结果,它将不会移动光源方块。
光源方块会放置在距离任何表面 1 个方块远的位置(如果可能),以避免与液体发生碰撞;它不可被水填充,并且在被替换、破坏或被活塞推动时,会沿探照灯方向移动。
光源方块可能会干扰观察者、树木生长、植物生长等。
探照灯和光源方块均为图块实体(Tile Entity),会被活塞破坏。
放置光源方块的光线投射(当你右键点击探照灯时)不会穿过水,但会根据原版光照规则穿过透明方块和透明侧面。例如,它可以穿过适当旋转的楼梯。
光线投射仅在服务器加载的区块内工作,但操作探照灯会导致带有光源方块的未加载区块加载,反之亦然。
如果某种原因导致光源方块没有关联的探照灯,它不会被自动删除,但如果手动替换,也不会重新启动。
在整合包及其他模组中的使用
请随意将此模组用于整合包中。
如需更多针对原版问题的类原版改进,请考虑 Inventorio。
若要包含此模组作为依赖项,请访问 GitHub 页面
Searchlight (& Wall Lights)
This is the Forge version. You can find the Fabric version HERE:
.
Showcase Video:
If you want to support the development of mods like this, you can do it here.
Every dollar (or, in this case, ruble) counts and allows me to spend more time making various projects for your enjoyment.
Searchlight
This mod adds Searchlight - a special block that doesn't emit light on its own, but casts an invisible Light Source Block in the direction of choosing.

When a player right-clicks a Searchlight block, it rotates in the direction of the player, moving a Light Source block.
In 1.18, a Searchlight can be turned off by providing a redstone signal.
The purpose of this block is to light up areas where having a visible light source would be an aesthetic detriment, but do it in a way that would fit Mojang's vision of Vanilla Survival Minecraft.

Holding a Searchlight will display a beam that points from a Searchlight to its Light Source and displays the Light Source's hitbox.
(Forge doesn't display a beam unless a Searchlight is in frame)

Wall Lights
This mod also adds a set of Wall Lights: Iron, Prismarine and 16 Colored variants (matching terracotta's color palette).
(Copper is reserved for the upcoming 1.17 version)
When placed on a wall, its height is adjusted to the eye level specifically to hide the glowing part.
To follow Mojang's vision of Vanilla, wood and stone variants of Wall Lights are absent by design, because most existing light sources match the wood/stone build style quite well, while there is the lack of fitting light sources for modern and futuristic builds.
Recipes

Technical details
A searchlight tries to face the player when it gets placed. If a raycast in the player's direction yields no result, if won't create a Light Source. If you right click a Searchlight and a raycast yields no result, it won't move a Light Source.
Light Source is placed 1 block away from any surfaces (if possible) to avoid collision with liquids, is not waterloggable, and gets moved in the direction of a Searchlight when replaced, broken or attempted to get pushed by a piston.
Light Source block can interfere with Observers, tree growth, plant growth etc.
Both Searchlight and Light Source are tile entities and get broken by pistons.
Light Source placing raycast (when you right-click a Searchlight) doesn't go through water, but it goes through transparent blocks and transparent sides according to vanilla lighting rules. E.g. it can go through appropriately rotated stairs.
Raycast works within the chunks loaded by the server, but manipulating a Searchlight will cause an unloaded chunk with a Light Source to load and vice-versa.
Light Source that somehow happened to have no associated Searchlight will not be automatically deleted, but won't get restated if replaced manually.
Use in modpacks and with other mods
Feel free to use this mod in a modpack.
For more Vanilla-esque improvements for vanilla problems, consider Inventorio.
To include this mod as a dependency, please visit the GitHub Page
下载 Searchlight (& Wall Lights) (Forge)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Searchlight (& Wall Lights) (Forge)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Searchlight (& Wall Lights) (Forge)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Searchlight (& Wall Lights) (Forge)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Searchlight (& Wall Lights) (Forge)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Searchlight (& Wall Lights) (Forge)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Searchlight (& Wall Lights) (Forge)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Searchlight (& Wall Lights) (Forge)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Searchlight (& Wall Lights) (Forge)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Searchlight (& Wall Lights) (Forge)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
1.20 移植
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
模组
新增 50+ 个独特生物群系,为你的世界增添新树木、花卉等更多元素!
模组
基于 GTCEu 1.12.2 的现代 GregTech
模组
添加睡袋和吊床,分别用于便携性和昼夜转换,同时不会设置新的出生点。共有16种颜色可选!
模组
为你的终界增添新生物群系、神秘仪式和全新生物
评论 0
登录后参与评分
还没有评论,来抢沙发吧