Minecraft Data Packs / Quality of Life

Racks - Expose your tools!

  • check_circle Functions
  • check_circle Recipes
  • 34,126 views, 131 today
  • 9,901 downloads, 45 today
  • 231
  • 256
  • 39
KawaMood avatar KawaMood
Level 67 : High Grandmaster Programmer
421
Racks V.2.0.3
Expose your tools!

Your tools and weapons will no longer envy the armor stands.
From now on, they will also have their own exhibition space!

From MC 1.19.4 to Latest Version (See the Download section for Snapshots)





Disclaimer: Recently, some malicious websites kept trying to steal my content without my consentement, without any credit, not even even sharing the original link. Please, avoid to download my data packs from those websites. They aren't fair and the version of my data packs they share may not be up to date.
I would highly recommend to always download them from planetminecraft.com or kawamood.com.

If you are a content creator / content aggregator and want to showcase or share this data pack elsewhere, please be sure to follow the "BY-NC-SA" rules mentioned in the "Licence" section below.





Features

What does the data pack brings?


  • Racks can be crafted using 2 Sticks and 3 planks.
  • Depending on the used planks, different looks of Racks can be created (no resource pack required).
  • This same block allows players to expose your tools and weapons by right clicking them.
  • Racks have two modes: they can be placed on the ground and hang up to 2 items, or on walls and hang a single item.
  • Sneaking while you right click them allow you to change the item rotation (or positioning, with some tools).

How to craft and use a Rack?


Racks can be crafted using 2 Sticks and 3 <planks>.
Planks to use depend on the desired look. You can use Oak Planks, Birch Planks, Spruce Planks, or Dark Oak Planks.
The recipe is the following:

Racks - Expose your tools! Minecraft Data Pack

After you crafted it, you can then place down your Rack. You can either place it on the ground, allowing you to set up to two tool in it.
Or on a wall, allowing you to expose a single tool. In order to put a tool in it, you can simply right-click the Rack.
To retrieve the item, right-click it having your mainhand empty.

Right-clicking it while sneaking allow you to change items rotation. The ground mode has 6 different rotations, while the wall mode has 2 different orientation or item positioning.

I recommend you to see the tutorial video for better explanations and examples.

Misc. info about Racks:

  • In order to avoid to use many interaction entities, Racks interaction entities have a 1x1 block hitbox. It can be confusing when you try to click something that doesn't directly seem to be on the rack's hitbox. I recommend you to use F3+B to see the hitboxes when you try to manage things around them
  • Ground mode 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, and keep all their data. 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.

Commands & General Settings


Give commands

If you want to directly get a Rack, you can give it to yourself with one of these commands.
/function pk_racks:cmd/give/oak
/function pk_racks:cmd/give/birch
/function pk_racks:cmd/give/spruce
/function pk_racks:cmd/give/dark_oak

Blocks update (performances)

If you don't care about tracking blocks update, like for example, Racks on wall breaking automatically when there is no block support anymore behind them, you can chose to turn off the Racks blocks update with the following setting, where <value> can be 0 (disabled) or 1 (enabled):
/scoreboard players set $pk.racks.ignore_environment pk.value <value>

How to install & update?


This data pack has been made for Minecraft versions >= 1.19.4.

If you currently have a 1.x.x version of this same data pack, please be sure to remove all Racks you placed, then remove it before installing the new one.

As I announced on my Discord and my Youtube channel, those 2.0.0 versions of my data packs are major upgrades, and can be considered as total new data packs, independantly from the previous one.

For version greater than 2.0.0,
you will just need to replace the current folder/.zip of the datapack by the new one, and use the /reload command if you are on a server.

Please refer to the Planet Minecraft tutorial to know how to install a data pack
: How to Install Minecraft Data Packs.


Update from MC 1.19.4 to MC 1.20 (Item Display Rotations)

First, be sure to have installed the right version (for MC 1.20+) from the Download (for other versions) section bellow.

There is a specific command to fix item rotations if you are updating your 1.19.4 world to 1.20+ version (after Snapshot 23w16a). Since we can't track a Minecraft version update (at least, safely), you need to run it manually. This is the command:
/function pk_racks:cmd/update/1_20_rotation
This function will update all Racks of your world automatically, no matter the dimension they are placed in. If some of them failed to update, you can still run this command again, or remove and place back the Rack.


How to uninstall?


This data pack comes with an automatical uninstalation system.
Please use this command before removing the datapack from your datapacks folder:

/function pk_racks:base/uninstall/start
The uninstall process will:
  • Remove all Racks you or other players placed in your world, no matter the dimension (even custom ones).
  • Remove all relative scores and storage relative to the Racks Datapack.
  • Remove common scores and storage relative to all PauseKawa data packs, if the uninstall process detects that you don't have any PauseKawa data pack installed anymore.
When it's done, you can safely remove the data pack from your world's datapack folder.


F.A.Q.


Do I need to install a resources pack?
No, this data pack doesn't involve any resources pack.

When I place the block, it stays as a player head and doesn't place the actual Rack
Here are the potential reasons:
  • Please be sure you are on a version that supports the data pack. This data pack only work with 1.19.4 or greater versions, since this one introduced display entities. It won't work on 1.19.3 or lower version.
  • You are using an external tool like Spigot/Forge with a plugin/mod that may change the vanilla command, or the way data pack are executed. I would advice to create a fresh world with only this data pack, then progressively add other tools until it stops to work, you will then find the culprit.
  • If it used to work but suddenly stopped to work without anything having been changed on your server/client setup, you can try to run this command: /advancement revoke @s only pk_racks:interactions/placed_rack_placer

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 \AppData\Roaming\.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.

The data pack doesn't work correctly / I broke the block but still see it
You are probably either using plugins/mods that alter vanilla commands (like EssentialsX), or using a/some corrupted datapack(s) that block(s) the process of other datapacks according to the execution order of them.

Try to disable other suspicious datapacks or plugins that may affect the functioning of this one, then enable them back one by one until it stops to work, in order to find the guilty.

In a more general way, I really discourage to mix datapacks with mods or plugins. Datapacks aren't really compatible with externally modified versions of Minecraft, and unfortunately, some of plugins/mods author don't care about datapacks functioning. Paper/Forge itself might prevent some features to work correctly. Datapacks are usually dedicated to pure vanilla versions.

Uninstalling process seems unreliable, especially in custom dimensions
Unfortunately, this is due to a bug from Minecraft itself (MC-170764 / MC-143952)
I'm still trying to experiment new ways of implementing cross-dimension processes, but fact is it is impossible to directly and dynamically target custom dimensions from commands. So for the moment, we use forceloaded chunks with a single marker entity in each custom dimension to keep them reachable. Next tests may be based on chain concatenation implementing to work with them.

In order to remove the remaining entities in loaded areas, you can run this command:
/kill @e[tag=pk.racks.rack.component]


Download (for other versions)


For MC 1.19.4: Download
For MC 1.20+ (From Snapshot 23w58a): Download

(Legacy version | Deprecated)
V.1.0.1 for MC 1.18+
: Download / Video Tutorial (Not compatible with 2.0+ version of this same data pack)


Report an issue


Please read the F.A.Q. of the section above before asking.

Racks - Expose your tools! Minecraft Data Pack Preferably join our Discord Server and create a thread in the dedicated channel for data pack issues.
Otherwise, you can do it directly in the comments section.


License


This data packs is protected by the CC BY-NC-SA 3.0 license.

You're free to share and adapt this content under the following terms:
  • Attribution (BY) — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • NonCommercial (NC) — You may not use the material for commercial purposes.
  • ShareAlike (SA) — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.

Credits

CompatibilityMinecraft 1.19
Tags

5 Update Logs

V.2.0.3 - 30 Apr. 2023 : by KawaMood 04/30/2023 1:23:26 pmApr 30th

Changes
  • Uninstalling the data pack will now replace Racks containing items with Chests containing these same items, so you won't lose them. Note that this fix won't take already-placed tools into account. Only tools placed in Racks after this update will be considered. You can place/swap them to update the blocks list
  • Many changes to match other PauseKawa 2.0 data packs standard
  • Added a purge_temp command that purges the temp data of all PauseKawa data packs
  • Updated the uninstall process to fix issues removing custom blocks in custom dimensions (MC-143952). Should be more stable, but can't guarantee it to be 100% reliable
  • Updated the dimension_marker package to counter an issue (MC-143952). Should be more stable, but can't guarantee it to be 100% reliable
LOAD MORE LOGS

Create an account or sign in to comment.

2
05/28/2023 1:07 am
Level 15 : Journeyman Artist
CraftyOtter
CraftyOtter avatar
That's awesome its a great idea!
2
05/13/2023 7:43 am
Level 1 : New Miner
clownDeath
clownDeath avatar
love how it works works with modded items
2
05/03/2023 6:22 pm
Level 1 : New Miner
HeroeBrine999
HeroeBrine999 avatar
This looks amazing!
1
05/03/2023 6:26 pm
Level 67 : High Grandmaster Programmer
KawaMood
KawaMood avatar
Thanks!
1
04/30/2023 2:50 pm
Level 1 : New Miner
Raadon
Raadon avatar
Nice pack!

The links to your webpage and your discord on the Readme are broken..

Could you DM me here so we can talk on discord?
1
04/30/2023 4:42 pmhistory
Level 67 : High Grandmaster Programmer
KawaMood
KawaMood avatar
Hi, sorry you are right, seems that I let an old invitation link. I updated the readme but will push it for the next update. Here is the link to join my Discord server. ;)
Concerning the website, yeah I don't have one yet! The domain is only used to store data packs for the mirror link and other versions. But I will add a temp page ASAP.
1
04/29/2023 2:37 pm
Level 1 : New Miner
Wasser_de_Bottle
Wasser_de_Bottle avatar
I keep getting prompted that I have new crafting recipes, for this tool rack pack and your hopper pack. I have crafted all the items once already, and that hasn't gotten rid of the notification toast.
2
04/29/2023 3:39 pmhistory
Level 67 : High Grandmaster Programmer
KawaMood
KawaMood avatar
Hi,
This is expected. The recipe is revoked for the relative advancement to be obtainable again. This is the only way we can make custom recipes with data packs. Sadly Mojang didn't provide a real way to create custom recipes outputing an item with NBT, and they said they won't add this feature.
1
04/29/2023 4:02 am
Level 30 : Artisan Toast
DragonPoika
DragonPoika avatar
The FAQ's "Do I need to install a resourcepack" mentions your other data pack Waystones
1
04/29/2023 5:54 am
Level 67 : High Grandmaster Programmer
KawaMood
KawaMood avatar
Oh yeah, thanks!
Planet Minecraft

Website

© 2010 - 2023
www.planetminecraft.com

Welcome