Datapack Items

Create fully data driven items via data folder

Datapack Items

As a datapack creator, I’ve always wanted the ability to create real Minecraft items using nothing more than the data folder and a simple JSON file. Minecraft already provides an incredibly powerful component system, so being unable to create custom items directly from datapacks has always felt like a major limitation.

Datapack Items is my small “protest” toward Mojang: a library that brings this functionality to Minecraft now, while hoping that something similar is eventually added to vanilla.

The mod allows datapacks to define real items using:

data/<namespace>/items/<id>.json

Each item is registered with its own namespace and can be obtained with /give. Items support Minecraft’s native data components, including custom names, models, rarity, stack size, consumable behavior, equipment properties, and more. Components from other mods can also be used dynamically, as long as they are available during loading.

Items can be assigned to one or multiple Creative Mode tabs, or left without a tab if no valid category is specified. The default value is minecraft:building_blocks.

Datapack Items is designed as a library for datapack creators and mod developers who want to add custom items without writing Java code or creating traditional item registration systems.

It supports regular datapacks, global datapacks, and datapacks injected through tools such as Prism Launcher.

Creative tabs examples:
minecraft:building_blocks
minecraft:colored_blocks
minecraft:natural_blocks
minecraft:combat

The Datapack Items Team

profile avatar
Owner
  • 2
    Followers
  • 3
    Projects
  • 11.4K
    Downloads

More from LJaredP