forked from Blockception/Minecraft-bedrock-json-schemas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
items.json
1 lines (1 loc) · 63.3 KB
/
items.json
1
{"$id":"blockception.minecraft.behavior.items","examples":[{"format_version":"1.16.200","minecraft:item":{"description":{"identifier":"namespace:item"},"components":{}}}],"allOf":[{"if":{"properties":{"format_version":{"type":"string","const":"1.10"}}},"then":{"$ref":"#/definitions/A"}},{"if":{"properties":{"format_version":{"type":"string","const":"1.10.0"}}},"then":{"$ref":"#/definitions/A"}},{"if":{"properties":{"format_version":{"type":"string","const":"1.14"}}},"then":{"$ref":"#/definitions/E"}},{"if":{"properties":{"format_version":{"type":"string","const":"1.14.0"}}},"then":{"$ref":"#/definitions/E"}},{"if":{"properties":{"format_version":{"type":"string","const":"1.16"}}},"then":{"$ref":"#/definitions/F"}},{"if":{"properties":{"format_version":{"type":"string","const":"1.16.0"}}},"then":{"$ref":"#/definitions/F"}},{"if":{"properties":{"format_version":{"type":"string","const":"1.16.100"}}},"then":{"$ref":"#/definitions/G"}},{"if":{"properties":{"format_version":{"type":"string","const":"1.16.200"}}},"then":{"$ref":"#/definitions/DJ"}},{"properties":{"format_version":{"$ref":"#/definitions/HA"}}}],"definitions":{"B":{"type":"string","title":"Item Identifier","description":"A minecraft item identifier","pattern":"^[0-9a-zA-Z:_\\-\\.]+$"},"C":{"type":"array","title":"Array Of 3 Items","description":"An array of 3 numbers","items":[{"type":"number","description":"An number","title":"X"},{"type":"number","description":"An number","title":"Y"},{"type":"number","description":"An number","title":"Z"}]},"D":{"type":"string","title":"Block Name","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"},"A":{"description":"Minecraft items 1.10.0","required":["format_version","minecraft:item"],"title":"Item","type":"object","properties":{"format_version":{"title":"1.10.0 Format Version","type":"string","pattern":"^1.10.0$","description":"A version that tells minecraft what type of data format can be expected when reading this file."},"minecraft:item":{"additionalProperties":false,"required":["description"],"type":"object","title":"Item","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","properties":{"description":{"additionalProperties":false,"type":"object","properties":{"identifier":{"title":"Identifier","type":"string","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","$ref":"#/definitions/B"}}},"components":{"additionalProperties":false,"type":"object","description":"The components of this item","properties":{"minecraft:camera":{"type":"object","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Minecraft Camera","properties":{"black_bars_duration":{"type":"number","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Black Bars Duration"},"black_bars_screen_ratio":{"type":"number","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Black Bars Screen Ratio"},"shutter_duration":{"type":"number","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Shutter Duration"},"picture_duration":{"type":"number","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Picture Duration"},"slide_away_duration":{"type":"number","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Slide Away Duration"}}},"minecraft:max_damage":{"type":"integer","description":"Maximum damage item has, this is used like item Maximum health."},"minecraft:hand_equipped":{"type":"boolean","title":"Hand Equipped","description":"Is this a hand equipped item."},"minecraft:stacked_by_data":{"type":"boolean","description":"Stacked by data aux value or not?"},"minecraft:foil":{"type":"boolean","description":"Foil or glint."},"minecraft:block":{"type":"string","description":"Block name, leave blank for no block."},"minecraft:max_stack_size":{"type":"integer","description":"Maximum stack size.","minimum":0},"minecraft:use_duration":{"type":"integer","description":"How long to use before item is done being used."},"minecraft:food":{"type":"object","description":"Food settings of the item","properties":{"nutrition":{"type":"integer","description":"Nutrition amount."},"saturation_modifier":{"type":"string","description":"Choose: poor, low, normal, good, max, supernatural.","enum":["poor","low","normal","good","max","supernatural"]},"using_converts_to":{"type":"string","description":"After using, item converts it to this item.","$ref":"#/definitions/B"},"on_use_action":{"type":"string","description":"'chorus_teleport` or `none`.","enum":["chorus_teleport","suspicious_stew_effect","none"]},"on_use_range":{"$ref":"#/definitions/C"},"cooldown_type":{"type":"string","description":"'chorusfruit` or `none`.","enum":["chorusfruit","none"]},"cooldown_time":{"type":"integer","description":"Cooldown time in ticks."},"can_always_eat":{"type":"boolean","description":"Can always eat this item? true or false."},"effects":{"type":"array","items":{"additionalProperties":false,"type":"object","properties":{"name":{"type":"string","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Name"},"chance":{"type":"number","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Chance"},"duration":{"type":"integer","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Duration"},"amplifier":{"type":"integer","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Amplifier"}}}}}},"minecraft:seed":{"additionalProperties":false,"type":"object","properties":{"crop_result":{"type":"string"},"plant_at":{"description":"Valid blocks you can plant this item at.","oneOf":[{"type":"string","$ref":"#/definitions/D"},{"type":"array","items":{"type":"string","$ref":"#/definitions/D"}}]}}}}}}}}},"E":{"description":"Minecraft items 1.14.0","required":["format_version","minecraft:item"],"title":"Item","type":"object","properties":{"format_version":{"title":"Format Version","type":"string","description":"A version that tells minecraft what type of data format can be expected when reading this file."},"minecraft:item":{"additionalProperties":false,"required":["description"],"type":"object","title":"Item","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","properties":{"description":{"additionalProperties":false,"type":"object","title":"Description","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","properties":{"identifier":{"title":"Identifier","type":"string","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","$ref":"#/definitions/B"}}},"components":{"additionalProperties":false,"type":"object","description":"The components of this item","properties":{"minecraft:camera":{"type":"object","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Minecraft Camera","properties":{"black_bars_duration":{"type":"number","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Black Bars Duration"},"black_bars_screen_ratio":{"type":"number","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Black Bars Screen Ratio"},"shutter_duration":{"type":"number","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Shutter Duration"},"picture_duration":{"type":"number","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Picture Duration"},"slide_away_duration":{"type":"number","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Slide Away Duration"}}},"minecraft:max_damage":{"type":"integer","description":"Maximum damage item has, this is used like item Maximum health.","title":"Max Damage"},"minecraft:hand_equipped":{"type":"boolean","title":"Hand Equipped","description":"Is this a hand equipped item."},"minecraft:stacked_by_data":{"type":"boolean","description":"Stacked by data aux value or not?","title":"Stacked By Data"},"minecraft:foil":{"type":"boolean","description":"Foil or glint.","title":"Foil"},"minecraft:block":{"type":"string","description":"Block name, leave blank for no block.","title":"Block"},"minecraft:max_stack_size":{"type":"integer","description":"Maximum stack size.","title":"Max Stack Size","minimum":0},"minecraft:use_duration":{"type":"integer","description":"How long to use before item is done being used.","title":"Use Duration"},"minecraft:food":{"type":"object","description":"Food settings of the item","additionalProperties":false,"properties":{"nutrition":{"type":"integer","description":"Nutrition amount.","title":"Nutrition"},"saturation_modifier":{"type":"string","description":"Choose: `poor`, `low`, `normal`, `good`, `max`, `supernatural`.","enum":["poor","low","normal","good","max","supernatural"],"title":"Saturation Modifier"},"using_converts_to":{"type":"string","description":"After using, item converts it to this item.","title":"Using Converts To","$ref":"#/definitions/B"},"on_use_action":{"type":"string","description":"'chorus_teleport` or `none`.","title":"On Use Action","enum":["chorus_teleport","suspicious_stew_effect","none"]},"on_use_range":{"$ref":"#/definitions/C","title":"On Use Range"},"cooldown_type":{"type":"string","description":"'chorusfruit` or `none`.","title":"Cooldown Type","enum":["chorusfruit","none"]},"cooldown_time":{"type":"integer","description":"Cooldown time in ticks.","title":"Cooldown Time"},"can_always_eat":{"type":"boolean","description":"Can always eat this item? true or false.","title":"Can Always Eat"},"effects":{"type":"array","title":"Effects","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","items":{"additionalProperties":false,"type":"object","title":"Items","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","properties":{"name":{"type":"string","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Name"},"chance":{"type":"number","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Chance"},"duration":{"type":"integer","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Duration"},"amplifier":{"type":"integer","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Amplifier"}}}},"remove_effects":{"type":"array","description":"Can always eat this item? true or false.","title":"Remove Effects","items":{"type":"string","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Remove Effects"}}}},"minecraft:seed":{"additionalProperties":false,"type":"object","title":"Seed","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","properties":{"crop_result":{"type":"string","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Crop Result"},"plant_at":{"description":"Valid blocks you can plant this item at.","title":"Plant At","oneOf":[{"type":"string","$ref":"#/definitions/D"},{"type":"array","items":{"type":"string","$ref":"#/definitions/D"}}]}}}}}}}}},"F":{"description":"Minecraft items 1.16.0","required":["format_version","minecraft:item"],"title":"Item","type":"object","properties":{"format_version":{"title":"Format Version","type":"string","description":"A version that tells minecraft what type of data format can be expected when reading this file."},"minecraft:item":{"additionalProperties":false,"required":["description"],"type":"object","title":"Item","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","properties":{"description":{"additionalProperties":false,"type":"object","title":"Description","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","properties":{"identifier":{"title":"Identifier","type":"string","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/B"},"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.","title":"Category"},"is_experimental":{"type":"boolean","default":false,"description":"If this item is experimental, it will only be registered if the world is marked as experimental.","title":"Is Experimental"}}},"components":{"additionalProperties":false,"type":"object","description":"The components of this item","properties":{"minecraft:camera":{"type":"object","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Minecraft Camera","properties":{"black_bars_duration":{"type":"number","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Black Bars Duration"},"black_bars_screen_ratio":{"type":"number","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Black Bars Screen Ratio"},"shutter_duration":{"type":"number","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Shutter Duration"},"picture_duration":{"type":"number","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Picture Duration"},"slide_away_duration":{"type":"number","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Slide Away Duration"}}},"minecraft:max_damage":{"type":"integer","description":"Maximum damage item has, this is used like item Maximum health.","title":"Maximum Damage"},"minecraft:hand_equipped":{"type":"boolean","title":"Hand Equipped","description":"Is this a hand equipped item."},"minecraft:stacked_by_data":{"type":"boolean","description":"Stacked by data aux value or not?","title":"Stacked By Data"},"minecraft:foil":{"type":"boolean","description":"Foil or glint.","title":"Foil"},"minecraft:block":{"type":"string","description":"Block name, leave blank for no block.","title":"Block"},"minecraft:max_stack_size":{"type":"integer","description":"Maximum stack size.","title":"Maximum Stack Size","minimum":0},"minecraft:use_duration":{"type":"integer","description":"How long to use before item is done being used.","title":"Use Duration"},"minecraft:food":{"type":"object","description":"Food settings of the item","properties":{"nutrition":{"type":"integer","description":"Nutrition amount.","title":"Nutrition"},"saturation_modifier":{"type":"string","description":"Choose: poor, low, normal, good, max, supernatural.","title":"Saturation Modifier","enum":["poor","low","normal","good","max","supernatural"]},"using_converts_to":{"type":"string","description":"After using, item converts it to this item.","title":"Using Converts To","$ref":"#/definitions/B"},"on_use_action":{"type":"string","description":"'chorus_teleport` or `none`.","title":"On Use Action","enum":["chorus_teleport","suspicious_stew_effect","none"]},"on_use_range":{"$ref":"#/definitions/C"},"cooldown_type":{"type":"string","description":"'chorusfruit` or `none`.","title":"CoolDown Type","enum":["chorusfruit","none"]},"cooldown_time":{"type":"integer","description":"Cooldown time in ticks.","title":"Cooldown Time"},"can_always_eat":{"type":"boolean","description":"Can always eat this item? true or false.","title":"Can Alway East"},"effects":{"type":"array","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Effects","items":{"additionalProperties":false,"type":"object","properties":{"name":{"type":"string","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Name"},"chance":{"type":"number","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Chance"},"duration":{"type":"integer","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Duration"},"amplifier":{"type":"integer","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Amplifier"}}}}}},"minecraft:seed":{"additionalProperties":false,"type":"object","properties":{"crop_result":{"type":"string","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Crop Result"},"plant_at":{"description":"Valid blocks you can plant this item at.","title":"Plant At","oneOf":[{"type":"string","$ref":"#/definitions/D"},{"type":"array","items":{"type":"string","$ref":"#/definitions/D"}}]},"plant_at_any_solid_surface":{"title":"Plant At Any Solid Surface","type":"boolean","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"},"plant_at_face":{"title":"Plnat At Face","type":"string","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","enum":["DOWN","UP"]}}}}}}}}},"H":{"title":"Armor","description":"The armor item componenent determines the amount of protection you have in your armor item.","type":"object","additionalProperties":false,"required":["protection","texture_type"],"properties":{"protection":{"type":"number","description":"How much protection does the armor item have.","title":"Protection"},"texture_type":{"type":"string","default":"","description":"Texture Type to apply for the armor. Note that Horse armor is restricted to leather, iron, gold, or diamond.","title":"Texture Type"}}},"I_use_on_item":{"type":"object","title":"Allowed Block","description":"A block descriptor that allows to be placed","properties":{"tags":{"title":"Tags","description":"Tags","$ref":"#/definitions/J"}}},"J":{"type":"string","title":"Molang","description":"Molang definition","format":"molang","examples":["query.variant"]},"I":{"title":"Block Placer","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":"Protection"},"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/I_use_on_item"}}}},"BA":{"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"}}},"BB":{"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":"Use efficiency? Default is set to false.","default":"false"},"destroy_speeds":{"type":"array","title":"Destroy Speeds","description":"Destroy speed per block.","items":{"title":"Destroy Speed","description":"Destroy speed per block.","type":"object","additionalProperties":false,"properties":{"speed":{"title":"Speed","description":"Speed","type":"number"},"on_dig":{"type":"string","title":"On Dig","description":"Trigger for when you dig a block that isn't listed in destroy_speeds"},"block":{"title":"Block","oneOf":[{"type":"string","description":"The block identifier"},{"type":"object","additionalProperties":false,"description":"Block descriptor","properties":{"any_tag":{"type":"array","title":"Any Block Tag","description":"The block tag","items":{"type":"string","title":"Block Tag"}}}}]}}}}}},"BC":{"title":"Display Name","description":"Display Name item component. Display Names display the name of an item.","type":"object","additionalProperties":false,"required":["value"],"properties":{"value":{"type":"string","title":"Value","description":"Set the display name for an item."}}},"BD":{"title":"Durability","description":"Durability item component: how much damage can this item take before breaking.","type":"object","additionalProperties":false,"required":["damage_chance"],"properties":{"damage_chance":{"type":"object","title":"Damange Chance","description":"Damange chance","additionalProperties":false,"required":["min","max"],"properties":{"min":{"title":"Min","type":"integer","description":"The minimum"},"max":{"title":"Max","type":"integer","description":"The minimum"}}},"max_durability":{"title":"Maximum Durability","description":"Maximum durability is the amount of damage that this item can take before breaking.","type":"number"}}},"BE":{"title":"Dye Powder","description":"Dye powder, there are 16 kinds of dye.","type":"object","additionalProperties":false,"required":["color"],"properties":{"color":{"type":"string","title":"Color","description":"Defines what color the dye is.","enum":["brown","white","black","blue","cyan","gray","green","lightblue","silver","lime","magenta","pink","purple","red","yellow"]}}},"BF":{"title":"Entity Placer","description":"Entity placer item component. You can specifiy allowed blocks that the item is restricted to.","type":"object","additionalProperties":false,"required":["entity"],"properties":{"entity":{"type":"string","title":"Entity","description":"The entity to be placed in the world."},"dispense_on":{"type":"array","title":"Dispense On","description":"List of block descriptors that contain blocks that this item can be dispensed on. If left empty, all blocks will be allowed.","items":{"title":"Dispense On","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"}},"use_on":{"type":"array","title":"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.","items":{"title":"Use On","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"}}}},"BG":{"title":"Food","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"},"on_consume":{"title":"On Consume","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"event":{"type":"string","title":"UNDOCUMENTED","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"},"target":{"type":"string","title":"UNDOCUMENTED","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","enum":["self"]}}},"saturation_modifier":{"title":"Saturation Modifier","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"}}},"BH":{"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."}}},"BI":{"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."}}},"BJ":{"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"}}},"CA":{"title":"On Use","description":"The on_use item component allows you to receive an event when the item is used.","type":"object","additionalProperties":false,"required":["on_use"],"properties":{"on_use":{"title":"On Use","description":"Event trigger for when the item is used.","type":"object","additionalProperties":false,"properties":{"event":{"type":"string","title":"UNDOCUMENTED","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"},"target":{"type":"string","title":"UNDOCUMENTED","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","enum":["self"]}}}}},"CB":{"title":"On Use On","description":"The on_use_on item component allows you to receive an event when the item is used on a block in the world.","type":"object","additionalProperties":false,"required":["on_use_on"],"properties":{"on_use":{"title":"On Use","description":"Event trigger for when the item is used.","type":"object","additionalProperties":false,"properties":{"event":{"type":"string","title":"UNDOCUMENTED","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"},"target":{"type":"string","title":"UNDOCUMENTED","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","enum":["block"]}}}}},"CC":{"title":"Projectile","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"}}},"CE":{"title":"Molang Number","description":"The minecraft molang definition that results in a float","anyOf":[{"type":"string","minLength":0},{"type":"number"}],"examples":[0,"query.variant"]},"CD":{"title":"Repairable","description":"Repairable item component: how much damage can this item repair, what items can repair it.","type":"object","additionalProperties":false,"properties":{"on_repaired":{"title":"On Repaired","description":"Event that is called when this item has been repaired.","type":"object"},"repair_items":{"title":"Repair Items","description":"Repair item entries.","type":"array","items":{"type":"object","title":"UNDOCUMENTED","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","additionalProperties":false,"properties":{"items":{"title":"Items","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"array","items":{"type":"string","title":"Item","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"}},"repair_amount":{"title":"Repair Amount","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","$ref":"#/definitions/CE"}}}}}},"CF_offset_spec":{"type":"object","title":"Offset","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","additionalProperties":false,"properties":{"first_person":{"title":"First Person","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","$ref":"#/definitions/CF_mode"},"thrid_person":{"title":"Thrid Person","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","$ref":"#/definitions/CF_mode"}}},"CF_mode":{"type":"object","title":"Mode","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","additionalProperties":false,"properties":{"position":{"title":"Position","description":"The position transformation","$ref":"#/definitions/CF_vec3"},"rotation":{"title":"Rotation","description":"The rotation transformation","$ref":"#/definitions/CF_vec3"},"scale":{"title":"Scale","description":"The scale transformation","$ref":"#/definitions/CF_vec3"}}},"CF_vec3":{"type":"array","title":"Vector","description":"X Y Z","items":[{"title":"X","description":"The X tranformation","type":"number"},{"title":"Y","description":"The Y tranformation","type":"number"},{"title":"Z","description":"The Z tranformation","type":"number"}]},"CF":{"title":"Render Offsets","description":"Render offsets component: optional values can be given to offset the way the item is rendered.","type":"object","additionalProperties":false,"properties":{"main_hand":{"title":"Main Hand","description":"Right hand transform data.","type":"string"},"off_hand":{"title":"Off Hand","description":"Left hand transform data.","type":"string"}}},"CG":{"title":"Shooter","description":"Shooter Item Component.","type":"object","additionalProperties":false,"properties":{"ammunition":{"title":"Ammunition","description":"Ammunition","type":"array","items":{"type":"object","title":"Ammunition","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","additionalProperties":false,"properties":{"item":{"title":"Item","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"string"},"use_offhand":{"title":"Use Offhand","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"boolean"},"search_inventory":{"title":"Search Inventory","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"boolean"},"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"}}},"CH":{"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"}}},"CI":{"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","type":"object","additionalProperties":false,"event":{"type":"string","title":"UNDOCUMENTED","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"},"target":{"type":"string","title":"UNDOCUMENTED","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","enum":["self"]}},"on_hurt_entity":{"title":"On Hurt Entity","description":"Trigger for letting you know when this item is used to hurt another mob","type":"object","additionalProperties":false,"event":{"type":"string","title":"UNDOCUMENTED","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"},"target":{"type":"string","title":"UNDOCUMENTED","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","enum":["self","holder"]}},"on_not_hurt_entity":{"title":"On Not Hurt Entity","description":"Trigger for letting you know when this item hit another actor, but didn't do damage","type":"object","additionalProperties":false,"event":{"type":"string","title":"UNDOCUMENTED","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"},"target":{"type":"string","title":"UNDOCUMENTED","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","enum":["self"]}}}},"CJ":{"title":"Wearable","description":"Wearable item component.","type":"object","additionalProperties":false,"properties":{"dispensable":{"title":"Dispensable","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"boolean"},"slot":{"title":"Slot","description":"equipment_slot: slot.weapon.mainhand, slot.weapon.offhand, slot.armor.head, slot.armor.chest, slot.armor.legs, slot.armor.feet, slot.hotbar, slot.inventory, slot.enderchest, slot.saddle, slot.armor, slot.chest","type":"string","enum":["slot.weapon.mainhand","slot.weapon.offhand","slot.armor.head","slot.armor.chest","slot.armor.legs","slot.armor.feet","slot.hotbar","slot.inventory","slot.enderchest","slot.saddle","slot.armor","slot.chest"]}}},"DA_event_base":{"title":"Event","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"$ref":"#/definitions/DA_event_functions","properties":{"sequence":{"title":"Sequence","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"array","items":{"title":"Sequence","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"object","$ref":"#/definitions/DA_event_functions"}},"randomize":{"title":"Randomize","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"array","items":{"title":"Randomize","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"object","$ref":"#/definitions/DA_event_functions","required":["weight"],"properties":{"weight":{"title":"Weight","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"integer","minimum":0}}}},"run_command":{"title":"Run Command","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"command":{"title":"Command","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"array","items":{"type":"string","title":"Command","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"}},"target":{"type":"string","title":"Target","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","enum":["other"]}}}}},"DA_event_functions":{"title":"Event","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"object","properties":{"add_mob_effect":{"$ref":"#/definitions/DB"},"damage":{"$ref":"#/definitions/DC"},"decrement_stack":{"$ref":"#/definitions/DD"},"remove_mob_effect":{"$ref":"#/definitions/DE"},"shoot":{"$ref":"#/definitions/DF"},"swing":{"$ref":"#/definitions/DG"},"teleport":{"$ref":"#/definitions/DH"},"transform_item":{"$ref":"#/definitions/DI"}}},"DB":{"title":"Add Mob Effect","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"effect":{"type":"string","title":"Effect","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"},"target":{"type":"string","title":"Target","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","enum":["holder"]},"duration":{"type":"number","title":"Duration","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"},"amplifier":{"type":"number","title":"Amplifier","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"}}},"DC":{"title":"Shoot","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"type":{"type":"string","title":"Type","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","enum":["magic"]},"amount":{"type":"number","title":"Amount","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"}}},"DD":{"title":"Decrement Stack","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false},"DE":{"title":"Remove Mob Effect","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"effect":{"type":"string","title":"Effect","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"},"target":{"type":"string","title":"Target","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","enum":["holder"]}}},"DF":{"title":"Shoot","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"angle_offset":{"type":"number","title":"Angle Offset","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"},"launch_power":{"type":"number","title":"Launch Power","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"},"projectile":{"type":"string","title":"Projectile","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"}}},"DG":{"title":"Swing","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false},"DH":{"title":"Teleport","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"target":{"type":"string","title":"Target","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","enum":["holder"]},"max_range":{"type":"array","title":"Maximum Range","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","items":[{"type":"number","title":"X","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"},{"type":"number","title":"Y","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"},{"type":"number","title":"Z","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"}]}}},"DI":{"title":"Transform Item","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"transform":{"title":"Transform","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"string"}}},"DA":{"title":"Events","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"object","properties":{"on_consume":{"$ref":"#/definitions/DA_event_base"}},"additionalProperties":{"$ref":"#/definitions/DA_event_base"}},"G":{"description":"Minecraft items 1.16.100","required":["format_version","minecraft:item"],"title":"Item","type":"object","properties":{"format_version":{"title":"Format Version","type":"string","description":"A version that tells minecraft what type of data format can be expected when reading this file."},"minecraft:item":{"additionalProperties":false,"required":["description"],"type":"object","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Item","properties":{"description":{"additionalProperties":false,"type":"object","title":"Description","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","properties":{"identifier":{"title":"Identifier","type":"string","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/B"},"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.","title":"Category"},"is_experimental":{"type":"boolean","default":false,"description":"If this item is experimental, it will only be registered if the world is marked as experimental.","title":"Is Experimental"}}},"components":{"additionalProperties":{"type":"object"},"type":"object","description":"The components of this item","title":"Components","properties":{"minecraft:armor":{"$ref":"#/definitions/H"},"minecraft:block_placer":{"$ref":"#/definitions/I"},"minecraft:cooldown":{"$ref":"#/definitions/BA"},"minecraft:digger":{"$ref":"#/definitions/BB"},"minecraft:display_name":{"$ref":"#/definitions/BC"},"minecraft:durability":{"$ref":"#/definitions/BD"},"minecraft:dye_powder":{"$ref":"#/definitions/BE"},"minecraft:entity_placer":{"$ref":"#/definitions/BF"},"minecraft:food":{"$ref":"#/definitions/BG"},"minecraft:fuel":{"$ref":"#/definitions/BH"},"minecraft:icon":{"$ref":"#/definitions/BI"},"minecraft:knockback_resistance":{"$ref":"#/definitions/BJ"},"minecraft:on_use":{"$ref":"#/definitions/CA"},"minecraft:on_use_on":{"$ref":"#/definitions/CB"},"minecraft:projectile":{"$ref":"#/definitions/CC"},"minecraft:repairable":{"$ref":"#/definitions/CD"},"minecraft:render_offsets":{"$ref":"#/definitions/CF"},"minecraft:shooter":{"$ref":"#/definitions/CG"},"minecraft:throwable":{"$ref":"#/definitions/CH"},"minecraft:weapon":{"$ref":"#/definitions/CI"},"minecraft:wearable":{"$ref":"#/definitions/CJ"},"minecraft:hand_equipped":{"type":"boolean","title":"Hand Equipped","description":"Is this a hand equipped item."}}},"events":{"$ref":"#/definitions/DA"}}}}},"EA":{"title":"Armor","description":"The armor item componenent determines the amount of protection you have in your armor item.","type":"object","additionalProperties":false,"required":["protection","texture_type"],"properties":{"protection":{"type":"number","description":"How much protection does the armor item have.","title":"Protection"},"texture_type":{"type":"string","default":"","description":"Texture Type to apply for the armor. Note that Horse armor is restricted to leather, iron, gold, or diamond.","title":"Texture Type"}}},"EB_use_on_item":{"type":"object","title":"Allowed Block","description":"A block descriptor that allows to be placed","properties":{"tags":{"title":"Tags","description":"Tags","$ref":"#/definitions/J"}}},"EB":{"title":"Block Placer","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":"Protection"},"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/EB_use_on_item"}}}},"EC":{"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"}}},"ED":{"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":"Use efficiency? Default is set to false.","default":"false"},"destroy_speeds":{"type":"array","title":"Destroy Speeds","description":"Destroy speed per block.","items":{"title":"Destroy Speed","description":"Destroy speed per block.","type":"object","additionalProperties":false,"properties":{"speed":{"title":"Speed","description":"Speed","type":"number"},"on_dig":{"type":"string","title":"On Dig","description":"Trigger for when you dig a block that isn't listed in destroy_speeds"},"block":{"title":"Block","oneOf":[{"type":"string","description":"The block identifier"},{"type":"object","additionalProperties":false,"description":"Block descriptor","properties":{"any_tag":{"type":"array","title":"Any Block Tag","description":"The block tag","items":{"type":"string","title":"Block Tag"}}}}]}}}}}},"EE":{"title":"Display Name","description":"Display Name item component. Display Names display the name of an item.","type":"object","additionalProperties":false,"required":["value"],"properties":{"value":{"type":"string","title":"Value","description":"Set the display name for an item."}}},"EF":{"title":"Durability","description":"Durability item component: how much damage can this item take before breaking.","type":"object","additionalProperties":false,"required":["damage_chance"],"properties":{"damage_chance":{"type":"object","title":"Damange Chance","description":"Damange chance","additionalProperties":false,"required":["min","max"],"properties":{"min":{"title":"Min","type":"integer","description":"The minimum"},"max":{"title":"Max","type":"integer","description":"The minimum"}}},"max_durability":{"title":"Maximum Durability","description":"Maximum durability is the amount of damage that this item can take before breaking.","type":"number"}}},"EG":{"title":"Dye Powder","description":"Dye powder, there are 16 kinds of dye.","type":"object","additionalProperties":false,"required":["color"],"properties":{"color":{"type":"string","title":"Color","description":"Defines what color the dye is.","enum":["brown","white","black","blue","cyan","gray","green","lightblue","silver","lime","magenta","pink","purple","red","yellow"]}}},"EH":{"title":"Entity Placer","description":"Entity placer item component. You can specifiy allowed blocks that the item is restricted to.","type":"object","additionalProperties":false,"required":["entity"],"properties":{"entity":{"type":"string","title":"Entity","description":"The entity to be placed in the world."},"dispense_on":{"type":"array","title":"Dispense On","description":"List of block descriptors that contain blocks that this item can be dispensed on. If left empty, all blocks will be allowed.","items":{"title":"Dispense On","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"}},"use_on":{"type":"array","title":"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.","items":{"title":"Use On","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"}}}},"EI":{"title":"Food","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"},"on_consume":{"title":"On Consume","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"event":{"type":"string","title":"UNDOCUMENTED","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"},"target":{"type":"string","title":"UNDOCUMENTED","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","enum":["self"]}}},"saturation_modifier":{"title":"Saturation Modifier","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"}}},"EJ":{"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."}}},"FA":{"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."}}},"FB":{"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"}}},"FC":{"title":"On Use","description":"The on_use item component allows you to receive an event when the item is used.","type":"object","additionalProperties":false,"required":["on_use"],"properties":{"on_use":{"title":"On Use","description":"Event trigger for when the item is used.","type":"object","additionalProperties":false,"properties":{"event":{"type":"string","title":"UNDOCUMENTED","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"},"target":{"type":"string","title":"UNDOCUMENTED","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","enum":["self"]}}}}},"FD":{"title":"On Use On","description":"The on_use_on item component allows you to receive an event when the item is used on a block in the world.","type":"object","additionalProperties":false,"required":["on_use_on"],"properties":{"on_use":{"title":"On Use","description":"Event trigger for when the item is used.","type":"object","additionalProperties":false,"properties":{"event":{"type":"string","title":"UNDOCUMENTED","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"},"target":{"type":"string","title":"UNDOCUMENTED","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","enum":["block"]}}}}},"FE":{"title":"Projectile","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"}}},"FF":{"title":"Repairable","description":"Repairable item component: how much damage can this item repair, what items can repair it.","type":"object","additionalProperties":false,"properties":{"on_repaired":{"title":"On Repaired","description":"Event that is called when this item has been repaired.","type":"object"},"repair_items":{"title":"Repair Items","description":"Repair item entries.","type":"array","items":{"type":"object","title":"UNDOCUMENTED","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","additionalProperties":false,"properties":{"items":{"title":"Items","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"array","items":{"type":"string","title":"Item","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"}},"repair_amount":{"title":"Repair Amount","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","$ref":"#/definitions/CE"}}}}}},"FG_offset_spec":{"type":"object","title":"Offset","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","additionalProperties":false,"properties":{"first_person":{"title":"First Person","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","$ref":"#/definitions/FG_mode"},"thrid_person":{"title":"Thrid Person","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","$ref":"#/definitions/FG_mode"}}},"FG_mode":{"type":"object","title":"Mode","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","additionalProperties":false,"properties":{"position":{"title":"Position","description":"The position transformation","$ref":"#/definitions/FG_vec3"},"rotation":{"title":"Rotation","description":"The rotation transformation","$ref":"#/definitions/FG_vec3"},"scale":{"title":"Scale","description":"The scale transformation","$ref":"#/definitions/FG_vec3"}}},"FG_vec3":{"type":"array","title":"Vector","description":"X Y Z","items":[{"title":"X","description":"The X tranformation","type":"number"},{"title":"Y","description":"The Y tranformation","type":"number"},{"title":"Z","description":"The Z tranformation","type":"number"}]},"FG":{"title":"Render Offsets","description":"Render offsets component: optional values can be given to offset the way the item is rendered.","type":"object","additionalProperties":false,"properties":{"main_hand":{"title":"Main Hand","description":"Right hand transform data.","type":"string"},"off_hand":{"title":"Off Hand","description":"Left hand transform data.","type":"string"}}},"FH":{"title":"Shooter","description":"Shooter Item Component.","type":"object","additionalProperties":false,"properties":{"ammunition":{"title":"Ammunition","description":"Ammunition","type":"array","items":{"type":"object","title":"Ammunition","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","additionalProperties":false,"properties":{"item":{"title":"Item","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"string"},"use_offhand":{"title":"Use Offhand","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"boolean"},"search_inventory":{"title":"Search Inventory","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"boolean"},"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"}}},"FI":{"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"}}},"FJ":{"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","type":"object","additionalProperties":false,"event":{"type":"string","title":"UNDOCUMENTED","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"},"target":{"type":"string","title":"UNDOCUMENTED","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","enum":["self"]}},"on_hurt_entity":{"title":"On Hurt Entity","description":"Trigger for letting you know when this item is used to hurt another mob","type":"object","additionalProperties":false,"event":{"type":"string","title":"UNDOCUMENTED","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"},"target":{"type":"string","title":"UNDOCUMENTED","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","enum":["self","holder"]}},"on_not_hurt_entity":{"title":"On Not Hurt Entity","description":"Trigger for letting you know when this item hit another actor, but didn't do damage","type":"object","additionalProperties":false,"event":{"type":"string","title":"UNDOCUMENTED","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"},"target":{"type":"string","title":"UNDOCUMENTED","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","enum":["self"]}}}},"GA":{"title":"Wearable","description":"Wearable item component.","type":"object","additionalProperties":false,"properties":{"dispensable":{"title":"Dispensable","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"boolean"},"slot":{"title":"Slot","description":"equipment_slot: slot.weapon.mainhand, slot.weapon.offhand, slot.armor.head, slot.armor.chest, slot.armor.legs, slot.armor.feet, slot.hotbar, slot.inventory, slot.enderchest, slot.saddle, slot.armor, slot.chest","type":"string","enum":["slot.weapon.mainhand","slot.weapon.offhand","slot.armor.head","slot.armor.chest","slot.armor.legs","slot.armor.feet","slot.hotbar","slot.inventory","slot.enderchest","slot.saddle","slot.armor","slot.chest"]}}},"GB_event_base":{"title":"Event","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"$ref":"#/definitions/GB_event_functions","properties":{"sequence":{"title":"Sequence","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"array","items":{"title":"Sequence","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"object","$ref":"#/definitions/GB_event_functions"}},"randomize":{"title":"Randomize","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"array","items":{"title":"Randomize","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"object","$ref":"#/definitions/GB_event_functions","required":["weight"],"properties":{"weight":{"title":"Weight","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"integer","minimum":0}}}},"run_command":{"title":"Run Command","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"command":{"title":"Command","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"array","items":{"type":"string","title":"Command","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"}},"target":{"type":"string","title":"Target","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","enum":["other"]}}}}},"GB_event_functions":{"title":"Event","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"object","properties":{"add_mob_effect":{"$ref":"#/definitions/GC"},"damage":{"$ref":"#/definitions/GD"},"decrement_stack":{"$ref":"#/definitions/GE"},"remove_mob_effect":{"$ref":"#/definitions/GF"},"shoot":{"$ref":"#/definitions/GG"},"swing":{"$ref":"#/definitions/GH"},"teleport":{"$ref":"#/definitions/GI"},"transform_item":{"$ref":"#/definitions/GJ"}}},"GC":{"title":"Add Mob Effect","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"effect":{"type":"string","title":"Effect","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"},"target":{"type":"string","title":"Target","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","enum":["holder"]},"duration":{"type":"number","title":"Duration","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"},"amplifier":{"type":"number","title":"Amplifier","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"}}},"GD":{"title":"Shoot","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"type":{"type":"string","title":"Type","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","enum":["magic"]},"amount":{"type":"number","title":"Amount","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"}}},"GE":{"title":"Decrement Stack","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false},"GF":{"title":"Remove Mob Effect","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"effect":{"type":"string","title":"Effect","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"},"target":{"type":"string","title":"Target","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","enum":["holder"]}}},"GG":{"title":"Shoot","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"angle_offset":{"type":"number","title":"Angle Offset","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"},"launch_power":{"type":"number","title":"Launch Power","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"},"projectile":{"type":"string","title":"Projectile","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"}}},"GH":{"title":"Swing","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false},"GI":{"title":"Teleport","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"target":{"type":"string","title":"Target","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","enum":["holder"]},"max_range":{"type":"array","title":"Maximum Range","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","items":[{"type":"number","title":"X","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"},{"type":"number","title":"Y","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"},{"type":"number","title":"Z","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"}]}}},"GJ":{"title":"Transform Item","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"transform":{"title":"Transform","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"string"}}},"GB":{"title":"Events","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"object","properties":{"on_consume":{"$ref":"#/definitions/GB_event_base"}},"additionalProperties":{"$ref":"#/definitions/GB_event_base"}},"DJ":{"description":"Minecraft items 1.16.200","required":["format_version","minecraft:item"],"title":"Item","type":"object","properties":{"format_version":{"title":"Format Version","type":"string","description":"A version that tells minecraft what type of data format can be expected when reading this file."},"minecraft:item":{"additionalProperties":false,"required":["description"],"type":"object","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Item","properties":{"description":{"additionalProperties":false,"type":"object","title":"Description","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","properties":{"identifier":{"title":"Identifier","type":"string","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/B"},"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.","title":"Category"},"is_experimental":{"type":"boolean","default":false,"description":"If this item is experimental, it will only be registered if the world is marked as experimental.","title":"Is Experimental"}}},"components":{"additionalProperties":{"type":"object"},"type":"object","description":"The components of this item","properties":{"minecraft:armor":{"$ref":"#/definitions/EA"},"minecraft:block_placer":{"$ref":"#/definitions/EB"},"minecraft:cooldown":{"$ref":"#/definitions/EC"},"minecraft:digger":{"$ref":"#/definitions/ED"},"minecraft:display_name":{"$ref":"#/definitions/EE"},"minecraft:durability":{"$ref":"#/definitions/EF"},"minecraft:dye_powder":{"$ref":"#/definitions/EG"},"minecraft:entity_placer":{"$ref":"#/definitions/EH"},"minecraft:food":{"$ref":"#/definitions/EI"},"minecraft:fuel":{"$ref":"#/definitions/EJ"},"minecraft:icon":{"$ref":"#/definitions/FA"},"minecraft:knockback_resistance":{"$ref":"#/definitions/FB"},"minecraft:on_use":{"$ref":"#/definitions/FC"},"minecraft:on_use_on":{"$ref":"#/definitions/FD"},"minecraft:projectile":{"$ref":"#/definitions/FE"},"minecraft:repairable":{"$ref":"#/definitions/FF"},"minecraft:render_offsets":{"$ref":"#/definitions/FG"},"minecraft:shooter":{"$ref":"#/definitions/FH"},"minecraft:throwable":{"$ref":"#/definitions/FI"},"minecraft:weapon":{"$ref":"#/definitions/FJ"},"minecraft:wearable":{"$ref":"#/definitions/GA"},"minecraft:hand_equipped":{"type":"boolean","title":"Hand Equipped","description":"Is this a hand equipped item."}}},"events":{"$ref":"#/definitions/GB"}}}}},"HA":{"title":"Format Version","description":"A version that tells minecraft what type of data format can be expected when reading this file.","pattern":"^(1)\\.([0-9]+)\\.([0-9]+)$","type":"string"}}}