diff --git a/behavior/items/items.json b/behavior/items/items.json index d5faf379..369c3dc7 100644 --- a/behavior/items/items.json +++ b/behavior/items/items.json @@ -1 +1 @@ -{"$id":"blockception.minecraft.behavior.items","description":"Minecraft items","required":["format_version","minecraft:item"],"title":"Item","type":"object","properties":{"format_version":{"$ref":"#/definitions/A"},"minecraft:item":{"$ref":"#/definitions/B"}},"definitions":{"A":{"title":"Format Version","description":"A version that tells minecraft what type of data format can be expected when reading this file.","pattern":"^([1-9]+)\\.([0-9]+)\\.([0-9]+)$","type":"string","default":"1.20.41","examples":["1.20.41","1.19.0","1.18.0","1.17.0","1.16.0","1.15.0","1.14.0","1.13.0","1.12.0","1.10.0","1.8.0"],"defaultSnippets":[{"label":"New Format version","body":"1.${1|8,10,12,17,18,19,20|}.${3|2|0|}"}]},"C":{"description":"A minecraft item identifier.","pattern":"^[0-9a-zA-Z:_\\-\\.]+$","title":"Item Identifier","type":"string","defaultSnippets":[{"label":"New Identifier","body":"$1:$2"}]},"D":{"type":"string","title":"Item Group","description":"A translation string of an existing group in minecraft to group this block/item under","enum":["itemGroup.name.anvil","itemGroup.name.arrow","itemGroup.name.axe","itemGroup.name.banner","itemGroup.name.banner_pattern","itemGroup.name.bed","itemGroup.name.boat","itemGroup.name.boots","itemGroup.name.buttons","itemGroup.name.candles","itemGroup.name.chalkboard","itemGroup.name.chest","itemGroup.name.chestboat","itemGroup.name.chestplate","itemGroup.name.concrete","itemGroup.name.concretePowder","itemGroup.name.cookedFood","itemGroup.name.copper","itemGroup.name.coral","itemGroup.name.coral_decorations","itemGroup.name.crop","itemGroup.name.door","itemGroup.name.dye","itemGroup.name.enchantedBook","itemGroup.name.fence","itemGroup.name.fenceGate","itemGroup.name.firework","itemGroup.name.fireworkStars","itemGroup.name.flower","itemGroup.name.glass","itemGroup.name.glassPane","itemGroup.name.glazedTerracotta","itemGroup.name.goatHorn","itemGroup.name.grass","itemGroup.name.hanging_sign","itemGroup.name.helmet","itemGroup.name.hoe","itemGroup.name.horseArmor","itemGroup.name.leaves","itemGroup.name.leggings","itemGroup.name.lingeringPotion","itemGroup.name.log","itemGroup.name.minecart","itemGroup.name.miscFood","itemGroup.name.mobEgg","itemGroup.name.monsterStoneEgg","itemGroup.name.mushroom","itemGroup.name.netherWartBlock","itemGroup.name.ore","itemGroup.name.permission","itemGroup.name.pickaxe","itemGroup.name.planks","itemGroup.name.potion","itemGroup.name.potterySherds","itemGroup.name.pressurePlate","itemGroup.name.rail","itemGroup.name.rawFood","itemGroup.name.record","itemGroup.name.sandstone","itemGroup.name.sapling","itemGroup.name.sculk","itemGroup.name.seed","itemGroup.name.shovel","itemGroup.name.shulkerBox","itemGroup.name.sign","itemGroup.name.skull","itemGroup.name.slab","itemGroup.name.smithing_templates","itemGroup.name.splashPotion","itemGroup.name.stainedClay","itemGroup.name.stairs","itemGroup.name.stone","itemGroup.name.stoneBrick","itemGroup.name.sword","itemGroup.name.trapdoor","itemGroup.name.walls","itemGroup.name.wood","itemGroup.name.wool","itemGroup.name.woolCarpet"]},"E":{"type":"string","title":"Category","description":"Determines which category this block/item will be placed under in the inventory and crafting table container screens.","enum":["nature","construction","items","equipment","none","commands"]},"F":{"additionalProperties":false,"type":"object","title":"Allow Off Hand","description":"The allow off hand component determines whether the item can be placed in the off hand slot of the inventory.","required":["value"],"properties":{"value":{"type":"boolean","title":"Value","description":"Whether the item can be placed in the off hand slot"}},"examples":[{"value":true}]},"G_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/H"}}},"H":{"type":"string","title":"Molang","description":"Molang definition.","format":"molang","examples":["query.variant","(1.0)","query.","variable.=;"],"defaultSnippets":[{"label":"New Molang","body":"$1"}]},"G":{"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":"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/G_use_on_item"}}}},"I":{"additionalProperties":false,"type":"object","title":"Can Destroy In Creative","description":"The can destroy in creative component determines if the item will break blocks in creative when swinging.","required":["value"],"properties":{"value":{"type":"boolean","title":"Value","description":"Whether the item can destroy blocks while in creative"}},"examples":[{"value":false}]},"J":{"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"}},"examples":[{"category":"attack","duration":0.2}]},"BA":{"additionalProperties":false,"type":"object","title":"Damage","description":"The damage component determines how much extra damage the item does on attack.","required":["value"],"properties":{"value":{"type":"number","title":"Value","description":"How much extra damage the item does, must be a positive number.","minimum":1}},"examples":[{"value":7}]},"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":"Toggles if the item will be used efficiently.","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","type":"number"},"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."}},"examples":[{"value":"secret_weapon"}]},"BD":{"title":"Durability","description":"Durability item component: how much damage can this item take before breaking.","type":"object","additionalProperties":false,"required":["max_durability"],"properties":{"damage_chance":{"type":"object","title":"Damage Chance","description":"Damage chance.","additionalProperties":false,"required":["min","max"],"properties":{"min":{"title":"Min","type":"integer","description":"The minimum."},"max":{"title":"Max","type":"integer","description":"The maximum."}}},"max_durability":{"title":"Maximum Durability","description":"Maximum durability is the amount of damage that this item can take before breaking.","type":"integer","minimum":0}},"examples":[{"damage_chance":{"min":10,"max":50},"max_durability":36}]},"BE":{"title":"Enchantable","description":"The enchantable component determines what enchantments can be applied to the item.","type":"object","additionalProperties":false,"required":["slot"],"properties":{"slot":{"title":"Slot","description":"If true you can always eat this item (even when not hungry), defaults to false.","enum":["axe","bow","armor_feet","armor_torso","armor_head","armor_legs","hoe","pickaxe","shovel","elytra","fishing_rod","flintsteel","sword","shears","cosmetic_head"]},"value":{"title":"Value","description":"The value of the enchantment.","type":"number","minimum":0}}},"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":"Block Descriptor","description":"Block that item can be dispensed on.","$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":"Block Descriptor","description":"Block that item can be used on","$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","default":0},"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","default":0.6},"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."}},"examples":[{"duration":3.0}]},"BI":{"additionalProperties":false,"type":"object","title":"Glint","description":"The glint component determines whether the item has the enchanted glint render effect on it","required":["value"],"properties":{"value":{"type":"boolean","title":"Value","description":"Whether the item has the glint effect."}},"examples":[{"value":true}]},"BJ":{"additionalProperties":false,"type":"object","title":"Hand Equipped","description":"This component determines if an item is rendered like a tool while in hand.","required":["value"],"properties":{"value":{"type":"boolean","title":"Value","description":"If the item is rendered like a tool while in hand."}},"examples":[{"value":true}]},"CA":{"title":"Icon","description":"The icon item componenent determines the icon to represent the item in the UI and elsewhere.","type":"object","additionalProperties":true,"required":["default"],"properties":{"default":{"type":"string","title":"Default Texture","description":"The key from the resource_pack/textures/item_texture.json `texture_data` object associated with the texture file Example: blaze_powder."}},"examples":[{"default":"stick"}]},"CB":{"additionalProperties":false,"type":"object","title":"Liquid Clipped","description":"The liquid clipped component determines whether the item interacts with liquid blocks on use.","required":["value"],"properties":{"value":{"type":"boolean","title":"Value","description":"Whether the item interacts with liquid blocks on use."}},"examples":[{"value":true}]},"CC":{"additionalProperties":false,"type":"object","title":"Max Stack Size","description":"The max stack size component determines how many of the item can be stacked together.","required":["value"],"properties":{"value":{"type":"number","title":"Value","description":"How many of the item that can be stacked.","default":64,"minimum":1}},"examples":[{"value":1}]},"CD":{"title":"Projectile","description":"Compels the item shoot, like an arrow. Pair with minecraft:shooter for dispensers or as ammunition. Pair with minecraft:throwable to set the entity spawned.","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"}},"examples":[{"minimum_critical_power":1.25,"projectile_entity":"arrow"}]},"CE":{"title":"Record","description":"Used by record items to play music.","type":"object","additionalProperties":false,"required":["sound_event"],"properties":{"comparator_signal":{"title":"Comparator Signal","description":"Signal strength for comparator blocks to use, from 1 - 13","type":"number","minimum":1,"maximum":13},"duration":{"title":"Duration","description":"Duration of sound event in seconds, float value.","type":"number","minimum":0},"sound_event":{"title":"Sound Event","description":"Sound event type: 13, cat, blocks, chirp, far, mall, mellohi, stal, strad, ward, 11, wait, pigstep, otherside, 5, relic.","type":"string"}}},"CG":{"title":"Molang Number","description":"The minecraft molang definition that results in a float.","anyOf":[{"type":"string","minLength":0},{"type":"number"}],"examples":[0,"query.variant","(1.0)","query.","variable.=;"],"defaultSnippets":[{"label":"New Molang","body":"$1"}]},"CF":{"title":"Repairable","description":"Repairable item component: how much damage can this item repair, what items can repair it.","type":"object","additionalProperties":false,"properties":{"repair_items":{"title":"Repair Items","description":"Repair item entries.","type":"array","items":{"type":"object","title":"Repar Item","description":"List of repair item entries.","additionalProperties":false,"properties":{"items":{"title":"Items","description":"Items that can be used to repeair it","$comment":"List of items","type":"array","items":{"type":"string","title":"Item","description":"Item identifier"}},"repair_amount":{"title":"Repair Amount","description":"Amount that can be repaired","$ref":"#/definitions/CG"}}}}}},"CH":{"title":"Shooter","description":"Shooter Item Component.","type":"object","additionalProperties":false,"properties":{"ammunition":{"title":"Ammunition","description":"Ammunition.","type":"array","items":{"type":"object","title":"Ammunition","description":"Ammunition definition","additionalProperties":false,"properties":{"item":{"title":"Item","description":"Item identifier","type":"string"},"use_offhand":{"title":"Use Offhand","description":"If ammo can be in offhand","type":"boolean"},"search_inventory":{"title":"Search Inventory","description":"If ammo can be stored in the inventory","type":"boolean"},"use_in_creative":{"title":"Use In Creative","description":"If it needs ammo to be used in creative","type":"boolean"}}}},"charge_on_draw":{"title":"Charge On Draw","description":"Charge on draw? Default is set to false.","default":false,"type":"boolean"},"max_draw_duration":{"title":"Maximum Draw Duration","description":"Draw Duration. Default is set to 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"}},"examples":[{"ammunition":[{"item":"custom_projectile","use_offhand":true,"search_inventory":true,"use_in_creative":true}],"max_draw_duration":1.0,"scale_power_by_draw_duration":true,"charge_on_draw":false}]},"CI":{"title":"Should Despawn","description":"Should despawn component determines if the item should eventually despawn while floating in the world","additionalProperties":false,"type":"object","required":["value"],"properties":{"value":{"type":"boolean","title":"Value","description":"Whether the item should eventually despawn while floating in the world"}},"examples":[{"value":false}]},"CJ":{"title":"Stacked By Data","description":"The stacked by data component determines if the same item with different aux values can stack.","additionalProperties":false,"type":"object","required":["value"],"properties":{"value":{"type":"boolean","title":"Value","description":"Also defines whether the item actors can merge while floating in the world."}},"examples":[{"value":true}]},"DA":{"title":"Tags","description":"The tags component determines which tags an item has on it.","type":"object","additionalProperties":false,"required":["tags"],"properties":{"tags":{"title":"Tags","description":"An array that can contain multiple item tags.","type":"array","uniqueItems":true,"minItems":1,"items":{"anyOf":[{"enum":["minecraft:arrow","minecraft:banner","minecraft:boat","minecraft:boats","minecraft:bookshelf_books","minecraft:chainmail_tier","minecraft:coals","minecraft:crimson_stems","minecraft:decorated_pot_sherds","minecraft:diamond_tier","minecraft:digger","minecraft:door","minecraft:golden_tier","minecraft:hanging_actor","minecraft:hanging_sign","minecraft:horse_armor","minecraft:iron_tier","minecraft:is_armor","minecraft:is_axe","minecraft:is_cooked","minecraft:is_fish","minecraft:is_food","minecraft:is_hoe","minecraft:is_meat","minecraft:is_minecart","minecraft:is_pickaxe","minecraft:is_shovel","minecraft:is_sword","minecraft:is_tool","minecraft:is_trident","minecraft:leather_tier","minecraft:lectern_books","minecraft:logs","minecraft:logs_that_burn","minecraft:mangrove_logs","minecraft:music_disc","minecraft:netherite_tier","minecraft:planks","minecraft:sand","minecraft:sign","minecraft:soul_fire_base_blocks","minecraft:spawn_egg","minecraft:stone_bricks","minecraft:stone_crafting_materials","minecraft:stone_tier","minecraft:stone_tool_materials","minecraft:transform_materials","minecraft:transform_templates","minecraft:transformable_items","minecraft:trim_templates","minecraft:trimmable_armors","minecraft:vibration_damper","minecraft:warped_stems","minecraft:wooden_slabs","minecraft:wooden_tier","minecraft:wool"]},{"type":"string"}]}}}},"DB":{"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"}},"examples":[{"do_swing_animation":false,"min_draw_duration":0.0,"max_draw_duration":1.0,"launch_power_scale":1.0,"max_launch_power":2.0,"scale_power_by_draw_duration":false}]},"DC":{"additionalProperties":false,"required":["value"],"type":"object","title":"Use Animation","description":"This component determines which animation plays when using the item.","properties":{"value":{"title":"Value","description":"Which animation to play when using the item.","enum":["bow","eat","crossbow","drink","camera"]}}},"DD":{"additionalProperties":false,"required":["use_duration"],"type":"object","title":"Use Modifiers","description":"How long to use before item is done being used.","properties":{"movement_modifier":{"title":"Movement Modifier","description":"Modifier value to scale the players movement speed when item is in use.","type":"number","minimum":0},"use_duration":{"title":"Use Duration","description":"How long the item takes to use in seconds.","type":"number","minimum":0}}},"DE":{"title":"Wearable","description":"Wearable item component.","type":"object","additionalProperties":false,"properties":{"protection":{"type":"integer","description":"How much protection does the armor item have.","title":"Protection","minimum":0},"dispensable":{"title":"Dispensable","description":"Sets if the item can be dropped by a dispenser block","type":"boolean"},"slot":{"title":"Slot","description":"Which equipment slot the item can fit in","type":"string","enum":["slot.weapon.mainhand","none","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","slot.equippable"]}}},"DF_event_base":{"title":"Event","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"$ref":"#/definitions/DF_event_functions","properties":{"sequence":{"title":"Sequence","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"array","items":{"title":"Sequence","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","$ref":"#/definitions/DF_event_functions"}},"randomize":{"title":"Randomize","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"array","items":{"title":"Randomize","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","$ref":"#/definitions/DF_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"]}}}}},"DF_event_functions":{"title":"Event","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","properties":{"add_mob_effect":{"$ref":"#/definitions/DG"},"damage":{"$ref":"#/definitions/DH"},"decrement_stack":{"$ref":"#/definitions/DI"},"remove_mob_effect":{"$ref":"#/definitions/DJ"},"shoot":{"$ref":"#/definitions/EA"},"swing":{"$ref":"#/definitions/EB"},"teleport":{"$ref":"#/definitions/EC"},"transform_item":{"$ref":"#/definitions/ED"}}},"DG":{"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"}}},"DH":{"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"}}},"DI":{"title":"Decrement Stack","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false},"DJ":{"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"]}}},"EA":{"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"}}},"EB":{"title":"Swing","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false},"EC":{"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"}]}}},"ED":{"title":"Transform Item","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"transform":{"title":"Transform","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"string"}}},"DF":{"title":"Events","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","properties":{"on_consume":{"$ref":"#/definitions/DF_event_base"}},"additionalProperties":{"$ref":"#/definitions/DF_event_base"}},"B":{"additionalProperties":false,"required":["description"],"type":"object","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","title":"Item","properties":{"description":{"additionalProperties":false,"type":"object","title":"Description","description":"The description for this item","$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/C"},"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"},"menu_category":{"type":"object","title":"Menu Category","description":"The Creative Category that includes the specified item.","additionalProperties":false,"properties":{"group":{"$ref":"#/definitions/D"},"category":{"$ref":"#/definitions/E"},"is_hidden_in_commands":{"type":"boolean","default":false,"title":"Is Hidden In Commands","description":"Determines whether or not this item can be used with commands. Commands can use items by default"}}}}},"components":{"additionalProperties":{"type":"object"},"type":"object","description":"The components of this item.","properties":{"minecraft:allow_off_hand":{"$ref":"#/definitions/F"},"minecraft:block_placer":{"$ref":"#/definitions/G"},"minecraft:can_destroy_in_creative":{"$ref":"#/definitions/I"},"minecraft:cooldown":{"$ref":"#/definitions/J"},"minecraft:damage":{"$ref":"#/definitions/BA"},"minecraft:digger":{"$ref":"#/definitions/BB"},"minecraft:display_name":{"$ref":"#/definitions/BC"},"minecraft:durability":{"$ref":"#/definitions/BD"},"minecraft:enchantable":{"$ref":"#/definitions/BE"},"minecraft:entity_placer":{"$ref":"#/definitions/BF"},"minecraft:food":{"$ref":"#/definitions/BG"},"minecraft:fuel":{"$ref":"#/definitions/BH"},"minecraft:glint":{"$ref":"#/definitions/BI"},"minecraft:hand_equipped":{"$ref":"#/definitions/BJ"},"minecraft:icon":{"$ref":"#/definitions/CA"},"minecraft:liquid_clipped":{"$ref":"#/definitions/CB"},"minecraft:max_stack_size":{"$ref":"#/definitions/CC"},"minecraft:projectile":{"$ref":"#/definitions/CD"},"minecraft:record":{"$ref":"#/definitions/CE"},"minecraft:repairable":{"$ref":"#/definitions/CF"},"minecraft:shooter":{"$ref":"#/definitions/CH"},"minecraft:should_despawn":{"$ref":"#/definitions/CI"},"minecraft:stacked_by_data":{"$ref":"#/definitions/CJ"},"minecraft:tags":{"$ref":"#/definitions/DA"},"minecraft:throwable":{"$ref":"#/definitions/DB"},"minecraft:use_animation":{"$ref":"#/definitions/DC"},"minecraft:use_modifiers":{"$ref":"#/definitions/DD"},"minecraft:wearable":{"$ref":"#/definitions/DE"}}},"events":{"$ref":"#/definitions/DF"}}}}} \ No newline at end of file +{"$id":"blockception.minecraft.behavior.items","description":"Minecraft items","required":["format_version","minecraft:item"],"title":"Item","type":"object","properties":{"format_version":{"$ref":"#/definitions/A"},"minecraft:item":{"$ref":"#/definitions/B"}},"definitions":{"A":{"title":"Format Version","description":"A version that tells minecraft what type of data format can be expected when reading this file.","pattern":"^([1-9]+)\\.([0-9]+)\\.([0-9]+)$","type":"string","default":"1.20.41","examples":["1.20.41","1.19.0","1.18.0","1.17.0","1.16.0","1.15.0","1.14.0","1.13.0","1.12.0","1.10.0","1.8.0"],"defaultSnippets":[{"label":"New Format version","body":"1.${1|8,10,12,17,18,19,20|}.${3|2|0|}"}]},"C":{"description":"A minecraft item identifier.","pattern":"^[0-9a-zA-Z:_\\-\\.]+$","title":"Item Identifier","type":"string","defaultSnippets":[{"label":"New Identifier","body":"$1:$2"}]},"D":{"type":"string","title":"Item Group","description":"A translation string of an existing group in minecraft to group this block/item under","enum":["itemGroup.name.anvil","itemGroup.name.arrow","itemGroup.name.axe","itemGroup.name.banner","itemGroup.name.banner_pattern","itemGroup.name.bed","itemGroup.name.boat","itemGroup.name.boots","itemGroup.name.buttons","itemGroup.name.candles","itemGroup.name.chalkboard","itemGroup.name.chest","itemGroup.name.chestboat","itemGroup.name.chestplate","itemGroup.name.concrete","itemGroup.name.concretePowder","itemGroup.name.cookedFood","itemGroup.name.copper","itemGroup.name.coral","itemGroup.name.coral_decorations","itemGroup.name.crop","itemGroup.name.door","itemGroup.name.dye","itemGroup.name.enchantedBook","itemGroup.name.fence","itemGroup.name.fenceGate","itemGroup.name.firework","itemGroup.name.fireworkStars","itemGroup.name.flower","itemGroup.name.glass","itemGroup.name.glassPane","itemGroup.name.glazedTerracotta","itemGroup.name.goatHorn","itemGroup.name.grass","itemGroup.name.hanging_sign","itemGroup.name.helmet","itemGroup.name.hoe","itemGroup.name.horseArmor","itemGroup.name.leaves","itemGroup.name.leggings","itemGroup.name.lingeringPotion","itemGroup.name.log","itemGroup.name.minecart","itemGroup.name.miscFood","itemGroup.name.mobEgg","itemGroup.name.monsterStoneEgg","itemGroup.name.mushroom","itemGroup.name.netherWartBlock","itemGroup.name.ore","itemGroup.name.permission","itemGroup.name.pickaxe","itemGroup.name.planks","itemGroup.name.potion","itemGroup.name.potterySherds","itemGroup.name.pressurePlate","itemGroup.name.rail","itemGroup.name.rawFood","itemGroup.name.record","itemGroup.name.sandstone","itemGroup.name.sapling","itemGroup.name.sculk","itemGroup.name.seed","itemGroup.name.shovel","itemGroup.name.shulkerBox","itemGroup.name.sign","itemGroup.name.skull","itemGroup.name.slab","itemGroup.name.smithing_templates","itemGroup.name.splashPotion","itemGroup.name.stainedClay","itemGroup.name.stairs","itemGroup.name.stone","itemGroup.name.stoneBrick","itemGroup.name.sword","itemGroup.name.trapdoor","itemGroup.name.walls","itemGroup.name.wood","itemGroup.name.wool","itemGroup.name.woolCarpet"]},"E":{"type":"string","title":"Category","description":"Determines which category this block/item will be placed under in the inventory and crafting table container screens.","enum":["nature","construction","items","equipment","none","commands"]},"F":{"additionalProperties":false,"type":"object","title":"Allow Off Hand","description":"The allow off hand component determines whether the item can be placed in the off hand slot of the inventory.","required":["value"],"properties":{"value":{"type":"boolean","title":"Value","description":"Whether the item can be placed in the off hand slot"}},"examples":[{"value":true}]},"G_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/H"}}},"H":{"type":"string","title":"Molang","description":"Molang definition.","format":"molang","examples":["query.variant","(1.0)","query.","variable.=;"],"defaultSnippets":[{"label":"New Molang","body":"$1"}]},"G":{"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":"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/G_use_on_item"}}}},"I":{"additionalProperties":false,"type":"object","title":"Can Destroy In Creative","description":"The can destroy in creative component determines if the item will break blocks in creative when swinging.","required":["value"],"properties":{"value":{"type":"boolean","title":"Value","description":"Whether the item can destroy blocks while in creative"}},"examples":[{"value":false}]},"J":{"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"}},"examples":[{"category":"attack","duration":0.2}]},"BA":{"additionalProperties":false,"type":"object","title":"Damage","description":"The damage component determines how much extra damage the item does on attack.","required":["value"],"properties":{"value":{"type":"number","title":"Value","description":"How much extra damage the item does, must be a positive number.","minimum":1}},"examples":[{"value":7}]},"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":"Toggles if the item will be used efficiently.","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","type":"number"},"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."}},"examples":[{"value":"secret_weapon"}]},"BD":{"title":"Durability","description":"Durability item component: how much damage can this item take before breaking.","type":"object","additionalProperties":false,"required":["max_durability"],"properties":{"damage_chance":{"type":"object","title":"Damage Chance","description":"Damage chance.","additionalProperties":false,"required":["min","max"],"properties":{"min":{"title":"Min","type":"integer","description":"The minimum."},"max":{"title":"Max","type":"integer","description":"The maximum."}}},"max_durability":{"title":"Maximum Durability","description":"Maximum durability is the amount of damage that this item can take before breaking.","type":"integer","minimum":0}},"examples":[{"damage_chance":{"min":10,"max":50},"max_durability":36}]},"BE":{"title":"Enchantable","description":"The enchantable component determines what enchantments can be applied to the item.","type":"object","additionalProperties":false,"required":["slot"],"properties":{"slot":{"title":"Slot","description":"If true you can always eat this item (even when not hungry), defaults to false.","enum":["axe","bow","armor_feet","armor_torso","armor_head","armor_legs","hoe","pickaxe","shovel","elytra","fishing_rod","flintsteel","sword","shears","cosmetic_head"]},"value":{"title":"Value","description":"The value of the enchantment.","type":"number","minimum":0}}},"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":"Block Descriptor","description":"Block that item can be dispensed on.","$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":"Block Descriptor","description":"Block that item can be used on","$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","default":0},"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","default":0.6},"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."}},"examples":[{"duration":3.0}]},"BI":{"additionalProperties":false,"type":"object","title":"Glint","description":"The glint component determines whether the item has the enchanted glint render effect on it","required":["value"],"properties":{"value":{"type":"boolean","title":"Value","description":"Whether the item has the glint effect."}},"examples":[{"value":true}]},"BJ":{"additionalProperties":false,"type":"object","title":"Hand Equipped","description":"This component determines if an item is rendered like a tool while in hand.","required":["value"],"properties":{"value":{"type":"boolean","title":"Value","description":"If the item is rendered like a tool while in hand."}},"examples":[{"value":true}]},"CA":{"title":"Icon","description":"The icon item componenent determines the icon to represent the item in the UI and elsewhere.","type":"object","additionalProperties":true,"required":["default"],"properties":{"textures":{"title":"Textures","description":"Contains key-value pairs of textures used by the item","type":"object","additionalProperties":true,"properties":{"default":{"type":"string","title":"Default Texture","description":"The key from the resource_pack/textures/item_texture.json `texture_data` object associated with the texture file Example: blaze_powder."}}}},"examples":[{"textures":{"default":"stick"}}]},"CB":{"additionalProperties":false,"type":"object","title":"Liquid Clipped","description":"The liquid clipped component determines whether the item interacts with liquid blocks on use.","required":["value"],"properties":{"value":{"type":"boolean","title":"Value","description":"Whether the item interacts with liquid blocks on use."}},"examples":[{"value":true}]},"CC":{"additionalProperties":false,"type":"object","title":"Max Stack Size","description":"The max stack size component determines how many of the item can be stacked together.","required":["value"],"properties":{"value":{"type":"number","title":"Value","description":"How many of the item that can be stacked.","default":64,"minimum":1}},"examples":[{"value":1}]},"CD":{"title":"Projectile","description":"Compels the item shoot, like an arrow. Pair with minecraft:shooter for dispensers or as ammunition. Pair with minecraft:throwable to set the entity spawned.","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"}},"examples":[{"minimum_critical_power":1.25,"projectile_entity":"arrow"}]},"CE":{"title":"Record","description":"Used by record items to play music.","type":"object","additionalProperties":false,"required":["sound_event"],"properties":{"comparator_signal":{"title":"Comparator Signal","description":"Signal strength for comparator blocks to use, from 1 - 13","type":"number","minimum":1,"maximum":13},"duration":{"title":"Duration","description":"Duration of sound event in seconds, float value.","type":"number","minimum":0},"sound_event":{"title":"Sound Event","description":"Sound event type: 13, cat, blocks, chirp, far, mall, mellohi, stal, strad, ward, 11, wait, pigstep, otherside, 5, relic.","type":"string"}}},"CG":{"title":"Molang Number","description":"The minecraft molang definition that results in a float.","anyOf":[{"type":"string","minLength":0},{"type":"number"}],"examples":[0,"query.variant","(1.0)","query.","variable.=;"],"defaultSnippets":[{"label":"New Molang","body":"$1"}]},"CF":{"title":"Repairable","description":"Repairable item component: how much damage can this item repair, what items can repair it.","type":"object","additionalProperties":false,"properties":{"repair_items":{"title":"Repair Items","description":"Repair item entries.","type":"array","items":{"type":"object","title":"Repar Item","description":"List of repair item entries.","additionalProperties":false,"properties":{"items":{"title":"Items","description":"Items that can be used to repeair it","$comment":"List of items","type":"array","items":{"type":"string","title":"Item","description":"Item identifier"}},"repair_amount":{"title":"Repair Amount","description":"Amount that can be repaired","$ref":"#/definitions/CG"}}}}}},"CH":{"title":"Shooter","description":"Shooter Item Component.","type":"object","additionalProperties":false,"properties":{"ammunition":{"title":"Ammunition","description":"Ammunition.","type":"array","items":{"type":"object","title":"Ammunition","description":"Ammunition definition","additionalProperties":false,"properties":{"item":{"title":"Item","description":"Item identifier","type":"string"},"use_offhand":{"title":"Use Offhand","description":"If ammo can be in offhand","type":"boolean"},"search_inventory":{"title":"Search Inventory","description":"If ammo can be stored in the inventory","type":"boolean"},"use_in_creative":{"title":"Use In Creative","description":"If it needs ammo to be used in creative","type":"boolean"}}}},"charge_on_draw":{"title":"Charge On Draw","description":"Charge on draw? Default is set to false.","default":false,"type":"boolean"},"max_draw_duration":{"title":"Maximum Draw Duration","description":"Draw Duration. Default is set to 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"}},"examples":[{"ammunition":[{"item":"custom_projectile","use_offhand":true,"search_inventory":true,"use_in_creative":true}],"max_draw_duration":1.0,"scale_power_by_draw_duration":true,"charge_on_draw":false}]},"CI":{"title":"Should Despawn","description":"Should despawn component determines if the item should eventually despawn while floating in the world","additionalProperties":false,"type":"object","required":["value"],"properties":{"value":{"type":"boolean","title":"Value","description":"Whether the item should eventually despawn while floating in the world"}},"examples":[{"value":false}]},"CJ":{"title":"Stacked By Data","description":"The stacked by data component determines if the same item with different aux values can stack.","additionalProperties":false,"type":"object","required":["value"],"properties":{"value":{"type":"boolean","title":"Value","description":"Also defines whether the item actors can merge while floating in the world."}},"examples":[{"value":true}]},"DA":{"title":"Tags","description":"The tags component determines which tags an item has on it.","type":"object","additionalProperties":false,"required":["tags"],"properties":{"tags":{"title":"Tags","description":"An array that can contain multiple item tags.","type":"array","uniqueItems":true,"minItems":1,"items":{"anyOf":[{"enum":["minecraft:arrow","minecraft:banner","minecraft:boat","minecraft:boats","minecraft:bookshelf_books","minecraft:chainmail_tier","minecraft:coals","minecraft:crimson_stems","minecraft:decorated_pot_sherds","minecraft:diamond_tier","minecraft:digger","minecraft:door","minecraft:golden_tier","minecraft:hanging_actor","minecraft:hanging_sign","minecraft:horse_armor","minecraft:iron_tier","minecraft:is_armor","minecraft:is_axe","minecraft:is_cooked","minecraft:is_fish","minecraft:is_food","minecraft:is_hoe","minecraft:is_meat","minecraft:is_minecart","minecraft:is_pickaxe","minecraft:is_shovel","minecraft:is_sword","minecraft:is_tool","minecraft:is_trident","minecraft:leather_tier","minecraft:lectern_books","minecraft:logs","minecraft:logs_that_burn","minecraft:mangrove_logs","minecraft:music_disc","minecraft:netherite_tier","minecraft:planks","minecraft:sand","minecraft:sign","minecraft:soul_fire_base_blocks","minecraft:spawn_egg","minecraft:stone_bricks","minecraft:stone_crafting_materials","minecraft:stone_tier","minecraft:stone_tool_materials","minecraft:transform_materials","minecraft:transform_templates","minecraft:transformable_items","minecraft:trim_templates","minecraft:trimmable_armors","minecraft:vibration_damper","minecraft:warped_stems","minecraft:wooden_slabs","minecraft:wooden_tier","minecraft:wool"]},{"type":"string"}]}}}},"DB":{"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"}},"examples":[{"do_swing_animation":false,"min_draw_duration":0.0,"max_draw_duration":1.0,"launch_power_scale":1.0,"max_launch_power":2.0,"scale_power_by_draw_duration":false}]},"DC":{"additionalProperties":false,"required":["value"],"type":"object","title":"Use Animation","description":"This component determines which animation plays when using the item.","properties":{"value":{"title":"Value","description":"Which animation to play when using the item.","enum":["bow","eat","crossbow","drink","camera"]}}},"DD":{"additionalProperties":false,"required":["use_duration"],"type":"object","title":"Use Modifiers","description":"How long to use before item is done being used.","properties":{"movement_modifier":{"title":"Movement Modifier","description":"Modifier value to scale the players movement speed when item is in use.","type":"number","minimum":0},"use_duration":{"title":"Use Duration","description":"How long the item takes to use in seconds.","type":"number","minimum":0}}},"DE":{"title":"Wearable","description":"Wearable item component.","type":"object","additionalProperties":false,"properties":{"protection":{"type":"integer","description":"How much protection does the armor item have.","title":"Protection","minimum":0},"dispensable":{"title":"Dispensable","description":"Sets if the item can be dropped by a dispenser block","type":"boolean"},"slot":{"title":"Slot","description":"Which equipment slot the item can fit in","type":"string","enum":["slot.weapon.mainhand","none","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","slot.equippable"]}}},"DF_event_base":{"title":"Event","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"$ref":"#/definitions/DF_event_functions","properties":{"sequence":{"title":"Sequence","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"array","items":{"title":"Sequence","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","$ref":"#/definitions/DF_event_functions"}},"randomize":{"title":"Randomize","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"array","items":{"title":"Randomize","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","$ref":"#/definitions/DF_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"]}}}}},"DF_event_functions":{"title":"Event","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","properties":{"add_mob_effect":{"$ref":"#/definitions/DG"},"damage":{"$ref":"#/definitions/DH"},"decrement_stack":{"$ref":"#/definitions/DI"},"remove_mob_effect":{"$ref":"#/definitions/DJ"},"shoot":{"$ref":"#/definitions/EA"},"swing":{"$ref":"#/definitions/EB"},"teleport":{"$ref":"#/definitions/EC"},"transform_item":{"$ref":"#/definitions/ED"}}},"DG":{"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"}}},"DH":{"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"}}},"DI":{"title":"Decrement Stack","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false},"DJ":{"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"]}}},"EA":{"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"}}},"EB":{"title":"Swing","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false},"EC":{"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"}]}}},"ED":{"title":"Transform Item","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"transform":{"title":"Transform","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"string"}}},"DF":{"title":"Events","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","properties":{"on_consume":{"$ref":"#/definitions/DF_event_base"}},"additionalProperties":{"$ref":"#/definitions/DF_event_base"}},"B":{"additionalProperties":false,"required":["description"],"type":"object","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","title":"Item","properties":{"description":{"additionalProperties":false,"type":"object","title":"Description","description":"The description for this item","$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/C"},"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"},"menu_category":{"type":"object","title":"Menu Category","description":"The Creative Category that includes the specified item.","additionalProperties":false,"properties":{"group":{"$ref":"#/definitions/D"},"category":{"$ref":"#/definitions/E"},"is_hidden_in_commands":{"type":"boolean","default":false,"title":"Is Hidden In Commands","description":"Determines whether or not this item can be used with commands. Commands can use items by default"}}}}},"components":{"additionalProperties":{"type":"object"},"type":"object","description":"The components of this item.","properties":{"minecraft:allow_off_hand":{"$ref":"#/definitions/F"},"minecraft:block_placer":{"$ref":"#/definitions/G"},"minecraft:can_destroy_in_creative":{"$ref":"#/definitions/I"},"minecraft:cooldown":{"$ref":"#/definitions/J"},"minecraft:damage":{"$ref":"#/definitions/BA"},"minecraft:digger":{"$ref":"#/definitions/BB"},"minecraft:display_name":{"$ref":"#/definitions/BC"},"minecraft:durability":{"$ref":"#/definitions/BD"},"minecraft:enchantable":{"$ref":"#/definitions/BE"},"minecraft:entity_placer":{"$ref":"#/definitions/BF"},"minecraft:food":{"$ref":"#/definitions/BG"},"minecraft:fuel":{"$ref":"#/definitions/BH"},"minecraft:glint":{"$ref":"#/definitions/BI"},"minecraft:hand_equipped":{"$ref":"#/definitions/BJ"},"minecraft:icon":{"$ref":"#/definitions/CA"},"minecraft:liquid_clipped":{"$ref":"#/definitions/CB"},"minecraft:max_stack_size":{"$ref":"#/definitions/CC"},"minecraft:projectile":{"$ref":"#/definitions/CD"},"minecraft:record":{"$ref":"#/definitions/CE"},"minecraft:repairable":{"$ref":"#/definitions/CF"},"minecraft:shooter":{"$ref":"#/definitions/CH"},"minecraft:should_despawn":{"$ref":"#/definitions/CI"},"minecraft:stacked_by_data":{"$ref":"#/definitions/CJ"},"minecraft:tags":{"$ref":"#/definitions/DA"},"minecraft:throwable":{"$ref":"#/definitions/DB"},"minecraft:use_animation":{"$ref":"#/definitions/DC"},"minecraft:use_modifiers":{"$ref":"#/definitions/DD"},"minecraft:wearable":{"$ref":"#/definitions/DE"}}},"events":{"$ref":"#/definitions/DF"}}}}} \ No newline at end of file