Discuss Minecraft's scripting and modding capabilities, including APIs, tools, customization, automation, and creator workflows. Share ideas and feedback on how players and creators can extend and customize Minecraft.

42

Custom Items in Datapacks

7 Comments

Post a new comment:

Please sign in to leave a comment.

Sorted by oldest
  • 3
    Registered User commented
    Comment actions Permalink

    I would create a sculk blade when that and the other deep dark caves features come out.

  • 4
    Registered User commented
    Comment actions Permalink

    This would make datapacks amazing

  • 5
    Registered User commented
    Comment actions Permalink

    I literally came to this website just to beg for this! We already have to call items in recipes etc with "minecraft:item," we might as well be able to do "datapack:item!" Just give us a JSON format where we can add custom properties to a base item, that would be enough!!!

    Eg:

    "base": "minecraft:item",
    "name": "name",
    "texture": "path/to/file"

    and whatever with custom properties

    Or even like

    "base": "minecraft:item",
    "properties": {
    "name": "name"
    }

    or something?

  • 2
    Registered User commented
    Comment actions Permalink

    YES PLEASE

  • 1
    Registered User commented
    Comment actions Permalink
    {
    "type": "item/block/crafting_table"
    "base": "diamond_sword",
    "model": "ultra_sword",
    "function": "MyNamespace:UltraAttack"
    }

    Please add this feature, it would be really cool, to make custom items much easily, instead of using carrots and sticks.

    The "function" could be any mcfunction, activated with a right-click.

     

     

  • 1
    Registered User commented
    Comment actions Permalink

    even a restricted implementation of this idea would be so great.

    with complex items it's currently a huge task to work with custom items that have a lot of nbt data:

    • custom books
    • enchanted items
    • custom potions
    • custom spawneggs

    maybe it could be implemented like the custom dimensions so that we only can work with the parameters that Minecraft uses.

  • 1
    Registered User commented
    Comment actions Permalink

    This seems even more plausible now, since so much functionality is being added to components. You could create a .json file that has all the default components for your theoretical item, including the item model data for custom textures.