Data Packs Item

TaggableItems

  • Functions
  • 487 views • 5 today
  • 10 downloads • 0 today
  • 3
  • 3
Ancar
Level 26 : Expert Engineer Architect
8
Taggable Items
A Minecraft 1.21.5 datapack that allows you to tag items with custom data.

Players can add custom data to items with new triggers.

Item Data

Player UUID
When a player privatizes an item, it gets a PlayerUUID added to it. Independent from UUID.

Custom UUID
Custom UUID is assigned by player, it is a field that separates it from other items.

Checking for Item Data
Using the command:
/trigger check_item_info
You can view an item's custom data and UUIDs.

Adding Custom Data
/trigger add_custom_data
Allows players to add custom text data to held items.

Privatizing Items
/trigger privatize_item
Adds your UUID to the item, making it uniquely yours.

Clearing Custom Data
/trigger clear_item_info
Removes item UUIDs.

Installation
1. Download the datapack
2. Place it in your world's datapacks folder
3. Reload the world (/reload)

Uninstallation
1. Run /function item_tag:uninstall as op
2. Remove datapack

Patchnotes

Version 1.0
  • Initial release
  • Added item tagging system
  • Implemented custom data storage for items
  • Added PlayerUUID tracking functionality
  • Added Custom UUID assignment feature
  • Created basic commands:
    • /trigger check_item_info - View item data
    • /trigger add_custom_data - Add custom text
    • /trigger privatize_item - Add player UUID
    • /trigger clear_item_info - Clears item UUIDs

  • Added uninstallation function
  • Included basic documentation
CompatibilityMinecraft 1.21
Tags

  Have something to say?

Welcome