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:
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.
Racks can be crafted using:
The recipe is the following:
!Racks recipes
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.
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
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
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.
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.
/datapacks/ folder of your world, don't uninstall V.2 upstream with the uninstall function, as you should keep its database./datapacks/ forlder, then using /reload in game./function pk_racks:cmd/upgrade/from_v2 and 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.
Racks comes with an automatic uninstallation process. Running it will:
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
No, this data pack doesn't involve any resources pack.
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.
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:
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.
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: