Racks
展示你的工具!
你的工具和武器不再需要羡慕盔甲架了。
从今往后,它们也将拥有自己的展示空间!
本介绍针对数据包的最新版本
如需查看旧版本,请前往 Github:
?简介
Racks 是什么?
Racks 允许你展示工具和武器,因此你不再需要将它们藏在箱子里。该数据包为 Java 版提供了盔甲架(仅支持穿戴盔甲)的补充支撑功能(无需使用命令)。
如何合成和使用 Racks?
Racks 可以通过以下材料合成:
- 2 木棍
- 3 任意木材的原木木板(橡木、深色橡木、云杉木、竹木、樱桃木、诡异木等)
合成配方如下:

合成后,你可以直接放置 Racks。你可以将其放置在地面上,最多可挂载两件工具;或者放置在墙壁上,展示单件工具。
要在 Racks 上放置工具,你需要手持想要放置的物品,不潜行地对 Racks 进行右键点击。要收回物品,同样以右键点击的方式操作,此时主手必须为空。
地面放置的 Racks 可处理:斧头、锄头、镐子、铲子、剑、钓鱼竿、胡萝卜钓竿、诡异菌柄、锤矛和长矛。
墙面放置的 Racks 可处理:斧头、锄头、镐子、铲子、剑、弓、弩、三叉戟、钓鱼竿、盾牌、剪刀、刷子、望远镜、胡萝卜钓竿、诡异菌柄、锤矛和长矛。
潜行时右键点击 Racks 将改变其姿态(物品的旋转角度和位置)。地面 Racks 有 6 种不同的姿态,墙面 Racks 有 4 种不同的姿态。
关于 Racks 的其他信息
- 地面 Racks 的两个工具插槽拥有独立的交互实体,这意味着你可以专注于更新你想要的那个工具插槽,而无需移除或添加第一个插槽中的工具。
- 当然,Racks 支持附魔物品和自定义物品。它们会保留所有物品组件。对于通过资源包修改过的工具,我无法保证展示效果渲染正确。这取决于资源包作者是否更改了物品模型或纹理方向,还是保留了原版物品的样式。
⚙️设置
忽略墙面 Racks 支撑检测
如果启用,放置在墙面上的 Racks 将忽略其支撑方块是否被破坏的事实,即使支撑方块被移除也不会破碎。默认情况下,墙面 Racks 每 10 刻检查一次其支撑方块是否被移除,如果被移除则会破碎。这与画作的行为几乎相同。
你可以使用以下命令分别启用、禁用或获取当前设置状态:
/function pk_racks:settings/ignore_wall_rack_support/true
/function pk_racks:settings/ignore_wall_rack_support/false
/function pk_racks:settings/ignore_wall_rack_support/get
?其他命令
给自己一个 Racks
如果你是服务器管理员或在单人世界中开启了作弊,你可以使用以下命令获得任意变体的 Racks:
/function pk_racks:cmd/give/rack/<variant>
其中 <variant> 可以是以下任意木材类型:acacia, bamboo, birch, cherry, crimson, dark_oak, jungle, mangrove, oak, spruce 和 warped。
例如,给自己一个橡木 Racks 的命令:
/function pk_racks:cmd/give/rack/oak
故障排除:从数据库重建所有 Racks
如果 Racks 意外损坏(例如使用了 kill @e 命令),你可以运行以下命令从数据库重建所有 Racks:
/function pk_racks:cmd/debug/recreate_all_racks
该过程将自动移除所有剩余的损坏 Racks 实体和方块,然后放置新的 Racks。所有数据(ID、所有者、类型、物品、变体...)都将保留。 完成此过程可能需要一些时间,请务必等待提示“进程成功结束”的消息后再与 Racks 交互或放置新 Racks。
?从 V.2 更新
该数据包提供了一个将现有 V.2 版本的 Racks 转换为 V.3 的过程。
为此,请按照以下步骤操作。我还建议你在升级前使用 V.2 备份你的世界,以防其他数据包/插件/模组意外破坏更新过程。
- 从世界的
/datapacks/文件夹中移除 Racks V.2 数据包,不要使用卸载函数卸载上游的 V.2,因为你应该保留其数据库。 - 如果需要,将你的世界升级到所需的 Minecraft 版本,如果尚未完成的话。
- 通过将 Racks V.3 放入
/datapacks/文件夹,然后在游戏中使用/reload来安装 Racks V.3。 - 使用以下命令:
/function pk_racks:cmd/upgrade/from_v2并等待更新过程结束。如果成功,你应该收到消息“Updated all racks from Racks (V.2) successfully”。
注意: 当你从背包中取出旧的 V.2 Racks 物品时,它们将自动替换为其 V.3 等效物品。
?卸载
Racks 带有自动卸载过程。运行它将:
- 移除世界中所有已放置的 Racks,包括所有维度
- 将 Racks 中包含的可能物品存储到其各自位置的箱子中
- 移除与 Racks 数据包相关的所有分数和存储数据
- 如果没有安装任何 KawaMood 数据包,还将移除所有通用的分数和存储
卸载过程可能需要几秒钟才能完成。在从世界文件夹中移除数据包之前,请务必等待提示你可以安全移除数据包的 message。
启动卸载流程的命令如下:
/function pk_racks:cmd/uninstall
❓ 常见问题解答
我需要安装资源包吗?
不需要,这个数据包不涉及任何资源包。
物品的纹理显示的是普通玩家头像,该如何修复?
在首次合成新型架子时,你需要保持网络连接。用于创建外观的玩家头像纹理确实是从存储在 Mojang 服务器上的(旧版或当前)玩家皮肤中加载并缓存在客户端侧的。
如果你不小心使用了首次使用时需要联网的内容,而现在看到的是普通玩家头像而不是预期的纹理,你仍然可以进入 .minecraft/assets/skins/ 文件夹,然后按日期对子文件夹进行排序,并删除一些最近的文件夹。完成此操作后,如果你的游戏已经启动,你需要重启它以更新缓存内容。
? 报告问题
如果你在使用这个数据包时遇到了问题,建议加入 Discord 服务器,并在专用的 #data-pack-issues 频道发帖描述你的问题。请别忘了提供所有必要的信息,包括:
- 你正在使用的 Minecraft 版本。
- 你正在使用的相关数据包的版本。
- 你是否使用了任何修改版如 Forge、Paper 或 Spigot。
- 如果有,你正在使用的可能影响数据包功能的插件或模组。
- 你正在使用的其他数据包列表(如果有的话)。
- 对你问题的清晰描述以及复现方法。
- 如有必要,提供游戏中问题的视频或截图。
在执行上述操作之前,请先阅读上面的常见问题解答部分。你所面临的问题可能是常见问题之一,并且其中可能已经提供了修复方法。
? 其他链接
感谢你使用 Racks!知道人们喜欢它让我很开心。 如果你想支持它的开发以及其他数据包的开发,你可以在我的其他社交网络上支持我:
- Planet Minecraft
- 或者如果你心情慷慨,我接受通过 paypal 或 buy me a kawa("咖啡"的俚语说法)进行的捐赠!
Racks
Showcase your tools!
Your tools and weapons will no longer envy the armor stands.
From now on, they will also have their own exhibition space!
This presentation concerns the latest version of the data pack
For older ones, you can check them on Github:
?Introduction
What is Racks ?
Racks allow you to showcase your tool and weapons, so you don't need to hide them in your chests anymore. This data pack brings a complementary support to armor stands that only support armors (without using commands) on the Java Edition.
How to craft and use a rack?
Racks can be crafted using:
- 2 Sticks
- 3 Planks of any wood (oak, dark oak, spruce, bamboo, cherry, warped, etc.)
The recipe is the following:

After you crafted it, you can simply place down your rack. You can either place it on the ground, allowing you to set up to two tools in it. Or on a wall, allowing you to showcase a single tool.
In order to set a tool in it, you need to right click the rack while holding the item you want to place, whithout sneaking. To take the item back, right click it the same way having your mainhand empty.
Racks placed on the ground can handle: axes, hoes, pickaxes, shovels, swords, fishing rod, carrot on a stick, warped fungus on a stick, mace and spears.
Racks placed on a wall can handle: axes, hoes, pickaxes, shovels, swords, bow, crossbow, trident, fishing rod, shield, shears, brush, spyglass, carrot on a stick, warped fungus on a stick, mace and spears.
Right clicking racks while sneaking will change their pose (their items rotation and position). Ground racks have 6 different poses, and wall racks have 4 different poses.
Misc. information about racks
- Ground racks have separated interaction entities for both tools, meaning you can focus the tool slot you want to update without the need of removing or adding a tool in the first slot.
- If you wonder, of course, racks support enchanted and custom items. They keep all their items components. For tools modified with a resource pack, I can't guarantee the exhibition will show an adequate render. This depends on whether the creator of the resource pack changed the item's model or the texture's orientation, or kept them like the vanilla item.
⚙️Settings
Ignore Wall Rack Support
If enabled, racks placed on wall ignore the fact their block support get broken or not, and won't break if it is the case. By default, wall racks break check if their support block is removed every 10 ticks and break if it is the case. This is almost the same behavior as for paintings for example.
You can enable, disable or get the current state of the setting using these following commands respectively:
/function pk_racks:settings/ignore_wall_rack_support/true
/function pk_racks:settings/ignore_wall_rack_support/false
/function pk_racks:settings/ignore_wall_rack_support/get
? Other Commands
Give yourself a rack
If you are an operator of your server or if cheats are enabled in your single-player world, you can give yourself a rack of any variant using these following commands:
/function pk_racks:cmd/give/rack/<variant>
Where <variant> is any type of wood, among: acacia, bamboo, birch, cherry, crimson, dark_oak, jungle, mangrove, oak, spruce and warped.
For example, the command to give yourself an oak rack:
/function pk_racks:cmd/give/rack/oak
Troubleshooting: Recreate all racks from the database
If ever racks have been broken accidentally (using a kill @e command for example) you can run the following command to recreate all racks from the database:
/function pk_racks:cmd/debug/recreate_all_racks
The process will automatically remove all remaining entities and blocks of broken racks before placing fresh ones. All data (id, owner, type, items, variant...) will be preserved. It may take some time for it to complete, so be sure to get the message telling the process ended successfully before interacting with or placing a rack.
? Update from V.2
The data pack provides a process to convert all existing racks from V.2 to V.3.
In order to do so, follow the steps written below. I would also advice you to create a backup of your world using V.2, in case another data pack / plugin / mod accidentally breaks the updating process.
- Remove the Racks V.2 data pack from the
/datapacks/folder of your world, don't uninstall V.2 upstream with the uninstall function, as you should keep its database. - Upgrade your world to the desired version of Minecraft if needed, if it isn't already done.
- Install Racks V.3 by placing it in the
/datapacks/forlder, then using/reloadin game. - Use this following command:
/function pk_racks:cmd/upgrade/from_v2and wait for the updating process to end. If it managed to do so, you should get a message "Updated all racks from Racks (V.2) successfully".
Note: Old racks items from V.2 will automatically be replaced by their V.3 equivalent when you get them in your inventory.
? Uninstall
Racks comes with an automatic uninstallation process. Running it will:
- Remove all racks that have been placed in your world, in every dimensions
- Store the potential items that racks contained to a chest at their respective location
- Remove all scores and storage specific to the Racks data pack
- If there is no more KawaMood data packs installed, also remove all common scores and storages
The uninstalling process may take some seconds to complete. Be sure to wait for the message telling you that you can safely remove the data pack from your world's folder before doing it.
The command to start the uninstalling process is the following one:
/function pk_racks:cmd/uninstall
❓ F.A.Q
Do I need to install a resources pack?
No, this data pack doesn't involve any resources pack.
The texture of the item shows regular player heads, how can I fix that?
You need to be connected to the internet the first time you craft a new type of rack. The textures of the player heads that are used to create their looks are indeed loaded and cached on the client-side, from (old or current) players skins that are stored on a Mojang server.
If you accidentally used a content that required to be online the first time you use it, and now see regular players heads instead of the expected texture, you can still go in the ".minecraft/assets/skins/" folder, then sort the sub-folders by date, and delete some recent folders. Once that is done, if your game was already started, you will need to restart it to update the cached content.
? Report an issue
If you encountered an issue with this data pack, preferably join the Discord server, and open a post in the dedicated #data-pack-issues channel to describe your problem. Please, don't forget to provide all necessary informations including:
- The Minecraft version you're using.
- The version of the concerned data pack you're using.
- If you're using any modified version like Forge, Paper or Spigot.
- If you do, the plugins or mods you're using that may alter the functioning of data packs.
- The list of other data packs you're using, if you have others.
- A clear description of your issue, and a way to reproduce it.
- If necessary, a video or a screenshot of the issue in game.
Before doing that, please read the F.A.Q. section just above. The issue you're facing may be a common one, and a way to fix it may already have been provided in it.
? Other links
Thank you for using Racks! It makes me happy to know people are enjoying it. If you want to support its development and the development of other data packs, you can support me on my other social networks:
- Planet Minecraft
- Or if you're in a generous mood, I accept donation on paypal or buy me a kawa (slang term for "coffee")!
下载 Racks
下载 Racks
下载 Racks
下载 Racks
下载 Racks
下载 Racks
下载 Racks
下载 Racks
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Racks
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Racks
- 修复了将架子放置在非完整方块上时会失败但物品未退还的问题。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
数据包
此数据包添加了属于阿瓦里海盗的独特结构,将他们的独特风格带入你的 Minecraft 世界!兼容性:1.20 至 26.3
数据包
一个 Minecraft 光线投射库,能够精确检测玩家正在查看的方块,包括像台阶和楼梯这样的特殊方块形状。
数据包
此数据包添加了新的“祝福模式”难度。
数据包
为下界添加了名为“贝尔泽布城堡”的新闻结构,以及新的 Boss、新工具、新物品、新敌人和新音乐唱片!
数据包
允许服务器管理员方便地禁用 Xaero's Map 系列模组中的实体雷达、小地图等功能,使竞技游戏更加公平。
数据包
使用原版/生存友好的方法更改青蛙的变种类型。支持原版(寒冷、温带、温暖)以及可选的“More Frogs 2”变种:深红、末影、地狱、毒镖、紫珀、幽匿、灵魂、诡异和木头。
评论 0
登录后参与评分
还没有评论,来抢沙发吧