Sword Displays
展示你的武器。Sword Displays 为你的剑、斧和其他武器提供了基座、玻璃柜和壁挂架,支持 244 种材质:包括所有木材、石材和砖块、金属与宝石、下界与末地方块,以及所有颜色的羊毛、混凝土、陶瓦和染色玻璃。
功能
- 三种展示类型:Sword Display(基座)、Sword Case(带玻璃的基座)和 Wall Display(挂在墙上的展示架)。
- 每种类型有三种样式:Original(原版);Plaque(牌匾),武器后方带有装饰性牌匾;以及 Rack(架子),可同时并排展示 三件武器。
- 调整武器姿态:以 45° 为步长倾斜和旋转每件武器。在架子上,每个槽位可独立旋转。
- 防盗保护:只有放置武器的玩家才能取出或旋转它。其他玩家在武器被占用时无法破坏该展示架(创造模式除外)。
- 红石支持:比较器读取完好无损的武器时输出满信号,随着武器磨损程度增加,信号强度会减弱。
- 兼容模组武器:任何标记为剑或斧的道具,或能接受武器附魔的物品,均可自动适配。你还可以通过标签添加其他任意物品(见下文)。
- 可配置:可以开启或关闭整组展示架,例如所有架子或所有壁挂牌匾。
使用方法
| 操作 |
方法 |
| 放置武器 |
手持武器右键点击空的展示架 |
| 取回武器 |
空手Shift + 右键点击 |
| 倾斜武器 |
空手右键点击 |
| 旋转武器 |
空手Ctrl + 右键点击 |
在架子上,点击方块的左、中或右部分来选择槽位。
合成
所有展示架均由其材质(M)制成。任何台阶(S)和玻璃板(G)即可完成配方:
Sword Display Sword Case Wall Display
. M . G G G . G .
M S M G M G G M G
M S M . G .
要获得Plaque(牌匾)样式,在任何展示架上方放置一块皮革。要获得Rack(架子)样式,则在上方放置一根木棍。所有配方均显示在合成书内。
添加更多武器
剑、斧以及任何能接受武器附魔的物品已默认支持。若要允许其他任意物品,请通过数据包将其添加到 sworddisplay:swords 物品标签中:
- 创建一个包含
pack.mcmeta 的数据包(名称任意)。
- 在其中创建文件
data/sworddisplay/tags/item/swords.json。在 1.21 之前,文件夹路径为 tags/items/ 而非 tags/item/。
- 列出你想要添加的物品,使用标签格式:
{
"replace": false,
"values": [
"minecraft:trident",
{ "id": "modid:item", "required": false }
]
}
将条目标记为 "required": false 可使数据包在该模组未安装时仍能正常加载。设置 "replace": true 仅清除模组自带的额外内容(如 Tinkers' Construct、Draconic Evolution 和 ProjectE 的武器)。原版剑和斧始终被允许。
配置文件
打开 config/sworddisplay-common.toml 以开启或关闭每种类型和样式组(例如 rack.wall = false)。修改后需重启游戏生效。
Sword Displays
Show off your weapons. Sword Displays adds pedestals, glass cases and wall mounts for your swords, axes and other weapons, in 244 materials: every wood, stone and brick, metals and gems, Nether and End blocks, plus every color of wool, concrete, terracotta and stained glass.
Features
- Three display types: a Sword Display (a pedestal), a Sword Case (the pedestal under glass) and a Wall Display (hangs on a wall).
- Three styles for each type: Original; Plaque, with a decorative plaque behind the weapon; and Rack, which holds three weapons side by side.
- Pose your weapons: tilt and spin each one in 45° steps. On a rack, every slot turns on its own.
- Theft protection: only the player who placed a weapon can take it out or turn it. Other players can't break a display while it holds a weapon (Creative mode excepted).
- Redstone support: a comparator reads a full signal from an undamaged weapon, and a weaker one as the weapon wears down.
- Works with modded weapons: any item tagged as a sword or an axe, or that accepts weapon enchantments, fits automatically. You can add anything else with a tag (see below).
- Configurable: turn whole groups of displays on or off, such as all racks or all wall plaques.
How to use
| Action |
How |
| Place a weapon |
Right-click an empty display with the weapon |
| Take it back |
Shift + Right-click with an empty hand |
| Tilt it |
Right-click with an empty hand |
| Spin it |
Ctrl + Right-click with an empty hand |
On a rack, click the left, middle or right part of the block to pick a slot.
Crafting
Every display is made from its material (M). Any slab (S) and glass panes (G) complete the recipe:
Sword Display Sword Case Wall Display
. M . G G G . G .
M S M G M G G M G
M S M . G .
To get the Plaque style, place a leather above any display. For the Rack style, place a stick above it instead. All recipes show up in the recipe book.
Adding more weapons
Swords, axes and anything that accepts weapon enchantments already work. To allow any other item, add it to the sworddisplay:swords item tag with a datapack:
- Create a datapack (any name) with a
pack.mcmeta.
- Inside it, create the file
data/sworddisplay/tags/item/swords.json. Before 1.21, the folder is tags/items/ instead of tags/item/.
- List the items you want, using the tag format:
{
"replace": false,
"values": [
"minecraft:trident",
{ "id": "modid:item", "required": false }
]
}
Marking an entry "required": false lets the datapack load even if that mod isn't installed. Setting "replace": true only clears the mod's built-in extras (Tinkers' Construct, Draconic Evolution and ProjectE weapons). Vanilla swords and axes always stay allowed.
Config
Open config/sworddisplay-common.toml to turn each type and style group on or off (for example rack.wall = false). Restart the game after changing it.
评论 0
登录后参与评分
还没有评论,来抢沙发吧