Qrazy Lib
🟠 Updated over a year agoPreview

🔍 Analysis
- 🏆 #659 of 2169 datapack mods in this game by downloads
📋 About This Mod
This data pack serves as a library for many Qrazy data packs and provides some helpful utils for data pack developers such as myself. ## Enchantment-driven multi-slot items Ever want to create a full-body armor set or a two-handed weapon in just one item? This pack makes it easy. Using enchantment tags, you can make a single item take up more than one slot with several different customizable functions.
Armor sets and two-handers are tied to enchantments, not to items. This means that an armor set or two-hander enchantment will function the same way when applied to any given item (although items do have to be equippable on the legs for armor sets to work).
Armor sets
To get started, create a new enchantment. For the armor set to function properly, you need to follow a couple guidelines:
- The enchantment must run the function
qrazy:armor_set/master/tickonce per tick. - The enchantment must only use the slot
legs. Armor sets are only designed to use the legs slot, and using any other slot may have unpredictable consequences.
Beyond that, you can customize the enchantment all you want. It can have any description, any supported items, any other effects, etc., as long as you comply with the guidelines above.
After you've created your enchantment, you need to decide which slots it should replace. Armor set items always go in the legs slot, and they can replace the head, chest, and/or feet slots. To make an armor set replace a slot, add it to the corresponding enchantment tag.
For the head slot: #qrazy:armor_set/replaces_slot/head (data/qrazy/tags/enchantment/armor_set/replaces_slot/head.json)
For the chest slot: #qrazy:armor_set/replaces_slot/chest (data/qrazy/tags/enchantment/armor_set/replaces_slot/chest.json)
For the feet slot: #qrazy:armor_set/replaces_slot/feet (data/qrazy/tags/enchantment/armor_set/replaces_slot/feet.json)
🚧 UNDER CONSTRUCTION 🚧
For files you can copy and paste into your own data pack and modify to your liking, download the file ```qrazy_templates.zip``` included in the downloads for versions 1. 1. 0 and above.
## Other utils
This pack also adds a few simple utils to make developers' lives easier.
### Find an entity from its UUID
Run ```function qrazy:get_uuid {input: , command: "(command to execute)"}``` to find the owner of a UUID represented as an integer array, as they are often stored in NBT (such as a mob's Owner tag). The ```command``` argument specifies the command to be executed by the entity found by the function.
Example
/function qrazy:get_uuid {input: , command: "say hi"}
### Get the name of an entity
Run ```/function qrazy:get_entity_name {output_path: "(block Example
/function qrazy:get_entity_name {output_path: "storage qrazy:foo bar.baz"}
Output in storage
qrazy:foo:
{
bar: {
baz: (the executor's name in text component form)
}
}
### Get the type of an entity
Run ```/function qrazy:get_entity_id {output_path: "(block Example
/execute as @n run function qrazy:get_entity_id {output_path: "storage qrazy:foo bar.baz"}
Output in storage
qrazy:foo:
{
bar: {
baz: "minecraft:pig"
}
}
### Get the string UUID of an entity
Run ```/function qrazy:get_string_uuid {output_path: "(block Example
/function qrazy:get_string_uuid {output_path: "storage qrazy:foo bar.baz"}
Output in storage
qrazy:foo:
{
bar: {
baz: (the executor's hex UUID or username)
}
}
### Get the position of a command's execution
Run ```function qrazy:store_position/(nbt|scoreboard) {output_path: "(block
📊 Mod Details
- Game
- Minecraft Data Packs
- Author
- KaptainQrazyKool
- Version
- 1.2.0
- Downloads
- 148
- Endorsements
- 0
- Category
- datapack
- Created
- 6/12/2025
- Updated
- 8/7/2025
- Game Versions
- 1.21.5, 1.21.6, 1.21.7, 1.21.8, 25w31a
- Tags
- library
🔧 How to Install Minecraft Data Packs Mods
Download from Modrinth. Use Prism Launcher or drop into your mods folder.
📖 Full step-by-step install guide for Minecraft Data Packs →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Data Packs commands, item IDs, and more.
❓ Frequently Asked Questions
Which Minecraft Data Packs versions does Qrazy Lib support?
The author lists 1.21.5, 1.21.6, 1.21.7, 1.21.8, 25w31a, 25w32a. Other versions may work but are untested by the author.
What is the latest version of Qrazy Lib?
Version 1.2.0, published 2025-08-07 with 148 downloads recorded at the source.
Keep browsing — more Minecraft Data Packs mods await