HeldItem - Provismet/Gimme-That-Gimmick GitHub Wiki

Describes a custom held item that can be used in battle.

Give Command

/gimme-that-gimmick give <player> held_item <item id>

File Location

data/<namespace>/gimme-that-gimmick/item/held_items/<path>.json

Fields

Field Type Default Description
item DataItem The vanilla item to build and apply data to.
showdownId String The id of the item in Showdown.

Important

Certain items, including snowballs, leeks, and bones, are already associated with a Showdown id. Cobblemon prioritises item-specific mappings over data-specific mappings.
Avoid using the aforementioned items or the showdown id will not be used.

Examples

Basic example of an item that has the leftovers effect.

{
    "item": {
        "name": "Just An Apple",
        "rarity": "uncommon",
        "tooltip": [
            "Maybe it'll leave some leftovers..."
        ],
        "vanillaItem": "minecraft:apple"
    },
    "showdownId": "leftovers"
}
⚠️ **GitHub.com Fallback** ⚠️