Minecraft has a lot of blocks, but what if they had more? Why do we need them? Please don't just add lists of things - these will be marked as spam and removed! Also, no furniture, guns, or vertical/"sideways"/"upright"/"standing" slabs (yes, we see you).

14

Dummy Item

1 Comments

Please sign in to leave a comment.

Sorted by oldest
  • 1
    Registered User commented
    Comment actions Permalink

    I really like this idea and was actually about to post it too!
    This would basicly act as a "baseplate" for custom items, Also would be good to have for survival oriented datapacks (custom weapons or tools that dont replace current items)

    So i have worked it out as an actual item a bit!

    The full give command with its specific nbt tag could work like this!

    /give @s Dummy{DummyData:[overrides:"minecraft:bow",value:0,max_durability:340],display:{Name:{"text":"Example Item","italic":false]}} 1

    The overrides tag would take the events from a specific item say a bow and apply it onto the custom item
    "minecraft:empty" can be used for custom resources (defaults to empty without the override tag)
    "minecraft:click" would be used to get click input (used with the used:dummy scoreboard)

    The "value" tag would be used for function specific values, Like food saturation or the path to a function.

    Example Tags could be:

    1. "minecraft:helmet" for a helmet item, (Item attributes would apply for adding armor)
    2. "minecraft:food" for a food item, (could also take the max durability tag and remove one from it, giving a multi-use food item)
      [overrides:"minecraft:food",value:2,max_durability:4]
    3. "minecraft:function" would trigger a function (not sure if minecraft can support syntax for 2 different type values int/string but there's other options too)
      [overrides:"minecraft:function",value:"pack:testfunc",max_durability:20]