可合成的发光方块
在生存模式下合成发光方块,选择任意光照等级,并查看和调整它们——就像在创造模式下一样。
合成配方
用 8 个玻璃板 围绕一个 火把:
所有光照等级
将发光方块放入 切石机 中,即可从 16 个光照等级(0–15) 中任选其一。该等级会直接显示在物品上,就像在创造模式背包中一样。
功能
在生存模式下手持发光方块时,你可以:
- 查看它们 – 你周围的所有发光方块都会显示其光照等级。只有你能看到这些标记,其他玩家则看不到。
- 🔆 调亮它们 – 右键点击发光方块以提高其光照等级。
- 🔅 调暗它们 – 潜行 + 右键点击以降低其光照等级。
移除方式与原版相同: 在发光方块所在的位置放置任何其他方块。再次破坏该方块,发光方块就会消失。
可选额外功能 – 左键破坏: 开启此功能后,你可以左键点击拾取发光方块。它们掉落时会保留原有的光照等级。此功能默认关闭,可在设置菜单、通过命令或配置文件中进行启用。
在创造模式中,Minecraft 本身已经具备所有这些功能。
插件还是数据包?
两者均已包含——请选择适合你游戏的方式。
|
插件 |
数据包 |
| 适用于 |
Paper / Purpur 服务器 |
单人游戏及任何服务器 |
| Minecraft |
1.21.4 – 26.3 |
26.1 – 26.3 |
| 标记范围 |
32 格(最高可达 160 格) |
16 格 |
| 调整与破坏距离 |
正常攻击距离 |
最多 3 格 |
| 设置菜单(聊天中可点击) |
✅ |
✅ |
| 尊重领地插件 |
✅ |
– |
| 可配置的合成配方 |
✅ |
– |
请仅使用其中一种——不要同时启用插件和数据包。
命令 (仅限操作员)
插件
| 命令 |
效果 |
/lichtblock |
可点击的设置菜单 |
/lichtblock abbauen an|aus |
开启/关闭左键破坏功能 |
/lichtblock lichtstaerke an|aus |
开启/关闭右键更改光照等级功能 |
/lichtblock geben <数量> [玩家] [等级] |
给予光方块,可选择附带 0–15 的光照等级 |
数据包
| 命令 |
效果 |
/function lichtbloecke:einstellungen |
可点击的设置菜单(破坏性与光照等级开关) |
/function lichtbloecke:geben {anzahl:16} |
给予光块 |
/function lichtbloecke:geben_stufe {anzahl:16,stufe:7} |
给予指定光照等级(0–15)的光块 |
/function lichtbloecke:deinstallieren |
移除所有内容,然后禁用该资源包 |
权限 (插件)
| 权限 |
默认值 |
效果 |
lichtbloecke.sehen |
everyone |
手持光块时查看光块 |
lichtbloecke.bearbeiten |
everyone |
更改光照等级(并在启用时破坏光块) |
lichtbloecke.give |
operators |
使用 /lichtblock geben 命令 |
lichtbloecke.einstellungen |
operators |
使用设置菜单和开/关命令 |
配置 (插件)
在 plugins/Lichtbloecke/config.yml 中,你可以更改配方的中心物品和结果数量、允许彩色玻璃板、启用或禁用切石机左键破坏(abbauen,默认关闭)以及等级更改功能,并设置标记范围。
安装
🔌 插件
- 将
.jar 文件放入服务器的 plugins 文件夹中
- 重启服务器
数据包 – 单人游戏
- 选择你的世界 → 编辑 → 打开世界文件夹
- 将 ZIP 文件放入
datapacks 文件夹中
- 在世界中输入
/reload
数据包 – 服务器
- 将 ZIP 文件放入
<world>/datapacks/ 目录中
- 运行
/reload
小贴士
标记是粒子——这是向单个玩家显示内容的唯一方式。移除光源方块后,它们最多仍会可见 4 秒。
Craftable Light Blocks
Craft light blocks in survival, pick any light level, and see and adjust them – just like in creative mode.
Recipe
Surround a Torch with 8 Glass Panes:
Every Light Level
Put a light block into a Stonecutter and choose any of the 16 light levels (0–15). The level is shown right on the item, just like in the creative inventory.
Features
Hold a light block in survival mode and you can:
- See them – every light block around you shows up with its light level. Only you see the markers, other players don't.
- 🔆 Brighten them – right-click a light block to raise its light level.
- 🔅 Dim them – sneak + right-click to lower its light level.
Removing works just like vanilla: place any other block where the light block is. Break that block again and the light block is gone.
Optional extra – break with left-click: turn it on and you can pick light blocks up with a left-click. They drop with the same light level. It's off by default and can be switched on in the settings menu, with a command or in the config.
In creative mode, Minecraft already does all of this by itself.
Plugin or Datapack?
Both are included – pick the one that fits your game.
|
Plugin |
Datapack |
| Works on |
Paper / Purpur servers |
Singleplayer & any server |
| Minecraft |
1.21.4 – 26.3 |
26.1 – 26.3 |
| Marker range |
32 blocks (up to 160) |
16 blocks |
| Adjust & break from |
normal reach |
up to 3 blocks |
| Settings menu (clickable in chat) |
✅ |
✅ |
| Respects land-claim plugins |
✅ |
– |
| Configurable recipe |
✅ |
– |
Use either the plugin or the datapack – not both at once.
Commands (operators only)
Plugin
| Command |
Effect |
/lichtblock |
Clickable settings menu |
/lichtblock abbauen an|aus |
Turn left-click breaking on/off |
/lichtblock lichtstaerke an|aus |
Turn right-click light level changing on/off |
/lichtblock geben <amount> [player] [level] |
Give light blocks, optionally with light level 0–15 |
Datapack
| Command |
Effect |
/function lichtbloecke:einstellungen |
Clickable settings menu (breaking & light level on/off) |
/function lichtbloecke:geben {anzahl:16} |
Give light blocks |
/function lichtbloecke:geben_stufe {anzahl:16,stufe:7} |
Give light blocks with light level 0–15 |
/function lichtbloecke:deinstallieren |
Remove everything, then disable the pack |
Permissions (plugin)
| Permission |
Default |
Effect |
lichtbloecke.sehen |
everyone |
See light blocks while holding one |
lichtbloecke.bearbeiten |
everyone |
Change the light level (and break light blocks, if turned on) |
lichtbloecke.give |
operators |
Use /lichtblock geben |
lichtbloecke.einstellungen |
operators |
Use the settings menu and on/off commands |
Configuration (plugin)
In plugins/Lichtbloecke/config.yml you can change the recipe's center item and result amount, allow colored glass panes, turn the stonecutter, left-click breaking (abbauen, off by default) and level changing on or off, and set the marker range.
Installation
🔌 Plugin
- Put the
.jar into your server's plugins folder
- Restart the server
Datapack – Singleplayer
- Select your world → Edit → Open World Folder
- Put the ZIP into the
datapacks folder
- Type
/reload in the world
Datapack – Server
- Put the ZIP into
<world>/datapacks/
- Run
/reload
Good to know
The markers are particles – the only way to show something to a single player. After you put the light block away, they stay visible for up to 4 seconds.
评论 0
登录后参与评分
还没有评论,来抢沙发吧