Elkonia: 展示柜
一种可制作的玻璃展示柜,占据一个方块的空间,可在彩色垫子上展示单个物品。注视它时,物品的详细信息会显示在上方,就像你在背包中悬停查看物品时一样。
功能说明
- 制作玻璃框架:使用 5 个玻璃、1 个垫子和 2 个木板进行合成。垫子的颜色和你使用的木材类型将体现在展示柜的外观上。
- 放置:像放置普通方块一样放置它。它会成为一个带有木质底座和垫子的玻璃展示柜。
- 右键点击放入物品:手持物品右键点击以放入一件物品。它将平放在垫子上。
- 再次右键点击旋转物品:右键点击可以旋转物品,类似于物品展示框的行为。
- 潜行并右键点击使物品悬浮:潜行状态下右键点击可使物品悬浮在展示柜中央,并始终面向你。再次执行此操作可将物品放回原处。
- 从最多 6 格远处观察展示柜:可查看物品的详细信息:名称、附魔、自定义描述(lore)以及攻击或护甲值。信息面板的边框颜色对应于物品的稀有度。
- 击打展示柜取出物品:击打展示柜可取出其中的物品。击打空的展示柜可回收玻璃框架。
- 使用剪刀右键点击取下玻璃:手持剪刀右键点击可取下玻璃罩,使物品留在开放式支架上。再次使用剪刀可将玻璃罩装回。其他功能在任何情况下均正常工作。
合成配方
Glass Glass Glass
Glass (empty) Glass
Planks Cushion Planks
可以使用任意 13 种类型的木板和任意 16 种颜色的垫子:共 208 种组合。两块木板必须是同一种类。
进度
包含一个“玻璃框架”标签页,共有 18 项进度:一项用于制作首个玻璃框架,一项用于每种(共 16 种)垫子颜色,以及一项用于合出全部十六种颜色的玻璃框架。
须知事项
- 资源包仅用于背包图标。如果没有该资源包,玻璃框架物品在手部或背包中将没有图片。已放置的展示柜外观不受影响。该资源包仅添加自己的文件,不修改原版游戏的任何内容。
- 所有附近玩家都能看到详情面板:只要有人正在查看展示柜,周围所有人都会看到物品详情面板。
- 详情面板支持原版物品和附魔。来自其他数据包或插件的物品会显示其名称和自定义描述,可能不会显示其附魔或攻击/护甲值。
- 攻击伤害包含锋利 enchantment 加成。一把锋利 V 的下界合金剑显示为 11。
- 展示剪刀的方法:手持剪刀潜行并右键点击空的展示柜即可。
- 展示长矛的方法:站在距离 2 到 4 格的位置,右键点击展示柜。由于长矛无法触及紧邻自身的目标,近距离点击会导致长矛进入蓄力状态。
- 每次取下或重新安装玻璃罩都会消耗一次剪刀的使用次数。
- 保护机制:展示柜不受生成保护或守护方块插件的保护:任何能够接触到它的玩家都可以取出物品、用剪刀移除玻璃或破坏展示柜。服务器管理员可以通过站在展示柜旁运行
/function elkonia_glass_frame:admin/lock 来锁定展示柜(admin/unlock 可解除锁定)。被锁定的展示柜仅响应创造模式下的玩家。
- 活塞:会破坏展示柜,使其掉落其中的物品和玻璃框架。
- 磨损的剪刀:会在最后一次使用时损坏,如同其他工具一样。
安装
将数据包 zip 文件放入世界的 datapacks 文件夹中,或在服务器上添加。同时添加资源包以获取背包图标。需要 Minecraft 26.3 版本。
卸载
运行 /function elkonia_glass_frame:admin/uninstall,然后删除数据包。所有加载区块中的展示柜都会掉落其中的物品和玻璃框架。未加载区块中的展示柜不会被处理:它们保留其中的物品,并保持为玻璃方块;如果玻璃已被剪刀移除,则变为不可见的屏障方块。请在卸载前破坏你的展示柜,或确保相关区块处于加载状态。

由 MCDDD 检查通过: 点击查看本数据包通过所有检查。它会在你的浏览器中下载并检查数据包,然后显示徽章。无需安装,且数据包永远不会离开你的计算机。
Elkonia: Display Cases
A craftable glass case, one block in size, that shows off a single item on a coloured cushion. Look at it and the
item's details appear above it, the way they do when you hover over an item in your inventory.
What it does
- Craft a Glass Frame from 5 glass, 1 cushion and 2 planks. The cushion's colour and the wood you used are the
ones you see in the case.
- Place it like any block. It becomes a glass case with a wooden base and a cushion.
- Right-click with an item to put one in. It lies on the cushion.
- Right-click again to turn the item, the way an item frame does.
- Sneak and right-click to make the item float in the middle of the case and always face you. Do it again to lay
it back down.
- Look at the case from up to 6 blocks away to see the item's details: its name, enchantments, lore, and its
attack or armour values. The panel has a border in the colour of the item's rarity.
- Punch the case to take the item out. Punch the empty case to pick the Glass Frame back up.
- Right-click with shears to take the glass off and leave the item on an open stand. Shears again put the glass
back. Everything else works the same either way.
The recipe
Glass Glass Glass
Glass (empty) Glass
Planks Cushion Planks
Any of the 13 kinds of planks and any of the 16 cushion colours work: 208 combinations. The two planks must be the
same kind.
Advancements
A Glass Frame tab with 18 advancements: one for your first Glass Frame, one for each of the 16 cushion colours, and
one for crafting all sixteen.
Good to know
- The resource pack is for the inventory icon. Without it the Glass Frame item has no picture in your hand or
inventory. The placed case looks the same with or without it. The resource pack adds its own files only and
changes nothing in the vanilla game.
- Everyone nearby sees the details panel while anyone is looking at the case.
- The details cover vanilla items and enchantments. An item from another pack or a plugin shows its name and
lore, and may not show its enchantments or attack values.
- Attack damage includes Sharpness. A Sharpness V netherite sword reads 11.
- To display shears, sneak and right-click the empty case with them.
- To display a spear, stand 2 to 4 blocks back and right-click the case. A spear cannot reach anything right
next to you, so up close the click charges the spear instead.
- One use of the shears is spent each time the glass comes off or goes back on.
- Protection. A case is not covered by spawn protection or by plugins that guard blocks: anyone who can reach it
can take the item out, shear the glass or break the case. Server staff can lock a case: stand next to it and run
/function elkonia_glass_frame:admin/lock (admin/unlock undoes it). A locked case only answers players in
creative mode.
- Pistons break a case: it drops its item and its Glass Frame.
- Worn-out shears break on their last use, as any tool does.
Install
Put the datapack zip in your world's datapacks folder, or add it on a server. Add the resource pack too, for the
inventory icon. Requires Minecraft 26.3.
Uninstall
Run /function elkonia_glass_frame:admin/uninstall, then remove the datapack. Every case in a loaded chunk drops
its item and its Glass Frame. Cases in chunks that are not loaded are not reached: they keep their item and stay
behind as a glass block, or as an invisible barrier block if the glass was sheared off. Break your cases, or have
them loaded, before you uninstall.

Checked by MCDDD: see this pack pass every check. It downloads the pack and checks it in your browser, then shows its badge. Nothing to install, and the pack never leaves your computer.
评论 0
登录后参与评分
还没有评论,来抢沙发吧