"description":"Planter item component. planter items are items that can be planted.",
"type":"object",
"additionalProperties":false,
"required":["block"],
"properties":{
"block":{"type":"string","description":"Set the placement block name for the planter item.","title":"Block"},
"use_on":{
"description":"List of block descriptors that contain blocks that this item can be used on. If left empty, all blocks will be allowed.",
"title":"Use On",
"type":"array",
"items":{"$ref":"#/definitions/E_use_on_item"}
}
}
},
"G":{
"title":"Cooldown",
"description":"Cool down time for a component. After you use an item it becomes unusable for the duration specified by the `cool down time` setting in this component.",
"type":"object",
"additionalProperties":false,
"required":["category","duration"],
"properties":{
"category":{"type":"string","description":"The type of cool down for this item.","title":"Category"},
"duration":{"description":"The duration of time this item will spend cooling down before becoming usable again.","title":"Duration","type":"number"}
}
},
"H":{
"title":"Digger",
"description":"Digger item. Component put on items that dig.",
"type":"object",
"additionalProperties":false,
"required":["destroy_speeds"],
"properties":{
"use_efficiency":{"title":"Use Efficiency","type":"boolean","description":"Toggles if the item will be used efficiently","default":false},
"max_durability":{"title":"Maximum Durability","description":"Maximum durability is the amount of damage that this item can take before breaking.","type":"number"}
}
},
"BA":{
"title":"Dye Powder",
"description":"Dye powder, there are 16 kinds of dye.",
"description":"When an item has a food component, it becomes edible to the player.",
"type":"object",
"additionalProperties":false,
"properties":{
"can_always_eat":{"title":"Can Always Eat","description":"If true you can always eat this item (even when not hungry), defaults to false.","type":"boolean","default":false},
"nutrition":{"title":"Nutrition","description":"How much nutrition does this food item give the player when eaten.","type":"number"},
"description":"Saturation Modifier is used in this formula: (nutrition * saturation_modifier * 2) when appling the saturation buff. Which happens when you eat the item.",
"type":"number"
},
"using_converts_to":{"title":"Using Converts To","description":"When used, convert the *this* item to the one specified by `using_converts_to`.","type":"string"}
}
},
"BD":{
"title":"Fuel",
"description":"Fuel component. Allows this item to be used as fuel in a furnace to `cook` other items.",
"type":"object",
"additionalProperties":false,
"required":["duration"],
"properties":{"duration":{"type":"number","title":"Duration","description":"How long in seconds will this fuel cook items for."}}
},
"BE":{"additionalProperties":false,"required":["texture"],"type":"boolean","title":"Hand Equipped","description":"Is this a hand equipped item."},
"BF":{
"title":"Icon",
"description":"The icon item componenent determines the icon to represent the item in the UI and elsewhere.",
"type":"object",
"additionalProperties":false,
"required":["texture"],
"properties":{
"frame":{"type":"string","title":"Frame","description":"An index or expression for which frame of the icon to display. Default resolves to 0.","default":0},
"legacy_id":{"type":"string","title":"Texture","description":"Legacy texture id for older item icons."},
"texture":{
"type":"string",
"title":"Texture",
"description":"The key from the resource_pack/textures/item_texture.json `texture_data` object associated with the texture file Example: blaze_powder."
}
}
},
"BG":{
"title":"Knockback Resistance",
"description":"Knockback Resistance Item. Component put on items that provide knockback resistance.",
"type":"object",
"additionalProperties":false,
"required":["protection"],
"properties":{"protection":{"title":"Protection","description":"Amount of knockback resistance provided with the total maximum protection being 1.0","type":"number"}}
"description":"Projectile item component. projectile items shoot out, like an arrow.",
"type":"object",
"additionalProperties":false,
"required":["projectile_entity"],
"properties":{
"minimum_critical_power":{"type":"number","title":"Minimum Critical Power","description":"How long you must charge a projectile for it to critically hit."},
"projectile_entity":{"title":"Projectile Entity","description":"The entity to be fired as a projectile.","type":"string"}
"use_in_creative":{"title":"Use In Creative","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"boolean"}
}
}
},
"charge_on_draw":{"title":"Charge On Draw","description":"Charge on draw? Default is set to false.","default":false,"type":"boolean"},
"launch_power_scale":{"title":"Launch Power Scale","description":"Launch power scale. Default is set to 1.0.","default":1.0,"type":"number"},
"max_draw_duration":{"title":"Maximum Draw Duration","description":"Draw Duration. Default is set to 0.","default":0,"type":"number"},
"max_launch_power":{"title":"Maximum Launch Power","description":"Launch power. Default is set to 1.0.","default":0,"type":"number"},
"scale_power_by_draw_duration":{"title":"Scale Power By Draw Duration","description":"Scale power by draw duration? Default is set to false.","default":false,"type":"boolean"}
}
},
"CF":{
"title":"Throwable",
"description":"Throwable item component. Throwable items, such as a snowball.",
"type":"object",
"additionalProperties":false,
"properties":{
"do_swing_animation":{
"title":"Do Swing Animation",
"description":"Whether the item should use the swing animation when thrown. Default is set to false.",
"default":false,
"type":"boolean"
},
"launch_power_scale":{"title":"Launch Power Scale","description":"The scale at which the power of the throw increases. Default is set to 1.0.","default":1.0,"type":"number"},
"max_draw_duration":{"title":"Maximum Draw Duration","description":"The maximum duration to draw a throwable item. Default is set to 0.0.","default":0,"type":"number"},
"min_draw_duration":{"title":"Minimum Draw Duration","description":"The minimum duration to draw a throwable item. Default is set to 0.0.","default":0,"type":"number"},
"max_launch_power":{"title":"Maximum Launch Power","description":"The maximum power to launch the throwable item. Default is set to 1.0.","default":1.0,"type":"number"},
"scale_power_by_draw_duration":{
"title":"Scale Power By Draw Duration",
"description":"Whether or not the power of the throw increases with duration charged. Default is set to false.",
"default":false,
"type":"boolean"
}
}
},
"CG":{"additionalProperties":false,"required":["texture"],"type":"integer","title":"Use Duration","description":"How long to use before item is done being used."},
"CH":{
"title":"Weapon",
"description":"Weapon Item Component. Added to every weapon item such as axe, sword, trident, bow, crossbow.",
"type":"object",
"additionalProperties":false,
"properties":{
"on_hit_block":{
"title":"On Hit Block",
"description":"Trigger for letting you know when this item is used to hit a block",
"description":"The identifier for this item. The name must include a namespace and must not use the Minecraft namespace unless overriding a Vanilla item.",
"$ref":"#/definitions/C"
},
"category":{
"type":"string",
"default":"",
"description":"The category for this item. Categories are used to control high level properties of how the item is integrated into the bedrock engine, such as whether it can be used in slash commands.",