From 36227dc76731ad5a785a447bc90c0263720f590b Mon Sep 17 00:00:00 2001 From: Orbi-bot Date: Sun, 11 Feb 2024 11:06:12 +0000 Subject: [PATCH] auto: Generated Json Schemas --- behavior/blocks/blocks.json | 2 +- behavior/entities/entities.json | 2 +- behavior/items/items.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/behavior/blocks/blocks.json b/behavior/blocks/blocks.json index f072b428..35ac946c 100644 --- a/behavior/blocks/blocks.json +++ b/behavior/blocks/blocks.json @@ -1 +1 @@ -{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.behavior.block","$comment":"UNDOCUMENTED","required":["format_version","minecraft:block"],"type":"object","title":"Block Behavior","description":"The minecraft block behavior specification.","additionalProperties":false,"properties":{"format_version":{"$ref":"#/definitions/A"},"minecraft:block":{"$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|}"}]},"B_components_ref":{"type":"object","title":"Component","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","additionalProperties":false,"properties":{"minecraft:collision_box":{"$ref":"#/definitions/C"},"minecraft:crafting_table":{"$ref":"#/definitions/D"},"minecraft:destructible_by_explosion":{"$ref":"#/definitions/E"},"minecraft:destructible_by_mining":{"$ref":"#/definitions/F"},"minecraft:display_name":{"$ref":"#/definitions/G"},"minecraft:flammable":{"$ref":"#/definitions/H"},"minecraft:friction":{"$ref":"#/definitions/I"},"minecraft:geometry":{"$ref":"#/definitions/J"},"minecraft:light_dampening":{"$ref":"#/definitions/BA"},"minecraft:light_emission":{"$ref":"#/definitions/BB"},"minecraft:loot":{"$ref":"#/definitions/BC"},"minecraft:map_color":{"$ref":"#/definitions/BD"},"minecraft:material_instances":{"$ref":"#/definitions/BE"},"minecraft:part_visibility":{"$ref":"#/definitions/BF"},"minecraft:placement_filter":{"$ref":"#/definitions/BG"},"minecraft:selection_box":{"$ref":"#/definitions/CA"},"minecraft:transformation":{"$ref":"#/definitions/CB"},"minecraft:unit_cube":{"$ref":"#/definitions/CC"},"minecraft:on_fall_on":{"$ref":"#/definitions/CD"},"minecraft:on_interact":{"$ref":"#/definitions/CE"},"minecraft:on_placed":{"$ref":"#/definitions/CF"},"minecraft:on_player_destroyed":{"$ref":"#/definitions/CG"},"minecraft:on_player_placing":{"$ref":"#/definitions/CH"},"minecraft:on_step_off":{"$ref":"#/definitions/CI"},"minecraft:on_step_on":{"$ref":"#/definitions/CJ"},"minecraft:queued_ticking":{"$ref":"#/definitions/DA"},"minecraft:random_ticking":{"$ref":"#/definitions/DB"}}},"C":{"title":"Collision Box","description":"This component can be specified as a Boolean. If this component is omitted, the default value for this component is true, which will give your block the default values for its parameters (a collision box the size/shape of a regular block).","oneOf":[{"type":"boolean","default":true},{"type":"object","additionalProperties":false,"properties":{"origin":{"title":"Origin","description":"Minimal position of the bounds of the collision box. origin is specified as [x, y, z] and must be in the range (-8, 0, -8) to (8, 16, 8), inclusive.","type":"array","items":[{"title":"X","type":"number","minimum":-8.0,"maximum":8},{"title":"Y","type":"number","minimum":0,"maximum":16},{"title":"Z","type":"number","minimum":-8.0,"maximum":8}]},"size":{"title":"Size","description":"Size of each side of the collision box. Size is specified as [x, y, z]. origin + size must be in the range (-8, 0, -8) to (8, 16, 8), inclusive.","type":"array","items":[{"title":"X","type":"number"},{"title":"Y","type":"number"},{"title":"Z","type":"number"}]}}}]},"D":{"title":"Crafting Table","description":"[Experimental] Makes your block into a custom crafting table which enables the crafting table UI and the ability to craft recipes.","additionalProperties":false,"type":"object","required":[],"properties":{"crafting_tags":{"title":"Crafting Tags","description":"Defines the tags recipes should define to be crafted on this table. Limited to 64 tags. Each tag is limited to 64 characters.","type":"array","maxItems":64,"items":{"type":"string","title":"Tag","description":"The tag to check for.","minLength":1,"maxLength":64}},"table_name":{"title":"Table Name","description":"Specifies the language file key that maps to what text will be displayed in the UI of this table. If the string given can not be resolved as a loc string, the raw string given will be displayed. If this field is omitted, the name displayed will default to the name specified in the \"display_name\" component. If this block has no \"display_name\" component, the name displayed will default to the name of the block.","type":"string"}}},"E":{"title":"Destructible By Explosion","description":"Describes the destructible by explosion properties for this block. If set to true, the block will have the default explosion resistance. If set to false, this block is indestructible by explosion. If the component is omitted, the block will have the default explosion resistance.","oneOf":[{"type":"boolean","default":true},{"type":"object","additionalProperties":false,"required":[],"properties":{"explosion_resistance":{"title":"Explosion Resistance","description":"Describes how resistant the block is to explosion. Greater values mean the block is less likely to break when near an explosion (or has higher resistance to explosions). The scale will be different for different explosion power levels. A negative value or 0 means it will easily explode; larger numbers increase level of resistance.","type":"number","default":0.0}}}]},"F":{"title":"Destructible By Mining","description":"Describes the destructible by mining properties for this block. If set to true, the block will take the default number of seconds to destroy. If set to false, this block is indestructible by mining. If the component is omitted, the block will take the default number of seconds to destroy.","oneOf":[{"type":"boolean","default":true},{"type":"object","additionalProperties":false,"required":[],"properties":{"seconds_to_destroy":{"title":"Seconds To Destroy","description":"Sets the number of seconds it takes to destroy the block with base equipment. Greater numbers result in greater mining times.","type":"number","default":0.0}}}]},"G":{"title":"Display Name","description":"Specifies the language file key that maps to what text will be displayed when you hover over the block in your inventory and hotbar. If the string given can not be resolved as a loc string, the raw string given will be displayed. If this component is omitted, the name of the block will be used as the display name.","type":"string"},"H":{"title":"Flammable","description":"Describes the flammable properties for this block. If set to true, default values are used. If set to false, or if this component is omitted, the block will not be able to catch on fire naturally from neighbors, but it can still be directly ignited.","oneOf":[{"type":"boolean","default":true},{"type":"object","additionalProperties":false,"required":[],"properties":{"seconds_to_destroy":{"title":"Seconds To Destroy","description":"Sets the number of seconds it takes to destroy the block with base equipment. Greater numbers result in greater mining times.","type":"number","default":0.0}}}]},"I":{"title":"Friction","description":"Describes the friction for this block in a range of (0.0-0.9). Friction affects an entity's movement speed when it travels on the block. Greater value results in more friction.","type":"number","default":0.4,"minimum":0,"maximum":0.9},"J":{"title":"Geometry","description":"The description identifier of the geometry file to use to render this block. This identifier must match an existing geometry identifier in any of the currently loaded resource packs.","oneOf":[{"type":"string"},{"type":"object","properties":{"identifier":{"title":"Identifier","description":"The description identifier of the geometry file to use to render this block. This identifier must match an existing geometry identifier in any of the currently loaded resource packs.","type":"string","enum":["minecraft:geometry.full_block"]}}},{"type":"object","additionalProperties":false,"required":["identifier"],"properties":{"identifier":{"title":"Identifier","description":"The description identifier of the geometry file to use to render this block. This identifier must match an existing geometry identifier in any of the currently loaded resource packs.","type":"string"},"bone_visibility":{"title":"Bone Visibility","description":"A list of bones that should be visible when rendering this block. If not specified, all bones will be visible.","type":"object","additionalProperties":{"type":"boolean","description":"Whether or not the bone should be visible.","title":"Bone Visibility"}}}}]},"BA":{"title":"Light Dampening","description":"The amount that light will be dampened when it passes through the block, in a range (0-15). Higher value means the light will be dampened more.","type":"integer","default":15,"minimum":0,"maximum":15},"BB":{"title":"Light Emission","description":"The amount of light this block will emit in a range (0-15). Higher value means more light will be emitted.","type":"integer","default":15,"minimum":0,"maximum":15},"BC":{"title":"Loot","description":"The path to the loot table, relative to the behavior pack.","type":"string","pattern":"loot_tables/.*\\.json$"},"BD":{"title":"Map Color","description":"Sets the color of the block when rendered to a map. The color is represented as a hex value in the format \"#RRGGBB\". May also be expressed as an array of [R, G, B] from 0 to 255. If this component is omitted, the block will not show up on the map.","oneOf":[{"type":"string","format":"colox-hex","default":"#FFFFFF"},{"type":"array","items":[{"title":"Red","type":"integer","default":0,"minimum":0,"maximum":255},{"title":"Green","type":"integer","default":0,"minimum":0,"maximum":255},{"title":"Blue","type":"integer","default":0,"minimum":0,"maximum":255}]}],"examples":["#FFFFFF",[255,255,255]]},"BE":{"title":"Material Instances","description":"The material instances for a block. Maps face or material_instance names in a geometry file to an actual material instance. You can assign a material instance object to any of these faces: \"up\", \"down\", \"north\", \"south\", \"east\", \"west\", or \"*\". You can also give an instance the name of your choosing such as \"my_instance\", and then assign it to a face by doing \"north\":\"my_instance\".","required":[],"examples":[{"*":{}},{"custom_sides":{}},{"up":{}},{"down":{}},{"north":{}},{"south":"custom_sides"},{"east":"custom_sides"},{"west":"custom_sides"}],"type":"object","additionalProperties":{"title":"Material Instance","description":"The material instance for a block. Maps face or material_instance names in a geometry file to an actual material instance. You can assign a material instance object to any of these faces: \"up\", \"down\", \"north\", \"south\", \"east\", \"west\", or \"*\". You can also give an instance the name of your choosing such as \"my_instance\", and then assign it to a face by doing \"north\":\"my_instance\".","oneOf":[{"type":"string"},{"type":"object","additionalProperties":false,"properties":{"ambient_occlusion":{"title":"Ambient Occlusion","type":"boolean","default":true,"description":"Should this material have ambient occlusion applied when lighting? If true, shadows will be created around and underneath the block."},"face_dimming":{"title":"Face Dimming","type":"boolean","default":true,"description":"Should this material be dimmed by the direction it's facing?"},"render_method":{"title":"Render Method","type":"string","default":"opaque","description":"The render method to use. Must be one of these options: opaque - Used for a regular block texture without an alpha layer. Does not allow for transparency or translucency. double_sided - Used for completely disabling backface culling. blend - Used for a block like stained glass. Allows for transparency and translucency (slightly transparent textures). alpha_test - Used for a block like the vanilla (unstained) glass. Does not allow for translucency, only fully opaque or fully transparent textures. Also disables backface culling.","markdownDescription":"The render method to use. Must be one of these options: \nopaque - Used for a regular block texture without an alpha layer. Does not allow for transparency or translucency.\ndouble_sided - Used for completely disabling backface culling.\nblend - Used for a block like stained glass. Allows for transparency and translucency (slightly transparent textures).\nalpha_test - Used for a block like the vanilla (unstained) glass. Does not allow for translucency, only fully opaque or fully transparent textures. Also disables backface culling.","enum":["opaque","double_sided","blend","alpha_test"]},"texture":{"title":"Texture","type":"string","default":"","description":"Texture name for the material."}}}]}},"BF":{"title":"Part Visibility","description":"[Experimental] Maps bone names in a geometry file to a condition that turns their rendering on/off. The condition should be a Molang query that uses block properties to determine true/false.","type":"object","additionalProperties":{"title":"Part Visibility","description":"[Experimental] Maps bone names in a geometry file to a condition that turns their rendering on/off. The condition should be a Molang query that uses block properties to determine true/false.","type":["string","boolean"]}},"BI":{"description":"A minecraft block identifier.","examples":["namespace:block"],"pattern":"^[0-9a-zA-Z:_\\.\\-]+$","title":"Block Identifier","type":"string","defaultSnippets":[{"label":"New Identifier","body":"$1:$2"}]},"BJ":{"type":"string","title":"Molang","description":"Molang definition.","format":"molang","examples":["query.variant","(1.0)","query.","variable.=;"],"defaultSnippets":[{"label":"New Molang","body":"$1"}]},"BH":{"description":"A minecraft block reference.","examples":["namespace:block",{"name":"namespace:block"}],"title":"Block Reference","defaultSnippets":[{"label":"New Identifier","body":"$1:$2"}],"oneOf":[{"type":"string","$ref":"#/definitions/BI"},{"title":"Block Reference","description":"","type":"object","additionalProperties":false,"properties":{"name":{"type":"string","$ref":"#/definitions/BI"},"states":{"title":"States","description":"","type":"object","propertyNames":{"pattern":"\\w*:?\\w+"},"example":[{"property":"value"}],"additionalProperties":{"type":["boolean","integer","string"],"title":"State Value","description":"The key of property is the name of the block state/property, the value must be the same as the block properties accepted values."}},"tags":{"$ref":"#/definitions/BJ","description":"A condition using Molang queries that results to true/false that can be used to query for blocks with certain tags.","examples":["query.any_tag('wood')"]}}}]},"BG":{"title":"Placement Filter","description":"[Experimental]","type":"object","properties":{"conditions":{"title":"Conditions","description":"List of conditions where the block can be placed/survive. Limited to 64 conditions. Each condition is a JSON Object that must contain at least one (and can contain both) of the parameters allowed_faces or block_filter as shown below.","examples":[{"allowed_faces":["up"],"block_filter":["grass"]}],"type":"array","minItems":1,"items":{"title":"Placement Filter","description":"[Experimental]","type":"object","additionalProperties":false,"properties":{"allowed_faces":{"title":"Allowed Faces","type":"array","description":"List of any of the following strings describing which face(s) this block can be placed on: \"up\", \"down\", \"north\", \"south\", \"east\", \"west\", \"side\", \"all\". Limited to 6 faces.","uniqueItems":true,"items":{"type":"string","enum":["up","down","north","south","east","west","side","all"]}},"block_filter":{"title":"Block Filter","type":"array","description":"List of blocks that this block can be placed against in the \"allowed_faces\" direction. Limited to 64 blocks. Each block in this list can either be specified as a String (block name) or as a BlockDescriptor. A BlockDescriptor is an object that allows you to reference a block (or multiple blocks) based on its tags, or based on its name and states. The fields of a BlockDescriptor are described below.","items":{"title":"Block Filter","description":"[Experimental]","$ref":"#/definitions/BH"}}}}}}},"CA":{"title":"Selection Box","description":"Defines the area of the block that is selected by the player's cursor. If set to true, default values are used. If set to false, this block is not selectable by the player's cursor. If this component is omitted, default values are used.","oneOf":[{"type":"boolean"},{"type":"object","additionalProperties":false,"properties":{"origin":{"title":"Origin","default":[0,0,0],"description":"Minimal position of the bounds of the selection box. \"origin\" is specified as [x, y, z] and must be in the range (-8, 0, -8) to (8, 16, 8), inclusive.","type":"array","items":[{"title":"X","type":"number","minimum":-8.0,"maximum":8},{"title":"Y","type":"number","minimum":0,"maximum":16},{"title":"Z","type":"number","minimum":-8.0,"maximum":8}]},"size":{"title":"Size","default":[8.0,8.0,8.0],"description":"Size of each side of the selection box. Size is specified as [x, y, z]. \"origin\" + \"size\" must be in the range (-8, 0, -8) to (8, 16, 8), inclusive.","type":"array","items":[{"title":"X","type":"number"},{"title":"Y","type":"number"},{"title":"Z","type":"number"}]}}}]},"CB":{"title":"Transformation","description":"Supports rotation, scaling, and translation","type":"object","additionalProperties":false,"properties":{"rotation":{"title":"Rotation","description":"Rotation in xxx?","type":"array","items":[{"title":"X","description":"Rotation in xxx?","type":"number","default":0},{"title":"Y","description":"Rotation in xxx?","type":"number","default":0},{"title":"Z","description":"Rotation in xxx?","type":"number","default":0}]},"scale":{"title":"Scale","description":"UNDOCUMENTED","type":"array","items":[{"title":"X","description":"UNDOCUMENTED","type":"number","default":1},{"title":"Y","description":"UNDOCUMENTED","type":"number","default":1},{"title":"Z","description":"UNDOCUMENTED","type":"number","default":1}]},"translation":{"title":"Translation","description":"UNDOCUMENTED","type":"array","items":[{"title":"X","description":"UNDOCUMENTED","type":"number","default":0},{"title":"Y","description":"UNDOCUMENTED","type":"number","default":0},{"title":"Z","description":"UNDOCUMENTED","type":"number","default":0}]}}},"CC":{"title":"Unit Cube","description":"[Deprecated][Experimental] Specifies that a unit cube is to be used with tessellation.","type":"object","additionalProperties":false,"properties":{}},"CD":{"type":"object","title":"On Fall On","description":"[Experimental] Describes event for this block.","properties":{"condition":{"type":"string","default":"","description":"The condition of event to be executed on the block.","title":"Condition"},"event":{"type":"string","default":"","description":"The event executed on the block.","title":"Event"},"min_fall_distance":{"type":"number","default":0,"description":"The minimum distance in blocks that an actor needs to fall to trigger this event.","title":"Minimum Fall Distance"},"target":{"type":"string","default":"self","description":"The target of event executed on the block.","title":"Target"}}},"CE":{"type":"object","title":"On Fall On","description":"[Experimental] Describes event for this block.","properties":{"condition":{"type":"string","default":"","description":"The condition of event to be executed on the block.","title":"Condition"},"event":{"type":"string","default":"","description":"The event executed on the block.","title":"Event"},"target":{"type":"string","default":"self","description":"The target of event executed on the block.","title":"Target"}}},"CF":{"type":"object","title":"On Placed","description":"[Experimental] Describes event for this block.","properties":{"condition":{"type":"string","default":"","description":"The condition of event to be executed on the block.","title":"Condition"},"event":{"type":"string","default":"","description":"The event executed on the block.","title":"Event"},"target":{"type":"string","default":"self","description":"The target of event executed on the block.","title":"Target"}}},"CG":{"type":"object","title":"On Player Destroyed","description":"[Experimental] Describes event for this block.","properties":{"condition":{"type":"string","default":"","description":"The condition of event to be executed on the block.","title":"Condition"},"event":{"type":"string","default":"","description":"The event executed on the block.","title":"Event"},"target":{"type":"string","default":"self","description":"The target of event executed on the block.","title":"Target"}}},"CH":{"type":"object","title":"On Player Placing","description":"[Experimental] Describes event for this block.","properties":{"condition":{"type":"string","default":"","description":"The condition of event to be executed on the block.","title":"Condition"},"event":{"type":"string","default":"","description":"The event executed on the block.","title":"Event"},"target":{"type":"string","default":"self","description":"The target of event executed on the block.","title":"Target"}}},"CI":{"type":"object","title":"On Step Off","description":"[Experimental] Describes event for this block.","properties":{"condition":{"type":"string","default":"","description":"The condition of event to be executed on the block.","title":"Condition"},"event":{"type":"string","default":"","description":"The event executed on the block.","title":"Event"},"target":{"type":"string","default":"self","description":"The target of event executed on the block.","title":"Target"}}},"CJ":{"type":"object","title":"On Step On","description":"[Experimental] Describes event for this block.","properties":{"condition":{"type":"string","default":"","description":"The condition of event to be executed on the block.","title":"Condition"},"event":{"type":"string","default":"","description":"The event executed on the block.","title":"Event"},"target":{"type":"string","default":"self","description":"The target of event executed on the block.","title":"Target"}}},"DA":{"title":"Random Ticking","description":"[Experimental] Describes the component that will trigger an even at a regular interval between two values.","type":"object","additionalProperties":false,"properties":{"on_tick":{"title":"On Tick","description":"Describes the component that will trigger an even at a regular interval between two values.","type":"string","additionalProperties":false,"properties":{"condition":{"title":"Condition","type":"string","default":"1","description":"The condition of event to be executed on the block. Molang"},"event":{"title":"Event","type":"string","default":"set_block_property","description":"The type of event executed on the block."},"range":{"title":"Range","type":"array","items":[{"type":"integer"},{"type":"integer"}]},"target":{"title":"Target","description":"The target of event executed on the block.","type":"string","enum":["block","damager","other","parent","player","self","target"]}}},"looping":{"type":"boolean","default":true,"description":"Does the event loop.","title":"Looping"},"range":{"type":"array","default":[10,10],"description":"The Range between which the component will trigger his event.","title":"Range"}}},"DB":{"title":"Random Ticking","description":"[Experimental] Triggers the specified event randomly based on the random tick speed gamerule. The random tick speed determines how often blocks are updated.","type":"object","additionalProperties":false,"properties":{"on_tick":{"title":"On Tick","description":"the event that will be triggered on random ticks."},"condition":{"title":"Condition","type":"string","default":"1","description":"A condition using Molang queries that results to true/false. If true on the random tick, the event will be triggered. If false on the random tick, the event will not be triggered."},"event":{"title":"Event","type":"string","default":"set_block_property","description":"The event that will be triggered."},"target":{"title":"Target","type":"string","default":"self","description":"The target of the event executed by the block"}}},"DC_event_base":{"title":"Event","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"condition":{"title":"Condition","description":"The condition of event to be executed on the block.","type":"string"},"event":{"title":"Event","description":"The event executed on the block.","type":"string"},"target":{"title":"Target","description":"The target of event executed on the block.","type":"string","default":"self"}}},"DC":{"title":"Events","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","properties":{"minecraft:on_fall_on":{"$ref":"#/definitions/DC_event_base"},"minecraft:on_interact":{"$ref":"#/definitions/DC_event_base"},"minecraft:on_placed":{"$ref":"#/definitions/DC_event_base"},"minecraft:on_player_destroyed":{"$ref":"#/definitions/DC_event_base"},"minecraft:on_player_placing":{"$ref":"#/definitions/DC_event_base"},"minecraft:on_step_off":{"$ref":"#/definitions/DC_event_base"},"minecraft:on_step_on":{"$ref":"#/definitions/DC_event_base"}}},"B":{"title":"Block Definitions","description":"A custom block definition.","type":"object","additionalProperties":false,"required":["description","components"],"properties":{"description":{"title":"Block Description","description":"The description for this block.","type":"object","additionalProperties":false,"required":["identifier"],"properties":{"menu_category":{"title":"Menu Category","$comment":"UNDOCUMENTED","description":"The category this block will be placed in the menu.","type":"object","default":"misc","additionalProperties":false,"required":["category"],"properties":{"category":{"title":"Category","description":"Determines which category this block will be placed under in the inventory and crafting table container screens. Options are \"construction\", \"nature\", \"equipment\", \"items\", and \"none\". If omitted or \"none\" is specified, the block will not appear in the inventory or crafting table container screens.","type":"string","enum":["construction","nature","equipment","items","none"]},"group":{"title":"Group","$comment":"UNDOCUMENTED","description":"A translation string of an existing group in minecraft to group this item under","type":"string","enum":["itemGroup.name.anvil","itemGroup.name.arrow","itemGroup.name.axe","itemGroup.name.banner_pattern","itemGroup.name.banner","itemGroup.name.beacon","itemGroup.name.bed","itemGroup.name.bell","itemGroup.name.boat","itemGroup.name.boots","itemGroup.name.brick","itemGroup.name.buttons","itemGroup.name.cactus","itemGroup.name.camera","itemGroup.name.candles","itemGroup.name.chemistrytable","itemGroup.name.chest","itemGroup.name.chestboat","itemGroup.name.chestplate","itemGroup.name.clay","itemGroup.name.climbing","itemGroup.name.cobblestone","itemGroup.name.composter","itemGroup.name.concrete","itemGroup.name.concretePowder","itemGroup.name.constructionMisc","itemGroup.name.cookedFood","itemGroup.name.copper","itemGroup.name.coral_decorations","itemGroup.name.coral","itemGroup.name.craftingTables","itemGroup.name.crop","itemGroup.name.dirt","itemGroup.name.door","itemGroup.name.dye","itemGroup.name.eggBlocks","itemGroup.name.element","itemGroup.name.enchantedBook","itemGroup.name.enchantingTable","itemGroup.name.endPortalFrame","itemGroup.name.endRod","itemGroup.name.fence","itemGroup.name.fenceGate","itemGroup.name.firework","itemGroup.name.fireworkStars","itemGroup.name.flower","itemGroup.name.furnaces","itemGroup.name.glass","itemGroup.name.glassPane","itemGroup.name.glazedTerracotta","itemGroup.name.glowstone","itemGroup.name.goatHorn","itemGroup.name.grass","itemGroup.name.gravel","itemGroup.name.greenery","itemGroup.name.grindStone","itemGroup.name.helmet","itemGroup.name.hoe","itemGroup.name.horseArmor","itemGroup.name.ice","itemGroup.name.ironFence","itemGroup.name.items","itemGroup.name.leaves","itemGroup.name.lectern","itemGroup.name.leggings","itemGroup.name.lights","itemGroup.name.lingeringPotion","itemGroup.name.log","itemGroup.name.minecart","itemGroup.name.miscFood","itemGroup.name.mobEgg","itemGroup.name.monsterStoneEgg","itemGroup.name.mushroom","itemGroup.name.musicBlocks","itemGroup.name.natureBuildingBlocks","itemGroup.name.natureMisc","itemGroup.name.ore","itemGroup.name.oreBlocks","itemGroup.name.permission","itemGroup.name.pickaxe","itemGroup.name.pistons","itemGroup.name.planks","itemGroup.name.potion","itemGroup.name.pressurePlate","itemGroup.name.pumpkins","itemGroup.name.purpur","itemGroup.name.rail","itemGroup.name.rawFood","itemGroup.name.record","itemGroup.name.redstone","itemGroup.name.redstoneContainers","itemGroup.name.redstoneProducers","itemGroup.name.sand","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.splashPotion","itemGroup.name.stainedClay","itemGroup.name.stairs","itemGroup.name.stone","itemGroup.name.stoneBrick","itemGroup.name.sword","itemGroup.name.tnt","itemGroup.name.torch","itemGroup.name.trapdoor","itemGroup.name.walls","itemGroup.name.wood","itemGroup.name.wool","itemGroup.name.woolCarpet"]},"is_hidden_in_commands":{"title":"Is Hidden In Commands","$comment":"UNDOCUMENTED","description":"If true, this item will not be shown in the /give command autocomplete list.","type":"boolean"}}},"identifier":{"type":"string","description":"The identifier for this block. The name must include a namespace and must not use the Minecraft namespace unless overriding a Vanilla block.","title":"Identifier","$ref":"#/definitions/BI"},"is_experimental":{"type":"boolean","default":false,"description":"If this block is experimental, it will only be registered if the world is marked as experimantal.","title":"Is Experimental"},"register_to_creative_menu":{"type":"boolean","default":false,"description":"Whether or not to register this block to the creative inventory menu.","title":"Register To Creative Menu"},"states":{"title":"States","description":"[HOLIDAY EXPERIMENTAL] UNDOCUMENTED.","$comment":"UNDOCUMENTED","propertyNames":{"pattern":"^([a-zA-Z0-9_]+:[a-zA-Z0-9_\\-]+)$"},"type":"object","additionalProperties":{"title":"State","description":"A block property.","oneOf":[{"type":"array","items":{"title":"Property Value","description":"The value of this property.","anyOf":[{"type":"boolean"},{"type":"number"},{"type":"integer"},{"type":"string"}]}},{"type":"object"}]}}}},"events":{"$ref":"#/definitions/DC"},"components":{"type":"object","title":"Component","$ref":"#/definitions/B_components_ref"},"permutations":{"type":"array","title":"Permutations","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","items":{"title":"Permutation","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"condition":{"title":"Condition","description":"A Molang expression that evaluates to true or false to determine if this permutation should be used. For permutation conditions you are limited to using one Molang query: \"query.block_property()\"","$ref":"#/definitions/BJ"},"components":{"type":"object","title":"Component","$ref":"#/definitions/B_components_ref"}}}}}}}} \ No newline at end of file +{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.behavior.block","$comment":"UNDOCUMENTED","required":["format_version","minecraft:block"],"type":"object","title":"Block Behavior","description":"The minecraft block behavior specification.","additionalProperties":false,"properties":{"format_version":{"$ref":"#/definitions/A"},"minecraft:block":{"$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|}"}]},"B_components_ref":{"type":"object","title":"Component","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","additionalProperties":false,"properties":{"minecraft:collision_box":{"$ref":"#/definitions/C"},"minecraft:crafting_table":{"$ref":"#/definitions/D"},"minecraft:destructible_by_explosion":{"$ref":"#/definitions/E"},"minecraft:destructible_by_mining":{"$ref":"#/definitions/F"},"minecraft:display_name":{"$ref":"#/definitions/G"},"minecraft:flammable":{"$ref":"#/definitions/H"},"minecraft:friction":{"$ref":"#/definitions/I"},"minecraft:geometry":{"$ref":"#/definitions/J"},"minecraft:light_dampening":{"$ref":"#/definitions/BA"},"minecraft:light_emission":{"$ref":"#/definitions/BB"},"minecraft:loot":{"$ref":"#/definitions/BC"},"minecraft:map_color":{"$ref":"#/definitions/BD"},"minecraft:material_instances":{"$ref":"#/definitions/BE"},"minecraft:placement_filter":{"$ref":"#/definitions/BF"},"minecraft:selection_box":{"$ref":"#/definitions/BJ"},"minecraft:transformation":{"$ref":"#/definitions/CA"},"minecraft:on_fall_on":{"$ref":"#/definitions/CB"},"minecraft:on_interact":{"$ref":"#/definitions/CC"},"minecraft:on_placed":{"$ref":"#/definitions/CD"},"minecraft:on_player_destroyed":{"$ref":"#/definitions/CE"},"minecraft:on_player_placing":{"$ref":"#/definitions/CF"},"minecraft:on_step_off":{"$ref":"#/definitions/CG"},"minecraft:on_step_on":{"$ref":"#/definitions/CH"},"minecraft:queued_ticking":{"$ref":"#/definitions/CI"},"minecraft:random_ticking":{"$ref":"#/definitions/CJ"}}},"C":{"title":"Collision Box","description":"This component can be specified as a Boolean. If this component is omitted, the default value for this component is true, which will give your block the default values for its parameters (a collision box the size/shape of a regular block).","oneOf":[{"type":"boolean","default":true},{"type":"object","additionalProperties":false,"properties":{"origin":{"title":"Origin","description":"Minimal position of the bounds of the collision box. origin is specified as [x, y, z] and must be in the range (-8, 0, -8) to (8, 16, 8), inclusive.","type":"array","items":[{"title":"X","type":"number","minimum":-8.0,"maximum":8},{"title":"Y","type":"number","minimum":0,"maximum":16},{"title":"Z","type":"number","minimum":-8.0,"maximum":8}]},"size":{"title":"Size","description":"Size of each side of the collision box. Size is specified as [x, y, z]. origin + size must be in the range (-8, 0, -8) to (8, 16, 8), inclusive.","type":"array","items":[{"title":"X","type":"number","minimum":-8.0,"maximum":8},{"title":"Y","type":"number","minimum":0,"maximum":16},{"title":"Z","type":"number","minimum":-8.0,"maximum":8}]}}}]},"D":{"title":"Crafting Table","description":"Makes your block into a custom crafting table which enables the crafting table UI and the ability to craft recipes.","additionalProperties":false,"type":"object","required":[],"properties":{"crafting_tags":{"title":"Crafting Tags","description":"Defines the tags recipes should define to be crafted on this table. Limited to 64 tags. Each tag is limited to 64 characters.","type":"array","maxItems":64,"items":{"type":"string","title":"Tag","description":"The tag to check for.","minLength":1,"maxLength":64}},"table_name":{"title":"Table Name","description":"Specifies the language file key that maps to what text will be displayed in the UI of this table. If the string given can not be resolved as a loc string, the raw string given will be displayed. If this field is omitted, the name displayed will default to the name specified in the \"display_name\" component. If this block has no \"display_name\" component, the name displayed will default to the name of the block.","type":"string"}}},"E":{"title":"Destructible By Explosion","description":"Describes the destructible by explosion properties for this block. If set to true, the block will have the default explosion resistance. If set to false, this block is indestructible by explosion. If the component is omitted, the block will have the default explosion resistance.","oneOf":[{"type":"boolean","default":true},{"type":"object","additionalProperties":false,"required":[],"properties":{"explosion_resistance":{"title":"Explosion Resistance","description":"Describes how resistant the block is to explosion. Greater values mean the block is less likely to break when near an explosion (or has higher resistance to explosions). The scale will be different for different explosion power levels. A negative value or 0 means it will easily explode; larger numbers increase level of resistance.","type":"number","default":0.0}}}]},"F":{"title":"Destructible By Mining","description":"Describes the destructible by mining properties for this block. If set to true, the block will take the default number of seconds to destroy. If set to false, this block is indestructible by mining. If the component is omitted, the block will take the default number of seconds to destroy.","oneOf":[{"type":"boolean","default":true},{"type":"object","additionalProperties":false,"required":[],"properties":{"seconds_to_destroy":{"title":"Seconds To Destroy","description":"Sets the number of seconds it takes to destroy the block with base equipment. Greater numbers result in greater mining times.","type":"number","default":0.0}}}]},"G":{"title":"Display Name","description":"Specifies the language file key that maps to what text will be displayed when you hover over the block in your inventory and hotbar. If the string given can not be resolved as a loc string, the raw string given will be displayed. If this component is omitted, the name of the block will be used as the display name.","type":"string"},"H":{"title":"Flammable","description":"Describes the flammable properties for this block. If set to true, default values are used. If set to false, or if this component is omitted, the block will not be able to catch on fire naturally from neighbors, but it can still be directly ignited.","oneOf":[{"type":"boolean","default":true},{"type":"object","additionalProperties":false,"required":[],"properties":{"catch_chance_modifier":{"title":"Catch Chance Modifier","description":"A modifier affecting the chance that this block will catch flame when next to a fire. Values are greater than or equal to 0, with a higher number meaning more likely to catch on fire","type":"number","default":5},"destroy_chance_modifier":{"title":"Destroy Chance Modifier","description":"A modifier affecting the chance that this block will be destroyed by flames when on fire.","type":"number","default":20}}}]},"I":{"title":"Friction","description":"Describes the friction for this block in a range of (0.0-0.9). Friction affects an entity's movement speed when it travels on the block. Greater value results in more friction.","type":"number","default":0.4,"minimum":0,"maximum":0.9},"J":{"title":"Geometry","description":"The description identifier of the geometry file to use to render this block. This identifier must match an existing geometry identifier in any of the currently loaded resource packs.","oneOf":[{"type":"string"},{"type":"object","properties":{"identifier":{"title":"Identifier","description":"The description identifier of the geometry file to use to render this block. This identifier must match an existing geometry identifier in any of the currently loaded resource packs.","type":"string","enum":["minecraft:geometry.full_block","minecraft:geometry.cross"]}}},{"type":"object","additionalProperties":false,"required":["identifier"],"properties":{"identifier":{"title":"Identifier","description":"The description identifier of the geometry file to use to render this block. This identifier must match an existing geometry identifier in any of the currently loaded resource packs.","type":"string"},"bone_visibility":{"title":"Bone Visibility","description":"A list of bones that should be visible when rendering this block. If not specified, all bones will be visible.","type":"object","additionalProperties":{"type":"boolean","description":"Whether or not the bone should be visible.","title":"Bone Visibility"}},"culling":{"title":"Block Culling Rule","description":"The description identifer of the block culling rule used to cull this block. This identifier must match an existing geometry identifier in any of the currently loaded resource packs.","type":"string"}}}]},"BA":{"title":"Light Dampening","description":"The amount that light will be dampened when it passes through the block, in a range (0-15). Higher value means the light will be dampened more.","type":"integer","default":15,"minimum":0,"maximum":15},"BB":{"title":"Light Emission","description":"The amount of light this block will emit in a range (0-15). Higher value means more light will be emitted.","type":"integer","default":15,"minimum":0,"maximum":15},"BC":{"title":"Loot","description":"The path to the loot table, relative to the behavior pack.","type":"string","pattern":"loot_tables/.*\\.json$","maxLength":256},"BD":{"title":"Map Color","description":"Sets the color of the block when rendered to a map. The color is represented as a hex value in the format \"#RRGGBB\". May also be expressed as an array of [R, G, B] from 0 to 255. If this component is omitted, the block will not show up on the map.","oneOf":[{"type":"string","format":"colox-hex","default":"#FFFFFF"},{"type":"array","items":[{"title":"Red","type":"integer","default":0,"minimum":0,"maximum":255},{"title":"Green","type":"integer","default":0,"minimum":0,"maximum":255},{"title":"Blue","type":"integer","default":0,"minimum":0,"maximum":255}]}],"examples":["#FFFFFF",[255,255,255]]},"BE":{"title":"Material Instances","description":"The material instances for a block. Maps face or material_instance names in a geometry file to an actual material instance. You can assign a material instance object to any of these faces: \"up\", \"down\", \"north\", \"south\", \"east\", \"west\", or \"*\". You can also give an instance the name of your choosing such as \"my_instance\", and then assign it to a face by doing \"north\":\"my_instance\".","required":[],"examples":[{"*":{}},{"custom_sides":{}},{"up":{}},{"down":{}},{"north":{}},{"south":"custom_sides"},{"east":"custom_sides"},{"west":"custom_sides"}],"type":"object","additionalProperties":{"title":"Material Instance","description":"The material instance for a block. Maps face or material_instance names in a geometry file to an actual material instance. You can assign a material instance object to any of these faces: \"up\", \"down\", \"north\", \"south\", \"east\", \"west\", or \"*\". You can also give an instance the name of your choosing such as \"my_instance\", and then assign it to a face by doing \"north\":\"my_instance\".","oneOf":[{"type":"string"},{"type":"object","additionalProperties":false,"properties":{"ambient_occlusion":{"title":"Ambient Occlusion","type":"boolean","default":true,"description":"Should this material have ambient occlusion applied when lighting? If true, shadows will be created around and underneath the block."},"face_dimming":{"title":"Face Dimming","type":"boolean","default":true,"description":"Should this material be dimmed by the direction it's facing?"},"render_method":{"title":"Render Method","type":"string","default":"opaque","description":"The render method to use. Must be one of these options: opaque - Used for a regular block texture without an alpha layer. Does not allow for transparency or translucency. double_sided - Used for completely disabling backface culling. blend - Used for a block like stained glass. Allows for transparency and translucency (slightly transparent textures). alpha_test - Used for a block like the vanilla (unstained) glass. Does not allow for translucency, only fully opaque or fully transparent textures. Also disables backface culling.","markdownDescription":"The render method to use. Must be one of these options: \nopaque - Used for a regular block texture without an alpha layer. Does not allow for transparency or translucency.\ndouble_sided - Used for completely disabling backface culling.\nblend - Used for a block like stained glass. Allows for transparency and translucency (slightly transparent textures).\nalpha_test - Used for a block like the vanilla (unstained) glass. Does not allow for translucency, only fully opaque or fully transparent textures. Also disables backface culling.","enum":["opaque","double_sided","blend","alpha_test"]},"texture":{"title":"Texture","type":"string","default":"","description":"Texture name for the material."}}}]}},"BH":{"description":"A minecraft block identifier.","examples":["namespace:block"],"pattern":"^[0-9a-zA-Z:_\\.\\-]+$","title":"Block Identifier","type":"string","defaultSnippets":[{"label":"New Identifier","body":"$1:$2"}]},"BI":{"type":"string","title":"Molang","description":"Molang definition.","format":"molang","examples":["query.variant","(1.0)","query.","variable.=;"],"defaultSnippets":[{"label":"New Molang","body":"$1"}]},"BG":{"description":"A minecraft block reference.","examples":["namespace:block",{"name":"namespace:block"}],"title":"Block Reference","defaultSnippets":[{"label":"New Identifier","body":"$1:$2"}],"oneOf":[{"type":"string","$ref":"#/definitions/BH"},{"title":"Block Reference","description":"","type":"object","additionalProperties":false,"properties":{"name":{"type":"string","$ref":"#/definitions/BH"},"states":{"title":"States","description":"","type":"object","propertyNames":{"pattern":"\\w*:?\\w+"},"example":[{"property":"value"}],"additionalProperties":{"type":["boolean","integer","string"],"title":"State Value","description":"The key of property is the name of the block state/property, the value must be the same as the block properties accepted values."}},"tags":{"$ref":"#/definitions/BI","description":"A condition using Molang queries that results to true/false that can be used to query for blocks with certain tags.","examples":["query.any_tag('wood')"]}}}]},"BF":{"title":"Placement Filter","type":"object","properties":{"conditions":{"title":"Conditions","description":"List of conditions where the block can be placed/survive. Limited to 64 conditions. Each condition is a JSON Object that must contain at least one (and can contain both) of the parameters allowed_faces or block_filter as shown below.","examples":[{"allowed_faces":["up"],"block_filter":["grass"]}],"type":"array","minItems":1,"items":{"title":"Placement Filter","type":"object","additionalProperties":false,"properties":{"allowed_faces":{"title":"Allowed Faces","type":"array","description":"List of any of the following strings describing which face(s) this block can be placed on: \"up\", \"down\", \"north\", \"south\", \"east\", \"west\", \"side\", \"all\". Limited to 6 faces.","uniqueItems":true,"items":{"type":"string","enum":["up","down","north","south","east","west","side","all"]}},"block_filter":{"title":"Block Filter","type":"array","description":"List of blocks that this block can be placed against in the \"allowed_faces\" direction. Limited to 64 blocks. Each block in this list can either be specified as a String (block name) or as a BlockDescriptor. A BlockDescriptor is an object that allows you to reference a block (or multiple blocks) based on its tags, or based on its name and states. The fields of a BlockDescriptor are described below.","items":{"title":"Block Filter","description":"[Experimental]","$ref":"#/definitions/BG"}}}}}}},"BJ":{"title":"Selection Box","description":"Defines the area of the block that is selected by the player's cursor. If set to true, default values are used. If set to false, this block is not selectable by the player's cursor. If this component is omitted, default values are used.","oneOf":[{"type":"boolean"},{"type":"object","additionalProperties":false,"properties":{"origin":{"title":"Origin","default":[0,0,0],"description":"Minimal position of the bounds of the selection box. \"origin\" is specified as [x, y, z] and must be in the range (-8, 0, -8) to (8, 16, 8), inclusive.","type":"array","items":[{"title":"X","type":"number","minimum":-8.0,"maximum":8},{"title":"Y","type":"number","minimum":0,"maximum":16},{"title":"Z","type":"number","minimum":-8.0,"maximum":8}]},"size":{"title":"Size","default":[8.0,8.0,8.0],"description":"Size of each side of the selection box. Size is specified as [x, y, z]. \"origin\" + \"size\" must be in the range (-8, 0, -8) to (8, 16, 8), inclusive.","type":"array","items":[{"title":"X","type":"number","minimum":-8.0,"maximum":8},{"title":"Y","type":"number","minimum":0,"maximum":16},{"title":"Z","type":"number","minimum":-8.0,"maximum":8}]}}}]},"CA":{"title":"Transformation","description":"Supports rotation, scaling, and translation","type":"object","additionalProperties":false,"properties":{"rotation":{"title":"Rotation","description":"Rotation in xxx?","type":"array","items":[{"title":"X","description":"Rotation in xxx?","type":"number","default":0},{"title":"Y","description":"Rotation in xxx?","type":"number","default":0},{"title":"Z","description":"Rotation in xxx?","type":"number","default":0}]},"scale":{"title":"Scale","description":"UNDOCUMENTED","type":"array","items":[{"title":"X","description":"UNDOCUMENTED","type":"number","default":1},{"title":"Y","description":"UNDOCUMENTED","type":"number","default":1},{"title":"Z","description":"UNDOCUMENTED","type":"number","default":1}]},"translation":{"title":"Translation","description":"UNDOCUMENTED","type":"array","items":[{"title":"X","description":"UNDOCUMENTED","type":"number","default":0},{"title":"Y","description":"UNDOCUMENTED","type":"number","default":0},{"title":"Z","description":"UNDOCUMENTED","type":"number","default":0}]}}},"CB":{"type":"object","title":"On Fall On","description":"[Experimental] Describes event for this block.","properties":{"condition":{"type":"string","default":"","description":"The condition of event to be executed on the block.","title":"Condition"},"event":{"type":"string","default":"","description":"The event executed on the block.","title":"Event"},"min_fall_distance":{"type":"number","default":0,"description":"The minimum distance in blocks that an actor needs to fall to trigger this event.","title":"Minimum Fall Distance"},"target":{"type":"string","default":"self","description":"The target of event executed on the block.","title":"Target"}}},"CC":{"type":"object","title":"On Fall On","description":"[Experimental] Describes event for this block.","properties":{"condition":{"type":"string","default":"","description":"The condition of event to be executed on the block.","title":"Condition"},"event":{"type":"string","default":"","description":"The event executed on the block.","title":"Event"},"target":{"type":"string","default":"self","description":"The target of event executed on the block.","title":"Target"}}},"CD":{"type":"object","title":"On Placed","description":"[Experimental] Describes event for this block.","properties":{"condition":{"type":"string","default":"","description":"The condition of event to be executed on the block.","title":"Condition"},"event":{"type":"string","default":"","description":"The event executed on the block.","title":"Event"},"target":{"type":"string","default":"self","description":"The target of event executed on the block.","title":"Target"}}},"CE":{"type":"object","title":"On Player Destroyed","description":"[Experimental] Describes event for this block.","properties":{"condition":{"type":"string","default":"","description":"The condition of event to be executed on the block.","title":"Condition"},"event":{"type":"string","default":"","description":"The event executed on the block.","title":"Event"},"target":{"type":"string","default":"self","description":"The target of event executed on the block.","title":"Target"}}},"CF":{"type":"object","title":"On Player Placing","description":"[Experimental] Describes event for this block.","properties":{"condition":{"type":"string","default":"","description":"The condition of event to be executed on the block.","title":"Condition"},"event":{"type":"string","default":"","description":"The event executed on the block.","title":"Event"},"target":{"type":"string","default":"self","description":"The target of event executed on the block.","title":"Target"}}},"CG":{"type":"object","title":"On Step Off","description":"[Experimental] Describes event for this block.","properties":{"condition":{"type":"string","default":"","description":"The condition of event to be executed on the block.","title":"Condition"},"event":{"type":"string","default":"","description":"The event executed on the block.","title":"Event"},"target":{"type":"string","default":"self","description":"The target of event executed on the block.","title":"Target"}}},"CH":{"type":"object","title":"On Step On","description":"[Experimental] Describes event for this block.","properties":{"condition":{"type":"string","default":"","description":"The condition of event to be executed on the block.","title":"Condition"},"event":{"type":"string","default":"","description":"The event executed on the block.","title":"Event"},"target":{"type":"string","default":"self","description":"The target of event executed on the block.","title":"Target"}}},"CI":{"title":"Random Ticking","description":"[Experimental] Describes the component that will trigger an even at a regular interval between two values.","type":"object","additionalProperties":false,"properties":{"on_tick":{"title":"On Tick","description":"Describes the component that will trigger an even at a regular interval between two values.","type":"string","additionalProperties":false,"properties":{"condition":{"title":"Condition","type":"string","default":"1","description":"The condition of event to be executed on the block. Molang"},"event":{"title":"Event","type":"string","default":"set_block_property","description":"The type of event executed on the block."},"range":{"title":"Range","type":"array","items":[{"type":"integer"},{"type":"integer"}]},"target":{"title":"Target","description":"The target of event executed on the block.","type":"string","enum":["block","damager","other","parent","player","self","target"]}}},"looping":{"type":"boolean","default":true,"description":"Does the event loop.","title":"Looping"},"range":{"type":"array","default":[10,10],"description":"The Range between which the component will trigger his event.","title":"Range"}}},"CJ":{"title":"Random Ticking","description":"[Experimental] Triggers the specified event randomly based on the random tick speed gamerule. The random tick speed determines how often blocks are updated.","type":"object","additionalProperties":false,"properties":{"on_tick":{"title":"On Tick","description":"the event that will be triggered on random ticks."},"condition":{"title":"Condition","type":"string","default":"1","description":"A condition using Molang queries that results to true/false. If true on the random tick, the event will be triggered. If false on the random tick, the event will not be triggered."},"event":{"title":"Event","type":"string","default":"set_block_property","description":"The event that will be triggered."},"target":{"title":"Target","type":"string","default":"self","description":"The target of the event executed by the block"}}},"DA_event_base":{"title":"Event","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"condition":{"title":"Condition","description":"The condition of event to be executed on the block.","type":"string"},"event":{"title":"Event","description":"The event executed on the block.","type":"string"},"target":{"title":"Target","description":"The target of event executed on the block.","type":"string","default":"self"}}},"DA":{"title":"Events","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","properties":{"minecraft:on_fall_on":{"$ref":"#/definitions/DA_event_base"},"minecraft:on_interact":{"$ref":"#/definitions/DA_event_base"},"minecraft:on_placed":{"$ref":"#/definitions/DA_event_base"},"minecraft:on_player_destroyed":{"$ref":"#/definitions/DA_event_base"},"minecraft:on_player_placing":{"$ref":"#/definitions/DA_event_base"},"minecraft:on_step_off":{"$ref":"#/definitions/DA_event_base"},"minecraft:on_step_on":{"$ref":"#/definitions/DA_event_base"}}},"B":{"title":"Block Definitions","description":"A custom block definition.","type":"object","additionalProperties":false,"required":["description","components"],"properties":{"description":{"title":"Block Description","description":"The description for this block.","type":"object","additionalProperties":false,"required":["identifier"],"properties":{"menu_category":{"title":"Menu Category","$comment":"UNDOCUMENTED","description":"The category this block will be placed in the menu.","type":"object","default":"misc","additionalProperties":false,"required":["category"],"properties":{"category":{"title":"Category","description":"Determines which category this block will be placed under in the inventory and crafting table container screens. Options are \"construction\", \"nature\", \"equipment\", \"items\", and \"none\". If omitted or \"none\" is specified, the block will not appear in the inventory or crafting table container screens.","type":"string","enum":["construction","nature","equipment","items","none"]},"group":{"title":"Group","$comment":"UNDOCUMENTED","description":"A translation string of an existing group in minecraft to group this item under","type":"string","enum":["itemGroup.name.anvil","itemGroup.name.arrow","itemGroup.name.axe","itemGroup.name.banner_pattern","itemGroup.name.banner","itemGroup.name.beacon","itemGroup.name.bed","itemGroup.name.bell","itemGroup.name.boat","itemGroup.name.boots","itemGroup.name.brick","itemGroup.name.buttons","itemGroup.name.cactus","itemGroup.name.camera","itemGroup.name.candles","itemGroup.name.chemistrytable","itemGroup.name.chest","itemGroup.name.chestboat","itemGroup.name.chestplate","itemGroup.name.clay","itemGroup.name.climbing","itemGroup.name.cobblestone","itemGroup.name.composter","itemGroup.name.concrete","itemGroup.name.concretePowder","itemGroup.name.constructionMisc","itemGroup.name.cookedFood","itemGroup.name.copper","itemGroup.name.coral_decorations","itemGroup.name.coral","itemGroup.name.craftingTables","itemGroup.name.crop","itemGroup.name.dirt","itemGroup.name.door","itemGroup.name.dye","itemGroup.name.eggBlocks","itemGroup.name.element","itemGroup.name.enchantedBook","itemGroup.name.enchantingTable","itemGroup.name.endPortalFrame","itemGroup.name.endRod","itemGroup.name.fence","itemGroup.name.fenceGate","itemGroup.name.firework","itemGroup.name.fireworkStars","itemGroup.name.flower","itemGroup.name.furnaces","itemGroup.name.glass","itemGroup.name.glassPane","itemGroup.name.glazedTerracotta","itemGroup.name.glowstone","itemGroup.name.goatHorn","itemGroup.name.grass","itemGroup.name.gravel","itemGroup.name.greenery","itemGroup.name.grindStone","itemGroup.name.helmet","itemGroup.name.hoe","itemGroup.name.horseArmor","itemGroup.name.ice","itemGroup.name.ironFence","itemGroup.name.items","itemGroup.name.leaves","itemGroup.name.lectern","itemGroup.name.leggings","itemGroup.name.lights","itemGroup.name.lingeringPotion","itemGroup.name.log","itemGroup.name.minecart","itemGroup.name.miscFood","itemGroup.name.mobEgg","itemGroup.name.monsterStoneEgg","itemGroup.name.mushroom","itemGroup.name.musicBlocks","itemGroup.name.natureBuildingBlocks","itemGroup.name.natureMisc","itemGroup.name.ore","itemGroup.name.oreBlocks","itemGroup.name.permission","itemGroup.name.pickaxe","itemGroup.name.pistons","itemGroup.name.planks","itemGroup.name.potion","itemGroup.name.pressurePlate","itemGroup.name.pumpkins","itemGroup.name.purpur","itemGroup.name.rail","itemGroup.name.rawFood","itemGroup.name.record","itemGroup.name.redstone","itemGroup.name.redstoneContainers","itemGroup.name.redstoneProducers","itemGroup.name.sand","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.splashPotion","itemGroup.name.stainedClay","itemGroup.name.stairs","itemGroup.name.stone","itemGroup.name.stoneBrick","itemGroup.name.sword","itemGroup.name.tnt","itemGroup.name.torch","itemGroup.name.trapdoor","itemGroup.name.walls","itemGroup.name.wood","itemGroup.name.wool","itemGroup.name.woolCarpet"]},"is_hidden_in_commands":{"title":"Is Hidden In Commands","$comment":"UNDOCUMENTED","description":"If true, this item will not be shown in the /give command autocomplete list.","type":"boolean"}}},"identifier":{"type":"string","description":"The identifier for this block. The name must include a namespace and must not use the Minecraft namespace unless overriding a Vanilla block.","title":"Identifier","$ref":"#/definitions/BH"},"is_experimental":{"type":"boolean","default":false,"description":"If this block is experimental, it will only be registered if the world is marked as experimantal.","title":"Is Experimental"},"register_to_creative_menu":{"type":"boolean","default":false,"description":"Whether or not to register this block to the creative inventory menu.","title":"Register To Creative Menu"},"states":{"title":"States","description":"[HOLIDAY EXPERIMENTAL] UNDOCUMENTED.","$comment":"UNDOCUMENTED","propertyNames":{"pattern":"^([a-zA-Z0-9_]+:[a-zA-Z0-9_\\-]+)$"},"type":"object","additionalProperties":{"title":"State","description":"A block property.","oneOf":[{"type":"array","items":{"title":"Property Value","description":"The value of this property.","anyOf":[{"type":"boolean"},{"type":"number"},{"type":"integer"},{"type":"string"}]}},{"type":"object"}]}}}},"events":{"$ref":"#/definitions/DA"},"components":{"type":"object","title":"Component","$ref":"#/definitions/B_components_ref"},"permutations":{"type":"array","title":"Permutations","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","items":{"title":"Permutation","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"condition":{"title":"Condition","description":"A Molang expression that evaluates to true or false to determine if this permutation should be used. For permutation conditions you are limited to using one Molang query: \"query.block_property()\"","$ref":"#/definitions/BI"},"components":{"type":"object","title":"Component","$ref":"#/definitions/B_components_ref"}}}}}}}} \ No newline at end of file diff --git a/behavior/entities/entities.json b/behavior/entities/entities.json index 53de75e8..ab29e4c0 100644 --- a/behavior/entities/entities.json +++ b/behavior/entities/entities.json @@ -1 +1 @@ -{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.behavior.entities","examples":[{"format_version":"1.20.41","minecraft:entity":{"description":{"identifier":"namespace:entity","is_spawnable":true,"is_summonable":true},"component_groups":{},"components":{},"events":{}}}],"type":"object","title":"Entity Behavior","description":"The minecraft entity behavior specification.","required":["format_version","minecraft:entity"],"additionalProperties":false,"properties":{"format_version":{"$ref":"#/definitions/A"},"minecraft:entity":{"$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 entity identifier.","examples":["namespace:entity_name"],"pattern":"^[0-9a-zA-Z:_\\.\\-]+$","title":"Entity Identifier","type":"string","defaultSnippets":[{"label":"New Identifier","body":"$1:$2"}]},"D":{"title":"Molang Boolean","description":"The minecraft molang definition that results in a boolean.","anyOf":[{"type":"string","minLength":0},{"type":"boolean"}],"examples":[0,"query.variant","(1.0)","query.","variable.=;"],"defaultSnippets":[{"label":"New Molang","body":"$1"}]},"E":{"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"}]},"G":{"additionalProperties":false,"type":"object","title":"Add Rider","description":"Adds a rider to the entity. Requires `minecraft:rideable.`","required":["entity_type"],"properties":{"entity_type":{"type":"string","description":"The entity type that will be riding this entity.","title":"Entity Type"},"spawn_event":{"type":"string","description":"The spawn event that will be used when the riding entity is created.","title":"Spawn Event"}},"examples":[{"entity_type":"minecraft:rabbit"},{"entity_type":"minecraft:rabbit","spawn_event":"self:example"}]},"H":{"type":"object","title":"Admire Item","description":"Causes the mob to ignore attackable targets for a given duration.","additionalProperties":false,"properties":{"cooldown_after_being_attacked":{"type":"integer","default":0,"description":"Duration, in seconds, for which mob won't admire items if it was hurt.","title":"Cooldown After Being Attacked"},"duration":{"type":"integer","default":10,"description":"Duration, in seconds, that the mob is pacified.","title":"Duration"}},"examples":[{"cooldown_after_being_attacked":0,"duration":10}]},"J_object_item_descriptor":{"title":"Item Descriptor","description":"An object that describes an item.","type":"object","additionalProperties":false,"properties":{"item":{"oneOf":[{"type":"string","$ref":"#/definitions/BA"},{"type":"object","$ref":"#/definitions/J_object_item_descriptor"}]},"tags":{"type":"string","$ref":"#/definitions/BB","description":"[UNDOCUMENTED] A Molang expression ran against item or block to match.","$comment":"UNDOCUMENTED","examples":["query.any_tag('minecraft:is_tool')"]},"item_tag":{"type":"string","description":"[UNDOCUMENTED] A tag to lookup item or block by.","$comment":"UNDOCUMENTED","examples":["minecraft:is_tool"]}},"examples":[{"tags":"query.any_tag('minecraft:is_tool')"},{"item_tag":"minecraft:is_tool"}]},"BA":{"description":"A minecraft item identifier.","pattern":"^[0-9a-zA-Z:_\\-\\.]+$","title":"Item Identifier","type":"string","defaultSnippets":[{"label":"New Identifier","body":"$1:$2"}]},"BB":{"type":"string","title":"Molang","description":"Molang definition.","format":"molang","examples":["query.variant","(1.0)","query.","variable.=;"],"defaultSnippets":[{"label":"New Molang","body":"$1"}]},"J":{"anyOf":[{"$ref":"#/definitions/BA"},{"$ref":"#/definitions/J_object_item_descriptor"},{"type":"object","properties":{"item":{"oneOf":[{"type":"string","$ref":"#/definitions/BA"},{"type":"object","$ref":"#/definitions/J_object_item_descriptor"}]}}}]},"BC":{"title":"Event","description":"Minecraft behavior event.","examples":[{"event":"example:foo","target":"self"}],"type":"object","additionalProperties":false,"properties":{"event":{"type":"string","pattern":"^[a-zA-Z0-9_\\-:]+$","description":"The event to fire.","title":"Event"},"target":{"type":"string","description":"The target of the event.","title":"Target","enum":["baby","block","damager","other","parent","player","self","target"]}}},"BD_filters_spec":{"defaultSnippets":[{"label":"New Test","body":{"test":"$1","value":"$2"}},{"label":"New All_of Test","body":{"all_of":[{"test":"$1","value":"$2"},{"test":"$3","value":"$4"}]}},{"label":"New Any_of Test","body":{"any_of":[{"test":"$1","value":"$2"},{"test":"$3","value":"$4"}]}},{"label":"New None_of Test","body":{"none_of":[{"test":"$1","value":"$2"},{"test":"$3","value":"$4"}]}}],"examples":[{"all_of":[{}]},{"any_of":[{}]},{"none_of":[{}]}],"oneOf":[{"propertyNames":{"enum":["all_of","any_of","none_of"]},"properties":{"all_of":{"title":"All Of","description":"All tests in an `all_of` group must pass in order for the group to pass.","$ref":"#/definitions/BD_groups_spec"},"any_of":{"title":"Any Of","description":"One or more tests in an `any_of` group must pass in order for the group to pass.","$ref":"#/definitions/BD_groups_spec"},"none_of":{"title":"None Of","description":"All tests in a `none_of` group must fail in order for the group to pass.","$ref":"#/definitions/BD_groups_spec"}}},{"required":["test"],"properties":{"all_of":{"title":"All Of","description":"All tests in an `all_of` group must pass in order for the group to pass.","$ref":"#/definitions/BD_groups_spec"},"any_of":{"title":"Any Of","description":"One or more tests in an `any_of` group must pass in order for the group to pass.","$ref":"#/definitions/BD_groups_spec"},"none_of":{"title":"None Of","description":"All tests in a `none_of` group must fail in order for the group to pass.","$ref":"#/definitions/BD_groups_spec"}},"allOf":[{"if":{"properties":{"test":{"const":"actor_health"}}},"then":{"$ref":"#/definitions/BE"}},{"if":{"properties":{"test":{"const":"all_slots_empty"}}},"then":{"$ref":"#/definitions/BH"}},{"if":{"properties":{"test":{"const":"any_slots_empty"}}},"then":{"$ref":"#/definitions/BJ"}},{"if":{"properties":{"test":{"const":"bool_property"}}},"then":{"$ref":"#/definitions/CA"}},{"if":{"properties":{"test":{"const":"clock_time"}}},"then":{"$ref":"#/definitions/CB"}},{"if":{"properties":{"test":{"const":"distance_to_nearest_player"}}},"then":{"$ref":"#/definitions/CC"}},{"if":{"properties":{"test":{"const":"enum_property"}}},"then":{"$ref":"#/definitions/CD"}},{"if":{"properties":{"test":{"const":"float_property"}}},"then":{"$ref":"#/definitions/CE"}},{"if":{"properties":{"test":{"const":"has_ability"}}},"then":{"$ref":"#/definitions/CF"}},{"if":{"properties":{"test":{"const":"has_biome_tag"}}},"then":{"$ref":"#/definitions/CG"}},{"if":{"properties":{"test":{"const":"has_component"}}},"then":{"$ref":"#/definitions/CH"}},{"if":{"properties":{"test":{"const":"has_container_open"}}},"then":{"$ref":"#/definitions/CI"}},{"if":{"properties":{"test":{"const":"has_damage"}}},"then":{"$ref":"#/definitions/CJ"}},{"if":{"properties":{"test":{"const":"has_equipment"}}},"then":{"$ref":"#/definitions/DB"}},{"if":{"properties":{"test":{"const":"has_mob_effect"}}},"then":{"$ref":"#/definitions/DC"}},{"if":{"properties":{"test":{"const":"has_nametag"}}},"then":{"$ref":"#/definitions/DD"}},{"if":{"properties":{"test":{"const":"has_property"}}},"then":{"$ref":"#/definitions/DE"}},{"if":{"properties":{"test":{"const":"has_ranged_weapon"}}},"then":{"$ref":"#/definitions/DF"}},{"if":{"properties":{"test":{"const":"has_silk_touch"}}},"then":{"$ref":"#/definitions/DG"}},{"if":{"properties":{"test":{"const":"has_tag"}}},"then":{"$ref":"#/definitions/DH"}},{"if":{"properties":{"test":{"const":"has_target"}}},"then":{"$ref":"#/definitions/DI"}},{"if":{"properties":{"test":{"const":"has_trade_supply"}}},"then":{"$ref":"#/definitions/DJ"}},{"if":{"properties":{"test":{"const":"hourly_clock_time"}}},"then":{"$ref":"#/definitions/EA"}},{"if":{"properties":{"test":{"const":"in_block"}}},"then":{"$ref":"#/definitions/EB"}},{"if":{"properties":{"test":{"const":"in_caravan"}}},"then":{"$ref":"#/definitions/EC"}},{"if":{"properties":{"test":{"const":"in_clouds"}}},"then":{"$ref":"#/definitions/ED"}},{"if":{"properties":{"test":{"const":"in_contact_with_water"}}},"then":{"$ref":"#/definitions/EE"}},{"if":{"properties":{"test":{"const":"in_lava"}}},"then":{"$ref":"#/definitions/EF"}},{"if":{"properties":{"test":{"const":"in_nether"}}},"then":{"$ref":"#/definitions/EG"}},{"if":{"properties":{"test":{"const":"in_overworld"}}},"then":{"$ref":"#/definitions/EH"}},{"if":{"properties":{"test":{"const":"in_water_or_rain"}}},"then":{"$ref":"#/definitions/EI"}},{"if":{"properties":{"test":{"const":"in_water"}}},"then":{"$ref":"#/definitions/EJ"}},{"if":{"properties":{"test":{"const":"inactivity_timer"}}},"then":{"$ref":"#/definitions/FA"}},{"if":{"properties":{"test":{"const":"int_property"}}},"then":{"$ref":"#/definitions/FB"}},{"if":{"properties":{"test":{"const":"is_altitude"}}},"then":{"$ref":"#/definitions/FC"}},{"if":{"properties":{"test":{"const":"is_avoiding_mobs"}}},"then":{"$ref":"#/definitions/FD"}},{"if":{"properties":{"test":{"const":"is_biome"}}},"then":{"$ref":"#/definitions/FE"}},{"if":{"properties":{"test":{"const":"is_block"}}},"then":{"$ref":"#/definitions/FF"}},{"if":{"properties":{"test":{"const":"is_brightness"}}},"then":{"$ref":"#/definitions/FG"}},{"if":{"properties":{"test":{"const":"is_climbing"}}},"then":{"$ref":"#/definitions/FH"}},{"if":{"properties":{"test":{"const":"is_color"}}},"then":{"$ref":"#/definitions/FI"}},{"if":{"properties":{"test":{"const":"is_daytime"}}},"then":{"$ref":"#/definitions/FJ"}},{"if":{"properties":{"test":{"const":"is_difficulty"}}},"then":{"$ref":"#/definitions/GA"}},{"if":{"properties":{"test":{"const":"is_family"}}},"then":{"$ref":"#/definitions/GB"}},{"if":{"properties":{"test":{"const":"is_game_rule"}}},"then":{"$ref":"#/definitions/GC"}},{"if":{"properties":{"test":{"const":"is_humid"}}},"then":{"$ref":"#/definitions/GD"}},{"if":{"properties":{"test":{"const":"is_immobile"}}},"then":{"$ref":"#/definitions/GE"}},{"if":{"properties":{"test":{"const":"is_in_village"}}},"then":{"$ref":"#/definitions/GF"}},{"if":{"properties":{"test":{"const":"is_leashed_to"}}},"then":{"$ref":"#/definitions/GG"}},{"if":{"properties":{"test":{"const":"is_leashed"}}},"then":{"$ref":"#/definitions/GH"}},{"if":{"properties":{"test":{"const":"is_mark_variant"}}},"then":{"$ref":"#/definitions/GI"}},{"if":{"properties":{"test":{"const":"is_missing_health"}}},"then":{"$ref":"#/definitions/GJ"}},{"if":{"properties":{"test":{"const":"is_moving"}}},"then":{"$ref":"#/definitions/HA"}},{"if":{"properties":{"test":{"const":"is_owner"}}},"then":{"$ref":"#/definitions/HB"}},{"if":{"properties":{"test":{"const":"is_persistent"}}},"then":{"$ref":"#/definitions/HC"}},{"if":{"properties":{"test":{"const":"is_riding"}}},"then":{"$ref":"#/definitions/HD"}},{"if":{"properties":{"test":{"const":"is_skin_id"}}},"then":{"$ref":"#/definitions/HE"}},{"if":{"properties":{"test":{"const":"is_sleeping"}}},"then":{"$ref":"#/definitions/HF"}},{"if":{"properties":{"test":{"const":"is_sneak_held"}}},"then":{"$ref":"#/definitions/HG"}},{"if":{"properties":{"test":{"const":"is_sneaking"}}},"then":{"$ref":"#/definitions/HH"}},{"if":{"properties":{"test":{"const":"is_snow_covered"}}},"then":{"$ref":"#/definitions/HI"}},{"if":{"properties":{"test":{"const":"is_target"}}},"then":{"$ref":"#/definitions/HJ"}},{"if":{"properties":{"test":{"const":"is_temperature_type"}}},"then":{"$ref":"#/definitions/IA"}},{"if":{"properties":{"test":{"const":"is_temperature_value"}}},"then":{"$ref":"#/definitions/IB"}},{"if":{"properties":{"test":{"const":"is_underground"}}},"then":{"$ref":"#/definitions/IC"}},{"if":{"properties":{"test":{"const":"is_underwater"}}},"then":{"$ref":"#/definitions/ID"}},{"if":{"properties":{"test":{"const":"is_variant"}}},"then":{"$ref":"#/definitions/IE"}},{"if":{"properties":{"test":{"const":"is_visible"}}},"then":{"$ref":"#/definitions/IF"}},{"if":{"properties":{"test":{"const":"is_waterlogged"}}},"then":{"$ref":"#/definitions/IG"}},{"if":{"properties":{"test":{"const":"light_level"}}},"then":{"$ref":"#/definitions/IH"}},{"if":{"properties":{"test":{"const":"moon_intensity"}}},"then":{"$ref":"#/definitions/II"}},{"if":{"properties":{"test":{"const":"moon_phase"}}},"then":{"$ref":"#/definitions/IJ"}},{"if":{"properties":{"test":{"const":"on_ground"}}},"then":{"$ref":"#/definitions/JA"}},{"if":{"properties":{"test":{"const":"on_ladder"}}},"then":{"$ref":"#/definitions/JB"}},{"if":{"properties":{"test":{"const":"random_chance"}}},"then":{"$ref":"#/definitions/JC"}},{"if":{"properties":{"test":{"const":"rider_count"}}},"then":{"$ref":"#/definitions/JD"}},{"if":{"properties":{"test":{"const":"surface_mob"}}},"then":{"$ref":"#/definitions/JE"}},{"if":{"properties":{"test":{"const":"taking_fire_damage"}}},"then":{"$ref":"#/definitions/JF"}},{"if":{"properties":{"test":{"const":"target_distance"}}},"then":{"$ref":"#/definitions/JG"}},{"if":{"properties":{"test":{"const":"trusts"}}},"then":{"$ref":"#/definitions/JH"}},{"if":{"properties":{"test":{"const":"weather_at_position"}}},"then":{"$ref":"#/definitions/JI"}},{"if":{"properties":{"test":{"const":"weather"}}},"then":{"$ref":"#/definitions/JJ"}},{"not":{"properties":{"test":{"const":"is_weather"}},"$comment":"DEPRECATED"}}]}]},"BD_groups_spec":{"oneOf":[{"type":"array","items":{"$ref":"#/definitions/BD_groups_spec"}},{"type":"object","$ref":"#/definitions/BD_filters_spec"}]},"BF":{"title":"Operator","type":"string","description":"The comparison to apply with `value`.","default":"equals","enum":["!=","<","<=","<>","=","==",">",">=","equals","not"]},"BG":{"title":"Subject","type":"string","description":"The subject of this filter test.","default":"self","enum":["block","other","parent","player","self","target","damager"]},"BE":{"type":"object","title":"Actor Health","description":"Tests the health of the subject.","required":["value"],"examples":[{"test":"actor_health","value":10}],"properties":{"test":{"type":"string","title":"Test Property","description":"Tests the health of the subject."},"operator":{"$ref":"#/definitions/BF","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BG","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"integer","description":"(Required) A integer value.","title":"Value","examples":[0,1]}}},"BI":{"title":"Equipment Location","type":"string","description":"The equipment location to test.","default":"self","enum":["any","armor","feet","hand","head","inventory","leg","torse"]},"BH":{"type":"object","title":"All Slots Empty","description":"Returns true when the designated equipment location for the subject entity is completely empty.","required":["value"],"examples":[{"test":"all_slots_empty","subject":"self","operator":"equals","value":"any"},{"test":"all_slots_empty"}],"properties":{"test":{"type":"string","title":"Test Property","description":"Returns true when the designated equipment location for the subject entity is completely empty."},"operator":{"$ref":"#/definitions/BF","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BG","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"title":"Value","description":"The equipment location to test.","type":"integer","$ref":"#/definitions/BI"}}},"BJ":{"type":"object","title":"Any Slots Empty","description":"Returns true when the designated equipment location for the subject entity has any empty slot.","required":["value"],"examples":[{"test":"any_slots_empty","subject":"self","operator":"equals","value":"any"},{"test":"Any_slots_empty"}],"properties":{"test":{"type":"string","title":"Test Property","description":"Returns true when the designated equipment location for the subject entity has any empty slot."},"operator":{"$ref":"#/definitions/BF","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BG","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"title":"Value","description":"The equipment location to test.","type":"integer","$ref":"#/definitions/BI"}}},"CA":{"type":"object","title":"Bool Property","description":"Returns true when the bool actor property matches the value provided.","required":["domain"],"examples":[{"test":"bool_property","value":true}],"properties":{"test":{"type":"string","title":"Test Property","description":"Returns true when the bool actor property matches the value provided."},"domain":{"description":"(Required) The property name to look for","title":"Operator","type":"string"},"operator":{"$ref":"#/definitions/BF","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BG","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"boolean","default":true,"title":"Value","description":"true or false."}}},"CB":{"type":"object","title":"Clock Time","description":"Compares the current time with a float value in the range (0.0, 1.0).\n0.0= Noon\n0.25= Sunset\n0.5= Midnight\n0.75= Sunrise","required":["value"],"examples":[{"test":"clock_time","value":0.25}],"properties":{"test":{"type":"string","title":"Test Property","description":"Compares the current time with a float value in the range (0.0, 1.0).\n0.0= Noon\n0.25= Sunset\n0.5= Midnight\n0.75= Sunrise"},"operator":{"$ref":"#/definitions/BF","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BG","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"number","minimum":0,"maximum":24000,"description":"(Required) A floating point value.","title":"Value","examples":[0,0.025,0.5,0.75,1]}}},"CC":{"type":"object","title":"Distance To Nearest Player","description":"Compares the distance to the nearest Player with a float value.","required":["value"],"examples":[{"test":"distance_to_nearest_player","value":5.7}],"properties":{"test":{"type":"string","title":"Test Property","description":"Compares the distance to the nearest Player with a float value."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"type":"number","description":"(Required) A floating point value.","title":"Value"}}},"CD":{"type":"object","title":"Enum Property","description":"Returns true when the enum actor property matches the value provided.","required":["value","domain"],"examples":[{"test":"bool_property","value":true}],"properties":{"test":{"type":"string","title":"Test Property","description":"Returns true when the enum actor property matches the value provided."},"domain":{"description":"(Required) The property name to look for","title":"Operator","type":"string"},"operator":{"$ref":"#/definitions/BF","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BG","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"string","title":"Value","description":"(Required) A string value."}}},"CE":{"type":"object","title":"Float Property","description":"Returns true when the float actor property matches the value provided.","required":["value","domain"],"examples":[{"test":"float_property","value":1.0}],"properties":{"test":{"type":"string","title":"Test Property","description":"Returns true when the float actor property matches the value provided."},"domain":{"description":"(Required) The property name to look for","title":"Operator","type":"string"},"operator":{"$ref":"#/definitions/BF","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BG","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"number","title":"Value","description":"(Required) A floating point value."}}},"CF":{"type":"object","title":"Has Ability","description":"Returns true when the subject entity has the named ability.","required":["value"],"properties":{"test":{"type":"string","title":"Test Property","description":"Returns true when the subject entity has the named ability."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"type":"string","description":"(Required) The Ability type to test.","enum":["flySpeed","flying","instabuild","invulnerable","lightning","mayfly","mute","noclip","walkSpeed","worldbuilder"],"title":"Value"}},"examples":[{"test":"has_ability","value":"flySpeed"}]},"CG":{"type":"object","title":"Has Biome Tag","description":"Tests whether the biome the subject is in has the specified tag.","required":["value"],"properties":{"test":{"type":"string","title":"Test Property","description":"Tests whether the biome the subject is in has the specified tag."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"(Required) The tag to look for.","type":"string","title":"Value"}},"examples":[{"test":"has_biome_tag","value":"monster"}]},"CH":{"type":"object","title":"Has Component","description":"Returns true when the subject entity contains the named component.","required":["value"],"properties":{"test":{"type":"string","title":"Test Property","description":"Returns true when the subject entity contains the named component."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"type":"string","description":"(Required) The component name to look for.","title":"Value"}},"examples":[{"test":"has_component","value":"minecraft:explode"}]},"CI":{"type":"object","title":"Has Container Open","description":"Returns true when the subject Player entity has opened a container.","properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"(Optional) true or false.","title":"Value","type":"boolean","default":true}},"examples":[{"test":"has_container_open","value":true}]},"DA":{"title":"Entity Damage Source","description":"The types of damage an entity can receive.","type":"string","enum":["all","anvil","block_explosion","campfire","charging","contact","drowning","entity_attack","entity_explosion","fall","falling_block","fatal","fire","fire_tick","fireworks","fly_into_wall","freezing","lava","lightning","magic","magma","none","override","piston","projectile","ram_attack","sonic_boom","soul_campfire","stalactite","stalagmite","starve","suffocation","suicide","temperature","thorns","void","wither"]},"CJ":{"type":"object","title":"Has Damage","description":"Returns true when the subject entity receives the named damage type. has_damage can also use subject and operator parameters but they are optional.","required":["value"],"examples":[{"test":"has_damage","value":"fatal"}],"properties":{"test":{"type":"string","title":"Test Property","description":"Returns true when the subject entity receives the named damage type."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"type":"string","description":"The Damage type to test.","$ref":"#/definitions/DA","title":"Value"}}},"DB":{"type":"object","title":"Has Equipment","description":"Tests for the presence of a named item in the designated slot of the subject entity.","required":["value"],"properties":{"test":{"type":"string","const":"has_equipment","description":"Tests for the presence of a named item in the designated slot of the subject entity.","title":"Test"},"domain":{"description":"The equipment location to test.","default":"any","enum":["any","inventory","armor","feet","hand","head","leg","torso"],"title":"Domain"},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"The item name to look for.","type":"string","$ref":"#/definitions/BA","title":"Value"}},"examples":[{"test":"has_equipment","value":"example"}]},"DC":{"type":"object","title":"Has Mob Effect","description":"Tests whether the Subject has the specified mob effect.","required":["value"],"properties":{"test":{"type":"string","title":"Test Property","description":"Tests whether the Subject has the specified mob effect."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"type":"string","description":"The specified mob effect.","title":"Value"}},"examples":[{"test":"has_mob_effect","value":"bad_omen"}]},"DD":{"type":"object","title":"Has Equipment","description":"Tests for the presence of a named item in the designated slot of the subject entity.","required":["value"],"properties":{"test":{"type":"string","const":"has_nametag","description":"Tests for the presence of a named item in the designated slot of the subject entity.","title":"Test"},"domain":{"description":"The equipment location to test.","default":"any","enum":["any","armor","feet","hand","head","leg","torso"],"title":"Domain"},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"The namtag to look for","type":"boolean","title":"Value"}},"examples":[{"test":"has_nametag","value":false},{"test":"has_nametag","value":true}]},"DE":{"type":"object","title":"Has Property","description":"Tests for the presence of a property of the subject entity.","required":["value","domain"],"examples":[{"test":"bool_property","value":true}],"properties":{"test":{"type":"string","title":"Test Property","description":"Tests for the presence of a property of the subject entity."},"operator":{"$ref":"#/definitions/BF","description":"(Optionall) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BG","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"title":"Value","type":"string","description":"(Required) The property name to look for."}}},"DF":{"type":"object","title":"Has Ranged Weapon","description":"Returns true when the subject entity is holding a ranged weapon like a bow or crossbow.","properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"has_ranged_weapon","value":true}]},"DG":{"type":"object","title":"Has Silk Touch","description":"Tests if the subject is holding an item with silk touch.","properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"has_silk_touch","subject":"other","value":true}]},"DH":{"type":"object","title":"Has Tag","description":"Returns true if the subject entity has the tag provided.","required":["value"],"properties":{"test":{"type":"string","title":"Test Property","description":"Returns true if the subject entity has the tag provided."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"type":"string","description":"The tag as a string.","pattern":"[a-zA-Z0-9_]+","title":"Value"}},"examples":[{"test":"has_tag","value":"example"}]},"DI":{"type":"object","title":"Has Target","description":"Returns true if the subject entity has a valid target.","properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"has_target","value":true}]},"DJ":{"type":"object","title":"Has Trade Supply","description":"Tests whether the target has any trade supply left. Will return false if the target cannot be traded with.","properties":{"test":{"type":"string","title":"Test Property","description":"Tests whether the target has any trade supply left. Will return false if the target cannot be traded with."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"has_trade_supply","value":true}]},"EA":{"type":"object","title":"Hourly Clock Time","description":"Compares the current 24 hour time with an int value in the range[0, 24000].","required":["value"],"properties":{"test":{"type":"string","title":"Test Property","description":"Compares the current 24 hour time with an int value in the range[0, 24000].","const":"hourly_clock_time"},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"type":"integer","description":"(Required) An integer value set between 0 and 24000.","minimum":0,"maximum":24000,"title":"Value"}},"examples":[{"test":"hourly_clock_time","value":0}]},"EB":{"type":"object","title":"In Block","description":"Returns true when the subject entity is inside a specified Block type.","properties":{"test":{"type":"string","title":"Test Property","description":"Returns true when the subject entity is inside a specified Block type."},"operator":{"$ref":"#/definitions/BF","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BG","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"string","description":"(Optional) A string value.","title":"Value"}},"examples":[{"test":"in_block","value":"minecraft:water"}]},"EC":{"type":"object","title":"In Caravan","description":"Returns true if the subject entity is in a caravan.","properties":{"test":{"type":"string","title":"Test Property","description":"Returns true if the subject entity is in a caravan."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_caravan","value":true}]},"ED":{"type":"object","title":"In Clouds","description":"Returns true when the subject entity is in the clouds.","properties":{"test":{"type":"string","title":"Test Property","description":"Returns true when the subject entity is in the clouds."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_clouds","value":true}]},"EE":{"type":"object","title":"In Contact With Water","description":"Returns true when the subject entity in contact with any water: water, rain, splash water bottle.","properties":{"test":{"type":"string","title":"Test Property","description":"Returns true when the subject entity in contact with any water: water, rain, splash water bottle."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"(Optional) true or false.","type":"boolean","default":true}},"examples":[{"test":"in_contact_with_water","value":true}]},"EF":{"type":"object","title":"In Lava","description":"Returns true when the subject entity is in lava.","properties":{"test":{"type":"string","title":"Test Property","description":"Returns true when the subject entity is in lava."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_lava","value":true}]},"EG":{"type":"object","title":"In Nether","description":"Returns true when the subject entity is in Nether.","properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"in_nether","value":true}]},"EH":{"type":"object","title":"In Overworld","description":"Returns true when the subject entity is in Overworld.","properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"in_overworld","value":true},{"test":"in_overworld"}]},"EI":{"type":"object","title":"In Water Or Rain","description":"Returns true when the subject entity is in water or rain.","properties":{"test":{"type":"string","title":"Test Property","description":"Returns true when the subject entity is in water or rain."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_water_or_rain","value":true}]},"EJ":{"type":"object","title":"In Water","description":"Returns true when the subject entity is in water.","properties":{"test":{"type":"string","title":"Test Property","description":"Returns true when the subject entity is in water."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_water","value":true}]},"FA":{"type":"object","title":"Inactivity Timer","description":"Tests if the specified duration in seconds of inactivity for despawning has been reached.","required":["value"],"properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"The Family name to look for.","type":"integer","title":"Value"}},"examples":[{"test":"inactivity_timer","value":0}]},"FB":{"type":"object","title":"Int Property","description":"Returns true when the integer actor property matches the value provided.","required":["value","domain"],"examples":[{"test":"int_property","value":1}],"properties":{"test":{"type":"string","title":"Test Property","description":"Returns true when the integer actor property matches the value provided."},"domain":{"description":"(Required) The property name to look for","title":"Operator","type":"string"},"operator":{"$ref":"#/definitions/BF","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BG","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"integer","title":"Value","description":"(Required) A integer value."}}},"FC":{"type":"object","title":"Is Altitude","description":"Tests the current altitude against a provided value. 0= bedrock elevation.","required":["value"],"properties":{"test":{"type":"string","title":"Test Property","description":"Tests the current altitude against a provided value. 0= bedrock elevation."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"type":"integer","description":"The altitude value to compare with.","minimum":0,"title":"Value"}},"examples":[{"test":"example","value":0}]},"FD":{"type":"object","title":"Is Avoiding Mobs","description":"Returns true if the subject entity is fleeing from other mobs.","properties":{"test":{"type":"string","title":"Test Property","description":"Returns true if the subject entity is fleeing from other mobs."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"example","value":true}]},"FE":{"type":"object","title":"Is Biome","description":"Tests whether the Subject is currently in the named biome.","required":["value"],"properties":{"test":{"type":"string","title":"Test Property","description":"Tests whether the Subject is currently in the named biome."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"The Biome type to test.","type":"string","enum":["beach","desert","extreme_hills","flat","forest","ice","jungle","mesa","mushroom_island","ocean","plain","river","savanna","stone_beach","swamp","taiga","the_end","the_nether"],"title":"Value"}},"examples":[{"test":"is_biome","value":"beach"}]},"FF":{"type":"object","title":"Is Block","description":"Returns true when the block has the given name.","required":["value"],"properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"The Family name to look for.","type":"string","title":"Value"}},"examples":[{"test":"is_block","subject":"block","value":"minecraft:sweet_berry_bush"}]},"FG":{"type":"object","title":"Is Brightness","description":"Tests the current brightness against a provided value in the range (0.0f, 1.0f).","required":["value"],"properties":{"test":{"type":"string","title":"Test Property","description":"Tests the current brightness against a provided value in the range (0.0f, 1.0f)."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"The brightness value to compare with.","type":"number","minimum":0.0,"maximum":1.0,"title":"Value"}},"examples":[{"test":"is_brightness","value":0.0}]},"FH":{"type":"object","title":"Is Climbing","description":"Returns true if the subject entity is climbing.","properties":{"test":{"type":"string","title":"Test Property","description":"Returns true if the subject entity is climbing."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_climbing","value":true}]},"FI":{"type":"object","title":"Is Color","description":"Returns true if the subject entity is the named color.","required":["value"],"properties":{"test":{"type":"string","title":"Test Property","description":"Returns true if the subject entity is the named color."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"The Palette Color to test.","type":"string","enum":["black","blue","brown","cyan","gray","green","light_blue","light_green","magenta","orange","pink","purple","red","silver","white","yellow"],"title":"Value"}},"examples":[{"test":"is_color","value":"black"}]},"FJ":{"type":"object","title":"Is Daytime","description":"Returns true during the daylight hours.","properties":{"test":{"type":"string","title":"Test Property","description":"Returns true during the daylight hours."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_daytime","value":true}]},"GA":{"type":"object","title":"Is Difficulty","description":"Tests the current difficulty level of the game.","required":["value"],"properties":{"test":{"type":"string","title":"Test Property","description":"Tests the current difficulty level of the game."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"The game's difficulty level to test.","type":"string","enum":["easy","hard","normal","peaceful"],"title":"Value"}},"examples":[{"test":"is_difficulty","value":"easy"}]},"GB":{"type":"object","title":"Is Family","description":"Returns true when the subject entity is a member of the named family.","required":["value"],"properties":{"test":{"type":"string","title":"Test Property","description":"Returns true when the subject entity is a member of the named family."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"The Family name to look for.","type":"string","title":"Value"}},"examples":[{"test":"is_family","value":"monster"}]},"GC":{"type":"object","title":"Is Game Rule","description":"Tests whether a named game rule is active.","required":["domain","value"],"properties":{"domain":{"description":"The Game Rule to test.","title":"Domain","examples":["commandBlockOutput","commandBlocksEnabled","doDaylightCycle","doEntityDrops","doFireTick","doImmediateRespawn","doInsomnia","doMobLoot","doMobSpawning","doTileDrops","doWeatherCycle","drowningDamage","fallDamage","fireDamage","freezeDamage","functionCommandLimit","keepInventory","maxCommandChainLength","mobGriefing","naturalRegeneration","pvp","randomTickSpeed","respawnblocksexplode","sendCommandFeedback","showCoordinates","showDeathMessages","showTags","spawnRadius","tntExplodes"]},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"Tests whether a named game rule is active.","default":true,"type":"boolean","title":"Value"}},"examples":[{"test":"is_game_rule","domain":"domobspawning","value":false}]},"GD":{"type":"object","title":"Is Humid","description":"Tests whether the Subject is in an area with humidity.","properties":{"test":{"type":"string","title":"Test Property","description":"Tests whether the Subject is in an area with humidity."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_humid","value":true}]},"GE":{"type":"object","title":"Is Immobile","description":"Returns true if the subject entity is immobile. An entity is immobile if it lacks AI goals, has just changed dimensions or if it is a mob and has no health.","properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_immobile","value":true}]},"GF":{"type":"object","title":"Is In Village","description":"Tests whether the Subject is inside the bounds of a village.","properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_in_village","value":true}]},"GG":{"type":"object","title":"Is Leashed To","description":"Returns true if the subject entity leashed to the calling entity.","properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"is_leashed_to","value":true}]},"GH":{"type":"object","title":"Is Leashed","description":"Returns true if the subject entity is leashed.","properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_leashed","value":true}]},"GI":{"type":"object","title":"Is Mark Variant","description":"Returns true if the subject entity is the mark variant number provided.","additionalProperties":false,"properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"type":"integer","description":"The altitude value to compare with.","title":"Value"}},"examples":[{"test":"is_mark_variant","value":0}]},"GJ":{"type":"object","title":"In Nether","description":"Tests if the subject is not at full health.","properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"is_missing_health","value":true}]},"HA":{"type":"object","title":"Is Moving","description":"Returns true if the subject entity is moving.","properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_moving","value":true}]},"HB":{"type":"object","title":"Is Owner","description":"Returns true if the subject entity is the owner of the calling entity.","properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_owner","value":true}]},"HC":{"type":"object","title":"Is Persistent","description":"Tests if the subject's persistence matches the bool value passed in.","properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"is_persistent","value":true}]},"HD":{"type":"object","title":"Is Riding","description":"Returns true if the subject entity is riding on another entity.","properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_riding","value":true}]},"HE":{"type":"object","title":"Is Skin Id","description":"Returns true if the subject entity is the skin id number provided.","properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"type":"integer","description":"The altitude value to compare with.","title":"Value"}},"examples":[{"test":"is_skin_id","value":0}]},"HF":{"type":"object","title":"Is Sleeping","description":"Tests whether the Subject is sleeping.","properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"is_sleeping","value":true}]},"HG":{"type":"object","title":"Is Sneak Held","description":"Returns true if the subject entity has the sneak input held.","properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_sneak_held","value":true}]},"HH":{"type":"object","title":"Is Sneaking","description":"Returns true if the subject entity is sneaking.","properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_sneaking","value":true}]},"HI":{"type":"object","title":"Is Snow Covered","description":"Tests whether the Subject is in an area with snow cover.","properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_snow_covered","value":true}]},"HJ":{"type":"object","title":"Is Target","description":"Returns true if the subject entity is the target of the calling entity.","properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_target","value":true}]},"IA":{"type":"object","title":"Is Target","description":"Tests whether the current temperature is a given type.","required":["value"],"properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"The Biome temperature catagory to test.","type":"string","enum":["cold","mild","ocean","warm"],"title":"Value"}},"examples":[{"test":"is_temperature_type","value":"cold"}]},"IB":{"type":"object","title":"Is Temperature Value","description":"Tests the current temperature against a provided value in the range (0.0, 1.0) where 0.0f is the coldest temp and 1.0f is the hottest.","required":["value"],"properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"The Biome temperature value to compare with.","type":"number","minimum":0.0,"maximum":1.0,"title":"Value"}},"examples":[{"test":"is_temperature_value","value":0.0}]},"IC":{"type":"object","title":"Is Underground","description":"Returns true when the subject entity is underground. An entity is considered underground if there are non-solid blocks above it.","properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_underground","value":true}]},"ID":{"type":"object","title":"Is Underwater","description":"Returns true when the subject entity is under water. An entity is considered underwater if it is completely submerged in water blocks.","properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_underwater","value":true}]},"IE":{"type":"object","title":"Is Variant","description":"Returns true if the subject entity is the variant number provided.","required":["value"],"properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"type":"integer","description":"The altitude value to compare with.","title":"Value"}},"examples":[{"test":"is_variant","value":0}]},"IF":{"type":"object","title":"Is Visible","description":"Returns true if the subject entity is visible.","properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_visible","value":true}]},"IG":{"type":"object","title":"Is Waterlogged","description":"Tests if the subject block is submerged in water.","required":["value"],"properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"true or false.","type":"boolean","title":"Value"}},"examples":[{"test":"light_level","value":0}]},"IH":{"type":"object","title":"Light Level","description":"Tests is the mob is outside of the specified light level range (0, 16).","required":["value"],"properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"An integer value.","type":"integer","title":"Value","minimum":0,"maximum":16}},"examples":[{"test":"light_level","value":0}]},"II":{"type":"object","title":"Moon Intensity","description":"Compares the current moon intensity with a float value in the range (0.0, 1.0)","required":["value"],"properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"A floating point value.","type":"number","minimum":0,"maximum":1,"title":"Value"}},"examples":[{"test":"moon_intensity","value":0.0}]},"IJ":{"type":"object","title":"Moon Phase","description":"Compares the current moon phase with an integer value in the range (0, 7).","required":["value"],"properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"type":"integer","description":"An integer value.","minimum":0,"maximum":7,"title":"Value"}},"examples":[{"test":"moon_phase","value":0}]},"JA":{"type":"object","title":"On Ground","description":"Returns true when the subject entity is on ground.","properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"on_ground","value":true}]},"JB":{"type":"object","title":"On Ladder","description":"Returns true when the subject entity is on a ladder.","properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"on_ladder","value":true}]},"JC":{"type":"object","title":"Random Chance","description":"Returns true if the random chance rolls 0 out of a specified Maximum range.","required":["value"],"properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"An integer value.","type":"integer","title":"Value"}},"examples":[{"test":"random_chance","value":0}]},"JD":{"type":"object","title":"Rider Count","description":"Returns the number of riders on this entity.","required":["value"],"properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"An integer value.","type":"integer","title":"Value"}},"examples":[{"test":"rider_count","value":0}]},"JE":{"type":"object","title":"Surface Mob","description":"Tests if the subject is a surface mob.","properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"surface_mob","value":true}]},"JF":{"type":"object","title":"Taking Fire Damage","description":"Tests if the subject is taking fire damage. Requires the damage_sensor component","properties":{"test":{"type":"string","title":"Test","description":"Tests if the subject is taking fire damage. Requires the damage_sensor component"},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"taking_fire_damage","value":true},{"test":"taking_fire_damage"}]},"JG":{"type":"object","title":"Target Distance","description":"Tests the distance between the calling entity and its target.","required":["value"],"properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"(Required) A floating point value.","type":"number","default":true,"title":"Value"}}},"JH":{"type":"object","title":"Trusts","description":"Returns true if the subject is trusted by entity.","properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"trusts","value":true}]},"JI":{"type":"object","title":"Weather At Position","description":"Tests the current weather, at the actor's position, against a provided weather value.","required":["value"],"properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"The Family name to look for.","type":"string","title":"Value","examples":["thunderstorm"]}},"examples":[{"test":"weather_at_position","value":"thunderstorm"}]},"JJ":{"type":"object","title":"Weather","description":"Tests for the current weather state the entity is experiencing.","required":["value"],"properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"The Family name to look for.","type":"string","title":"Value","examples":["clear","thunderstorm"]}},"examples":[{"test":"weather","value":"clear"}]},"BD":{"title":"Filters","$ref":"#/definitions/BD_groups_spec","examples":[{"test":"is_family","subject":"other","value":"example"},{"test":"has_tag","value":"example"},[]]},"I":{"type":"object","title":"Ageable","description":"Adds a timer for the entity to grow up. It can be accelerated by giving the entity the items it likes as defined by feedItems.","additionalProperties":false,"properties":{"drop_items":{"description":"List of items that the entity drops when it grows up.","oneOf":[{"type":"array","items":{"$ref":"#/definitions/J"}},{"type":"string","$ref":"#/definitions/J"}],"title":"Drop Items"},"duration":{"type":"number","default":1200,"description":"Amount of time before the entity grows up, -1 for always a baby.","title":"Duration"},"feed_items":{"description":"List of items that can be fed to the entity. Includes `item` for the item name and `growth` to define how much time it grows up by","oneOf":[{"type":"array","items":{"oneOf":[{"$ref":"#/definitions/BA"},{"type":"object","properties":{"growth":{"type":"number"},"item":{"$ref":"#/definitions/J"}}}]}},{"type":"string","$ref":"#/definitions/BA"}],"title":"Feed Items"},"grow_up":{"$ref":"#/definitions/BC","description":"Event to run when this entity grows up.","title":"Grow Up"},"transform_to_item":{"$ref":"#/definitions/J","title":"Transform To Item","description":"The feed item used will transform to this item upon successful interaction. Format: itemName:auxValue"},"interact_filters":{"$ref":"#/definitions/BD","title":"Interact Filters","description":"List of conditions to meet so that the entity can be fed."}},"examples":[{"duration":1200,"transform_to_item":"example"}]},"BAB":{"type":"string","title":"Sound Event","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","enum":["add.chest","admire","agitated","ambient.aggressive","ambient.baby","ambient.basalt_deltas.additions","ambient.basalt_deltas.loop","ambient.candle","ambient.cave","ambient.crimson_forest.additions","ambient.crimson_forest.loop","ambient.crimson_forest.mood","ambient.in.raid","ambient.in.water","ambient.nether_wastes.additions","ambient.nether_wastes.loop","ambient.nether_wastes.mood","ambient.pollinate","ambient.screamer","ambient.soulsand_valley.additions","ambient.soulsand_valley.loop","ambient.soulsand_valley.mood","ambient.tame","ambient.warped_forest.additions","ambient.warped_forest.loop","ambient.warped_forest.mood","ambient.worried","ambient","angry","armor.equip_chain","armor.equip_diamond","armor.equip_elytra","armor.equip_generic","armor.equip_gold","armor.equip_iron","armor.equip_leather","armor.equip_netherite","armor","attach","attack.nodamage","attack.strong","attack","balloonpop","beacon.activate","beacon.ambient","beacon.deactivate","beacon.power","blast","block.bamboo_sapling.place","block.barrel.close","block.barrel.open","block.beehive.drip","block.beehive.enter","block.beehive.exit","block.beehive.shear","block.beehive.work","block.bell.hit","block.blastfurnace.fire_crackle","block.campfire.crackle","block.cartography_table.use","block.click.fail","block.click","block.composter.empty","block.composter.fill_success","block.composter.fill","block.composter.ready","block.enchanting_table.use","block.end_portal_frame.fill","block.end_portal.spawn","block.fletching_table.use","block.frog_spawn.break","block.frog_spawn.hatch","block.furnace.lit","block.grindstone.use","block.loom.use","block.scaffolding.climb","block.sculk_catalyst.bloom","block.sculk_sensor.place","block.sculk_shrieker.place","block.sculk_shrieker.shriek","block.sculk.spread","block.smithing_table.use","block.smoker.smoke","block.stonecutter.use","block.sweet_berry_bush.hurt","block.sweet_berry_bush.pick","block.turtle_egg.attack","block.turtle_egg.break","block.turtle_egg.crack","block.turtle_egg.hatch","boost","born","bottle.dragonbreath","bow.hit","bow","break.block","break","breathe","bubble.down","bubble.downinside","bubble.pop","bubble.up","bubble.upinside","bucket.empty.fish","bucket.empty.lava","bucket.empty.powder_snow","bucket.empty.water","bucket.fill.fish","bucket.fill.lava","bucket.fill.powder_snow","bucket.fill.water","bullet.hit","burp","cake.add_candle","camera.take_picture","cant_breed","cast.spell","cauldron_drip.lava.pointed_dripstone","cauldron_drip.water.pointed_dripstone","celebrate","charge.sculk","charge","chest.closed","chest.open","chime.amethyst_block","chorusdeath","chorusgrow","conduit.activate","conduit.ambient","conduit.attack","conduit.deactivate","conduit.short","convert_mooshroom","converted_to_zombified","copper.wax.off","copper.wax.on","crossbow.loading.end","crossbow.loading.middle","crossbow.loading.start","crossbow.quick_charge.end","crossbow.quick_charge.middle","crossbow.quick_charge.start","crossbow.shoot","death.baby","death.in.water","death.mid.volume","death.min.volume","death.screamer","death.to.zombie","death","default","deny","detach","disappeared","drink.honey","drink.milk","drink","drip.lava.pointed_dripstone","drip.water.pointed_dripstone","drop.slot","eat","elderguardian.curse","elemconstruct.open","enderchest.closed","enderchest.open","explode","extinguish.candle","extinguish.fire","fall.big","fall.small","fall","fang","fire","fizz","flap","flop","fly","fuse","gallop","glass","glow_squid.ink_squirt","glowstick.use","growl","haggle.idle","haggle.no","haggle.yes","haggle","heartbeat","heavy.step","hit","horn_break","horn_call0","horn_call1","horn_call2","horn_call3","horn_call4","horn_call5","horn_call6","horn_call7","hurt.baby","hurt.in.water","hurt.screamer","hurt","icebomb.hit","ignite","imitate.blaze","imitate.cave_spider","imitate.creeper","imitate.elder_guardian","imitate.ender_dragon","imitate.enderman","imitate.evocation_illager","imitate.ghast","imitate.husk","imitate.illusion_illager","imitate.magma_cube","imitate.polar_bear","imitate.shulker","imitate.silverfish","imitate.skeleton","imitate.slime","imitate.spider","imitate.stray","imitate.vex","imitate.vindication_illager","imitate.warden","imitate.witch","imitate.wither_skeleton","imitate.wither","imitate.wolf","imitate.zombie_pigman","imitate.zombie_villager","imitate.zombie","insert_enchanted","insert","irongolem.crack","irongolem.repair","item_given","item_taken","item_thrown","item.book.put","item.fizz","item.shield.block","item.spyglass.stop_using","item.spyglass.use","item.trident.hit_ground","item.trident.hit","item.trident.return","item.trident.riptide_1","item.trident.riptide_2","item.trident.riptide_3","item.trident.throw","item.trident.thunder","item.use.on","jump_to_block","jump.prevent","jump","land","large.blast","launch","lava.pop","lava","lay_egg","lay_spawn","leashknot.break","leashknot.place","levelup","listening_angry","listening","lodestone_compass.link_compass_to_lodestone","lt.reaction.bleach","lt.reaction.epaste","lt.reaction.epaste2","lt.reaction.fertilizer","lt.reaction.fire","lt.reaction.fireball","lt.reaction.icebomb","lt.reaction.mgsalt","lt.reaction.miscexplosion","lt.reaction.miscfire","lt.reaction.miscmystical","lt.reaction.miscmystical2","lt.reaction.product","mad","milk_suspiciously","milk.screamer","milk","mob.armor_stand.place","mob.husk.convert_to_drowned","mob.husk.convert_to_frog","mob.husk.convert_to_stray","mob.husk.convert_to_zombie","mob.player.hurt_drown","mob.player.hurt_freeze","mob.player.hurt_on_fire","mob.warning.baby","mob.warning","nearby_close","nearby_closer","nearby_closest","note","panic","pant","particle.soul_escape.loud","particle.soul_escape.quiet","pick_berries.cave_vines","piston.in","piston.out","place","plop","pop","portal.travel","portal","potion.brewed","power.off.sculk_sensor","power.off","power.on.sculk_sensor","power.on","pre_ram.screamer","pre_ram","prepare.attack","prepare.summon","prepare.wololo","presneeze","purr","purreow","raid.horn","ram_impact.screamer","ram_impact","random.anvil_use","reappeared","record.11","record.13","record.5","record.blocks","record.cat","record.chirp","record.far","record.mall","record.mellohi","record.otherside","record.pigstep","record.stal","record.strad","record.wait","record.ward","remedy","respawn_anchor.ambient","respawn_anchor.basalt_deltas.mood","respawn_anchor.charge","respawn_anchor.deplete","respawn_anchor.set_spawn","retreat","roar","saddle","scared","scrape","screech","shake","shear","shoot","shulker.close","shulker.open","shulkerbox.closed","shulkerbox.open","sleep","smithing_table.use","sneeze","sonic_boom","sonic_charge","sparkler.active","sparkler.use","spawn","splash","squid.ink_squirt","squish.big","squish.small","stare","step_lava","step.baby","step","stun","swim","swoop","takeoff","teleport","tempt","thorns","throw","thunder","tilt_down.big_dripleaf","tilt_up.big_dripleaf","tongue","tripod","twinkle","ui.cartography_table.take_result","ui.loom.take_result","ui.stonecutter.take_result","unfect","warn","water","whine"]},"BAA":{"additionalProperties":false,"type":"object","title":"Ambient Sound Interval","description":"Sets the entity's delay between playing its ambient sound.","properties":{"event_name":{"type":"string","default":"ambient","description":"Level sound event to be played as the ambient sound.","title":"Event Name"},"event_names":{"type":"array","description":"List of dynamic level sound events, with conditions for choosing between them. Evaluated in order, first one wins. If none evaluate to true, 'event_name' will take precedence.","items":{"type":"object","properties":{"condition":{"type":"string","description":"The condition that must be satisfied to select the given ambient sound.","title":"Condition"},"event_name":{"$ref":"#/definitions/BAB","description":"Level sound event to be played as the ambient sound.","title":"Event Name"}}}},"range":{"title":"Range","type":"number","default":16.0,"description":"Maximum time in seconds to randomly add to the ambient sound delay time."},"value":{"title":"Value","type":"number","default":8.0,"description":"Minimum time in seconds before the entity plays its ambient sound again."}},"examples":[{"event_name":"ambient","range":16,"value":8}]},"BAC":{"type":"object","title":"Anger Level","description":"Allows this entity to track anger towards a set of nuisances","additionalProperties":false,"required":[],"properties":{"anger_decrement_interval":{"title":"Anger Decrement Interval","type":"number","default":1.0,"description":"Anger level will decay over time. Defines how often anger towards all nuisances will be decreased by one"},"angry_boost":{"title":"Angry Boost","type":"integer","minimum":0,"default":20,"description":"Anger boost applied to angry threshold when mob gets angry."},"angry_threshold":{"title":"Angry Threshold","type":"integer","minimum":0,"default":80,"description":"Threshold that define when the mob is considered angry at a nuisance."},"default_annoyingness":{"title":"Default Annoyingness","type":"number","default":0,"description":"The default amount of annoyingness for any given nuisance. Specifies how much to raise anger level on each provocation"},"default_projectile_annoyingness":{"title":"Default Projectile Annoyingness","type":"number","default":0,"description":"The default amount of annoyingness for projectile nuisance. Specifies how much to raise anger level on each provocation"},"max_anger":{"title":"Maximum Anger","type":"integer","default":100,"minimum":0,"description":"The maximum anger level that can be reached. Applies to any nuisance"},"nuisance_filter":{"title":"Nuisance Filter","$ref":"#/definitions/BD","description":"Filter that is applied to determine if a mob can be a nuisance."},"on_increase_sounds":{"title":"On Increase Sounds","type":"array","items":{"type":"object","additionalProperties":false,"required":["condition","sound"],"properties":{"condition":{"title":"Condition","type":"string","description":"The event that will trigger the sound"},"sound":{"title":"Sound","type":"string","description":"The sound to play"}}}},"remove_targets_below_angry_threshold":{"title":"Remove Targets Below Angry Threshold","type":"boolean","default":true,"description":"Defines if the mob should remove target if it falls below 'angry' threshold."}},"examples":[]},"BAD":{"type":"object","title":"Angry","description":"Defines the entity's 'angry' state using a timer.","additionalProperties":false,"required":[],"properties":{"broadcast_anger":{"title":"Broadcast Anger","type":"boolean","default":false,"description":"If true, other entities of the same entity definition within the broadcastRange will also become angry."},"broadcast_filters":{"title":"Broadcast Filters","$ref":"#/definitions/BD","description":"Conditions that make this entry in the list valid."},"filters":{"$ref":"#/definitions/BD","description":"Filter out mob types that it should not attack while angry (other Piglins)."},"broadcast_range":{"title":"Broadcast Range","type":"integer","default":20,"description":"Distance in blocks within which other entities of the same entity definition will become angry."},"broadcast_targets":{"title":"Broadcast Targets","type":"array","description":"A list of entity families to broadcast anger to.","items":{"type":"string","description":"An entity family.","pattern":"^.+$","title":"Broadcast Targets"}},"calm_event":{"title":"Calm Event","$ref":"#/definitions/BC","description":"Event to run after the number of seconds specified in duration expires (when the entity stops being \"angry\")"},"angry_sound":{"title":"Angry Sound","$ref":"#/definitions/BAB","default":"","description":"The sound event to play when the mob is angry."},"broadcast_anger_on_attack":{"title":"Broadcast Anger On Attack","type":"boolean","default":false,"description":"If true, other entities of the same entity definition within the broadcastRange will also become angry whenever this mob attacks."},"broadcast_anger_on_being_attacked":{"type":"boolean","default":false,"description":"If true, other entities of the same entity definition within the broadcastRange will also become angry whenever this mob is attacked.","title":"Broadcast Anger On Being Attacked"},"duration":{"title":"Duration","type":"integer","default":25,"description":"The amount of time in seconds that the entity will be angry."},"duration_delta":{"title":"Duration Delta","type":"integer","default":0,"description":"Variance in seconds added to the duration [-delta, delta]."},"sound_interval":{"description":"The range of time in seconds to randomly wait before playing the sound again.","title":"Sound Interval","oneOf":[{"type":"array","default":[0,0],"items":[{"type":"integer","minimum":0,"description":"The minimum interval.","$comment":"UNDOCUMENTED","title":"Minimum"},{"type":"integer","minimum":0,"description":"The maximum interval.","$comment":"UNDOCUMENTED","title":"Maximum"}]},{"type":"object","additionalProperties":false,"properties":{"range_min":{"type":"number","description":"The minimum interval.","$comment":"UNDOCUMENTED","title":"Range Minimum"},"range_max":{"type":"number","description":"The maximum interval.","$comment":"UNDOCUMENTED","title":"Range Maximum"}}}]}},"examples":[{"broadcast_anger":false,"broadcast_range":20,"broadcast_targets":[],"angry_sound":"","broadcast_anger_on_attack":false,"broadcast_anger_on_being_attacked":false,"duration":25,"duration_delta":0}]},"BAE":{"additionalProperties":false,"description":"Allows the actor to break doors assuming that that flags set up for the component to use in navigation.","type":"object","title":"Annotation.break Door","required":[],"$comment":"Caution No longe rin use","properties":{"break_time":{"type":"number","default":12,"description":"The time in seconds required to break through doors.","title":"Break Time"},"min_difficulty":{"type":"string","default":"hard","description":"The minimum difficulty that the world must be on for this entity to break doors.","title":"Minimum Difficulty"}},"examples":[{"break_time":12,"min_difficulty":"hard"}]},"BAF":{"additionalProperties":false,"description":"Allows the actor to open doors assuming that that flags set up for the component to use in navigation.","type":"object","title":"Annotation.open Door","required":[],"properties":{}},"BAG":{"type":"object","title":"Area Attack","description":"A component that does damage to entities that get within range.","additionalProperties":false,"properties":{"cause":{"title":"Cause","$ref":"#/definitions/DA","type":"string","description":"The type of damage that is applied to entities that enter the damage range."},"damage_cooldown":{"title":"damage cooldown","type":"number","default":0,"description":"Attack cooldown (in seconds) for how often this entity can attack a target."},"damage_per_tick":{"type":"integer","default":2,"description":"How much damage per tick is applied to entities that enter the damage range.","title":"Damage Per Tick"},"damage_range":{"type":"number","default":0.2,"description":"How close a hostile entity must be to have the damage applied.","title":"Damage Range"},"entity_filter":{"$ref":"#/definitions/BD","description":"The set of entities that are valid to apply the damage to when within range.","title":"Entity Filter"},"play_attack_sound":{"title":"play attack sound","type":"boolean","default":5E-324,"description":"If the entity should play their attack sound when attacking a target."}},"examples":[{"damage_per_tick":2,"damage_range":0.2,"cause":"example"}]},"BAI":{"title":"Trigger","description":"Trigger to fire.","examples":["event:example",{"filters":[],"target":"self","event":"to:foo"}],"defaultSnippets":[{"label":"New Trigger","body":"^\"$1\""},{"label":"New Trigger - Filtered","body":{"event":"$1","target":"self","filters":[{"test":"$2","value":"$3"}]}}],"oneOf":[{"type":"string"},{"type":"object","additionalProperties":false,"properties":{"event":{"type":"string","description":"The event to run when the conditions for this trigger are met.","title":"Event"},"filters":{"$ref":"#/definitions/BD","description":"The list of conditions for this trigger to execute."},"target":{"$ref":"#/definitions/BG","description":"The target of the event.","title":"Target"}}}]},"BAH":{"type":"object","title":"Attack Cooldown","description":"Adds a cooldown to a mob. The intention of this cooldown is to be used to prevent the mob from attempting to aquire new attack targets.","additionalProperties":false,"properties":{"attack_cooldown_complete_event":{"$ref":"#/definitions/BAI","description":"Event to be run when the cooldown is complete.","title":"Attack Cooldown Complete Event"},"attack_cooldown_time":{"default":[0.0,1.0],"description":"Amount of time in seconds for the cooldown. Can be specified as a number or a pair of numbers (Minimum and max).","title":"Attack Cooldown Time","oneOf":[{"type":"array","items":[{"type":"number","title":"Maximum"},{"type":"number","title":"Maximum"}]},{"type":"number"}]}}},"BAJ":{"type":"object","title":"Attack Damage","additionalProperties":false,"required":["value"],"properties":{"value":{"type":"integer","description":"How much an attack should damage a target.","title":"Value"}},"description":"Specifies how much damage is dealt by the entity when it attacks.","examples":[{"value":4}]},"BBB":{"title":"Range [A, B]","description":"A described range.","examples":[[0.0,1.0]],"oneOf":[{"type":"number"},{"type":"array","items":[{"type":"number","title":"A","description":"The first value of the range."},{"type":"number","title":"B","description":"The second value of the range."}]},{"type":"object","additionalProperties":false,"properties":{"range_min":{"type":"number","title":"Range Min","description":"The minimum value of the range."},"range_max":{"type":"number","title":"Range Max","description":"The maximum value of the range."}}}]},"BBA":{"type":"object","additionalProperties":false,"title":"Attack","description":"Defines an entity's melee attack and any additional effects on it.","required":["damage"],"properties":{"damage":{"title":"Damage","$ref":"#/definitions/BBB","description":"Range of the random amount of damage the melee attack deals. A negative value can heal the entity instead of hurting it."},"effect_name":{"type":"string","description":"Identifier of the status ailment to apply to an entity attacked by this entity's melee attack.","examples":["wither","hunger"],"title":"Effect Name"},"effect_duration":{"type":"number","default":1,"description":"Duration in seconds of the status ailment applied to the damaged entity.","title":"Effect Duration"}},"examples":[{"damage":1},{"damage":1,"effect_name":"example","effect_duration":1}]},"BBC":{"additionalProperties":false,"type":"object","title":"Balloonable","description":"allows the entity to have a balloon attached and defines the conditions and events for the entity when is ballooned.","required":[],"properties":{"soft_distance":{"title":"Soft Distance","description":"Distance in blocks where the 'spring' effect lifts the entity.","type":"number","default":2.0},"max_distance":{"title":"Max Distance","description":"Distance in blocks where the balloon breaks.","type":"number","default":10.0},"on_balloon":{"title":"On Balloon","description":"Event to call when the entity is ballooned.","type":"string"},"on_unballoon":{"title":"On Unballoon","description":"Event to call when the entity is unballooned.","type":"string"},"mass":{"title":"Mass","description":"Mass that the entity has when computing balloon pull forces.","type":"number","default":1.0}},"examples":[{"max_distance":10.0,"soft_distance":2.0,"mass":0.5}]},"BBD":{"type":"object","title":"Barter","description":"Enables the component to drop an item as a barter exchange.","additionalProperties":false,"properties":{"barter_table":{"type":"string","description":"Loot table that's used to drop a random item.","title":"Barter Table"},"cooldown_after_being_attacked":{"type":"integer","default":0,"description":"Duration, in seconds, for which mob won't barter items if it was hurt.","title":"Cooldown After Being Attacked"}},"examples":[{"barter_table":"example","cooldown_after_being_attacked":0}]},"BBE":{"title":"Block Climber","type":"object","additionalProperties":false,"description":"Allows the player to detect and manuever on the scaffolding block.","properties":{}},"BBG":{"description":"A minecraft block identifier.","examples":["namespace:block"],"pattern":"^[0-9a-zA-Z:_\\.\\-]+$","title":"Block Identifier","type":"string","defaultSnippets":[{"label":"New Identifier","body":"$1:$2"}]},"BBF":{"type":"object","title":"Block Sensor","description":"Fires off a specified event when a block in the block list is broken within the sensor range.","additionalProperties":false,"properties":{"sensor_radius":{"title":"Sensor Radius","type":"integer","description":"The maximum radial distance in which a specified block can be detected. The biggest radius is 32.0.","minimum":0,"maximum":32},"on_break":{"title":"On Break","type":"array","description":"Blocks that will trigger the component when broken and what event will trigger.","items":{"title":"On Block Broken","type":"object","description":"Event to run when a block breaks.","additionalProperties":false,"properties":{"block_list":{"title":"Block List","type":"array","description":"List of blocks that will trigger the sensor.","items":{"$ref":"#/definitions/BBG","title":"Block ID"}},"on_block_broken":{"title":"On Block Broken","type":"string","description":"Event to run when a block breaks."}}}},"sources":{"title":"Sources","description":"List of sources that break the block to listen for. If none are specified, all block breaks will be detected.","type":"array","items":{"$ref":"#/definitions/BD"},"examples":[{"test":"has_silk_touch","subject":"other","value":false}]}},"examples":[{"sensor_radius":0,"on_break":[]}]},"BBH":{"type":"object","title":"Boostable","additionalProperties":false,"description":"Defines the conditions and behavior of a rideable entity's boost.","properties":{"duration":{"type":"number","default":3,"description":"Time in seconds for the boost.","title":"Duration"},"speed_multiplier":{"type":"number","default":1,"description":"Factor by which the entity's normal speed increases. E.g. 2.0 means go twice as fast.","title":"Speed Multiplier"},"boost_items":{"type":"array","description":"List of items that can be used to boost while riding this entity.","title":"Boost Items","items":{"type":"object","additionalProperties":false,"description":"List of items that can be used to boost while riding this entity.","properties":{"damage":{"type":"integer","default":1,"description":"This is the damage that the item will take each time it is used.","title":"Damage"},"item":{"$ref":"#/definitions/J","default":"","description":"Name of the item that can be used to boost.","title":"Item"},"replace_item":{"$ref":"#/definitions/J","default":"","description":"The item used to boost will become this item once it is used up.","title":"Replace Item"}}}}},"examples":[{"duration":3,"speed_multiplier":1,"boost_items":[]}]},"BBI":{"type":"object","title":"Boss","additionalProperties":false,"description":"The current state of the boss for updating the boss HUD.","required":[],"properties":{"hud_range":{"type":"integer","default":55,"description":"The Maximum distance from the boss at which the boss's health bar is present on the players screen.","title":"Hud Range"},"name":{"type":"string","default":"","description":"The name that will be displayed above the boss's health bar.","title":"Name"},"should_darken_sky":{"type":"boolean","default":false,"description":"Whether the sky should darken in the presence of the boss.","title":"Should Darken Sky"}},"examples":[{"hud_range":55,"name":"","should_darken_sky":false}]},"BCA":{"type":"string","title":"Block Name","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"BBJ":{"type":"object","title":"Break Blocks","additionalProperties":false,"description":"Specifies the blocks that this entity can break as it moves around.","required":[],"properties":{"breakable_blocks":{"type":"array","title":"Breakable Blocks","description":"A list of the blocks that can be broken as this entity moves around.","items":{"$ref":"#/definitions/BCA"}}},"examples":[{"breakable_blocks":[]}]},"BCC":{"description":"A minecraft block reference.","examples":["namespace:block",{"name":"namespace:block"}],"title":"Block Reference","defaultSnippets":[{"label":"New Identifier","body":"$1:$2"}],"oneOf":[{"type":"string","$ref":"#/definitions/BBG"},{"title":"Block Reference","description":"","type":"object","additionalProperties":false,"properties":{"name":{"type":"string","$ref":"#/definitions/BBG"},"states":{"title":"States","description":"","type":"object","propertyNames":{"pattern":"\\w*:?\\w+"},"example":[{"property":"value"}],"additionalProperties":{"type":["boolean","integer","string"],"title":"State Value","description":"The key of property is the name of the block state/property, the value must be the same as the block properties accepted values."}},"tags":{"$ref":"#/definitions/BB","description":"A condition using Molang queries that results to true/false that can be used to query for blocks with certain tags.","examples":["query.any_tag('wood')"]}}}]},"BCB":{"type":"object","title":"Breathable","additionalProperties":false,"description":"Defines what blocks this entity can breathe in and gives them the ability to suffocate.","required":[],"properties":{"total_supply":{"type":"integer","default":15,"description":"Time in seconds the entity can hold its breath.","title":"Total Supply"},"suffocate_time":{"type":"integer","default":-20,"description":"Time in seconds between suffocation damage.","title":"Suffocate Time"},"inhale_time":{"type":"number","default":0,"description":"Time in seconds to recover breath to maximum.","title":"Inhale Time"},"breathes_air":{"type":"boolean","default":true,"description":"If true, this entity can breathe in air.","title":"Breathes Air"},"breathes_water":{"type":"boolean","default":false,"description":"If true, this entity can breathe in water.","title":"Breathes Water"},"breathes_lava":{"type":"boolean","default":false,"description":"If true, this entity can breathe in lava.","title":"Breathes Lava"},"breathes_solids":{"type":"boolean","default":false,"description":"If true, this entity can breathe in solid blocks.","title":"Breathes Solids"},"generates_bubbles":{"type":"boolean","default":true,"description":"If true, this entity will have visible bubbles while in water.","title":"Generates Bubbles"},"breathe_blocks":{"type":"array","description":"List of blocks this entity can breathe in, in addition to the above.","items":{"$ref":"#/definitions/BCC"},"title":"Breathe Blocks"},"non_breathe_blocks":{"type":"array","description":"List of blocks this entity can't breathe in, in addition to the above.","items":{"$ref":"#/definitions/BCC"},"title":"Non Breathes Blocks"}},"examples":[{"total_supply":15,"suffocate_time":-20,"inhale_time":0,"breathes_air":true,"breathes_water":false,"breathes_lava":false,"breathes_solids":false,"generates_bubbles":true,"breathe_blocks":[],"non_breathe_blocks":[]}]},"BCD_breeds_with_spec":{"type":"object","description":"An entity definitions that this entity can breed with.","additionalItems":false,"properties":{"baby_type":{"type":"string","description":"The entity definition of this entity's babies.","title":"Baby Type"},"breed_event":{"$ref":"#/definitions/BCE","description":"Event to run when this entity breeds.","title":"Breed Event"},"mate_type":{"type":"string","description":"The entity definition of this entity's mate.","title":"Mate Type"}}},"BCD_enviroment_requirements":{"type":"object","description":"A nearby block requirements to get the entity into the `love` state.","properties":{"blocks":{"description":"The block types required nearby for the entity to breed.","title":"Blocks","oneOf":[{"type":"array","items":{"description":"A block type required nearby for the entity to breed.","type":"string","$ref":"#/definitions/BCC","title":"Blocks"}},{"description":"A block type required nearby for the entity to breed.","type":"string","$ref":"#/definitions/BCC","title":"Blocks"}]},"count":{"type":"number","description":"The number of the required block types nearby for the entity to breed.","title":"Count"},"radius":{"type":"number","description":"How many blocks radius from the mob's center to search in for the required blocks. Bounded between 0 and 16.","minimum":0,"title":"Radius"}},"title":"Environment Requirements"},"BCE":{"title":"Event","description":"Minecraft behavior event.","examples":[{"event":"example:foo","target":"self"}],"type":"object","additionalProperties":false,"properties":{"event":{"type":"string","pattern":"^[a-zA-Z0-9_\\-:]+$","description":"The event to fire.","title":"Event"},"target":{"type":"string","description":"The target of the event.","title":"Target","enum":["baby","block","damager","other","parent","player","self","target"]},"filters":{"$ref":"#/definitions/BD"}}},"BCF":{"type":"array","title":"Vector Of 2 Items","description":"An vector of 2 number.","examples":[[0,0]],"items":[{"type":"number","description":"The X component.","title":"X","default":0},{"type":"number","description":"The Y component.","title":"Y","default":0}],"defaultSnippets":[{"label":"New Array 2","body":["^$1","^$2"]}]},"BCD":{"type":"object","title":"Breedable","additionalProperties":false,"description":"Defines the way an entity can get into the `love` state.","properties":{"allow_sitting":{"description":"If true, entities can breed while sitting.","type":"boolean","default":false,"title":"Allow Sitting"},"blend_attributes":{"description":"If true, the entities will blend their attributes in the offspring after they breed.","type":"boolean","default":true,"title":"Blend Attributes"},"breed_cooldown":{"description":"Time in seconds before the Entity can breed again.","type":"number","default":60.0,"title":"Breed Cooldown"},"breed_items":{"description":"The list of items that can be used to get the entity into the `love` state.","title":"Breed Items","oneOf":[{"type":"array","items":{"type":"string","description":"An item that can be used to get the entity into the `love` state.","$ref":"#/definitions/J","title":"Breed Item"}},{"type":"string","$ref":"#/definitions/J"}]},"breeds_with":{"description":"The list of entity definitions that this entity can breed with.","title":"Breeds With","oneOf":[{"type":"object","$ref":"#/definitions/BCD_breeds_with_spec"},{"uniqueItems":true,"type":"array","items":{"type":"object","$ref":"#/definitions/BCD_breeds_with_spec"}}]},"causes_pregnancy":{"type":"boolean","default":false,"description":"If true, the entity will become pregnant instead of spawning a baby.","title":"Causes Pregnancy"},"deny_parents_variant":{"type":"object","description":"Determines how likely the baby of parents with the same variant will deny that variant and take a random variant within the given range instead.","additionalProperties":false,"properties":{"chance":{"type":"number","default":0,"description":"The percentage chance of denying the parents` variant.","title":"Chance"},"max_variant":{"type":"integer","default":0,"description":"The inclusive maximum of the variant range.","title":"Maximum Variant"},"min_variant":{"type":"integer","default":0,"description":"The inclusive minimum of the variant range.","title":"Minimum Variant"}},"title":"Deny Parents Variant"},"environment_requirements":{"description":"The list of nearby block requirements to get the entity into the `love` state.","oneOf":[{"type":"object","$ref":"#/definitions/BCD_enviroment_requirements"},{"type":"array","items":{"$ref":"#/definitions/BCD_enviroment_requirements"}}],"title":"Environment Requirements"},"extra_baby_chance":{"type":"number","default":0.0,"description":"Chance that up to 16 babies will spawn between 0.0 and 1.0, where 1.0 is 100%.","minimum":0.0,"maximum":1.0,"title":"Extra Baby Chance"},"love_filters":{"$ref":"#/definitions/BD","description":"The filters to run when attempting to fall in love.","title":"Love Filters"},"mutation_factor":{"type":"object","description":"Determines how likely the babies are to NOT inherit one of their parent's variances. Values are between 0.0 and 1.0, with a higher number meaning more likely to mutate.","additionalProperties":false,"properties":{"color":{"type":"number","default":0,"minimum":0.0,"maximum":1.0,"description":"The percentage chance of a mutation on the entity's color.","title":"Color"},"extra_variant":{"type":"number","default":0,"minimum":0.0,"maximum":1.0,"description":"The percentage chance of a mutation on the entity's extra variant type.","title":"Extra Variant"},"variant":{"type":"number","default":0,"minimum":0.0,"maximum":1.0,"description":"The percentage chance of a mutation on the entity's variant type.","title":"Variant"}},"title":"Mutation Factor"},"mutation_strategy":{"title":"Mutation Strategy","type":"string","default":"none","description":"Strategy used for mutating variants and extra variants for offspring. Current valid alternatives are 'random' and 'none'."},"parent_centric_attribute_blending":{"title":"Parent Centric Attribute Blending","type":"array","description":"[EXPERIMENTAL] List of attributes that should benefit from parent centric attribute blending. For example, horses blend their health, movement, and jump_strength in their offspring."},"random_extra_variant_mutation_interval":{"title":"Random Extra Variant Mutation Interval","default":0,"$ref":"#/definitions/BCF","description":"Range used to determine random extra variant."},"random_variant_mutation_interval":{"title":"Random Variant Mutation Interval","default":0,"$ref":"#/definitions/BCF","description":"Range used to determine random variant."},"inherit_tamed":{"type":"boolean","default":true,"description":"If true, the babies will be automatically tamed if its parents are.","title":"Inherit Tamed"},"require_full_health":{"type":"boolean","default":false,"description":"If true, the entity needs to be at full health before it can breed.","title":"Require Full Health"},"require_tame":{"type":"boolean","default":true,"description":"If true, the entities need to be tamed first before they can breed.","title":"Require Tame"},"transform_to_item":{"type":"string","title":"Transform To Item","description":"The feed item used will transform to this item upon successful interaction. Format: itemName:auxValue"}},"examples":[{"allow_sitting":false,"blend_attributes":true,"breed_cooldown":60.0,"deny_parents_variant":{},"extra_baby_chance":0.0,"mutation_factor":{},"causes_pregnancy":false,"inherit_tamed":true,"require_full_health":false,"require_tame":true,"transform_to_item":"example"}]},"BCG":{"type":"object","title":"Bribeable","additionalProperties":false,"description":"Defines the way an entity can get into the 'bribed' state.","required":[],"properties":{"bribe_cooldown":{"type":"number","default":2,"description":"Time in seconds before the Entity can be bribed again.","title":"Bribe Cooldown"},"bribe_items":{"type":"array","description":"The list of items that can be used to bribe the entity.","items":{"description":"An item that can be used to bribe the entity.","$ref":"#/definitions/J","title":"Bribe Items"},"title":"Bribe Items"}},"examples":[{"bribe_cooldown":2,"bribe_items":[]}]},"BCH":{"type":"object","title":"Buoyant","description":"Enables an entity to float on the specified liquid blocks.","additionalProperties":false,"properties":{"base_buoyancy":{"type":"number","default":0,"description":"Base buoyancy used to calculate how much will a mob float.","title":"Base Buoyancy"},"apply_gravity":{"type":"boolean","default":true,"description":"Applies gravity each tick. Causes more of a wave simulation, but will cause more gravity to be applied outside liquids.","title":"Apply Gravity"},"buoyancy":{"type":"number","default":1,"description":"Base buoyancy used to calculate how much will a mob float.","title":"Base Buoyancy"},"big_wave_probability":{"type":"number","default":0.03,"description":"Probability for a big wave hitting the entity. Only used if `simulate_waves` is true.","title":"Big Wave Probability"},"big_wave_speed":{"type":"number","default":10,"description":"Multiplier for the speed to make a big wave. Triggered depending on `big_wave_probability`.","title":"Big Wave Speed"},"drag_down_on_buoyancy_removed":{"type":"number","default":0,"description":"How much an actor will be dragged down when the Buoyancy Component is removed.","title":"Drag Down On Buoyancy Removed"},"liquid_blocks":{"type":"array","description":"List of blocks this entity can float on. Must be a liquid block.","title":"Liquid Blocks","items":{"title":"Block","$ref":"#/definitions/BCC"}},"simulate_waves":{"type":"boolean","default":true,"description":"Should the movement simulate waves going through.","title":"Simulate Waves"}},"examples":[{"base_buoyancy":0,"apply_gravity":true,"buoyancy":1,"big_wave_probability":0.03,"big_wave_speed":10,"drag_down_on_buoyancy_removed":0,"liquid_blocks":[],"simulate_waves":true}]},"BCI":{"title":"Burns In Daylight","additionalProperties":false,"description":"Specifies if/how a mob burns in daylight.","required":[],"properties":{},"oneOf":[{"type":"boolean"},{"type":"object"}]},"BCJ":{"type":"object","title":"Can Climb","additionalProperties":false,"description":"Allows this entity to climb up ladders.","required":[],"properties":{}},"BDA":{"type":"object","title":"Can Fly","additionalProperties":false,"description":"Marks the entity as being able to fly, the pathfinder won't be restricted to paths where a solid block is required underneath it.","required":[],"properties":{"value":{"type":"boolean","default":true,"description":"Marks the entity as being able to fly, the pathfinder won't be restricted to paths where a solid block is required underneath it.","title":"Value"}},"examples":[{"value":true}]},"BDB":{"title":"Can Join Raid","additionalProperties":false,"description":"Sets that this entity can join a raid.","type":"object","required":[],"properties":{}},"BDC":{"type":"object","title":"Can Power Jump","additionalProperties":false,"description":"Allows the entity to power jump like the horse does in vanilla.","required":[],"properties":{}},"BDD":{"type":"object","title":"Celebrate Hunt","description":"Specifies hunt celebration behavior.","additionalProperties":false,"properties":{"broadcast":{"type":"boolean","default":true,"description":"If true, celebration will be broadcasted to other entities in the radius.","title":"Broadcast"},"celebration_targets":{"$ref":"#/definitions/BD","description":"The list of conditions that target of hunt must satisfy to initiate celebration.","title":"Celeberation Targets"},"celebrate_sound":{"$ref":"#/definitions/BAB","default":"","description":"The sound event to play when the mob is celebrating.","title":"Celebrate Sound"},"duration":{"type":"integer","default":4,"description":"Duration, in seconds, of celebration.","title":"Duration"},"radius":{"type":"number","default":16,"description":"If broadcast is enabled, specifies the radius in which it will notify other entities for celebration.","title":"Radius"},"sound_interval":{"default":0,"description":"The range of time in seconds to randomly wait before playing the sound again.","title":"Sound Interval","oneOf":[{"type":"array","items":[{"type":"number","title":"Maximum"},{"type":"number","title":"Maximum"}]},{"type":"number"},{"type":"object","additionalProperties":false,"properties":{"range_min":{"type":"number","title":"Minimum","description":"Minimum."},"range_max":{"type":"number","title":"Maximum","description":"Maximum."}}}]}},"examples":[{"broadcast":true,"celebrate_sound":"","duration":4,"radius":16}]},"BDE":{"type":"object","title":"Collision Box","additionalProperties":false,"description":"Sets the width and height of the Entity's collision box.","required":[],"properties":{"height":{"title":"Height","type":"number","default":1.0,"description":"Height of the collision box in blocks. A negative value will be assumed to be 0."},"width":{"title":"Width","type":"number","default":1.0,"description":"Width of the collision box in blocks. A negative value will be assumed to be 0."}},"examples":[{"height":1,"width":1}]},"BDF":{"type":"object","title":"Color","additionalProperties":false,"description":"Defines the entity's color. Only works on vanilla entities that have predefined color values (sheep, llama, shulker).","required":[],"properties":{"value":{"type":"integer","default":0,"description":"The Palette Color value of the entity.","title":"Value"}},"examples":[{"value":0}]},"BDG":{"type":"object","title":"Color.0","additionalProperties":false,"description":"Defines the entity's second texture color. Only works on vanilla entities that have a second predefined color values (tropical fish).","required":[],"properties":{"value":{"type":"integer","default":0,"description":"The second Palette Color value of the entity.","title":"Value"}},"examples":[{"value":0}]},"BDH":{"type":"object","title":"Combat Regeneration","description":"Gives Regeneration I and removes Mining Fatigue from the mob that kills the Actor`s attack target.","additionalProperties":false,"properties":{"apply_to_family":{"type":"boolean","default":false,"description":"Determines if the mob will grant mobs of the same type combat buffs if they kill the target.","title":"Apply To Family"},"apply_to_self":{"type":"boolean","default":false,"description":"Determines if the mob will grant itself the combat buffs if it kills the target.","title":"Apply To Self"},"regeneration_duration":{"type":"integer","default":5,"description":"The duration in seconds of Regeneration I added to the mob.","title":"Regeneration Duration"}},"examples":[{"apply_to_family":false,"apply_to_self":false,"regeneration_duration":5}]},"BDI":{"additionalProperties":false,"type":"object","title":"Conditional Bandwidth Optimization","description":"Defines the Conditional Spatial Update Bandwidth Optimizations of this entity.","properties":{"conditional_values":{"title":"Conditional Values","description":"The object containing the conditional bandwidth optimization values.","type":"array","items":{"title":"Conditional Value","description":"The object containing the conditional bandwidth optimization values.","additionalProperties":false,"type":"object","properties":{"max_dropped_ticks":{"title":"Maximum Dropped Ticks","description":"In relation to the optimization value, determines the maximum ticks spatial update packets can be not sent.","type":"integer"},"max_optimized_distance":{"title":"Maximum Optimized Distance","description":"The maximum distance considered during bandwidth optimizations. Any value below the Maximum is interpolated to find optimization, and any value greater than or equal to this Maximum results in Maximum optimization.","type":"number"},"use_motion_prediction_hints":{"title":"Use Motion Prediction Hints","description":"When set to true, smaller motion packets will be sent during drop packet intervals, resulting in the same amount of packets being sent as without optimizations but with much less data being sent. This should be used when actors are travelling very quickly or teleporting to prevent visual oddities.","type":"boolean"},"conditional_values":{"title":"Conditional Values","description":"Conditions that must be met for these optimization values to be used.","type":"array","items":{"$ref":"#/definitions/BD"}}}}},"default_values":{"title":"Default Values","description":"The object containing the default bandwidth optimization values.","type":"object","additionalProperties":false,"properties":{"max_dropped_ticks":{"title":"Maximum Dropped Ticks","description":"In relation to the optimization value, determines the maximum ticks spatial update packets can be not sent.","type":"integer"},"max_optimized_distance":{"title":"Maximum Optimized Distance","description":"The maximum distance considered during bandwidth optimizations. Any value below the Maximum is interpolated to find optimization, and any value greater than or equal to this Maximum results in Maximum optimization.","type":"number"},"use_motion_prediction_hints":{"title":"Use Motion Prediction Hints","description":"When set to true, smaller motion packets will be sent during drop packet intervals, resulting in the same amount of packets being sent as without optimizations but with much less data being sent. This should be used when actors are travelling very quickly or teleporting to prevent visual oddities.","type":"boolean"}}}},"examples":[{"conditional_values":[],"default_values":{}}]},"BDJ":{"type":"object","title":"Custom Hit Test","description":"List of hitboxes for melee and ranged hits against the entity.","additionalProperties":false,"properties":{"hitboxes":{"type":"array","title":"Hitboxes","description":"Defines a hitbox size and pivot to test against.","items":{"type":"object","title":"Hitbox","description":"Defines a hitbox size and pivot to test against.","additionalProperties":false,"properties":{"width":{"type":"number","title":"Width","description":"Height of the hitbox in blocks. A negative value will be assumed to be 0."},"height":{"type":"number","title":"Height","description":"Width and Depth of the hitbox in blocks. A negative value will be assumed to be 0."},"pivot":{"type":"array","title":"Pivot","description":"The offset from the entity's anchor where the hitbox will spawn.","items":[{"type":"number","title":"X"},{"type":"number","title":"Y"},{"type":"number","title":"Z"}]}}}}},"examples":[{"hitboxes":[{"width":1,"height":1,"pivot":[0,1,0]}]}]},"BEA":{"type":"object","title":"Damage Over Time","additionalProperties":false,"description":"Applies defined amount of damage to the entity at specified intervals.","required":[],"properties":{"damage_per_hurt":{"type":"integer","default":1,"description":"Amount of damage caused each hurt.","title":"Damage Per Hurt"},"time_between_hurt":{"type":"number","default":0,"description":"Time in seconds between damage.","title":"Time Between Hurt"}},"examples":[{"damage_per_hurt":1,"time_between_hurt":0}]},"BEB_triggers":{"title":"Triggers","description":"List of triggers with the events to call when taking specific kinds of damage.","type":"object","additionalProperties":false,"properties":{"cause":{"type":"string","default":"none","description":"Type of damage that triggers the events.","title":"Cause","$ref":"#/definitions/DA"},"damage_modifier":{"title":"Damage Modifier","type":"number","default":0.0,"description":"A modifier that adds to/removes from the base damage from the damage cause. It does not reduce damage to less than 0."},"damage_multiplier":{"type":"number","default":1,"description":"A multiplier that modifies the base damage from the damage cause. If deals_damage is true the multiplier can only reduce the damage the entity will take to a minimum of 1.","title":"Damage Multiplier"},"deals_damage":{"type":"boolean","default":true,"description":"If true, the damage dealt to the entity will take away health from it, set to false to make the entity ignore that damage.","title":"Deals Damage"},"on_damage":{"type":"object","description":"Specifies filters for entity definitions and events.","title":"On Damage","$ref":"#/definitions/BAI"},"on_damage_sound_event":{"$ref":"#/definitions/BAB","description":"Defines what sound to play, if any, when the on_damage filters are met.","title":"On Damage Sound Event"}}},"BEB":{"title":"Damage Sensor","description":"Defines what events to call when this entity is damaged by specific entities or items.","type":"object","additionalProperties":false,"examples":[{"triggers":[{"cause":"all","deals_damage":false}]},{"triggers":[{"on_damage":{"filters":{"test":"has_damage","subject":"self","value":"fatal"}},"deals_damage":false}]}],"properties":{"triggers":{"title":"Triggers","description":"The list of triggers that fire when the environment conditions match the given filter criteria.","examples":[[{"cause":"all","deals_damage":false}]],"oneOf":[{"type":"array","items":{"$ref":"#/definitions/BEB_triggers"}},{"type":"object","$ref":"#/definitions/BEB_triggers"}]}}},"BEC":{"type":"object","title":"Dash","additionalProperties":false,"description":"Ability for a ridable entity to dash.","required":[],"properties":{"cooldown_time":{"title":"cooldown time","type":"number","default":1.0,"description":"The dash cooldown in seconds."},"horizontal_momentum":{"title":"horizoontal momentum","type":"number","default":1.0,"description":"Horizontal momentum of the dash."},"vertical_momentum":{"title":"vertical momentum","type":"number","default":1.0,"description":"Vertical momentum of the dash."}},"examples":[{"value":0.0}]},"BED":{"type":"object","title":"Default Look Angle","additionalProperties":false,"description":"Sets this entity's default head rotation angle.","required":[],"properties":{"value":{"type":"number","default":0.0,"description":"Angle in degrees.","title":"Value"}},"examples":[{"value":0.0}]},"BEE":{"type":"object","title":"Despawn","description":"Despawns the Actor when the despawn rules or optional filters evaluate to true.","additionalProperties":false,"properties":{"despawn_from_chance":{"type":"boolean","default":true,"description":"Determines if `min_range_random_chance` is used in the standard despawn rules.","title":"Despawn From Chance"},"despawn_from_distance":{"type":"object","additionalProperties":false,"description":"Defines the minimum and maximum distance for despawn to occur.","title":"Despawn From Distance","properties":{"max_distance":{"type":"integer","default":128,"description":"Maximum distance for standard despawn rules to instantly despawn the mob.","title":"Maximum Distance"},"min_distance":{"type":"integer","default":32,"description":"Minimum distance for standard despawn rules to try to despawn the mob.","title":"Minimum Distance"}}},"despawn_from_inactivity":{"type":"boolean","default":true,"description":"Determines if the `min_range_inactivity_timer` is used in the standard despawn rules.","title":"Despawn From Inactivity"},"despawn_from_simulation_edge":{"type":"boolean","default":true,"description":"Determines if the mob is instantly despawned at the edge of simulation distance in the standard despawn rules.","title":"Despawn From Simulation Edge"},"filters":{"$ref":"#/definitions/BD","description":"The list of conditions that must be satisfied before the Actor is despawned. If a filter is defined then standard despawn rules are ignored."},"min_range_inactivity_timer":{"type":"integer","default":30,"description":"The amount of time in seconds that the mob must be inactive.","title":"Minimum Range Inactivity Timer"},"min_range_random_chance":{"type":"integer","default":800,"description":"A random chance between 1 and the given value.","title":"Minimum Range Random Chance"},"remove_child_entities":{"type":"boolean","default":false,"description":"If true, all entities linked to this entity in a child relationship (eg. leashed) will also be despawned.","title":"Remove Child Entities"}},"examples":[{"despawn_from_chance":true,"despawn_from_distance":{},"despawn_from_inactivity":true,"despawn_from_simulation_edge":true,"min_range_inactivity_timer":30,"min_range_random_chance":800,"remove_child_entities":false}]},"BEF":{"type":"object","title":"Drying Out Timer","description":"Adds a timer for drying out that will count down and fire `dried_out_event` or will stop as soon as the entity will get under rain or water and fire `stopped_drying_out_event`.","additionalProperties":false,"properties":{"dried_out_event":{"$ref":"#/definitions/BC","description":"Event to fire when the drying out time runs out.","title":"Dried Out Event"},"recover_after_dried_out_event":{"$ref":"#/definitions/BC","description":"Event to fire when entity was already dried out but received increase in water supply.","title":"Recover After Dried Out Event"},"stopped_drying_out_event":{"$ref":"#/definitions/BC","description":"Event to fire when entity stopped drying out, for example got into water or under rain.","title":"Stopped Drying Out Event"},"total_time":{"type":"number","default":0,"description":"Amount of time in seconds to dry out fully.","title":"Total Time"},"water_bottle_refill_time":{"type":"number","default":0,"description":"Optional amount of additional time in seconds given by using splash water bottle on entity.","title":"Water Bottle Refill Time"}},"examples":[{"total_time":0,"water_bottle_refill_time":0}]},"BEG":{"type":"object","title":"Dweller","description":"Allows a mob to join and migrate between villages and other dwellings.","additionalProperties":false,"properties":{"dwelling_type":{"type":"string","title":"Dwelling Type","description":"The type of dwelling the mob wishes to join. Current Types: village","enum":["village"]},"dweller_role":{"type":"string","title":"Dwelling Role","description":"The role of which the mob plays in the dwelling. Current Roles: inhabitant, defender, hostile, passive.","enum":["inhabitant","defender","hostile","passive"]},"update_interval_base":{"type":"number","title":"Update Interval Base","description":"How often the mob checks on their dwelling status in ticks. Positive values only.","minimum":0},"update_interval_variant":{"type":"number","title":"Update Interval Variant","description":"The variant value in ticks that will be added to the update_interval_base."},"can_find_poi":{"type":"boolean","title":"Can Find Poi","description":"Whether or not the mob can find and add POI's to the dwelling."},"first_founding_reward":{"type":"integer","title":"First Founding Reward","description":"How much reputation should the players be rewarded on first founding?."},"can_migrate":{"type":"boolean","title":"Can Migrate","description":"Can this mob migrate between dwellings? Or does it only have its initial dwelling?."},"dwelling_bounds_tolerance":{"title":"Dwelling Bounds Tolerance","type":"number","description":"A padding distance for checking if the mob is within the dwelling."},"preferred_profession":{"type":"string","title":"Preferred Profession","description":"Allows the user to define a starting profession for this particular Dweller, instead of letting them choose organically. (They still need to gain experience from trading before this takes effect.)"}},"examples":[{"dwelling_type":"village","dweller_role":"inhabitant","update_interval_base":0,"update_interval_variant":0,"preferred_profession":"example","can_find_poi":true,"can_migrate":true,"first_founding_reward":0}]},"BEH":{"type":"object","title":"Economy Trade Table","additionalProperties":false,"description":"Defines this entity's ability to trade with players.","required":[],"properties":{"convert_trades_economy":{"type":"boolean","default":false,"description":"Determines when the mob transforms, if the trades should be converted when the new mob has a economy_trade_table. When the trades are converted, the mob will generate a new trade list with their new trade table, but then it will try to convert any of the same trades over to have the same enchantments and user data. For example, if the original has a Emerald to Enchanted Iron Sword (Sharpness 1), and the new trade also has an Emerald for Enchanted Iron Sword, then the enchantment will be Sharpness 1.","title":"Convert Trades Economy"},"cured_discount":{"type":"array","default":[-5,-20],"description":"How much should the discount be modified by when the player has cured the Zombie Villager. Can be specified as a pair of numbers (low-tier trade discount and high-tier trade discount)","title":"Cured Discount","items":[{"type":"integer","title":"A","description":"Minimum."},{"type":"integer","title":"B","description":"Maximum."}]},"display_name":{"type":"string","default":"","description":"Name to be displayed while trading with this entity.","title":"Display Name"},"hero_demand_discount":{"type":"integer","default":-4,"description":"Used in legacy prices to determine how much should Demand be modified by when the player has the Hero of the Village mob effect.","title":"Hero Demand Discount"},"max_cured_discount":{"type":"array","default":[-25,-63],"description":"The Maximum the discount can be modified by when the player has cured the Zombie Villager. Can be specified as a pair of numbers (low-tier trade discount and high-tier trade discount)","title":"Maximum Cured Discount","items":[{"type":"integer","title":"A","description":"Minimum."},{"type":"integer","title":"B","description":"Maximum."}]},"max_nearby_cured_discount":{"type":"integer","default":-200,"description":"The Maximum the discount can be modified by when the player has cured a nearby Zombie Villager.","title":"Maximum Nearby Cured Discount"},"nearby_cured_discount":{"type":"integer","default":-25,"description":"How much should the discount be modified by when the player has cured a nearby Zombie Villager.","title":"Nearby Cured Discount"},"new_screen":{"type":"boolean","default":false,"description":"Used to determine if trading with entity opens the new trade screen.","title":"New Screen"},"persist_trades":{"type":"boolean","default":false,"description":"Determines if the trades should persist when the mob transforms. This makes it so that the next time the mob is transformed to something with a trade_table or economy_trade_table, then it keeps their trades.","title":"Persist Trades"},"show_trade_screen":{"type":"boolean","default":true,"description":"Show an in game trade screen when interacting with the mob.","title":"Show Trade Screen"},"table":{"type":"string","default":"","description":"File path relative to the resource pack root for this entity's trades.","title":"Table"},"use_legacy_price_formula":{"type":"boolean","default":false,"description":"Determines whether the legacy formula is used to determines the trade prices.","title":"Use Legacy Price Formula"}},"examples":[{"convert_trades_economy":false,"cured_discount":[],"display_name":"","hero_demand_discount":-4,"max_cured_discount":[],"max_nearby_cured_discount":-200,"nearby_cured_discount":-25,"new_screen":false,"persist_trades":false,"show_trade_screen":true,"table":"","use_legacy_price_formula":false}]},"BEI_sensor_element":{"type":"object","title":"Entity Sensor","additionalProperties":false,"properties":{"maximum_count":{"type":"integer","default":-1,"description":"The maximum number of entities that must pass the filter conditions for the event to send.","title":"Maximum Count"},"minimum_count":{"type":"integer","default":1,"description":"The minimum number of entities that must pass the filter conditions for the event to send.","title":"Minimum Count"},"require_all":{"type":"boolean","default":false,"description":"If true requires all nearby entities to pass the filter conditions for the event to send.","title":"Require All"},"sensor_range":{"type":"number","default":10,"description":"The maximum distance another entity can be from this and have the filters checked against it.","title":"Sensor Range"},"event_filters":{"$ref":"#/definitions/BD"},"event":{"title":"Event","description":"event.","type":"string"},"cooldown":{"title":"Cooldown","description":"How many seconds should elapse before the subsensor can once again sense for entities. The cooldown is applied on top of the base 1 tick (0.05 seconds) delay. Negative values will result in no cooldown being used.","type":"number","default":-1}},"examples":[{"maximum_count":-1,"minimum_count":1,"require_all":false,"sensor_range":10,"event":"example"}]},"BEI":{"type":"object","title":"Entity Sensor","description":"A component that fires an event when a set of conditions are met by other entities within the defined range.","oneOf":[{"allOf":[{"$ref":"#/definitions/BEI_sensor_element"},{"properties":{"relative_range":{"type":"boolean","default":true,"description":"If true the sensor range is additive on top of the entity's size.","title":"Relative Range"}}}]},{"properties":{"subsensors":{"type":"array","title":"Subsensors","description":"The list of subsensors.","items":{"$ref":"#/definitions/BEI_sensor_element"}},"relative_range":{"type":"boolean","default":true,"description":"If true the sensor range is additive on top of the entity's size.","title":"Relative Range"}}}]},"BEJ_trigger":{"$ref":"#/definitions/BAI"},"BEJ":{"title":"Environment Sensor","description":"Creates a trigger based on environment conditions.","type":"object","additionalProperties":false,"examples":[{"triggers":[{"event":"self:example","target":"self","filters":{"test":"has_tag","value":"example"}}]}],"properties":{"triggers":{"description":"The list of triggers that fire when the environment conditions match the given filter criteria.","title":"Triggers","oneOf":[{"type":"array","items":{"$ref":"#/definitions/BEJ_trigger"}},{"type":"object","$ref":"#/definitions/BEJ_trigger"}]}}},"BFA":{"type":"object","title":"Equip Item","description":"The entity puts on the desired equipment.","additionalProperties":false,"properties":{"excluded_items":{"title":"Excluded Items","type":"array","description":"List of items that the entity should not equip.","items":{"type":"string","$ref":"#/definitions/J","description":"Item that the entity should not equip.","title":"Excluded Items"}}}},"BFC":{"description":"A minecraft loot_table identifier.","examples":["loot_tables/"],"pattern":"^loot_tables/.*\\.json$","title":"Loot Table Identifier","type":"string","defaultSnippets":[{"label":"New Identifier","body":"loot_tables/$1.json"}]},"BFB":{"type":"object","title":"Equipment","description":"Sets the equipment table to use for the entity.","additionalProperties":false,"properties":{"slot_drop_chance":{"type":"array","description":"A list of slots with the chance to drop an equipped item from that slot.","title":"Slot Drop Chance","items":{"additionalProperties":false,"title":"Slot Drop Chance","description":"A slots with the chance to drop an equipped item from that slot.","type":"object","properties":{"drop_chance":{"type":"number","title":"Drop Chance","description":"The chance that the item in this slot will drop.","$comment":"UNDOCUMENTED"},"slot":{"type":"string","title":"Slot","description":"The slot in which the item will drop from.","$comment":"UNDOCUMENTED","examples":["slot.weapon.mainhand"]}}}},"table":{"title":"Table","description":"The file path to the equipment table, relative to the behavior pack's root.","$ref":"#/definitions/BFC"}},"examples":[{"slot_drop_chance":[]}]},"BFD":{"type":"object","title":"Equippable","additionalProperties":false,"description":"Defines an entity's behavior for having items equipped to it.","properties":{"slots":{"description":"List of slots and the item that can be equipped.","type":"array","title":"Slots","items":{"description":"A slot and the item that can be equipped.","title":"Slots","type":"object","properties":{"slot":{"type":"integer","default":0,"description":"The slot number of this slot.","title":"Slot"},"accepted_items":{"type":"array","description":"The list of items that can go in this slot.","title":"Accepted Items","items":{"type":"string","description":"A item name.","$ref":"#/definitions/J","title":"Accepted Items"}},"item":{"$ref":"#/definitions/J","description":"Identifier of the item that can be equipped for this slot.","title":"Item"},"interact_text":{"type":"string","description":"Text to be displayed when the entity can be equipped with this item when playing with Touch-screen controls.","title":"Interact Text"},"on_equip":{"$ref":"#/definitions/BC","description":"Event to trigger when this entity is equipped with this item.","title":"On Equip"},"on_unequip":{"$ref":"#/definitions/BC","description":"Event to trigger when this item is removed from this entity.","title":"On Unequip"}}}}},"examples":[{"slots":[]}]},"BFE":{"type":"object","title":"Exhaustion Values","additionalProperties":false,"description":"Defines how much exhaustion each player action should take.","properties":{"attack":{"title":"Attack","type":"number","default":0.1,"description":"Amount of exhaustion applied when attacking."},"damage":{"title":"Damage","type":"number","default":0.1,"description":"Amount of exhaustion applied when taking damage."},"heal":{"title":"Heal","type":"number","default":6,"description":"Amount of exhaustion applied when healed through food regeneration."},"jump":{"title":"Jump","type":"number","default":0.05,"description":"Amount of exhaustion applied when jumping."},"mine":{"title":"Mine","type":"number","default":0.005,"description":"Amount of exhaustion applied when mining."},"sprint":{"title":"Sprint","type":"number","default":0.01,"description":"Amount of exhaustion applied when sprinting."},"sprint_jump":{"title":"Sprint Jump","type":"number","default":0.2,"description":"Amount of exhaustion applied when sprint jumping."},"swim":{"title":"Swim","type":"number","default":0.01,"description":"Amount of exhaustion applied when swimming."},"walk":{"title":"Walk","type":"number","default":0,"description":"Amount of exhaustion applied when walking."}},"examples":[{"heal":6,"jump":0.05,"sprint_jump":0.2,"mine":0.005,"attack":0.1,"damage":0.1,"walk":0.0,"sprint":0.01,"swim":0.01}]},"BFF":{"type":"object","title":"Experience Reward","description":"Defines the amount of experience rewarded when the entity dies or is successfully bred.","additionalProperties":false,"properties":{"on_bred":{"type":["string","number"],"default":0,"description":"A molang expression defining the amount of experience rewarded when this entity is successfully bred. An array of expressions adds each expression's result together for a final total.","title":"On Bred"},"on_death":{"type":["string","number"],"default":0,"description":"A molang expression defining the amount of experience rewarded when this entity dies. An array of expressions adds each expression's result together for a final total.","title":"On Death"}},"examples":[{"on_bred":0,"on_death":0}]},"BFG":{"type":"object","title":"Explode","additionalProperties":false,"description":"Defines how the entity explodes.","properties":{"breaks_blocks":{"type":"boolean","default":true,"description":"If true, the explosion will destroy blocks in the explosion radius.","title":"Breaks Blocks"},"causes_fire":{"type":"boolean","default":false,"description":"If true, blocks in the explosion radius will be set on fire.","title":"Causes Fire"},"destroy_affected_by_griefing":{"type":"boolean","default":false,"description":"If true, whether the explosion breaks blocks is affected by the mob griefing game rule.","title":"Destroy Affected By Griefing"},"fire_affected_by_griefing":{"type":"boolean","default":false,"description":"If true, whether the explosion causes fire is affected by the mob griefing game rule.","title":"Fire Affected By Griefing"},"fuse_length":{"default":[0.0,0.0],"description":"The range for the random amount of time the fuse will be lit before exploding, a negative value means the explosion will be immediate.","title":"Fuse Length","oneOf":[{"type":"array","items":[{"type":"number"},{"type":"number"}]},{"type":"number"}]},"fuse_lit":{"type":"boolean","default":false,"description":"If true, the fuse is already lit when this component is added to the entity.","title":"Fuse Lit"},"max_resistance":{"type":"number","description":"A blocks explosion resistance will be capped at this value when an explosion occurs.","title":"Maximum Resistance"},"power":{"type":"number","default":3,"description":"The radius of the explosion in blocks and the amount of damage the explosion deals.","title":"Power"}},"examples":[{"breaks_blocks":true,"causes_fire":false,"destroy_affected_by_griefing":false,"fire_affected_by_griefing":false,"fuse_lit":false,"max_resistance":0.0,"power":3}]},"BFH":{"type":"object","title":"Fall Damage","additionalProperties":false,"description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","required":[],"properties":{"value":{"type":"number","default":1,"description":"UNDOCUMENTED: value.","title":"Value"}},"examples":[{"value":1}]},"BFI":{"title":"Fire Immune","additionalProperties":false,"description":"Sets that this entity doesn't take damage from fire.","type":"object","required":[],"properties":{}},"BFJ":{"description":"Sets that this entity can float in liquid blocks.","type":"object","title":"Floats In Liquid","additionalProperties":false,"required":[],"properties":{}},"BGA":{"type":"object","title":"Flocking","description":"Allows entities to flock in groups in water or not.","additionalProperties":false,"properties":{"block_distance":{"type":"number","default":0,"description":"The amount of blocks away the entity will look at to push away from.","title":"Block Distance"},"block_weight":{"type":"number","default":0,"description":"The weight of the push back away from blocks.","title":"Block Weight"},"breach_influence":{"type":"number","default":0,"description":"The amount of push back given to a flocker that breaches out of the water.","title":"Breach Influence"},"cohesion_threshold":{"type":"number","default":1,"description":"The threshold in which to start applying cohesion.","title":"Cohesion Threshold"},"cohesion_weight":{"type":"number","default":1,"description":"The weight applied for the cohesion steering of the flock.","title":"Cohesion Weight"},"goal_weight":{"type":"number","default":0,"description":"The weight on which to apply on the goal output.","title":"Goal Weight"},"high_flock_limit":{"type":"integer","default":0,"description":"Determines the high bound amount of entities that can be allowed in the flock.","title":"High Flock Limit"},"in_water":{"type":"boolean","default":false,"description":"Tells the Flocking Component if the entity exists in water.","title":"In Water"},"influence_radius":{"type":"number","default":0,"description":"The area around the entity that allows others to be added to the flock.","title":"Influence Radius"},"innner_cohesion_threshold":{"type":"number","default":0,"description":"The distance in which the flocker will stop applying cohesion.","title":"Innner Cohesion Threshold"},"loner_chance":{"type":"number","default":0,"description":"The percentage chance between 0-1 that a fish will spawn and not want to join flocks. Invalid values will be capped at the end points.","title":"Loner Chance"},"low_flock_limit":{"type":"integer","default":0,"description":"Determines the low bound amount of entities that can be allowed in the flock.","title":"Low Flock Limit"},"match_variants":{"type":"boolean","default":false,"description":"Tells the flockers that they can only match similar entities that also match the variant, mark variants, and color data of the other potential flockers.","title":"Match Variants"},"max_height":{"type":"number","default":0,"description":"The Maximum height allowable in the air or water.","title":"Maximum Height"},"min_height":{"type":"number","default":0,"description":"The Minimum height allowable in the air or water.","title":"Minimum Height"},"separation_threshold":{"type":"number","default":2,"description":"The distance that is determined to be to close to another flocking and to start applying separation.","title":"Separation Threshold"},"separation_weight":{"type":"number","default":1,"description":"The weight applied to the separation of the flock.","title":"Separation Weight"},"use_center_of_mass":{"type":"boolean","default":false,"description":"Tells the flockers that they will follow flocks based on the center of mass.","title":"Use Center Of Mass"}},"examples":[{"block_distance":0,"block_weight":0,"breach_influence":0,"cohesion_threshold":1,"cohesion_weight":1,"goal_weight":0,"high_flock_limit":0,"in_water":false,"influence_radius":0,"innner_cohesion_threshold":0,"loner_chance":0,"low_flock_limit":0,"match_variants":false,"max_height":0,"min_height":0,"separation_threshold":2,"separation_weight":1,"use_center_of_mass":false}]},"BGB":{"type":"object","title":"Flying Speed","additionalProperties":false,"description":"Speed in Blocks that this entity flies at.","required":[],"properties":{"value":{"type":"number","default":0.02,"description":"Flying speed in blocks per tick.","title":"Value"}},"examples":[{"value":0.02}]},"BGC":{"type":"object","title":"Follow Range","description":"Defines the range of blocks that a mob will pursue a target.","additionalProperties":false,"required":[],"properties":{"value":{"type":"integer","description":"Range of the amount of damage the melee follow_range deals. A negative value can heal the entity instead of hurting it.","title":"Value"},"max":{"type":"integer","description":"Duration, in seconds, of the status ailment applied to the damaged entity.","title":"Max"}},"examples":[{"value":16,"max":48}]},"BGD":{"type":"object","title":"Friction Modifier","additionalProperties":false,"description":"Defines how much does friction affect this entity.","required":[],"properties":{"value":{"type":"number","default":1.0,"description":"The higher the number, the more the friction affects this entity. A value of 1.0 means regular friction, while 2.0 means twice as much","title":"Value"}},"examples":[{"value":1.0}]},"BGE":{"additionalProperties":false,"description":"Allows an entity to emit `entityMove`, `swim` and `flap` game events, depending on the block the entity is moving through. It is added by default to every mob. Add it again to override its behavior.","type":"object","title":"Game Event Movement Tracking","properties":{"emit_flap":{"title":"emit flap","type":"boolean","default":false,"description":"If true, the `flap` game event will be emitted when the entity moves through air."},"emit_move":{"title":"emit move","type":"boolean","default":true,"description":"If true, the `entityMove` game event will be emitted when the entity moves on ground or through a solid."},"emit_swim":{"title":"emit swim","type":"boolean","default":true,"description":"If true, the `swim` game event will be emitted when the entity moves through a liquid."}}},"BGF_integer_range":{"title":"Range","examples":[-1,{"range_min":4,"range_max":7}],"oneOf":[{"type":"integer"},{"type":"object","properties":{"range_min":{"type":"integer","default":0,"description":"Lower bound of the vaues.","title":"Range Minimum"},"range_max":{"type":"integer","default":0,"description":"Upper bound of the vaues.","title":"Range Maximum"}}}]},"BGF":{"type":"object","title":"Genetics","additionalProperties":false,"description":"Defines the way a mob's genes and alleles are passed on to it's offspring, and how those traits manifest in the child. Compatible parent genes are crossed together, the alleles are handed down from the parents to the child, and any matching genetic variants fire off JSON events to modify the child and express the traits.","required":[],"properties":{"mutation_rate":{"type":"number","description":"Chance that an allele will be replaced with a random one instead of the parent's allele during birth.","title":"Mutation Rate","default":0.03125},"genes":{"title":"Genes","type":"array","description":"The list of genes that this entity has and will cross with a partner during breeding.","items":{"type":"object","description":"The list of genes that this entity has and will cross with a partner during breeding.","title":"Gene","properties":{"allele_range":{"title":"Allele Range","description":"The range of positive integer allele values for this gene. Spawned mobs will have a random number in this range assigned to them.","$ref":"#/definitions/BGF_integer_range"},"genetic_variants":{"title":"Genetic Variants","type":"array","description":"The list of genetic variants for this gene. These check for particular allele combinations and fire events when all of them are satisfied.","items":{"title":"Genetic Variants","description":"The genetic variant for this gene. These check for particular allele combinations and fire events when all of them are satisfied.","type":"object","properties":{"birth_event":{"$ref":"#/definitions/BC","description":"Event to run when this mob is created and matches the above allele conditions.","title":"Brith Event"},"both_allele":{"title":"Both Allele","default":-1,"description":"If this value is non-negative, compare both the mob's main and hidden alleles with this value for a match with both. Can also be a range of integers.","$ref":"#/definitions/BGF_integer_range"},"either_allele":{"title":"Either Allele","type":"integer","default":-1,"description":"If this value is non-negative, compare both the mob's main and hidden alleles with this value for a match with either. Can also be a range of integers."},"hidden_allele":{"title":"Hidden Allele","type":"integer","default":-1,"description":"If this value is non-negative, compare the mob's hidden allele with this value for a match. Can also be a range of integers."},"main_allele":{"title":"Main Allele","default":-1,"description":"If this value is non-negative, compare the mob's main allele with this value for a match. Can also be a range of integers.","$ref":"#/definitions/BGF_integer_range"},"mutation_rate":{"title":"Mutation Rate","type":"number","default":-1,"description":"If this value is non-negative, overrides the chance for this gene that an allele will be replaced with a random one instead of the parent's allele during birth. Non-negative values greater than 1 will be the same as the value 1."}}}},"name":{"title":"Name","type":"string","description":"The name of the gene."}}}}},"examples":[{"mutation_rate":0.0,"genes":[]}]},"BGG":{"additionalProperties":false,"description":"Defines sets of items that can be used to trigger events when used on this entity. The item will also be taken and placed in the entity's inventory.","type":"object","title":"Giveable","properties":{"triggers":{"description":"Defines sets of items that can be used to trigger events when used on this entity. The item will also be taken and placed in the entity's inventory.","title":"Triggers","type":"object","additionalProperties":false,"properties":{"cooldown":{"type":"number","default":0.0,"description":"An optional cool down in seconds to prevent spamming interactions.","title":"Cooldown"},"items":{"type":"array","title":"Properties","description":"The list of items that can be given to the entity to place in their inventory.","items":{"description":"An items that can be given to the entity to place in their inventory.","$ref":"#/definitions/J","title":"Properties"}},"on_give":{"$ref":"#/definitions/BC","description":"Event to fire when the correct item is given.","title":"On Give"}}}},"examples":[{"triggers":{}}]},"BGH":{"type":"object","title":"Ground Offset","additionalProperties":false,"description":"Sets the offset from the ground that the entity is actually at.","required":[],"properties":{"value":{"type":"number","default":0.0,"description":"The value of the entity's offset from the terrain, in blocks.","title":"Value"}},"examples":[{"value":0.0}]},"BGI":{"type":"object","title":"Group Size","description":"Keeps track of entity group size in the given radius.","additionalProperties":false,"properties":{"filters":{"$ref":"#/definitions/BD","description":"The list of conditions that must be satisfied for other entities to be counted towards group size."},"radius":{"type":"number","default":16,"description":"Radius from center of entity.","title":"Radius"}},"examples":[{"radius":16}]},"BGJ":{"type":"object","title":"Grows Crop","description":"Could increase crop growth when entity walks over crop.","additionalProperties":false,"properties":{"chance":{"type":"number","default":0,"description":"Value between 0-1. Chance of success per tick.","minimum":0,"maximum":1,"title":"Chance"},"charges":{"type":"integer","default":10,"description":"Number of charges.","title":"Charges"}},"examples":[{"chance":0,"charges":10}]},"BHA_effect":{"type":"object","properties":{"name":{"title":"Name","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"string"},"duration":{"type":"integer","default":0,"minimum":0,"description":"The duration of the effect.","$comment":"UNDOCUMENTED"},"amplifier":{"type":"integer","default":0,"minimum":0,"description":"The amplifier of the effect.","$comment":"UNDOCUMENTED"}}},"BHA":{"description":"Defines the interactions with this entity for healing it.","type":"object","title":"Healable","additionalProperties":false,"required":[],"properties":{"filters":{"$ref":"#/definitions/BD"},"force_use":{"type":"boolean","default":false,"description":"Determines if item can be used regardless of entity being at full health.","title":"Force Use"},"items":{"description":"The array of items that can be used to heal this entity.","title":"Items","type":"array","items":{"type":"object","properties":{"filters":{"$ref":"#/definitions/BD","description":"The filter group that defines the conditions for using this item to heal the entity."},"heal_amount":{"type":"integer","default":1,"description":"The amount of health this entity gains when fed this item.","title":"Heal Amount"},"item":{"$ref":"#/definitions/J","description":"Item that can be used to heal this entity.","title":"Item"},"effects":{"oneOf":[{"$ref":"#/definitions/BHA_effect"},{"type":"array","items":{"$ref":"#/definitions/BHA_effect"}}]}}}}},"examples":[{"force_use":false,"items":[]}]},"BHB":{"description":"Specifies how much life an entity has when spawned.","type":"object","title":"Health","additionalProperties":false,"required":[],"properties":{"max":{"type":"integer","description":"The maximum starting health an entity has.","title":"Maximum"},"value":{"description":"The amount of health an entity to start with by default.","title":"Value","oneOf":[{"type":"integer","default":1},{"type":"object","additionalProperties":false,"required":["range_min","range_max"],"properties":{"range_min":{"title":"Range Minimum","description":"The minimum amount of health this mob could have.","type":"integer"},"range_max":{"title":"Range Maximum","description":"The maximum amount of health this mob could have.","type":"integer"}}}]}},"examples":[{"value":1,"max":1}]},"BHC":{"description":"defines the entity's heartbeat..","type":"object","title":"Heartbeat","additionalProperties":false,"required":[],"properties":{"interval":{"title":"Interval","description":"A Molang expression defining the inter-beat interval in seconds. A value of zero or less means no heartbeat..","$ref":"#/definitions/E"},"sound_event":{"title":"Sound Event","description":"Level sound event to be played as the heartbeat sound.","type":"string"}},"examples":[{}]},"BHD":{"type":"object","title":"Hide","description":"Compels an entity to move to and hide at their owned POI or the closest nearby.","additionalProperties":false,"properties":{}},"BHE":{"type":"object","title":"Home","description":"Saves a home pos for when the the entity is spawned.","additionalProperties":false,"properties":{"restriction_radius":{"title":"Restriction Radius","description":"The radius that the entity will be restricted to in relation to its home.","type":"integer","default":-1},"home_block_list":{"title":"Home Block List","description":"Optional block list that the home position will be associated with. If any of the blocks no longer exist at that position, the home restriction is removed. Example syntax: minecraft:sand. Not supported: minecraft:sand:1","type":"array","items":{"title":"Home Block","description":"Optional block that the home position will be associated with. If any of the blocks no longer exist at that position, the home restriction is removed. Example syntax: minecraft:sand. Not supported: minecraft:sand:1","type":"string","$ref":"#/definitions/BA"}}},"examples":[{"restriction_radius":-1,"home_block_list":[]}]},"BHF":{"type":"object","title":"Horse Jump Strength","additionalProperties":false,"description":"Allows this mob to jump higher when being ridden by a player.","$comment":"UNDOCUMENTED","properties":{"value":{"description":"The multiplier to apply to the jumping height.","$comment":"UNDOCUMENTED","title":"Value","oneOf":[{"type":"object","additionalProperties":false,"properties":{"range_min":{"type":"number"},"range_max":{"type":"number"}}},{"type":"number"}]}}},"BHG":{"type":"object","title":"Hurt On Condition","description":"Defines a set of conditions under which an entity should take damage.","additionalProperties":false,"properties":{"damage_conditions":{"type":"array","title":"Damage Conditions","description":"An array of conditions used to compare the event to.","items":{"type":"object","title":"Damage Condition","description":"A condition used to compare the event to.","additionalProperties":false,"properties":{"filters":{"$ref":"#/definitions/BD"},"cause":{"type":"string","title":"Cause","description":"Damage cause.","$ref":"#/definitions/DA"},"damage_per_tick":{"type":"integer","title":"Damage Per Tick","description":"Amount of damage done each tick that the conditions are met."}}}}},"examples":[{"damage_conditions":[]}]},"BHH":{"type":"object","title":"Hurt When Wet","additionalProperties":false,"required":[],"properties":{},"description":"Specifies if an actor is hurt when wet."},"BHI":{"description":"When configured as a rideable entity, the entity will be controlled using WASD controls.","type":"object","title":"Input Ground Controlled","additionalProperties":false,"required":[],"properties":{}},"BIA":{"title":"Block","type":"object","additionalProperties":false,"properties":{"name":{"title":"Name","description":"The block id, for example: `minecraft:air'.","type":"string"},"states":{"title":"States","description":"The block states.","type":"object","additionalProperties":{"title":"State","description":"A single state of a block.","oneOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]}}}},"BHJ":{"type":"object","title":"Inside Block Notifier","additionalProperties":false,"description":"Verifies whether the entity is inside any of the listed blocks.","required":[],"properties":{"block_list":{"title":"Block List","description":"List of blocks, with certain block states, that we are monitoring to see if the entity is inside.","type":"array","items":{"title":"Block","description":"A of block, with certain block states, that we are monitoring to see if the entity is inside.","type":"object","additionalProperties":false,"properties":{"block":{"$ref":"#/definitions/BIA"},"entered_block_event":{"title":"Entered Block Event","description":"Event to run when this mob enters a valid block.","$comment":"UNDOCUMENTED","$ref":"#/definitions/BC"},"exited_block_event":{"title":"Exited Block Event","description":"Event to run when this mob leaves a valid block.","$comment":"UNDOCUMENTED","$ref":"#/definitions/BC"}}}}},"examples":[{"block_list":[]}]},"BIB":{"description":"Adds a timer since last rested to see if phantoms should spawn.","type":"object","title":"Insomnia","additionalProperties":false,"required":[],"properties":{"days_until_insomnia":{"type":"number","default":3,"description":"Number of days the mob has to stay up until the insomnia effect begins.","title":"Days Until Insomnia"}},"examples":[{"days_until_insomnia":3}]},"BIC":{"type":"object","title":"Instant Despawn","description":"Despawns the Actor immediately.","additionalProperties":false,"properties":{"remove_child_entities":{"type":"boolean","default":false,"description":"If true, all entities linked to this entity in a child relationship (eg. leashed) will also be despawned.","title":"Remove Child Entities"}},"examples":[{"remove_child_entities":false}]},"BID_interaction_spec":{"type":"object","additionalProperties":false,"properties":{"add_items":{"title":"Add Items","type":"object","description":"Loot table with items to add to the player's inventory upon successful interaction.","additionalProperties":false,"properties":{"table":{"type":"string","$ref":"#/definitions/BFC","description":"File path, relative to the Behavior Pack's path, to the loot table file.","title":"Table"}}},"cooldown":{"title":"Cooldown","type":"number","default":0,"description":"Time in seconds before this entity can be interacted with again."},"admire":{"title":"Admire","type":"boolean","default":false,"description":"Allows entity to admire the item. Requires \"minecraft:admire_item\" and \"minecraft:behavior.admire_item\" to work.","$comment":"UNDOCUMENTED"},"barter":{"title":"Barter","type":"boolean","default":false,"description":"Allows entity to barter with the item. Requires \"minecraft:barter\" to work.","$comment":"UNDOCUMENTED"},"cooldown_after_being_attacked":{"title":"Cooldown After Being Attacked","type":"number","default":0,"description":"Time in seconds before this entity can be interacted with after being attacked."},"health_amount":{"title":"Health Amount","type":"integer","default":0,"description":"The amount of health this entity will recover or hurt when interacting with this item. Negative values will harm the entity."},"hurt_item":{"title":"Hurt Item","type":"integer","default":0,"description":"The amount of damage the item will take when used to interact with this entity. A value of 0 means the item won't lose durability."},"interact_text":{"title":"Interact Text","type":"string","default":"","description":"Text to show when the player is able to interact in this way with this entity when playing with Touch-screen controls."},"on_interact":{"title":"On Interact","$ref":"#/definitions/BAI","description":"Event to fire when the interaction occurs."},"particle_on_start":{"title":"Particle On Start","type":"object","description":"Particle effect that will be triggered at the start of the interaction.","properties":{"particle_offset_towards_interactor":{"type":"boolean","description":"Whether or not the particle will appear closer to who performed the interaction.","title":"Particle Offset Towards Interactor"},"particle_type":{"type":"string","description":"The type of particle that will be spawned.","title":"Particle Type"},"particle_y_offset":{"type":"number","description":"Will offset the particle this amount in the y direction.","title":"Particle Y Offset"}}},"play_sounds":{"title":"Play Sounds","$ref":"#/definitions/BAB","default":"","description":"List of sounds to play when the interaction occurs."},"spawn_entities":{"title":"Spawn Entities","type":"string","default":"","description":"List of entities to spawn when the interaction occurs."},"spawn_items":{"type":"object","description":"Loot table with items to drop on the ground upon successful interaction.","title":"Spawn Items","additionalProperties":false,"properties":{"table":{"type":"string","$ref":"#/definitions/BFC","description":"File path, relative to the Behavior Pack's path, to the loot table file.","title":"Table"}}},"swing":{"title":"Swing","type":"boolean","default":false,"description":"If true, the player will do the \"swing\" animation when interacting with this entity."},"transform_to_item":{"title":"Transform To Item","type":"string","description":"The feed item used will transform to this item upon successful interaction. Format: itemName:auxValue"},"use_item":{"title":"Use Item","type":"boolean","default":false,"description":"If true, the interaction will use an item."},"vibration":{"title":"Vibration","type":"string","description":"Vibration to emit when the interaction occurs. Admitted values are entity_interact (used by default), shear, and none (no vibration emitted)."},"give_item":{"title":"Give Item","type":"boolean","$comment":"UNDOCUMENTED","description":"UNDOCUMENTED Item to give to the player upon successful interaction."},"take_item":{"title":"Take Item","type":"boolean","$comment":"UNDOCUMENTED","description":"UNDOCUMENTED Takes an item from the player."},"drop_item_slot":{"title":"Drop Item Slot","type":"integer","default":-1,"description":"The entity's equipment slot to remove and drop the item from, if any, upon successful interaction."},"equip_item_slot":{"title":"Equip Item Slot","type":"integer","default":-1,"description":"The entity's equipment slot to equip the item to, if any, upon successful interaction."}}},"BID":{"type":"object","title":"Interact","description":"Defines interactions with this entity.","additionalProperties":false,"examples":[{"interactions":[{}]}],"properties":{"interactions":{"description":"The interactions.","title":"Interactions","oneOf":[{"type":"object","$ref":"#/definitions/BID_interaction_spec"},{"type":"array","items":{"$ref":"#/definitions/BID_interaction_spec"}}]}}},"BIE":{"description":"Defines this entity's inventory properties.","type":"object","title":"Inventory","additionalProperties":false,"properties":{"additional_slots_per_strength":{"type":"integer","default":0,"description":"Number of slots that this entity can gain per extra strength.","title":"Additional Slots Per Strength"},"can_be_siphoned_from":{"type":"boolean","default":false,"description":"If true, the contents of this inventory can be removed by a hopper.","title":"Can Be Siphoned From"},"container_type":{"type":"string","default":"none","description":"Type of container this entity has. Can be horse, minecart_chest, chest_boat, minecart_hopper, inventory, container or hopper","title":"Container Type","enum":["horse","minecart_chest","chest_boat","minecart_hopper","inventory","container","hopper"]},"inventory_size":{"type":"integer","default":5,"description":"Number of slots the container has.","title":"Inventory Size"},"private":{"type":"boolean","default":false,"description":"If true, only the entity can access the inventory.","title":"Private"},"restrict_to_owner":{"type":"boolean","default":false,"description":"If true, the entity's inventory can only be accessed by its owner or itself.","title":"Restrict To Owner"}},"examples":[{"additional_slots_per_strength":0,"can_be_siphoned_from":false,"container_type":"none","inventory_size":5,"private":false,"restrict_to_owner":false}]},"BIF":{"description":"Sets that this entity is a baby.","type":"object","title":"Is Baby","additionalProperties":false,"required":[],"properties":{}},"BIG":{"description":"Sets that this entity is charged.","type":"object","title":"Is Charged","additionalProperties":false,"required":[],"properties":{}},"BIH":{"description":"Sets that this entity is currently carrying a chest.","type":"object","title":"Is Chested","additionalProperties":false,"required":[],"properties":{}},"BII":{"description":"Allows dyes to be used on this entity to change its color.","type":"object","title":"Is Dyeable","additionalProperties":false,"required":[],"properties":{"interact_text":{"type":"string","description":"The text that will display when interacting with this entity with a dye when playing with Touch-screen controls.","title":"Interact Text"}},"examples":[{"interact_text":"example"}]},"BIJ":{"type":"object","title":"Is Hidden When Invisible","additionalProperties":false,"description":"Sets that this entity can hide from hostile mobs while invisible."},"BJA":{"description":"Sets that this entity is currently on fire.","type":"object","title":"Is Ignited","additionalProperties":false,"required":[],"properties":{}},"BJB":{"description":"Sets that this entity is an illager captain.","type":"object","title":"Is Illager Captain","additionalProperties":false,"required":[],"properties":{}},"BJC":{"description":"Sets that this entity is currently saddled.","type":"object","title":"Is Saddled","additionalProperties":false,"required":[],"properties":{}},"BJD":{"description":"Sets that this entity is currently shaking.","type":"object","title":"Is Shaking","additionalProperties":false,"required":[],"properties":{}},"BJE":{"description":"Sets that this entity is currently sheared.","type":"object","title":"Is Sheared","additionalProperties":false,"required":[],"properties":{}},"BJF":{"description":"Sets that this entity can be stacked.","type":"object","title":"Is Stackable","additionalProperties":false,"properties":{"value":{"title":"Value","description":"UNDOCUMENTED.","type":"boolean"}}},"BJG":{"description":"Sets that this entity is currently stunned.","type":"object","title":"Is Stunned","additionalProperties":false,"required":[],"properties":{}},"BJH":{"description":"Sets that this entity is currently tamed.","type":"object","title":"Is Tamed","additionalProperties":false,"required":[],"properties":{}},"BJI":{"description":"Efines what items can be used to control this entity while ridden.","type":"object","title":"Item Controllable","additionalProperties":false,"required":[],"properties":{"control_items":{"description":"List of items that can be used to control this entity.","oneOf":[{"type":"array","items":{"type":"string","description":"An item that can be used to control this entity.","title":"Item"}},{"type":"string"}],"title":"Control Items"}}},"BJJ":{"type":"object","title":"Item Hopper","additionalProperties":false,"required":[],"properties":{},"description":"Determines that this entity is an item hopper."},"CAA":{"description":"Defines a dynamic type jump control that will change jump properties based on the speed modifier of the mob.","type":"object","title":"Jump Dynamic","additionalProperties":false,"required":[],"properties":{}},"CAB":{"description":"Gives the entity the ability to jump.","type":"object","title":"Jump Static","additionalProperties":false,"required":[],"properties":{"jump_power":{"type":"number","default":0.42,"description":"The initial vertical velocity for the jump.","title":"Jump Power"}},"examples":[{"jump_power":0.42}]},"CAC":{"type":"object","title":"Knockback Resistance","description":"Allows an entity to resist being knocked backwards by a melee attack.","required":[],"additionalProperties":false,"properties":{"value":{"title":"Value","type":"number","default":1.0,"description":"Percentage of knockback to reduce with 1.0 being 100% reduction."},"maximum":{"title":"Maximum","type":"number","default":1.0,"description":"The maximum amount of knockback resistance that can be applied to the entity."}},"examples":[{"value":1.0},{"value":100,"maximum":100}]},"CAD":{"description":"Allows a custom movement speed across lava blocks.","type":"object","title":"Lava Movement","additionalProperties":false,"required":[],"properties":{"value":{"type":"number","title":"Value","description":"The speed a strider moves over a lava block."}},"examples":[{"value":0.32}]},"CAE":{"type":"object","title":"Leashable","description":"Allows this entity to be leashed and defines the conditions and events for this entity when is leashed.","additionalProperties":false,"properties":{"can_be_stolen":{"type":"boolean","default":false,"description":"If true, players can leash this entity even if it is already leashed to another mob.","title":"Can Be Stolen"},"hard_distance":{"type":"number","default":6,"description":"Distance in blocks at which the leash stiffens, restricting movement.","title":"Hard Distance"},"max_distance":{"type":"number","default":10,"description":"Distance in blocks at which the leash breaks.","title":"Maximum Distance"},"on_leash":{"$ref":"#/definitions/BC","description":"Event to call when this entity is leashed.","title":"On Leash"},"on_unleash":{"$ref":"#/definitions/BC","description":"Event to call when this entity is unleashed.","title":"On Unleash"},"soft_distance":{"type":"number","default":4,"description":"Distance in blocks at which the `spring` effect starts acting to keep this entity close to the entity that leashed it.","title":"Soft Distance"}},"examples":[{"can_be_stolen":false,"hard_distance":6,"max_distance":10,"soft_distance":4}]},"CAF":{"description":"Defines the behavior when another entity looks at this entity.","type":"object","title":"Lookat","additionalProperties":false,"properties":{"allow_invulnerable":{"type":"boolean","default":false,"description":"If true, invulnerable entities (e.g. Players in creative mode) are considered valid targets.","title":"Allow Invulnerable"},"filters":{"$ref":"#/definitions/BD","description":"Defines the entities that can trigger this component.","title":"Filters"},"look_cooldown":{"$ref":"#/definitions/BBB","default":[0.0,0.0],"description":"The range for the random amount of time during which the entity is `cooling down` and won't get angered or look for a target.","title":"Look Cooldown"},"look_event":{"description":"The event identifier to run when the entities specified in filters look at this entity.","title":"Look Event","$ref":"#/definitions/BC"},"search_radius":{"type":"number","default":10,"description":"Maximum distance this entity will look for another entity looking at it.","title":"Search Radius"},"set_target":{"type":"boolean","default":true,"description":"If true, this entity will set the attack target as the entity that looked at it.","title":"Set Target"}},"examples":[{"allow_invulnerable":false,"search_radius":10,"set_target":true}]},"CAG":{"type":"object","title":"Loot","description":"sets the loot table for what items this entity drops upon death.","additionalProperties":false,"required":["table"],"examples":[{"table":"loot_tables/empty.json"}],"properties":{"table":{"type":"string","pattern":"^loot_tables/.*.json$","description":"The path to the loot table, relative to the Behavior Pack's root.","title":"Table","default":"loot_tables/empty.json"}}},"CAH":{"type":"object","title":"Managed Wandering Trader","additionalProperties":false,"required":[],"properties":{},"description":"This component is used to implement part of the Wandering Trader behavior."},"CAI":{"type":"object","title":"Mark Variant","description":"Additional variant value. Can be used to further differentiate variants.","required":["value"],"properties":{"value":{"type":"integer","default":0,"description":"The ID of the variant. By convention, 0 is the ID of the base entity","title":"Value"}},"additionalProperties":false,"examples":[{"value":0},{"value":1},{"value":2},{"value":3},{"value":4},{"value":5},{"value":6},{"value":7},{"value":8},{"value":9}]},"CAJ":{"type":"object","title":"Mob Effect","description":"A component that applies a mob effect to entities that get within range.","additionalProperties":false,"properties":{"cooldown_time":{"title":"Cooldown Time","type":"integer","default":0,"description":"Time in seconds to wait between each application of the effect."},"effect_range":{"title":"Effect Range","type":"number","default":0.2,"description":"How close a hostile entity must be to have the mob effect applied."},"effect_time":{"title":"Effect Time","type":"integer","default":10,"description":"How long the applied mob effect lasts in seconds."},"entity_filter":{"$ref":"#/definitions/BD","title":"Entity Filter","description":"Filter to use for conditions."},"mob_effect":{"title":"Mob Effect","type":"string","default":"","description":"The mob effect that is applied to entities that enter this entities effect range."}},"examples":[{"effect_range":0.2,"effect_time":10,"mob_effect":""}]},"CBA":{"type":"object","title":"Movement Sound Distance Offset","description":"Sets the offset used to determine the next step distance for playing a movement sound.","required":["value"],"properties":{"value":{"type":"number","default":1.0,"description":"The higher the number, the less often the movement sound will be played.","title":"Value"}},"additionalProperties":false,"examples":[{"value":1.0},{"value":0.5},{"value":1.5}]},"CBB":{"type":"object","title":"Movement Amphibious","additionalProperties":false,"required":[],"properties":{"max_turn":{"type":"number","default":30,"description":"The maximum number in degrees the mob can turn per tick.","title":"Maximum Turn"}},"description":"This move control allows the mob to swim in water and walk on land.","examples":[{"max_turn":30}]},"CBC":{"type":"object","title":"Movement Basic","description":"defines the movement of an entity.","additionalProperties":false,"required":[],"properties":{"max_turn":{"type":"number","default":30,"description":"The maximum number in degrees the mob can turn per tick.","title":"Maximum Turn"}},"examples":[{"max_turn":30}]},"CBD":{"type":"object","title":"Movement Fly","description":"This move control causes the mob to fly.","additionalProperties":false,"required":[],"properties":{"max_turn":{"type":"number","default":30,"description":"The maximum number in degrees the mob can turn per tick.","title":"Maximum Turn"}},"examples":[{"max_turn":30}]},"CBE":{"description":"This move control allows a mob to fly, swim, climb, etc.","type":"object","title":"Movement Generic","additionalProperties":false,"required":[],"properties":{"max_turn":{"type":"number","default":30,"description":"The maximum number in degrees the mob can turn per tick.","title":"Maximum Turn"}},"examples":[{"max_turn":30}]},"CBF":{"type":"object","title":"Movement Glide","description":"This is the move control for a flying mob that has a gliding movement.","additionalProperties":false,"required":[],"properties":{"max_turn":{"type":"number","default":30,"description":"The maximum number in degrees the mob can turn per tick.","title":"Maximum Turn"},"start_speed":{"type":"number","title":"Start Speed","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"speed_when_turning":{"type":"number","title":"Speed When Turning","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"}},"examples":[{"start_speed":1.0,"speed_when_turning":2.0}]},"CBG":{"title":"Movement Hover","description":"This move control causes the mob to hover.","type":"object","additionalProperties":false,"properties":{"max_turn":{"type":"number","default":30,"description":"The maximum number in degrees the mob can turn per tick.","title":"Maximum Turn"}},"examples":[{"max_turn":30}]},"CBH":{"type":"object","title":"Movement Jump","description":"Move control that causes the mob to jump as it moves with a specified delay between jumps.","additionalProperties":false,"properties":{"jump_delay":{"type":"array","default":[0.0,0.0],"description":"Delay after landing when using the slime move control.","title":"Jump Delay","items":[{"type":"number","title":"Minimum"},{"type":"number","title":"Maximum"}]},"max_turn":{"type":"number","default":30,"description":"The maximum number in degrees the mob can turn per tick.","title":"Maximum Turn"}},"examples":[{"jump_delay":[],"max_turn":30}]},"CBI":{"type":"object","title":"Movement Skip","additionalProperties":false,"required":[],"description":"This move control causes the mob to hop as it moves.","properties":{"max_turn":{"type":"number","default":30,"description":"The maximum number in degrees the mob can turn per tick.","title":"Maximum Turn"}},"examples":[{"max_turn":30}]},"CBJ":{"title":"Movement Sway","description":"This move control causes the mob to sway side to side giving the impression it is swimming.","type":"object","additionalProperties":false,"properties":{"max_turn":{"type":"number","default":30,"description":"The maximum number in degrees the mob can turn per tick.","title":"Maximum Turn"},"sway_amplitude":{"type":"number","description":"Strength of the sway movement.","title":"Sway Amplitude","default":0.05},"sway_frequency":{"type":"number","description":"Multiplier for the frequency of the sway movement.","title":"Sway Amplitude","default":0.5}},"examples":[{"max_turn":30,"sway_amplitude":0.0}]},"CCA":{"type":"object","title":"Movement","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","additionalProperties":false,"required":[],"properties":{"value":{"title":"Value","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","oneOf":[{"type":"array","items":[{"type":"number","title":"Maximum"},{"type":"number","title":"Maximum"}]},{"type":"number"},{"type":"object","additionalProperties":false,"title":"Range","properties":{"range_min":{"type":"number","title":"Range Minimum"},"range_max":{"type":"number","title":"Range Maximum"}}}]},"max":{"type":"number","title":"Maximum","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"}},"examples":[{"max":0.0}]},"CCB_name_action":{"type":"object","additionalProperties":false,"description":"Describes the special names for this entity and the events to call when the entity acquires those names.","title":"Name Action","properties":{"name_filter":{"type":"string","default":"","description":"List of special names that will cause the events defined in `on_named` to fire.","title":"Name Filter"},"on_named":{"$ref":"#/definitions/BC","description":"Event to be called when this entity acquires the name specified in `name_filter'.","title":"On Named"}}},"CCB":{"type":"object","title":"Nameable","additionalProperties":false,"description":"Allows this entity to be named (e.g. using a name tag).","properties":{"allow_name_tag_renaming":{"type":"boolean","default":true,"description":"If true, this entity can be renamed with name tags.","title":"Allow Name Tag Renaming"},"always_show":{"type":"boolean","default":false,"description":"If true, the name will always be shown.","title":"Always Show"},"default_trigger":{"$ref":"#/definitions/BAI","description":"Trigger to run when the entity gets named.","title":"Default Trigger"},"name_actions":{"title":"Name Actions","description":"Describes the special names for this entity and the events to call when the entity acquires those names.","oneOf":[{"type":"array","items":{"$ref":"#/definitions/CCB_name_action"}},{"type":"object","$ref":"#/definitions/CCB_name_action"}]}},"examples":[{"allow_name_tag_renaming":true,"always_show":false}]},"CCC":{"title":"Navigation Climb","description":"Allows this entity to generate paths that include vertical walls like the vanilla Spiders do.","type":"object","additionalProperties":false,"properties":{"avoid_damage_blocks":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid blocks that cause damage when finding a path.","title":"Avoid Damage Blocks"},"avoid_portals":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid portals (like nether portals) when finding a path.","title":"Avoid Portals"},"avoid_sun":{"type":"boolean","default":false,"description":"Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths.","title":"Avoid Sun"},"avoid_water":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid water when creating a path.","title":"Avoid Water"},"blocks_to_avoid":{"type":"array","description":"Tells the pathfinder which blocks to avoid when creating a path.","title":"Blocks To Avoid","items":{"title":"Block","description":"Tells the pathfinder which blocks to avoid when creating a path.","$ref":"#/definitions/BCC"}},"can_breach":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can jump out of water (like a dolphin).","title":"Can Breach"},"can_break_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door and break it.","title":"Can Break Doors"},"can_jump":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can jump up blocks.","title":"Can Jump"},"can_open_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door assuming the AI will open the door.","title":"Can Open Doors"},"can_open_iron_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door.","title":"Can Open Iron Doors"},"can_pass_doors":{"type":"boolean","default":true,"description":"Whether a path can be created through a door.","title":"Can Pass Doors"},"can_path_from_air":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can start pathing when in the air.","title":"Can Path From Air"},"can_path_over_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the lava.","title":"Can Path Over Lava"},"can_path_over_water":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the water.","title":"Can Path Over Water"},"can_sink":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it will be pulled down by gravity while in water.","title":"Can Sink"},"can_swim":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path.","title":"Can Swim"},"can_walk":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can walk on the ground outside water.","title":"Can Walk"},"can_walk_in_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel in lava like walking on ground.","title":"Can Walk In Lava"},"is_amphibious":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can walk on the ground underwater.","title":"Is Amphibious"}},"examples":[{},{"avoid_damage_blocks":true,"can_pass_doors":true,"can_jump":true},{"avoid_damage_blocks":false,"avoid_portals":false,"avoid_sun":false,"avoid_water":false,"blocks_to_avoid":[],"can_breach":false,"can_break_doors":false,"can_jump":true,"can_open_doors":false,"can_open_iron_doors":false,"can_pass_doors":true,"can_path_from_air":false,"can_path_over_lava":false,"can_path_over_water":false,"can_sink":true,"can_swim":false,"can_walk":true,"can_walk_in_lava":false,"is_amphibious":false}]},"CCD":{"title":"Navigation Float","description":"Allows this entity to generate paths by flying around the air like the regular Ghast.","type":"object","additionalProperties":false,"properties":{"avoid_damage_blocks":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid blocks that cause damage when finding a path.","title":"Avoid Damage Blocks"},"avoid_portals":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid portals (like nether portals) when finding a path.","title":"Avoid Portals"},"avoid_sun":{"type":"boolean","default":false,"description":"Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths.","title":"Avoid Sun"},"avoid_water":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid water when creating a path.","title":"Avoid Water"},"blocks_to_avoid":{"type":"array","description":"Tells the pathfinder which blocks to avoid when creating a path.","title":"Blocks To Avoid","items":{"title":"Block","description":"Tells the pathfinder which blocks to avoid when creating a path.","$ref":"#/definitions/BCC"}},"can_breach":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can jump out of water (like a dolphin).","title":"Can Breach"},"can_break_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door and break it.","title":"Can Break Doors"},"can_jump":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can jump up blocks.","title":"Can Jump"},"can_open_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door assuming the AI will open the door.","title":"Can Open Doors"},"can_open_iron_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door.","title":"Can Open Iron Doors"},"can_pass_doors":{"type":"boolean","default":true,"description":"Whether a path can be created through a door.","title":"Can Pass Doors"},"can_path_from_air":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can start pathing when in the air.","title":"Can Path From Air"},"can_path_over_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the lava.","title":"Can Path Over Lava"},"can_path_over_water":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the water.","title":"Can Path Over Water"},"can_sink":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it will be pulled down by gravity while in water.","title":"Can Sink"},"can_swim":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path.","title":"Can Swim"},"can_walk":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can walk on the ground outside water.","title":"Can Walk"},"can_walk_in_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel in lava like walking on ground.","title":"Can Walk In Lava"},"is_amphibious":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can walk on the ground underwater.","title":"Is Amphibious"}},"examples":[{},{"avoid_damage_blocks":true,"can_pass_doors":true,"can_jump":true},{"avoid_damage_blocks":false,"avoid_portals":false,"avoid_sun":false,"avoid_water":false,"blocks_to_avoid":[],"can_breach":false,"can_break_doors":false,"can_jump":true,"can_open_doors":false,"can_open_iron_doors":false,"can_pass_doors":true,"can_path_from_air":false,"can_path_over_lava":false,"can_path_over_water":false,"can_sink":true,"can_swim":false,"can_walk":true,"can_walk_in_lava":false,"is_amphibious":false}]},"CCE":{"title":"Navigation Fly","description":"Allows this entity to generate paths in the air like the vanilla Parrots do.","type":"object","additionalProperties":false,"properties":{"avoid_damage_blocks":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid blocks that cause damage when finding a path.","title":"Avoid Damage Blocks"},"avoid_portals":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid portals (like nether portals) when finding a path.","title":"Avoid Portals"},"avoid_sun":{"type":"boolean","default":false,"description":"Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths.","title":"Avoid Sun"},"avoid_water":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid water when creating a path.","title":"Avoid Water"},"blocks_to_avoid":{"type":"array","description":"Tells the pathfinder which blocks to avoid when creating a path.","title":"Blocks To Avoid","items":{"title":"Block","description":"Tells the pathfinder which blocks to avoid when creating a path.","$ref":"#/definitions/BCC"}},"can_breach":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can jump out of water (like a dolphin).","title":"Can Breach"},"can_break_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door and break it.","title":"Can Break Doors"},"can_jump":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can jump up blocks.","title":"Can Jump"},"can_open_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door assuming the AI will open the door.","title":"Can Open Doors"},"can_open_iron_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door.","title":"Can Open Iron Doors"},"can_pass_doors":{"type":"boolean","default":true,"description":"Whether a path can be created through a door.","title":"Can Pass Doors"},"can_path_from_air":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can start pathing when in the air.","title":"Can Path From Air"},"can_path_over_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the lava.","title":"Can Path Over Lava"},"can_path_over_water":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the water.","title":"Can Path Over Water"},"can_sink":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it will be pulled down by gravity while in water.","title":"Can Sink"},"can_swim":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path.","title":"Can Swim"},"can_walk":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can walk on the ground outside water.","title":"Can Walk"},"can_walk_in_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel in lava like walking on ground.","title":"Can Walk In Lava"},"is_amphibious":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can walk on the ground underwater.","title":"Is Amphibious"}},"examples":[{},{"avoid_damage_blocks":true,"can_pass_doors":true,"can_jump":true},{"avoid_damage_blocks":false,"avoid_portals":false,"avoid_sun":false,"avoid_water":false,"blocks_to_avoid":[],"can_breach":false,"can_break_doors":false,"can_jump":true,"can_open_doors":false,"can_open_iron_doors":false,"can_pass_doors":true,"can_path_from_air":false,"can_path_over_lava":false,"can_path_over_water":false,"can_sink":true,"can_swim":false,"can_walk":true,"can_walk_in_lava":false,"is_amphibious":false}]},"CCF":{"title":"Navigation Generic","description":"Allows this entity to generate paths by walking, swimming, flying and/or climbing around and jumping up and down a block.","type":"object","additionalProperties":false,"properties":{"avoid_damage_blocks":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid blocks that cause damage when finding a path.","title":"Avoid Damage Blocks"},"avoid_portals":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid portals (like nether portals) when finding a path.","title":"Avoid Portals"},"avoid_sun":{"type":"boolean","default":false,"description":"Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths.","title":"Avoid Sun"},"avoid_water":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid water when creating a path.","title":"Avoid Water"},"blocks_to_avoid":{"type":"array","description":"Tells the pathfinder which blocks to avoid when creating a path.","title":"Blocks To Avoid","items":{"title":"Block","description":"Tells the pathfinder which blocks to avoid when creating a path.","$ref":"#/definitions/BCC"}},"can_breach":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can jump out of water (like a dolphin).","title":"Can Breach"},"can_break_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door and break it.","title":"Can Break Doors"},"can_jump":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can jump up blocks.","title":"Can Jump"},"can_open_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door assuming the AI will open the door.","title":"Can Open Doors"},"can_open_iron_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door.","title":"Can Open Iron Doors"},"can_pass_doors":{"type":"boolean","default":true,"description":"Whether a path can be created through a door.","title":"Can Pass Doors"},"can_path_from_air":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can start pathing when in the air.","title":"Can Path From Air"},"can_path_over_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the lava.","title":"Can Path Over Lava"},"can_path_over_water":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the water.","title":"Can Path Over Water"},"can_sink":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it will be pulled down by gravity while in water.","title":"Can Sink"},"can_swim":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path.","title":"Can Swim"},"can_walk":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can walk on the ground outside water.","title":"Can Walk"},"can_walk_in_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel in lava like walking on ground.","title":"Can Walk In Lava"},"is_amphibious":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can walk on the ground underwater.","title":"Is Amphibious"}},"examples":[{},{"avoid_damage_blocks":true,"can_pass_doors":true,"can_jump":true},{"avoid_damage_blocks":false,"avoid_portals":false,"avoid_sun":false,"avoid_water":false,"blocks_to_avoid":[],"can_breach":false,"can_break_doors":false,"can_jump":true,"can_open_doors":false,"can_open_iron_doors":false,"can_pass_doors":true,"can_path_from_air":false,"can_path_over_lava":false,"can_path_over_water":false,"can_sink":true,"can_swim":false,"can_walk":true,"can_walk_in_lava":false,"is_amphibious":false}]},"CCG":{"title":"Navigation Hover","description":"Allows this entity to generate paths in the air like the vanilla Bees do. Keeps them from falling out of the skies and doing predictive movement.","type":"object","additionalProperties":false,"properties":{"avoid_damage_blocks":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid blocks that cause damage when finding a path.","title":"Avoid Damage Blocks"},"avoid_portals":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid portals (like nether portals) when finding a path.","title":"Avoid Portals"},"avoid_sun":{"type":"boolean","default":false,"description":"Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths.","title":"Avoid Sun"},"avoid_water":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid water when creating a path.","title":"Avoid Water"},"blocks_to_avoid":{"type":"array","description":"Tells the pathfinder which blocks to avoid when creating a path.","title":"Blocks To Avoid","items":{"title":"Block","description":"Tells the pathfinder which blocks to avoid when creating a path.","$ref":"#/definitions/BCC"}},"can_breach":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can jump out of water (like a dolphin).","title":"Can Breach"},"can_break_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door and break it.","title":"Can Break Doors"},"can_jump":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can jump up blocks.","title":"Can Jump"},"can_open_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door assuming the AI will open the door.","title":"Can Open Doors"},"can_open_iron_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door.","title":"Can Open Iron Doors"},"can_pass_doors":{"type":"boolean","default":true,"description":"Whether a path can be created through a door.","title":"Can Pass Doors"},"can_path_from_air":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can start pathing when in the air.","title":"Can Path From Air"},"can_path_over_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the lava.","title":"Can Path Over Lava"},"can_path_over_water":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the water.","title":"Can Path Over Water"},"can_sink":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it will be pulled down by gravity while in water.","title":"Can Sink"},"can_swim":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path.","title":"Can Swim"},"can_walk":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can walk on the ground outside water.","title":"Can Walk"},"can_walk_in_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel in lava like walking on ground.","title":"Can Walk In Lava"},"is_amphibious":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can walk on the ground underwater.","title":"Is Amphibious"}},"examples":[{},{"avoid_damage_blocks":true,"can_pass_doors":true,"can_jump":true},{"avoid_damage_blocks":false,"avoid_portals":false,"avoid_sun":false,"avoid_water":false,"blocks_to_avoid":[],"can_breach":false,"can_break_doors":false,"can_jump":true,"can_open_doors":false,"can_open_iron_doors":false,"can_pass_doors":true,"can_path_from_air":false,"can_path_over_lava":false,"can_path_over_water":false,"can_sink":true,"can_swim":false,"can_walk":true,"can_walk_in_lava":false,"is_amphibious":false}]},"CCH":{"title":"Navigation Swim","description":"Allows this entity to generate paths that include water.","type":"object","additionalProperties":false,"properties":{"avoid_damage_blocks":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid blocks that cause damage when finding a path.","title":"Avoid Damage Blocks"},"avoid_portals":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid portals (like nether portals) when finding a path.","title":"Avoid Portals"},"avoid_sun":{"type":"boolean","default":false,"description":"Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths.","title":"Avoid Sun"},"avoid_water":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid water when creating a path.","title":"Avoid Water"},"blocks_to_avoid":{"type":"array","description":"Tells the pathfinder which blocks to avoid when creating a path.","title":"Blocks To Avoid","items":{"title":"Block","description":"Tells the pathfinder which blocks to avoid when creating a path.","$ref":"#/definitions/BCC"}},"can_breach":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can jump out of water (like a dolphin).","title":"Can Breach"},"can_break_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door and break it.","title":"Can Break Doors"},"can_jump":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can jump up blocks.","title":"Can Jump"},"can_open_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door assuming the AI will open the door.","title":"Can Open Doors"},"can_open_iron_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door.","title":"Can Open Iron Doors"},"can_pass_doors":{"type":"boolean","default":true,"description":"Whether a path can be created through a door.","title":"Can Pass Doors"},"can_path_from_air":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can start pathing when in the air.","title":"Can Path From Air"},"can_path_over_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the lava.","title":"Can Path Over Lava"},"can_path_over_water":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the water.","title":"Can Path Over Water"},"can_sink":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it will be pulled down by gravity while in water.","title":"Can Sink"},"can_swim":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path.","title":"Can Swim"},"can_walk":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can walk on the ground outside water.","title":"Can Walk"},"can_walk_in_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel in lava like walking on ground.","title":"Can Walk In Lava"},"is_amphibious":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can walk on the ground underwater.","title":"Is Amphibious"}},"examples":[{},{"avoid_damage_blocks":true,"can_pass_doors":true,"can_jump":true},{"avoid_damage_blocks":false,"avoid_portals":false,"avoid_sun":false,"avoid_water":false,"blocks_to_avoid":[],"can_breach":false,"can_break_doors":false,"can_jump":true,"can_open_doors":false,"can_open_iron_doors":false,"can_pass_doors":true,"can_path_from_air":false,"can_path_over_lava":false,"can_path_over_water":false,"can_sink":true,"can_swim":false,"can_walk":true,"can_walk_in_lava":false,"is_amphibious":false}]},"CCI":{"title":"Navigation Walk","description":"Allows this entity to generate paths by walking around and jumping up and down a block like regular mobs.","type":"object","additionalProperties":false,"properties":{"avoid_damage_blocks":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid blocks that cause damage when finding a path.","title":"Avoid Damage Blocks"},"avoid_portals":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid portals (like nether portals) when finding a path.","title":"Avoid Portals"},"avoid_sun":{"type":"boolean","default":false,"description":"Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths.","title":"Avoid Sun"},"avoid_water":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid water when creating a path.","title":"Avoid Water"},"blocks_to_avoid":{"type":"array","description":"Tells the pathfinder which blocks to avoid when creating a path.","title":"Blocks To Avoid","items":{"title":"Block","description":"Tells the pathfinder which blocks to avoid when creating a path.","$ref":"#/definitions/BCC"}},"can_breach":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can jump out of water (like a dolphin).","title":"Can Breach"},"can_break_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door and break it.","title":"Can Break Doors"},"can_jump":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can jump up blocks.","title":"Can Jump"},"can_float":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it float.","title":"Can Jump"},"can_open_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door assuming the AI will open the door.","title":"Can Open Doors"},"can_open_iron_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door.","title":"Can Open Iron Doors"},"can_pass_doors":{"type":"boolean","default":true,"description":"Whether a path can be created through a door.","title":"Can Pass Doors"},"can_path_from_air":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can start pathing when in the air.","title":"Can Path From Air"},"can_path_over_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the lava.","title":"Can Path Over Lava"},"can_path_over_water":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the water.","title":"Can Path Over Water"},"can_sink":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it will be pulled down by gravity while in water.","title":"Can Sink"},"can_swim":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path.","title":"Can Swim"},"can_walk":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can walk on the ground outside water.","title":"Can Walk"},"can_walk_in_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel in lava like walking on ground.","title":"Can Walk In Lava"},"is_amphibious":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can walk on the ground underwater.","title":"Is Amphibious"}},"examples":[{},{"avoid_damage_blocks":true,"can_pass_doors":true,"can_jump":true},{"avoid_damage_blocks":false,"avoid_portals":false,"avoid_sun":false,"avoid_water":false,"blocks_to_avoid":[],"can_breach":false,"can_break_doors":false,"can_jump":true,"can_open_doors":false,"can_open_iron_doors":false,"can_pass_doors":true,"can_path_from_air":false,"can_path_over_lava":false,"can_path_over_water":false,"can_sink":true,"can_swim":false,"can_walk":true,"can_walk_in_lava":false,"is_amphibious":false}]},"CCJ_rangeXYZ":{"type":"array","items":[{"type":"number","title":"X"},{"type":"number","title":"Y"},{"type":"number","title":"Z"}]},"CCJ":{"type":"object","title":"Npc","description":"Sets this entity as an NPC","$comment":"UNDOCUMENTED","additionalProperties":false,"properties":{"npc_data":{"type":"object","title":"Npc Data","description":"The data belonging to this npc.","$comment":"UNDOCUMENTED","additionalProperties":false,"properties":{"portrait_offsets":{"type":"object","title":"Portrait Offsets","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","additionalProperties":false,"properties":{"translate":{"$ref":"#/definitions/CCJ_rangeXYZ","title":"Translate","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"scale":{"$ref":"#/definitions/CCJ_rangeXYZ","title":"Scale","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"}}},"picker_offsets":{"type":"object","title":"Picker Offsets","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","additionalProperties":false,"properties":{"translate":{"$ref":"#/definitions/CCJ_rangeXYZ","title":"Translate","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"scale":{"$ref":"#/definitions/CCJ_rangeXYZ","title":"Scale","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"}}},"skin_list":{"type":"array","title":"Skin List","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","items":{"type":"object","title":"Skin","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","additionalProperties":false,"properties":{"variant":{"title":"Variant","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"integer","minimum":0},"mark_variant":{"title":"Mark Variant","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"integer","minimum":0}}}}}}},"examples":[{"npc_data":{}}]},"CDA":{"description":"Adds a trigger to call on this entity's death. minecraft:on_death can only be used by the `ender_dragon` entity.","title":"On Death","$ref":"#/definitions/BAI"},"CDB":{"description":"Adds a trigger that will run when a nearby entity of the same type as this entity becomes Angry.","title":"On Friendly Anger","$ref":"#/definitions/BAI"},"CDC":{"description":"Adds a trigger to call when this entity is attacked by the player.","title":"On Hurt By Player","$ref":"#/definitions/BAI"},"CDD":{"description":"Adds a trigger to call when this entity takes damage.","title":"On Hurt","$ref":"#/definitions/BAI"},"CDE":{"description":"Adds a trigger to call when this entity is set on fire.","title":"On Ignite","$ref":"#/definitions/BAI"},"CDF":{"description":"Only usable by the Ender Dragon. Adds a trigger to call when this entity lands.","title":"On Start Landing","$ref":"#/definitions/BAI"},"CDG":{"description":"Only usable by the Ender Dragon. Adds a trigger to call when this entity starts flying.","title":"On Start Takeoff","$ref":"#/definitions/BAI"},"CDH":{"description":"Adds a trigger to call when this entity finds a target.","title":"On Target Acquired","$ref":"#/definitions/BAI"},"CDI":{"description":"Adds a trigger to call when this entity loses the target it currently has.","title":"On Target Escape","$ref":"#/definitions/BAI"},"CDJ":{"description":"Adds a trigger to call when this pet's owner awakes after sleeping with the pet.","title":"On Wake With Owner","$ref":"#/definitions/BAI"},"CEA":{"type":"object","title":"Out Of Control","additionalProperties":false,"description":"defines the entity's `out of control` state.","required":[],"properties":{}},"CEB":{"description":"Defines the entity's `peek` behavior, defining the events that should be called during it.","type":"object","title":"Peek","additionalProperties":false,"required":[],"properties":{"on_close":{"$ref":"#/definitions/BC","description":"Event to call when the entity is done peeking.","title":"On Close"},"on_open":{"$ref":"#/definitions/BC","description":"Event to call when the entity starts peeking.","title":"On Open"},"on_target_open":{"$ref":"#/definitions/BC","description":"Event to call when the entity's target entity starts peeking.","title":"On Target Open"}}},"CEC":{"description":"Defines whether an entity should be persistent in the game world.","type":"object","title":"Persistent","additionalProperties":false,"required":[],"properties":{}},"CED":{"additionalProperties":false,"type":"object","title":"Physics","description":"Defines the physical properties of an actor, including whether it is affected by gravity, whether it collides with objects, or whether it is pushed to the closest space.","required":[],"properties":{"has_collision":{"type":"boolean","default":true,"description":"Whether or not the entity collides with things.","title":"Has Collision"},"has_gravity":{"type":"boolean","default":true,"description":"Whether or not the entity is affected by gravity.","title":"Has Gravity"},"push_towards_closest_space":{"type":"boolean","default":true,"description":"Whether or not the entity is pushed to the closest space.","title":"Pushed Towards Closest Space"}},"examples":[{},{"has_collision":true,"has_gravity":true},{"push_towards_closest_space":true}]},"CEE":{"title":"Player.exhaustion","description":"Defines the player's exhaustion level.","additionalProperties":false,"type":"object","required":[],"properties":{"value":{"type":"integer","title":"Value","description":"The initial value of the player exhaustion."},"max":{"type":"integer","title":"Maximum","description":"The maximum player exhaustion of this entity."}},"examples":[{"value":0,"max":20}]},"CEF":{"additionalProperties":false,"type":"object","title":"Player.experience","description":"Defines how much experience each player action should take.","required":[],"properties":{"value":{"type":"integer","default":1,"title":"Value","description":"The initial value of the player experience."},"max":{"type":"integer","default":5,"title":"Maximum","description":"The maximum player experience of this entity."}},"examples":[{"value":0,"max":1}]},"CEG":{"additionalProperties":false,"type":"object","title":"Player.level","description":"Defines the player's level.","required":[],"properties":{"value":{"type":"integer","title":"Value","description":"The initial value of the player level."},"max":{"type":"integer","title":"Maximum","description":"The maximum player level value of the entity."}},"examples":[{"value":0,"max":24791}]},"CEH":{"additionalProperties":false,"type":"object","title":"Player.saturation","description":"Defines the player's need for food.","required":[],"properties":{"value":{"type":"integer","title":"Value","description":"The initial value of player saturation."},"max":{"type":"integer","title":"Maximum","description":"The maximum player saturation value."}},"examples":[{"value":5,"max":20}]},"CEI":{"type":"object","title":"Preferred Path","description":"Specifies costing information for mobs that prefer to walk on preferred paths.","additionalProperties":false,"properties":{"default_block_cost":{"type":"number","default":0,"description":"Cost for non-preferred blocks.","title":"Default Block Cost"},"jump_cost":{"type":"integer","default":0,"description":"Added cost for jumping up a node.","title":"Jump Cost"},"max_fall_blocks":{"type":"integer","default":3,"description":"Distance mob can fall without taking damage.","title":"Maximum Fall Blocks"},"preferred_path_blocks":{"type":"array","title":"Preferred Path Blocks","description":"A list of blocks with their associated cost.","items":{"additionalProperties":false,"type":"object","description":"Blocks cost.","properties":{"cost":{"type":"number"},"blocks":{"type":"array","items":{"$ref":"#/definitions/BCC"}}}}}},"examples":[{"default_block_cost":0,"jump_cost":0,"max_fall_blocks":3,"preferred_path_blocks":[]}]},"CFA":{"type":"array","title":"Vector Of 3 Items","description":"An vector of 3 number.","examples":[[0.0,0.0,0.0]],"items":[{"type":"number","description":"The X component.","title":"X","default":0},{"type":"number","description":"The Y component.","title":"Y","default":0},{"type":"number","description":"The Z component.","title":"Z","default":0}],"defaultSnippets":[{"label":"New Array 3","body":["^$1","^$2","^$3"]}]},"CFB":{"title":"Event","description":"Minecraft behavior event.","examples":["example:foo",{"event":"example:foo","target":"self"}],"defaultSnippets":[{"label":"New Event","body":"^\"$1\""}],"oneOf":[{"type":"string","pattern":"^[a-zA-Z0-9_\\-:]+$","description":"The event to fire."},{"type":"object","properties":{"event":{"type":"string","pattern":"^[a-zA-Z0-9_\\-:]+$","description":"The event to fire.","title":"Event"},"target":{"type":"string","description":"The target of the event.","title":"Target","enum":["baby","block","damager","other","parent","player","self","target"]}}}]},"CEJ":{"type":"object","title":"Projectile","description":"Allows the entity to be a thrown entity.","additionalProperties":false,"properties":{"anchor":{"type":"integer","description":"Allows you to choose an anchor point for where the projectile is fired from. 0 = Original point, 1 = EyeHeight, and 2 = Middle or body height.","title":"Anchor","default":0},"angle_offset":{"type":"number","default":0,"description":"Alters the angle at which a projectile is vertically shot. Many splash potions in the game use this to offset their angles by -20 degrees.","title":"Angle Offset"},"catch_fire":{"type":"boolean","default":false,"description":"If true, the entity hit will be set on fire.","title":"Catch Fire"},"crit_particle_on_hurt":{"type":"boolean","default":false,"description":"If true, when a projectile deals damage, whether or not to spawn in the critical damage particles.","title":"Crit Particle On Hurt"},"destroy_on_hurt":{"type":"boolean","default":false,"description":"When this projectile deals damage, whether or not to immediately destroy this projectile.","title":"Destroy On Hurt"},"filter":{"type":"string","default":"","description":"Entity Definitions defined here can't be hurt by the projectile.","title":"Filter"},"fire_affected_by_griefing":{"type":"boolean","default":false,"description":"If true, whether the projectile causes fire is affected by the mob griefing game rule.","title":"Fire Affected By Griefing"},"gravity":{"type":"number","default":0.05,"description":"The gravity applied to this entity when thrown. When this actor is not on the ground, subtracts this amount from the actors change in vertical position every tick. The higher the value, the faster the entity falls.","title":"Gravity"},"hit_ground_sound":{"$ref":"#/definitions/BAB","default":"","description":"The sound that plays when the projectile hits the ground.","title":"Hit Ground Sound"},"hit_sound":{"$ref":"#/definitions/BAB","default":"","description":"The sound that plays when the projectile hits something.","title":"Hit Sound"},"homing":{"type":"boolean","default":false,"description":"If true, the projectile homes in to the nearest entity.","title":"Homing"},"inertia":{"type":"number","default":0.99,"description":"The fraction of the projectile's speed maintained every frame while traveling in air.","title":"Inertia"},"is_dangerous":{"type":"boolean","default":false,"description":"If true, the projectile will be treated as dangerous to the players.","title":"Is Dangerous"},"knockback":{"type":"boolean","default":true,"description":"If true, the projectile will knock back the entity it hits.","title":"Knockback"},"lightning":{"type":"boolean","default":false,"description":"If true, the entity hit will be struck by lightning.","title":"Lightning"},"liquid_inertia":{"type":"number","default":0.6,"description":"The fraction of the projectile's speed maintained every frame while traveling in water.","title":"Liquid Inertia"},"multiple_targets":{"type":"boolean","default":true,"description":"If true, the projectile can hit multiple entities per flight.","title":"Multiple Targets"},"mob_effect":{"title":"Mob Effect","$comment":"Deprecated","description":"SEE on_hit/mob_effect."},"offset":{"type":"array","default":[0,0.0,0],"description":"The offset from the entity's anchor where the projectile will spawn.","title":"Offset","$ref":"#/definitions/CFA"},"on_fire_time":{"type":"number","default":5,"description":"Time in seconds that the entity hit will be on fire for.","title":"On Fire Time"},"on_hit":{"additionalProperties":false,"type":"object","description":"Defines the behaviors that may execute on a projectile's hit, including impact damage, impact effect, and stuck in ground. See more on these parameters below.","title":"On Hit","properties":{"arrow_effect":{"title":"Arrow Effect","type":"object","description":"The target receives a mob effect. See the table below for all arrow_effect parameters.","additionalProperties":false,"properties":{"apply_effect_to_blocking_targets":{"type":"boolean","title":"Apply Effect To Blocking Targets","description":"If true, the effect will be applied to blocking targets."}}},"catch_fire":{"title":"Catch Fire","type":"boolean","default":false,"description":"Determines if the struck object is set on fire."},"definition_event":{"title":"Definition Event","type":"object","description":"The event that is triggered on a hit. See the table below for all definition event parameters.","additionalProperties":false,"properties":{"affect_projectile":{"title":"Affect Projectile","type":"boolean","default":false,"description":"The projectile that will be affected by this event."},"affect_shooter":{"title":"Affect Shooter","type":"boolean","default":false,"description":"The shooter that will be affected by this event."},"affect_splash_area":{"title":"Affect Splash Area","type":"boolean","default":false,"description":"All entities in the splash area will be affected by this event."},"affect_target":{"title":"Affect Target","type":"boolean","default":false,"description":"The target will be affected by this event."},"event_trigger":{"title":"Event Trigger","description":"The event triggered. Also has an option filters parameter to limit affected targets.","$ref":"#/definitions/CFB"},"splash_area":{"title":"Splash Area","type":"number","default":0.0,"description":"The splash area that will be affected."}}},"douse_fire":{"title":"Douse Fire","type":"boolean","default":false,"description":"If the target is on fire, then douse hte fire."},"freeze_on_hit":{"title":"Freeze On Hit","type":"object","description":"An area of entities that is frozen to block on hits. Has shape of either sphere or cube, snap_to_block boolean ,and size decimal properties.","additionalProperties":false,"properties":{"shape":{"enum":["sphere","cube"],"default":"sphere","description":"The shape of the area that is frozen.","title":"Shape"},"snap_to_block":{"type":"boolean","default":false,"description":"If true, the area will snap to the nearest block.","title":"Snap To Block"},"size":{"type":"number","default":0.0,"description":"The size of the area that is frozen.","title":"Size"}}},"grant_xp":{"title":"Grant XP","type":"object","description":"Grants XP on hit. Has minXP for minimum XP granted, maxXp for maximum, or simply flat xp properties.","additionalProperties":false,"properties":{"minXP":{"title":"Min XP","type":"number","default":0,"description":"The minimum XP granted."},"maxXP":{"title":"Max XP","type":"number","default":0,"description":"The maximum XP granted."}}},"hurt_owner":{"title":"Hurt Owner","type":"object","description":"Determines if the owner of the entity is hurt on hit. Contains decimal owner_damage, knockback boolean, and ignite boolean.","additionalProperties":false,"properties":{"owner_damage":{"title":"Owner Damage","type":"number","default":0,"description":"The amount of damage the owner will take."},"knockback":{"title":"Knockback","type":"boolean","default":false,"description":"If true, the owner will be knocked back."},"ignite":{"title":"Ignite","type":"boolean","default":false,"description":"If true, the owner will be set on fire."}}},"ignite":{"title":"Ignite","type":"boolean","default":false,"description":"Determines if a fire may be started on a flammable target."},"impact_damage":{"title":"Impact Damage","type":"object","description":"Defines the damage that an entity may receive on being hit by this projectile. See the table below for all impact_damage parameters.","additionalProperties":false,"properties":{"catch_fire":{"title":"Catch Fire","type":"boolean","default":false,"description":"Determines if the struck object is set on fire."},"channeling":{"title":"Channeling","type":"boolean","default":true,"description":"Whether lightning can be channeled through hte weapon."},"damage":{"title":"Damage","type":"number","default":1,"description":"The damage dealt on impact."},"destroy_on_hit":{"title":"Destroy On Hit","type":"boolean","default":false,"description":"Projectile is removed on hit."},"destroy_on_hit_requires_damage":{"title":"Destroy On Hit Requires Damage","type":"boolean","default":true,"description":"If true, then the hit must cause damage to destroy the projectile."},"filter":{"title":"Filter","type":"string","default":"not set","description":"The identifier of an entity that can be hit."},"knockback":{"title":"Knockback","type":"boolean","default":true,"description":"If true, the projectile will knock back the entity it hits."},"max_critical_damage":{"title":"Max Critical Damage","type":"integer","description":"Maximum critical damage."},"min_critical_damage":{"title":"Min Critical Damage","type":"integer","default":0,"description":"Minimum critical damage."},"power_multiplier":{"title":"Power Multiplier","type":"number","default":2.0,"description":"How much the base damage is multiplied."},"semi_random_diff_damage":{"title":"Semi Random Diff Damage","type":"boolean","default":false,"description":"If true, damage will be randomized based on damage and speed."},"set_last_hurt_requires_damage":{"title":"Set Last Hurt Requires Damage","type":"boolean","default":false,"description":"If true, then the hit must cause damage to update the last hurt property."}}},"mob_effect":{"title":"Mob Effect","type":"object","description":"The target receives a mob effect. See the table below for all mob_effect parameters.","additionalProperties":false,"properties":{"ambient":{"title":"Ambient","type":"boolean","default":false,"description":"If true, a mob will spawn that is not hostile, like the bat entity in Minecraft."},"amplifier":{"title":"Amplifier","type":"integer","default":1,"description":"The multiplier of the amplification of this effect."},"duration":{"title":"Duration","type":"integer","default":1,"description":"The effect's duration."},"durationeasy":{"title":"Duration Easy","type":"integer","default":0,"description":"The effect's duration on easy mode."},"durationhard":{"title":"Duration Hard","type":"integer","default":800,"description":"The effect's duration on hard mode."},"durationnormal":{"title":"Duration Normal","type":"integer","default":200,"description":"The effect's duration on normal mode."},"effect":{"title":"Effect","type":"string","default":"not set","description":"The identifier of the mob entity to affect."},"visible":{"title":"Visible","type":"boolean","default":false,"description":"Does the entity's look change."}}},"on_fire_time":{"title":"On Fire Time","type":"number","default":0.0,"description":"The amount of time a target will remain on fire."},"particle_on_hit":{"title":"Particle On Hit","type":"object","description":"The particles that spawn on hit. See the table below for all particle_on_hit parameters.","additionalProperties":false,"properties":{"num_particles":{"title":"Num Particles","type":"number","default":6,"description":"The number of particles to spawn."},"on_entity_hit":{"title":"On Entity Hit","type":"boolean","default":false,"description":"If true, spawns particles on an entity hit."},"on_other_hit":{"title":"On Other Hit","type":"boolean","default":false,"description":"If true, spawns particles on any other hit."},"particle_type":{"title":"Particle Type","type":"string","default":"not set","description":"The id of the particle to spawn on hit."}}},"potion_effect":{"title":"Potion Effect","type":"integer","default":-1,"description":"Defines the effect the arrow will apply to the entity it hits."},"remove_on_hit":{"title":"Remove On Hit","type":"object","description":"Removes the projectile.","additionalProperties":true,"properties":{}},"spawn_aoe_cloud":{"title":"Spawn AOE Cloud","type":"object","default":false,"description":"Potion spawns an area of effect cloud. See the table below for all spawn_aoe_cloud parameters.","additionalProperties":false,"properties":{"affect_owner":{"title":"Affect Owner","type":"boolean","default":true,"description":"Determines if the projectile shooter is affected."},"color":{"title":"Color","type":"array","description":"Particle color defined by three rgb values.","$ref":"#/definitions/CFA"},"duration":{"title":"Duration","type":"integer","default":0,"description":"How long the particle emits."},"particle":{"title":"Particle","type":"string","description":"The particle emitter."},"potion":{"title":"Potion","type":"integer","default":-1,"description":"The id of the potion."},"radius":{"title":"Radius","type":"number","default":0,"description":"Defines the affected area."},"radius_on_use":{"title":"Radius On Use","type":"number","default":-1,"description":"Defines the affected area when potion is used."},"reapplication_delay":{"title":"Reapplication Delay","type":"integer","default":0,"description":"Delay before the potion can affect the area again."}}},"spawn_chance":{"title":"Spawn Chance","type":"object","description":"Contains information on the chance of spawning an entity on hit. See parameters below.","additionalProperties":false,"properties":{"first_spawn_count":{"title":"First Spawn Count","type":"integer","default":0,"description":"The amount of new entities spawned."},"first_spawn_percent_chance":{"title":"First Spawn Percent Chance","type":"number","default":0,"description":"The chance that a spawn occurs when a projectile hits the entity."},"first_spawn_chance":{"title":"First Spawn Chance","type":"number","default":8,"description":"The chance that a first spawn occurs when a projectile hits the entity."},"second_spawn_chance":{"title":"Second Spawn Chance","type":"number","default":32,"description":"The chance that a second spawn occurs when a projectile hits the entity."},"second_spawn_count":{"title":"Second Spawn Count","type":"integer","default":0,"description":"The amount of new entities spawned in teh second spawn."},"spawn_baby":{"title":"Spawn Baby","type":"boolean","default":false,"description":"Determines if a baby spawns."},"spawn_definition":{"title":"Spawn Definition","type":"string","default":"not set","description":"The entity that will spawn."}}},"stick_in_ground":{"title":"Stick In Ground","type":"object","description":"Decides if the object sticks in ground and contains shake_time integer parameter to determine how long it will shake."},"teleport_owner":{"title":"Teleport Owner","type":"boolean","default":false,"description":"Determines if the owner is transported on hit."},"thrown_potion_effect":{"title":"Thrown Potion Effect","type":"object","description":"Creates a splash area for effects caused by a thrown potion."}}},"particle":{"type":"string","default":"iconcrack","description":"Particle to use upon collision.","title":"Particle"},"potion_effect":{"type":"integer","default":-1,"description":"Defines the effect the arrow will apply to the entity it hits.","title":"Potion Effect"},"power":{"type":"number","default":1.3,"description":"Determines the velocity of the projectile.","title":"Power"},"reflect_on_hurt":{"type":"boolean","default":false,"description":"If true, this entity will be reflected back when hit.","title":"Reflect On Hurt"},"semi_random_diff_damage":{"type":"boolean","default":false,"description":"If true, damage will be randomized based on damage and speed.","title":"Semi Random Diff Damage"},"shoot_sound":{"$ref":"#/definitions/BAB","default":"","description":"The sound that plays when the projectile is shot.","title":"Shoot Sound"},"shoot_target":{"type":"boolean","default":true,"description":"If true, the projectile will be shot towards the target of the entity firing it.","title":"Shoot Target"},"should_bounce":{"type":"boolean","default":false,"description":"If true, the projectile will bounce upon hit.","title":"Should Bounce"},"splash_potion":{"type":"boolean","default":false,"description":"If true, the projectile will be treated like a splash potion.","title":"Splash Potion"},"splash_range":{"type":"number","default":4,"description":"Radius in blocks of the 'splash' effect.","title":"Splash Range"},"stop_on_hurt":{"title":"Stop On Hurt","type":"boolean","description":"Determines if the projectile stops when the target is hurt."},"uncertainty_base":{"type":"number","default":0,"description":"The base accuracy. Accuracy is determined by the formula uncertaintyBase - difficultyLevel * uncertaintyMultiplier.","title":"Uncertainty Base"},"uncertainty_multiplier":{"type":"number","default":0,"description":"Determines how much difficulty affects accuracy. Accuracy is determined by the formula uncertaintyBase - difficultyLevel * uncertaintyMultiplier.","title":"Uncertainty Multiplier"}},"examples":[{},{"anchor":0,"angle_offset":0,"catch_fire":false,"crit_particle_on_hurt":false,"destroy_on_hurt":false,"filter":"","fire_affected_by_griefing":false,"gravity":0.05,"hit_sound":"","homing":false,"inertia":0.99,"is_dangerous":false,"knockback":true,"lightning":false,"liquid_inertia":0.6,"multiple_targets":true,"offset":[],"on_fire_time":5,"on_hit":{},"particle":"iconcrack","potion_effect":-1,"power":1.3,"reflect_on_hurt":false,"semi_random_diff_damage":false,"shoot_sound":"","shoot_target":true,"should_bounce":false,"splash_potion":false,"splash_range":4,"uncertainty_base":0,"uncertainty_multiplier":0}]},"CFC":{"type":"object","title":"Push Through","additionalProperties":false,"description":"Sets the distance through which the entity can push through.","required":[],"properties":{"value":{"type":"number","default":0.0,"description":"The value of the entity's push-through, in blocks.","title":"Value"}},"examples":[{"value":0.0}]},"CFD":{"additionalProperties":false,"type":"object","title":"Pushable","description":"Defines what can push an entity between other entities and pistons.","required":[],"properties":{"is_pushable":{"type":"boolean","default":true,"description":"Whether the entity can be pushed by other entities.","title":"Is Pushable"},"is_pushable_by_piston":{"type":"boolean","default":true,"description":"Whether the entity can be pushed by pistons safely.","title":"Is Pushable By Piston"}},"examples":[{"is_pushable":true,"is_pushable_by_piston":true}]},"CFE":{"type":"object","title":"Raid Trigger","additionalProperties":false,"description":"Attempts to trigger a raid at the entity's location.","required":[],"properties":{"triggered_event":{"$ref":"#/definitions/CFB","description":"Event to run we attempt to trigger a raid on the village.","title":"Triggered Event"}}},"CFF":{"type":"object","title":"Rail Movement","description":"Defines the entity's movement on the rails. An entity with this component is only allowed to move on the rail.","additionalProperties":false,"required":[],"properties":{"max_speed":{"type":"number","default":0.4,"description":"Maximum speed that this entity will move at when on the rail.","title":"Maximum Speed"}},"examples":[{"max_speed":0.4}]},"CFG":{"description":"Defines the behavior of the entity when the rail gets activated or deactivated.","type":"object","title":"Rail Sensor","additionalProperties":false,"required":[],"properties":{"check_block_types":{"type":"boolean","default":false,"description":"If true, on tick this entity will trigger its on_deactivate behavior.","title":"Check Block Types"},"eject_on_activate":{"type":"boolean","default":true,"description":"If true, this entity will eject all of its riders when it passes over an activated rail.","title":"Eject On Activate"},"eject_on_deactivate":{"type":"boolean","default":false,"description":"If true, this entity will eject all of its riders when it passes over a deactivated rail.","title":"Eject On Deactivate"},"on_activate":{"$ref":"#/definitions/BC","description":"Event to call when the rail is activated.","title":"On Activate"},"on_deactivate":{"$ref":"#/definitions/BC","description":"Event to call when the rail is deactivated.","title":"On Deactivate"},"tick_command_block_on_activate":{"type":"boolean","default":true,"description":"If true, command blocks will start ticking when passing over an activated rail.","title":"Tick Command Block On Activate"},"tick_command_block_on_deactivate":{"type":"boolean","default":false,"description":"If false, command blocks will stop ticking when passing over a deactivated rail.","title":"Tick Command Block On Deactivate"}},"examples":[{"check_block_types":false,"eject_on_activate":true,"eject_on_deactivate":false,"tick_command_block_on_activate":true,"tick_command_block_on_deactivate":false}]},"CFH":{"description":"Defines the ravager's response to their melee attack being blocked.","type":"object","title":"Ravager Blocked","additionalProperties":false,"required":[],"properties":{"knockback_strength":{"type":"number","default":3.0,"description":"The strength with which blocking entities should be knocked back.","title":"Knockback Strength"},"reaction_choices":{"type":"array","description":"A list of weighted responses to the melee attack being blocked.","title":"Reaction Choices","items":{"additionalProperties":false,"type":"object","properties":{"weight":{"type":"integer","title":"Weight","description":"The chance of this reaction being picked.","$comment":"UNDOCUMENTED"},"value":{"title":"Value","description":"An event that runs when this reaction is picked.","$comment":"UNDOCUMENTED","$ref":"#/definitions/CFB"}}}}},"examples":[{"knockback_strength":3,"reaction_choices":[]}]},"CFI_seats_spec":{"additionalProperties":false,"type":"object","properties":{"lock_rider_rotation":{"type":"number","default":181,"description":"Angle in degrees that a rider is allowed to rotate while riding this entity. Omit this property for no limit","title":"Lock Rider Rotation"},"max_rider_count":{"type":"integer","default":0,"description":"Defines the maximum number of riders that can be riding this entity for this seat to be valid.","title":"Max Rider Count"},"min_rider_count":{"type":"integer","default":0,"description":"Defines the minimum number of riders that need to be riding this entity before this seat can be used.","title":"Min Rider Count"},"position":{"$ref":"#/definitions/CFA","default":[0.0,0.0,0.0],"description":"Position of this seat relative to this entity's position.","title":"Position"},"rotate_rider_by":{"$ref":"#/definitions/E","description":"Offset to rotate riders by.","title":"Rotate Rider By"}}},"CFI":{"description":"Determines whether this entity can be ridden. Allows specifying the different seat positions and quantity.","type":"object","title":"Rideable","additionalProperties":false,"properties":{"controlling_seat":{"type":"integer","default":0,"description":"The seat that designates the driver of the entity.","title":"Controlling Seat"},"crouching_skip_interact":{"type":"boolean","default":true,"description":"If true, this entity can't be interacted with if the entity interacting with it is crouching.","title":"Crouching Skip Interact"},"family_types":{"title":"Family Types","description":"List of entities that can ride this entity.","type":"array","items":{"type":"string","title":"Family Type"}},"interact_text":{"type":"string","default":"","description":"The text to display when the player can interact with the entity when playing with Touch-screen controls.","title":"Interact Text"},"passenger_max_width":{"title":"Passenger Max Width","description":"The max width a mob can be to be a passenger. A value of 0 ignores this parameter.","type":"number","default":0.0},"pull_in_entities":{"type":"boolean","default":false,"description":"If true, this entity will pull in entities that are in the correct family_types into any available seats.","title":"Pull In Entities"},"rider_can_interact":{"type":"boolean","default":false,"description":"If true, this entity will be picked when looked at by the rider.","title":"Rider Can Interact"},"seat_count":{"type":"integer","default":1,"description":"The number of entities that can ride this entity at the same time.","title":"Seat Count"},"seats":{"description":"The list of positions and number of riders for each position for entities riding this entity.","title":"Seats","oneOf":[{"type":"object","$ref":"#/definitions/CFI_seats_spec"},{"type":"array","items":{"$ref":"#/definitions/CFI_seats_spec"}}]}},"examples":[{"controlling_seat":0,"crouching_skip_interact":true,"family_types":[],"interact_text":"","pull_in_entities":false,"rider_can_interact":false,"seat_count":1}]},"CFJ":{"type":"object","title":"Scale By Age","additionalProperties":false,"description":"Defines the entity's size interpolation based on the entity's age.","required":[],"properties":{"end_scale":{"type":"number","default":1,"description":"Ending scale of the entity when it's fully grown.","title":"End Scale"},"start_scale":{"type":"number","default":1,"description":"Initial scale of the newborn entity.","title":"Start Scale"}},"examples":[{"end_scale":1,"start_scale":1}]},"CGA":{"type":"object","title":"Scale","additionalProperties":false,"description":"Sets the entity's visual size.","required":[],"properties":{"value":{"type":"number","default":0.0,"description":"The value of the scale. 1.0 means the entity will appear at the scale they are defined in their model. Higher numbers make the entity bigger","title":"Value"}},"examples":[{"value":0.0}]},"CGB":{"description":"fires off scheduled mob events at time of day events.","type":"object","title":"Scheduler","additionalProperties":false,"properties":{"min_delay_secs":{"title":"Minimum Delay Secs","type":"number","default":0,"description":"The minimum the scheduler will be delayed.","minimum":0},"max_delay_secs":{"title":"Maximum Delay Secs","type":"number","default":0,"description":"The maximum the scheduler will be delayed.","minimum":0},"scheduled_events":{"title":"Scheduled Events","type":"array","description":"The list of triggers that fire when the conditions match the given filter criteria. If any filter criteria overlap the first defined event will be picked.","items":{"title":"Scheduled Events","additionalProperties":false,"type":"object","description":"A filter and event pair. The event runs when the filter criteria succeeds","properties":{"filters":{"$ref":"#/definitions/BD"},"event":{"$ref":"#/definitions/CFB"}}}}},"examples":[{"min_delay_secs":0,"max_delay_secs":0,"scheduled_events":[]}]},"CGC":{"description":"Defines a list of items the mob wants to share or pick up. Each item must have the following parameters:","type":"object","title":"Shareables","additionalProperties":false,"properties":{"all_items":{"type":"boolean","default":false,"description":"A bucket for all other items in the game. Note this category is always least priority items.","title":"All Items"},"all_items_max_amount":{"type":"integer","default":-1,"description":"Maximum number of this item the mob will hold.","title":"All Items Maximum Amount"},"all_items_surplus_amount":{"type":"integer","default":-1,"description":"Number of this item considered extra that the entity wants to share.","title":"All Items Surplus Amount"},"all_items_want_amount":{"type":"integer","default":-1,"description":"Number of this item this entity wants to share.","title":"All Items Want Amount"},"items":{"type":"array","description":"List of items that the entity wants to share.","items":{"type":"object","title":"Item","description":"An Item that the entity wants to share.","additionalProperties":false,"properties":{"admire":{"type":"boolean","description":"Mob will admire the item after picking up by looking at it. For this to happen the mob needs to have an Admire component and an Admire goal.","title":"Admire"},"barter":{"type":"boolean","description":"Mob will barter for the item after picking it up. For this to work the mob needs to have a Barter component and a Barter goal.","title":"Barter"},"consume_item":{"type":"boolean","description":"Determines whether the mob will consume the item or not.","title":"Consume Item"},"craft_into":{"type":"string","description":"Defines the item this entity wants to craft with the item defined above. Should be an item name.","title":"Craft Into"},"item":{"type":"string","description":"The name of the item.","$ref":"#/definitions/BA"},"item_aux":{"type":"integer","description":"Aux value for the item.","title":"Item Aux"},"max_amount":{"type":"integer","description":"Maximum number of this item the mob will hold.","title":"Maximum Amount"},"pickup_limit":{"type":"integer","description":"Maximum number of this item the mob will pick up during a single goal tick.","title":"Pickup Limit"},"priority":{"type":"integer","description":"Prioritizes which items the entity prefers. 0 is the highest priority.","title":"Priority"},"stored_in_inventory":{"type":"boolean","description":"Determines whether the mob will try to put the item in its inventory if it has the inventory component and if it can't be equipped.","title":"Stored In Inventory"},"surplus_amount":{"type":"integer","description":"Number of this item considered extra that the entity wants to share.","title":"Surplus Amount"},"want_amount":{"type":"integer","description":"Number of this item this entity wants to have.","title":"Want Amount"},"pickup_only":{"title":"Pickup Only","type":"boolean","description":"Determines whether the mob can only pickup the item and not drop it.","default":false}}}},"singular_pickup":{"type":"boolean","description":"Determines whether the mob can only pickup one item at a time.","title":"Singular Pickup"}},"examples":[{"all_items":false,"all_items_max_amount":-1,"all_items_surplus_amount":-1,"all_items_want_amount":-1,"items":[]}]},"CGD":{"description":"Defines the entity's ranged attack behavior.","$comment":"As of 1.19.60 & out of exp 1.20.10","type":"object","title":"Shooter","additionalProperties":false,"properties":{"aux_val":{"type":"integer","title":"Aux Val","default":-1,"description":"ID of the Potion effect to be applied on hit."},"def":{"title":"Def","type":"string","examples":["minecraft:arrow","minecraft:small_fireball","minecraft:thrown_trident"],"description":"Actor definition to use as projectile for the ranged attack. The actor definition must have the projectile component to be able to be shot as a projectile"},"magic":{"title":"Magic","type":"boolean","default":false,"description":"Sets whether the projectiles being used are flagged as magic. If set, the ranged attack goal will not be used at the same time as other magic goals, such as minecraft:behavior.drink_potion."},"power":{"type":"number","title":"Power","default":0.0,"description":"Velocity in which the projectiles will be shot. A power of 0 will be overwritten by the default projectile throw power."},"projectiles":{"title":"Projectiles","description":"List of projectiles that can be used by the shooter. Projectiles are evaluated in the order of the list; after a projectile is chosen, the rest of the list is ignored.","type":"array","items":{"oneOf":[{"type":"string","description":"Projectiles that can be used by the shooter","title":"Projectile"},{"type":"object","title":"Projectile","description":"A projectile defintion","properties":{"aux_val":{"type":"integer","title":"Aux Val","default":-1,"description":"ID of the Potion effect to be applied on hit."},"def":{"title":"Def","type":"string","examples":["minecraft:arrow","minecraft:small_fireball","minecraft:thrown_trident"],"description":"Actor definition to use as projectile for the ranged attack. The actor definition must have the projectile component to be able to be shot as a projectile"},"filters":{"$ref":"#/definitions/BD"}}}]}},"sound":{"title":"Sound","type":"string","description":"Sound that is played when the shooter shoots a projectile."}},"examples":[{"def":"minecraft:small_fireball"}]},"CGE":{"description":"Defines the entity's `sit` state.","type":"object","title":"Sittable","additionalProperties":false,"required":[],"properties":{"sit_event":{"$ref":"#/definitions/BC","description":"Event to run when the entity enters the `sit` state.","title":"Sit Event"},"stand_event":{"$ref":"#/definitions/BC","description":"Event to run when the entity exits the `sit` state.","title":"Stand Event"}}},"CGF":{"type":"object","title":"Skin Id","additionalProperties":false,"description":"Skin ID value. Can be used to differentiate skins, such as base skins for villagers.","required":[],"properties":{"value":{"type":"integer","default":0,"description":"The ID of the skin. By convention, 0 is the ID of the base skin","title":"Value"}},"examples":[{"value":0}]},"CGG":{"type":"object","title":"Sound Volume","additionalProperties":false,"description":"Sets the entity's base volume for sound effects.","required":[],"properties":{"value":{"type":"number","default":1.0,"description":"The value of the volume the entity uses for sound effects.","title":"Value"}},"examples":[{"value":1.0}]},"CGH_entity_spawn":{"additionalProperties":false,"type":"object","title":"Entity Spawn","properties":{"filters":{"description":"If present, the specified entity will only spawn if the filter evaluates to true.","$ref":"#/definitions/BD"},"max_wait_time":{"type":"integer","default":600,"description":"Maximum amount of time to randomly wait in seconds before another entity is spawned.","title":"Maximum Wait Time"},"min_wait_time":{"type":"integer","default":300,"description":"Minimum amount of time to randomly wait in seconds before another entity is spawned.","title":"Minimum Wait Time"},"num_to_spawn":{"type":"integer","default":1,"description":"The number of entities of this type to spawn each time that this triggers.","title":"Num To Spawn"},"should_leash":{"type":"boolean","default":false,"description":"If true, this the spawned entity will be leashed to the parent.","title":"Should Leash"},"single_use":{"type":"boolean","default":false,"description":"If true, this component will only ever spawn the specified entity once.","title":"Single Use"},"spawn_entity":{"type":"string","default":"","description":"Identifier of the entity to spawn, leave empty to spawn the item defined above instead.","title":"Spawn Entity"},"spawn_event":{"type":"string","default":"minecraft:entity_born","description":"Event to call when the entity is spawned.","title":"Spawn Event"},"spawn_item":{"$ref":"#/definitions/J","default":"egg","description":"Item identifier of the item to spawn.","title":"Spawn Item"},"spawn_method":{"type":"string","default":"born","description":"Method to use to spawn the entity.","title":"Spawn Method"},"spawn_sound":{"$ref":"#/definitions/BAB","default":"plop","description":"Identifier of the sound effect to play when the entity is spawned.","title":"Spawn Sound"}}},"CGH":{"type":"object","description":"Adds a timer after which this entity will spawn another entity or item (similar to vanilla's chicken's egg-laying behavior).","title":"Spawn Entity","additionalProperties":false,"properties":{"entities":{"title":"Entities","description":"The entities to spawn.","oneOf":[{"type":"object","$ref":"#/definitions/CGH_entity_spawn"},{"type":"array","items":{"type":"object","$ref":"#/definitions/CGH_entity_spawn"}}]}}},"CGI":{"type":"object","title":"Spell Effects","additionalProperties":false,"description":"Defines what mob effects to add and remove to the entity when adding this component.","required":[],"properties":{"add_effects":{"type":"array","description":"List of effects to add to this entity after adding this component.","items":{"oneOf":[{"type":"string"},{"type":"object","additionalProperties":false,"properties":{"amplifier":{"type":"integer","title":"Amplifier","description":"The level of the effect, same as used in the /effect command (0 for level I, 1 for level II, etc). Defaults to 0. NOTE: Values can be negative but its not an intentional feature","default":0,"minimum":0},"ambient":{"title":"Ambient","description":"Boolean value that should cause the particles emitted by the entity to be partially transparent. This does not work properly, resulting in this property having no effect. Defaults to false.","default":false,"type":"boolean"},"duration":{"title":"Duration","description":"The amount of time in seconds the effect should last. This allows for fractional numbers. For example, instant effects should be set to 0.05 seconds (one tick).","type":"number","minimum":0},"display_on_screen_animation":{"type":"boolean","title":"Display On Screen Animation","description":"Boolean value. When set to true, applying this effect displays an animated graphic on-screen similar to the totem of undying effect. Obviously, this only works for players. Defaults to false."},"effect":{"type":"string","title":"Effect","description":"The string identifier of the status effect to add. These are the same as used in the /effect command."},"visible":{"type":"boolean","title":"Visible","description":"Boolean value. When set to true, the effect will be visible to the player. Defaults to true."}}}]},"title":"Add Effects"},"remove_effects":{"title":"Remove Effects","description":"List of identifiers of effects to be removed from this entity after adding this component.","oneOf":[{"type":"array","items":{"type":["string"],"title":"Spell Effect ID","description":"identifier of the effect to be removed from this entity after adding this component."}},{"type":"string"}]}},"examples":[{"add_effects":[]}]},"CGJ":{"description":"Defines the entity's strength to carry items.","type":"object","title":"Strength","additionalProperties":false,"properties":{"max":{"type":"integer","default":5,"description":"The maximum strength of this entity.","title":"Maximum"},"value":{"type":"integer","default":1,"description":"The initial value of the strength.","title":"Value"}},"examples":[{"max":5,"value":1}]},"CHA":{"type":"object","title":"Suspect Tracking","additionalProperties":false,"required":[],"properties":{},"description":"Allows this entity to remember suspicious locations."},"CHB":{"type":"object","title":"Tameable","description":"Defines the rules for a mob to be tamed by the player.","required":[],"additionalProperties":false,"properties":{"probability":{"type":"number","default":1,"description":"The chance of taming the entity with each item use between 0.0 and 1.0, where 1.0 is 100%","minimum":0,"maximum":1,"title":"Probability"},"tame_event":{"title":"Tame Event","$ref":"#/definitions/BC","description":"Event to run when this entity becomes tamed."},"tame_items":{"title":"Tame Items","description":"The list of items that can be used to tame this entity.","oneOf":[{"type":"array","items":{"$ref":"#/definitions/BA"}},{"$ref":"#/definitions/BA"}]}},"examples":[{"probability":1}]},"CHC_feed_items":{"type":"object","description":"The list of items that can be used to increase the entity's temper and speed up the taming process.","properties":{"item":{"$ref":"#/definitions/J","description":"Name of the item this entity likes and can be used to increase this entity's temper.","title":"Item"},"temper_mod":{"type":"number","default":0,"description":"The amount of temper this entity gains when fed this item.","title":"Temper Mod"}}},"CHC_auto_reject_items":{"type":"object","description":"The list of items that this entity dislikes and will cause it to get angry if used while untamed.","properties":{"item":{"$ref":"#/definitions/J","description":"Name of the item this entity dislikes and will cause it to get angry if used while untamed."}}},"CHC":{"description":"Allows the Entity to be tamed by mounting it.","type":"object","title":"Tamemount","additionalProperties":false,"properties":{"attempt_temper_mod":{"type":"integer","default":5,"description":"The amount the entity's temper will increase when mounted.","title":"Attempt Temper Mod"},"auto_reject_items":{"title":"Auto Reject Items","description":"The list of items that, if carried while interacting with the entity, will anger it.","oneOf":[{"type":"object","$ref":"#/definitions/CHC_auto_reject_items"},{"type":"array","items":{"$ref":"#/definitions/CHC_auto_reject_items"}}]},"feed_text":{"type":"string","description":"The text that shows in the feeding interact button.","title":"Feed Text"},"feed_items":{"description":"The list of items that can be used to increase the entity's temper and speed up the taming process.","title":"Feed Items","oneOf":[{"type":"object","$ref":"#/definitions/CHC_feed_items"},{"type":"array","items":{"$ref":"#/definitions/CHC_feed_items"}}]},"max_temper":{"type":"integer","default":100,"description":"The maximum value for the entity's random starting temper.","title":"Maximum Temper"},"min_temper":{"type":"integer","default":0,"description":"The minimum value for the entity's random starting temper.","title":"Minimum Temper"},"ride_text":{"type":"string","description":"The text that shows in the riding interact button.","title":"Ride Text"},"tame_event":{"$ref":"#/definitions/BC","description":"Event that triggers when the entity becomes tamed.","title":"Tame Event"}},"examples":[{"attempt_temper_mod":5,"feed_text":"example","max_temper":100,"min_temper":0,"ride_text":"example"}]},"CHD":{"description":"Defines the entity's range within which it can see or sense other entities to target them.","type":"object","title":"Target Nearby Sensor","additionalProperties":false,"required":[],"properties":{"must_see":{"type":"boolean","default":false,"description":"Whether the other entity needs to be visible to trigger `inside` events.","title":"Must See"},"inside_range":{"type":"number","default":1,"description":"Maximum distance in blocks that another entity will be considered in the `inside` range.","title":"Inside Range"},"on_inside_range":{"$ref":"#/definitions/BC","description":"Event to call when an entity gets in the inside range. Can specify `event` for the name of the event and `target` for the target of the event","title":"On Inside Range"},"on_outside_range":{"$ref":"#/definitions/BC","description":"Event to call when an entity gets in the outside range. Can specify `event` for the name of the event and `target` for the target of the event","title":"On Outside Range"},"on_vision_lost_inside_range":{"$ref":"#/definitions/BC","description":"Event to call when an entity exits visual range. Can specify `event` for the name of the event and `target` for the target of the event","title":"On Vision Lost Inside Range"},"outside_range":{"type":"number","default":5,"description":"Maximum distance in blocks that another entity will be considered in the `outside` range.","title":"Outside Range"}},"examples":[{"must_see":false,"inside_range":1,"outside_range":5}]},"CHE":{"description":"Defines an entity's teleporting behavior.","type":"object","title":"Teleport","additionalProperties":false,"required":[],"properties":{"dark_teleport_chance":{"type":"number","default":0.01,"description":"Modifies the chance that the entity will teleport if the entity is in darkness.","title":"Dark Teleport Chance"},"light_teleport_chance":{"type":"number","default":0.01,"description":"Modifies the chance that the entity will teleport if the entity is in daylight.","title":"Light Teleport Chance"},"max_random_teleport_time":{"type":"number","default":20,"description":"Maximum amount of time in seconds between random teleports.","title":"Maximum Random Teleport Time"},"min_random_teleport_time":{"type":"number","default":0,"description":"Minimum amount of time in seconds between random teleports.","title":"Minimum Random Teleport Time"},"random_teleport_cube":{"title":"Random Teleport Cube","description":"Entity will teleport to a random position within the area defined by this cube.","type":"array","default":[32.0,16.0,32.0],"items":[{"type":"number","title":"A"},{"type":"number","title":"B"},{"type":"number","title":"C"}]},"random_teleports":{"type":"boolean","default":true,"description":"If true, the entity will teleport randomly.","title":"Random Teleports"},"target_distance":{"type":"number","default":16.0,"description":"Maximum distance the entity will teleport when chasing a target.","title":"Target Distance"},"target_teleport_chance":{"type":"number","default":1.0,"description":"The chance that the entity will teleport between 0.0 and 1.0. 1.0 means 100%","title":"Target Teleport Chance","minimum":0.0,"maximum":1.0}},"examples":[{"dark_teleport_chance":0.01,"light_teleport_chance":0.01,"max_random_teleport_time":20,"min_random_teleport_time":0,"random_teleport_cube":[],"random_teleports":true,"target_distance":16,"target_teleport_chance":1}]},"CHF":{"description":"Defines if the entity ticks the world and the radius around it to tick.","type":"object","title":"Tick World","additionalProperties":false,"required":[],"properties":{"distance_to_players":{"type":"number","default":128,"description":"The distance at which the closest player has to be before this entity despawns. This option will be ignored if never_despawn is true. Min: 128 blocks.","minimum":128,"title":"Distance To Players"},"never_despawn":{"type":"boolean","default":true,"description":"If true, this entity will not despawn even if players are far away. If false, distance_to_players will be used to determine when to despawn.","title":"Never Despawn"},"radius":{"type":"integer","default":2,"description":"The area around the entity to tick. Default: 2. Allowed range: 2-6.","minimum":2,"maximum":6,"title":"Radius"}},"examples":[{"distance_to_players":128,"never_despawn":true,"radius":2}]},"CHG":{"type":"object","title":"Timer","description":"Adds a timer after which an event will fire.","required":[],"additionalProperties":false,"properties":{"looping":{"type":"boolean","default":true,"description":"If true, the timer will restart every time after it fires.","title":"Looping"},"randomInterval":{"type":"boolean","default":true,"description":"If true, the amount of time on the timer will be random between the Minimum and Maximum values specified in time.","title":"Random Interval"},"time":{"description":"Amount of time in seconds for the timer. Can be specified as a number or a pair of numbers (Minimum and max). Incompatible with random_time_choices.","title":"Time","examples":[1,[1.0,5.0]],"oneOf":[{"type":"array","default":[0.0,0.0],"items":[{"type":"number","title":"Minimum"},{"type":"number","title":"Maximum"}]},{"type":"number","default":0}]},"time_down_event":{"description":"Event to fire when the time on the timer runs out.","title":"Time Down Event","$ref":"#/definitions/BC"},"random_time_choices":{"type":"array","default":[],"description":"This is a list of objects, representing one value in seconds that can be picked before firing the event and an optional weight. Incompatible with time.","title":"Random Time Choices","items":{"title":"Random Time Choices","description":"representing one value in seconds that can be picked before firing the event and an optional weight. Incompatible with time.","type":"object","additionalProperties":false,"properties":{"weight":{"type":"integer","description":"The weight on how likely this section is to trigger.","$comment":"UNDOCUMENTED","title":"Weight"},"value":{"type":"integer","description":"The value in seconds that would be used if this section was picked.","$comment":"UNDOCUMENTED","title":"Value"}}}}},"examples":[{"time":1,"looping":true,"time_down_event":{"event":"example:foo","target":"self"}}]},"CHH":{"description":"Resupplies an entity's trade.","type":"object","title":"Trade Resupply","additionalProperties":false,"properties":{}},"CHI":{"description":"Defines this entity's ability to trade with players.","type":"object","title":"Trade Table","additionalProperties":false,"required":[],"properties":{"convert_trades_economy":{"type":"boolean","default":false,"description":"Determines when the mob transforms, if the trades should be converted when the new mob has a economy_trade_table. When the trades are converted, the mob will generate a new trade list with their new trade table, but then it will try to convert any of the same trades over to have the same enchantments and user data. For example, if the original has a Emerald to Enchanted Iron Sword (Sharpness 1), and the new trade also has an Emerald for Enchanted Iron Sword, then the enchantment will be Sharpness 1.","title":"Convert Trades Economy"},"display_name":{"type":"string","description":"Name to be displayed while trading with this entity.","title":"Display Name"},"new_screen":{"type":"boolean","default":false,"description":"Used to determine if trading with entity opens the new trade screen.","title":"New Screen"},"persist_trades":{"type":"boolean","default":false,"description":"Determines if the trades should persist when the mob transforms. This makes it so that the next time the mob is transformed to something with a trade_table or economy_trade_table, then it keeps their trades.","title":"Persist Trades"},"table":{"type":"string","description":"File path relative to the resource pack root for this entity's trades.","title":"Table"}},"examples":[{"convert_trades_economy":false,"display_name":"example","new_screen":false,"persist_trades":false,"table":"example"}]},"CHJ":{"description":"Defines the entity's trail to carry items.","type":"object","title":"Trail","additionalProperties":false,"properties":{"block_type":{"type":"string","default":"air","description":"The type of block you wish to be spawned by the entity as it move about the world. Solid blocks may not be spawned at an offset of ().","title":"Block Type"},"spawn_filter":{"$ref":"#/definitions/BD","description":"One or more conditions that must be met in order to cause the chosen block type to spawn.","title":"Spawn Filter"},"spawn_offset":{"type":"array","default":[0,0,0],"description":"The distance from the entities current position to spawn the block. Capped at up to 16 blocks away. The X value is left/right(-/+), the Z value is backward/forward(-/+), the Y value is below/above(-/+).","title":"Spawn Offset","items":[{"type":"number","title":"X"},{"type":"number","title":"Y"},{"type":"number","title":"Z"}]}},"examples":[{"block_type":"air","spawn_offset":[0,0,0]}]},"CIA":{"description":"Defines an entity's transformation from the current definition into another","type":"object","title":"Transformation","additionalProperties":false,"properties":{"add":{"type":"object","description":"List of components to add to the entity after the transformation.","title":"Add","additionalProperties":false,"properties":{"component_groups":{"type":"array","description":"Names of component groups to add.","items":{"type":"string"}}}},"begin_transform_sound":{"$ref":"#/definitions/BAB","description":"Sound to play when the transformation starts.","title":"Begin Transform Sound"},"delay":{"description":"Defines the properties of the delay for the transformation.","title":"Delay","oneOf":[{"type":"number"},{"type":"object","properties":{"block_assist_chance":{"type":"number","default":0,"description":"Chance that the entity will look for nearby blocks that can speed up the transformation. Value must be between 0.0 and 1.0"},"block_chance":{"type":"number","default":0,"description":"Chance that, once a block is found, will help speed up the transformation."},"block_max":{"type":"integer","default":0,"description":"Maximum number of blocks the entity will look for to aid in the transformation. If not defined or set to 0, it will be set to the block radius"},"block_radius":{"type":"integer","default":0,"description":"Distance in Blocks that the entity will search for blocks that can help the transformation."},"block_types":{"type":"array","description":"List of blocks that can help the transformation of this entity.","items":{"$ref":"#/definitions/BBG"}},"value":{"type":"number","default":0,"description":"Time in seconds before the entity transforms."}}}]},"drop_equipment":{"type":"boolean","default":false,"description":"Cause the entity to drop all equipment upon transformation.","title":"Drop Equipment"},"drop_inventory":{"type":"boolean","default":false,"description":"Cause the entity to drop all items in inventory upon transformation.","title":"Drop Inventory"},"into":{"type":"string","default":"","description":"Entity Definition that this entity will transform into.","title":"Into"},"keep_level":{"type":"boolean","default":false,"description":"If this entity has trades and has leveled up, it should maintain that level after transformation.","title":"Keep Level"},"keep_owner":{"type":"boolean","default":false,"description":"If this entity is owned by another entity, it should remain owned after transformation.","title":"Keep Owner"},"preserve_equipment":{"type":"boolean","default":false,"description":"Cause the entity to keep equipment after going through transformation.","title":"Preserve Equipment"},"transformation_sound":{"$ref":"#/definitions/BAB","default":"","description":"Sound to play when the entity is done transforming.","title":"Transformation Sound"}},"examples":[{"add":{},"begin_transform_sound":"example","drop_equipment":false,"drop_inventory":false,"into":"","keep_level":false,"keep_owner":false,"preserve_equipment":false,"transformation_sound":""}]},"CIB":{"type":"object","title":"Trust","description":"Allows this entity to trust multiple players.","required":[],"additionalProperties":false,"properties":{}},"CIC":{"type":"object","title":"Trusting","description":"Defines the rules for a mob to trust players.","required":[],"additionalProperties":false,"properties":{"probability":{"type":"number","default":1,"description":"The chance of the entity trusting with each item use between 0.0 and 1.0, where 1.0 is 100%","title":"Probability"},"trust_event":{"$ref":"#/definitions/BC","description":"Event to run when this entity becomes trusting.","title":"Trust Event"},"trust_items":{"title":"Trust Items","type":"array","description":"The list of items that can be used to get the entity to trust players.","items":{"$ref":"#/definitions/BA","title":"Trust Item"}}},"examples":[{"probability":1,"trust_event":"self:trust"},{"probability":1,"trust_items":[],"trust_event":"self:trust"}]},"CID":{"type":"object","title":"Type Family","additionalProperties":false,"description":"Defines the families this entity belongs to.","required":["family"],"examples":[{"family":[]},{"family":["monster"]},{"family":["mob"]},{"family":["animal"]},{"family":["npc"]}],"properties":{"family":{"type":"array","items":{"type":"string","description":"Family name.","title":"Family","examples":["monster","mob","animal","npc"]},"description":"List of family names.","title":"Family"}}},"CIE":{"description":"Defines the speed with which an entity can move through water.","type":"object","title":"Underwater Movement","additionalProperties":false,"required":[],"properties":{"value":{"type":"number","title":"Value","description":"Movement speed of the entity under water."}},"examples":[{"value":0.15}]},"CIF":{"type":"object","title":"Variable Max Auto Step","additionalProperties":false,"description":"Entities with this component will have a maximum auto step height that is different depending on wether they are on a block that prevents jumping. Incompatible with \"runtime_identifier\": \"minecraft:horse\".","required":[],"properties":{"base_value":{"title":"Base Value","type":"number","default":0.5625,"description":"The maximum auto step height when on any other block."},"controlled_value":{"title":"Controlled Value","type":"number","default":0.5625,"description":"The maximum auto step height when on any other block and controlled by the player."},"jump_prevented_value":{"title":"Jump Prevented Value","type":"number","default":0.5625,"description":"The maximum auto step height when on a block that prevents jumping."}},"examples":[{"base_value":0.5625,"controlled_value":0.5625,"jump_prevented_value":0.5625}]},"CIG":{"additionalProperties":false,"type":"object","title":"Variant","description":"Used to differentiate the component group of a variant of an entity from others (e.g. ocelot, villager) Parameters","required":["value"],"properties":{"value":{"type":"integer","default":0,"description":"The ID of the variant. By convention, 0 is the ID of the base entity","title":"Value"}},"examples":[{"value":0},{"value":1},{"value":2},{"value":3},{"value":4},{"value":5},{"value":6},{"value":7},{"value":8},{"value":9}]},"CIH":{"type":"object","title":"Vibration Damper","additionalProperties":false,"required":[],"properties":{},"description":"Vibrations emitted by this entity will be ignored."},"CII":{"type":"object","title":"Vibration Listener","additionalProperties":false,"required":[],"properties":{},"description":"This entity will respond to vibrations."},"CIJ":{"additionalProperties":false,"type":"object","title":"Walk Animation Speed","description":"Sets the speed multiplier for this entity's walk animation speed.","required":[],"properties":{"value":{"type":"number","default":1,"description":"The higher the number, the faster the animation for walking plays. A value of 1.0 means normal speed, while 2.0 means twice as fast","title":"Value"}},"examples":[{"value":1}]},"CJA":{"description":"Sets that this entity wants to become a jockey.","type":"object","title":"Wants Jockey","additionalProperties":false,"properties":{}},"CJB":{"description":"Defines the speed with which an entity can move through water.","type":"object","title":"Water Movement","additionalProperties":false,"required":[],"properties":{"drag_factor":{"type":"number","default":0.8,"description":"Drag factor to determine movement speed when in water.","title":"Drag Factor"}},"examples":[{"drag_factor":0.8}]},"CJD":{"additionalProperties":false,"type":"integer","title":"Priority","minimum":0,"description":"How important this behavior is. Lower priority behaviors will be executed first."},"CJC":{"type":"object","title":"Admire Item","description":"Enables the mob to admire items that have been configured as admirable. Must be used in combination with the admire_item component.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"admire_item_sound":{"title":"Admire Item Sound","$ref":"#/definitions/BAB","description":"The sound event to play when admiring the item."},"on_admire_item_start":{"title":"On Admire Item Start","$ref":"#/definitions/CFB","description":"The event to run when admiring the item."},"on_admire_item_stop":{"title":"On Admire Item Stop","$ref":"#/definitions/CFB","description":"The event to run when no longer admiring the item."},"sound_interval":{"title":"Sound Interval","default":0,"description":"The range of time in seconds to randomly wait before playing the sound again.","oneOf":[{"type":"array","items":[{"type":"number","title":"Maximum"},{"type":"number","title":"Maximum"}]},{"type":"number"},{"type":"object","additionalProperties":false,"properties":{"range_min":{"type":"number"},"range_max":{"type":"number"}}}]}},"examples":[{"admire_item_sound":""}]},"CJE":{"type":"object","title":"Avoid Block","description":"Allows this entity to avoid certain blocks.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"tick_interval":{"type":"integer","title":"Tick Interval","default":1,"description":"Should start tick interval."},"search_range":{"type":"integer","title":"Search Range","description":"Maximum distance to look for a block in xz.","default":0},"search_height":{"type":"integer","title":"Search Height","description":"Maximum distance to look for a block in y.","default":0},"sprint_speed_modifier":{"type":"number","title":"Sprint Speed Modifier","description":"Modifier for sprint speed. 1.0 means keep the regular speed, while higher numbers make the sprint speed faster.","default":1.0},"target_selection_method":{"type":"string","title":"Target Selection Method","description":"Block search method.","enum":["random","nearest"],"default":"nearest"},"target_blocks":{"type":"array","title":"Target Blocks","description":"List of block types this mob avoids.","items":{"title":"Block ID","$ref":"#/definitions/J"}},"avoid_block_sound":{"title":"Avoid Block Sound","description":"The sound event to play when the mob is avoiding a block.","$ref":"#/definitions/BAB"},"walk_speed_modifier":{"type":"number","title":"Walk Speed Modifier","default":1.0,"description":"Modifier for walking speed. 1.0 means keep the regular speed, while higher numbers make the walking speed faster."},"on_escape":{"type":"array","title":"Walk Speed Modifier","description":"Escape trigger.","items":{"$ref":"#/definitions/CFB"}},"sound_interval":{"default":0,"description":"The range of time in seconds to randomly wait before playing the sound again.","title":"Sound Interval","oneOf":[{"type":"array","items":[{"type":"number","title":"Maximum"},{"type":"number","title":"Maximum"}],"default":[3.0,8.0]},{"type":"number"},{"type":"object","additionalProperties":false,"properties":{"range_min":{"type":"number"},"range_max":{"type":"number"}}}]}},"examples":[{"tick_interval":0,"search_range":0,"search_height":0,"sprint_speed_modifier":0.0,"target_selection_method":"example","target_blocks":[],"avoid_block_sound":"example","walk_speed_modifier":0.0,"on_escape":[]}]},"CJG_entity_definition":{"description":"The entity type.","title":"Entity Type","type":"object","additionalProperties":false,"properties":{"filters":{"$ref":"#/definitions/BD"},"cooldown":{"title":"Cooldown","description":"The amount of time in seconds that the mob has to wait before selecting a target of the same type again","default":0.0,"type":"number"},"max_dist":{"type":"number","description":"Maximum distance this mob can be away to be a valid choice.","default":16,"title":"Maximum Dist"},"max_height":{"type":"number","description":"UNDOCUMENTED.","title":"Maximum Height"},"max_flee":{"type":"number","description":"UNDOCUMENTED.","title":"Maximum Height"},"priority":{"type":"number","description":"UNDOCUMENTED.","title":"Priority"},"check_if_outnumbered":{"type":"number","description":"UNDOCUMENTED.","title":"Check If Outnumbered"},"must_see":{"type":"boolean","description":"If true, the mob has to be visible to be a valid choice.","default":false,"title":"Must See"},"must_see_forget_duration":{"type":"number","description":"Determines the amount of time in seconds that this mob will look for a target before forgetting about it and looking for a new one when the target isn't visible any more.","default":3,"title":"Must See Forget Duration"},"reevaluate_description":{"title":"Reevaluate Description","type":"boolean","default":false,"description":"If true, the mob will stop being targeted if it stops meeting any conditions."},"sprint_speed_multiplier":{"type":"number","description":"Multiplier for the running speed. A value of 1.0 means the speed is unchanged","default":16,"title":"Sprint Speed Multiplier"},"walk_speed_multiplier":{"type":"number","description":"Multiplier for the walking speed. A value of 1.0 means the speed is unchanged","default":16,"title":"Walk Speed Multiplier"}}},"CJG":{"title":"Entity Types","oneOf":[{"type":"array","items":{"$ref":"#/definitions/CJG_entity_definition"}},{"$ref":"#/definitions/CJG_entity_definition"}]},"CJF":{"additionalProperties":false,"type":"object","title":"Avoid Mob Type","description":"Allows the entity to run away from other entities that meet the criteria specified.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"avoid_mob_sound":{"title":"Avoid Mob Sound","default":"","description":"The sound event to play when the mob is avoiding another mob.","$ref":"#/definitions/BAB"},"avoid_target_xz":{"title":"Avoid Target XZ","type":"integer","default":16,"description":"The next target position the entity chooses to avoid another entity will be chosen within this XZ Distance."},"avoid_target_y":{"title":"Avoid Target Y","type":"integer","default":7,"description":"The next target position the entity chooses to avoid another entity will be chosen within this Y Distance."},"ignore_visibilty":{"title":"Ignore Visibilty","type":"boolean","default":false,"description":"Whether or not to ignore direct line of sight while this entity is running away from other specified entities."},"max_dist":{"title":"Max Dist","type":"number","default":3.0,"description":"Maximum distance to look for an avoid target for the entity."},"max_flee":{"title":"Max Flee","type":"number","default":10.0,"description":"How many blocks away from its avoid target the entity must be for it to stop fleeing from the avoid target."},"probability_per_strength":{"title":"Probability Per Strength","type":"number","default":1.0,"description":"Percent chance this entity will stop avoiding another entity based on that entity's strength, where 1.0 = 100%."},"remove_target":{"title":"Remove Target","type":"boolean","default":false,"description":"Determine if we should remove target when fleeing or not."},"sprint_distance":{"title":"Sprint Distance","type":"number","default":7.0,"description":"How many blocks within range of its avoid target the entity must be for it to begin sprinting away from the avoid target."},"sprint_speed_multiplier":{"title":"Sprint Speed Multiplier","type":"number","default":1.0,"description":"Multiplier for sprint speed. 1.0 means keep the regular speed, while higher numbers make the sprint speed faster."},"walk_speed_multiplier":{"title":"Walk Speed Multiplier","type":"number","default":1.0,"description":"Multiplier for walking speed. 1.0 means keep the regular speed, while higher numbers make the walking speed faster."},"ignore_visibility":{"type":"boolean","default":false,"description":"If true, visbility between this entity and the mob type will not be checked.","title":"Ignore Visibility"},"entity_types":{"$ref":"#/definitions/CJG","title":"Entity Types","description":"The list of conditions another entity must meet to be a valid target to avoid."},"on_escape_event":{"$ref":"#/definitions/CFB","title":"On Escape Event","description":"Event that is triggered when escaping from a mob."},"sound_interval":{"title":"Sound Interval","default":[3.0,8.0],"description":"The range of time in seconds to randomly wait before playing the sound again.","oneOf":[{"type":"array","items":[{"type":"number","title":"Maximum"},{"type":"number","title":"Maximum"}]},{"type":"number"},{"type":"object","additionalProperties":false,"properties":{"range_min":{"type":"number"},"range_max":{"type":"number"}}}]}},"examples":[{"max_dist":0,"max_flee":0.5,"walk_speed_multiplier":1.0,"sprint_speed_multiplier":1.0,"probability_per_strength":1.0,"ignore_visibility":false,"avoid_mob_sound":"example","remove_target":true}]},"CJH":{"type":"object","title":"Barter","description":"Enables the mob to barter for items that have been configured as barter currency. Must be used in combination with the barter component","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"CJI":{"type":"object","title":"Beg","additionalProperties":false,"description":"Allows this mob to look at and follow the player that holds food they like.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"items":{"type":"array","description":"List of items that this mob likes.","items":{"type":"string","description":"List of items that this mob likes.","title":"Properties","$ref":"#/definitions/J"},"title":"Properties"},"look_distance":{"type":"number","default":8,"description":"Distance in blocks the mob will beg from.","title":"Look Distance"},"look_time":{"description":"The range of time in seconds this mob will stare at the player holding a food they like, begging for it.","$ref":"#/definitions/BBB","default":[2,4],"title":"Look Time"}},"examples":[{"items":[],"look_distance":8}]},"DAA":{"additionalProperties":false,"default":1.0,"description":"Movement speed multiplier of the mob when using this AI Goal.","type":"number","title":"Speed Multiplier"},"CJJ":{"type":"object","title":"Break Door","description":"Allows this mob to break doors.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"}},"additionalProperties":false},"DAB":{"additionalProperties":false,"type":"object","title":"Breed","description":"Allows this mob to breed with other mobs.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"}}},"DAC":{"additionalProperties":false,"type":"object","title":"Celebrate Survive","description":"Allows this entity to celebrate surviving a raid by shooting fireworks.","properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"fireworks_interval":{"title":"Fireworks Interval","$ref":"#/definitions/BBB","description":"Minimum and maximum time between firework (positive, in seconds).","default":[10,20]},"duration":{"title":"Duration","description":"The duration in seconds that the celebration lasts for.","type":"number","default":30.0},"on_celebration_end_event":{"title":"On Celebration End Event","description":"The event to trigger when the goal's duration expires.","$ref":"#/definitions/CFB"}}},"DAD":{"type":"object","title":"Celebrate","description":"Allows this entity to celebrate surviving a raid by making celebration sounds and jumping.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"celebration_sound":{"default":"","description":"The sound event to trigger during the celebration.","title":"Celebration Sound","$ref":"#/definitions/BAB"},"duration":{"type":"number","default":30,"description":"The duration in seconds that the celebration lasts for.","title":"Duration"},"jump_interval":{"default":[1,3.5],"description":"Minimum and maximum time between jumping (positive, in seconds).","title":"Jump Interval","oneOf":[{"type":"array","items":[{"type":"number","title":"Maximum"},{"type":"number","title":"Maximum"}]},{"type":"number"},{"type":"object","additionalProperties":false,"properties":{"range_min":{"type":"number"},"range_max":{"type":"number"}}}]},"on_celebration_end_event":{"$ref":"#/definitions/BAI","description":"The event to trigger when the goal's duration expires.","title":"On Celebration End Event"},"sound_interval":{"default":[2,7],"description":"Minimum and maximum time between sound events (positive, in seconds).","title":"Sound Interval","$ref":"#/definitions/BBB"}},"examples":[{"celebration_sound":"","duration":1}]},"DAE":{"additionalProperties":false,"type":"object","title":"Charge Attack","description":"Allows this entity to damage a target by using a running attack.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"max_distance":{"title":"Max Distance","type":"number","default":3,"description":"A charge attack cannot start if the entity is farther than this distance to the target."},"min_distance":{"title":"Min Distance","type":"number","default":2,"description":"A charge attack cannot start if the entity is closer than this distance to the target."},"success_rate":{"title":"Success Rate","type":"number","default":0.1428,"description":"Percent chance this entity will start a charge attack, if not already attacking (1.0 = 100%)"}}},"DAF":{"type":"object","title":"Charge Held Item","description":"Allows an entity to charge and use their held item.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"items":{"type":"array","title":"Items","description":"The list of items that can be used to charge the held item. This list is required and must have at least one item in it.","items":{"$ref":"#/definitions/J","description":"Items names to be used.","title":"Item ID"}}},"examples":[{"items":[]}]},"DAG":{"type":"object","title":"Circle Around Anchor","additionalProperties":false,"description":"Causes an entity to circle around an anchor point placed near a point or target.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"radius_range":{"$ref":"#/definitions/BBB","default":[5.0,15.0],"description":"Horizontal distance from the anchor point this entity must stay within upon a successful radius adjustment.","title":"Radius Range"},"radius_change_chance":{"type":"integer","default":250,"description":"A random value to determine when to increase the size of the radius up to the maximum. This has a 1/value chance every tick to do so.","title":"Radius Change Chance"},"height_above_target_range":{"$ref":"#/definitions/BBB","default":[0.0,0.0],"description":"The number of blocks above the target that the next anchor point can be set. This value is used only when the entity is tracking a target.","title":"Height Above Target Range"},"height_offset_range":{"$ref":"#/definitions/BBB","default":[0.0,0.0],"description":"The range of height in blocks offset the mob can have from it's anchor point.","title":"Height Offset Range"},"height_change_chance":{"type":"integer","default":350,"description":"A random value to determine when to change the height of the mob from the anchor point. This has a 1/value chance every tick to do so.","title":"Height Change Chance"},"goal_radius":{"type":"number","default":0.5,"description":"Maximum distance from the anchor-point in which this entity considers itself to have reached the anchor point. This is to prevent the entity from bouncing back and forth trying to reach a specific spot.","title":"Goal Radius"},"radius_change":{"type":"number","title":"Radius Change","description":"The number of blocks to increase the current movement radius by, upon successful `radius_adjustment_chance`. If the current radius increases over the range maximum, the current radius will be set back to the range minimum and the entity will change between clockwise and counter-clockwise movement.","default":1.0},"radius_adjustment_chance":{"type":"number","title":"Radius Adjustment Chance","description":"Percent chance to determine how often to increase the size of the current movement radius around the anchor point. 1 = 100%. `radius_change_chance` is deprecated and has been replaced with `radius_adjustment_chance`.","default":0.004},"height_adjustment_chance":{"type":"number","title":"Height Adjustment Chance","description":"Percent chance to determine how often to increase or decrease the current height around the anchor point. 1 = 100%. `height_change_chance` is deprecated and has been replaced with `height_adjustment_chance`.","default":0.002857},"angle_change":{"type":"number","title":"Angle Change","description":"Number of degrees to change this entity's facing by, when the entity selects its next anchor point.","default":15.0}},"examples":[{"speed_multiplier":1.0,"radius_change_chance":250,"height_change_chance":350,"goal_radius":0.5,"radius_change":0.0,"radius_adjustment_chance":0.0,"height_adjustment_chance":0.0,"angle_change":0.0}]},"DAH":{"additionalProperties":false,"type":"object","title":"Controlled By Player","description":"Allows the entity to be controlled by the player using an item in the item_controllable property (required). Also requires the minecraft:movement property, and the minecraft:rideable property. On every tick, the entity will attempt to rotate towards where the player is facing with the control item whilst simultaneously moving forward.","properties":{"priority":{"$ref":"#/definitions/CJD"},"fractional_rotation":{"title":"Fractional Rotation","type":"number","default":0.5,"description":"The entity will attempt to rotate to face where the player is facing each tick. The entity will target this percentage of their difference in their current facing angles each tick (from 0.0 to 1.0 where 1.0 = 100%). This is limited by FractionalRotationLimit. A value of 0.0 will result in the entity no longer turning to where the player is facing."},"fractional_rotation_limit":{"title":"Fractional Rotation Limit","type":"number","default":5.0,"description":"Limits the total degrees the entity can rotate to face where the player is facing on each tick."},"mount_speed_multiplier":{"title":"Mount Speed Multiplier","type":"number","default":1.0,"description":"Speed multiplier of mount when controlled by player."}},"examples":[{"mount_speed_multiplier":1}]},"DBA":{"type":"array","title":"Vector Of 2 Items","description":"An vector of 2 integers.","examples":[[0,0]],"items":[{"type":"integer","description":"The X component.","title":"X","default":0},{"type":"integer","description":"The Y component.","title":"Y","default":0}],"defaultSnippets":[{"label":"New Array 2","body":["^$1","^$2"]}]},"DAJ":{"oneOf":[{"type":"array","$ref":"#/definitions/DBA"},{"title":"Value","type":"integer"}],"examples":[0,[0,10]],"defaultSnippets":[{"label":"New Array 2","body":["^$1","^$2"]}]},"DAI":{"type":"object","title":"Croak","description":"[EXPERIMENTAL BEHAVIOR] Allows the entity to croak at a random time interval with configurable conditions.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"duration":{"title":"Duration","description":"Random range in seconds after which the croaking stops. Can also be a constant.","$ref":"#/definitions/DAJ"},"filters":{"title":"Filters","$ref":"#/definitions/BD","description":"Conditions for the behavior to start and keep running. The interval between runs only starts after passing the filters."},"interval":{"title":"Interval","description":"Random range in seconds between runs of this behavior. Can also be a constant.","$ref":"#/definitions/DAJ"}}},"DBB":{"type":"object","title":"Defend Trusted Target","description":"Allows the mob to target another mob that hurts an entity it trusts.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"aggro_sound":{"title":"Aggro Sound","$ref":"#/definitions/BAB","default":"","description":"Sound to occasionally play while defending."},"attack_interval":{"title":"Attack Interval","type":"integer","default":0,"description":"Time in seconds between attacks."},"must_see":{"title":"Must See","type":"boolean","default":false,"description":"If true, only entities in this mob's viewing range can be selected as targets."},"must_see_forget_duration":{"title":"Must See Forget Duration","type":"number","default":3,"description":"Determines the amount of time in seconds that this mob will look for a target before forgetting about it and looking for a new one when the target isn't visible any more."},"on_defend_start":{"title":"On Defend Start","$ref":"#/definitions/CFB","description":"The event to run when this mob starts to defend the entity it trusts."},"within_radius":{"title":"Within Radius","type":"number","default":0,"description":"Distance in blocks that the target can be within to launch an attack."},"entity_types":{"$ref":"#/definitions/CJG","description":"List of entity types that this mob considers valid targets.","title":"Entity Types"},"sound_chance":{"title":"Sound Chance","type":"number","default":0.05,"description":"Probability that a sound will play.","minimum":0,"maximum":1}},"examples":[{"aggro_sound":"","attack_interval":0,"must_see":false,"must_see_forget_duration":3,"within_radius":0,"entity_types":{},"sound_chance":0.05}]},"DBC":{"additionalProperties":false,"type":"object","title":"Defend Village Target","description":"Allows the entity to stay in a village and defend the village from aggressors. If a player is in bad standing with the village this goal will cause the entity to attack the player regardless of filter conditions.","properties":{"priority":{"$ref":"#/definitions/CJD"},"entity_types":{"title":"Entity Types","$ref":"#/definitions/CJG","description":"List of entity types this mob considers a threat to the village.","$comment":"UNDOCUMENTED"},"must_reach":{"title":"Must Reach","description":"The entity must be able to reach attacker.","type":"boolean"},"attack_chance":{"title":"Attack Chance","description":"The percentage chance that the entity has to attack aggressors of its village, where 1.0 = 100%.","type":"number","default":0.05}},"examples":[{"must_reach":true,"attack_chance":0.0}]},"DBD":{"additionalProperties":false,"type":"object","title":"Delayed Attack","description":"Allows an entity to attack, while also delaying the damage-dealt until a specific time in the attack animation.","properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"attack_duration":{"title":"Attack Duration","type":"number","default":0.75,"description":"The entity's attack animation will play out over this duration (in seconds). Also controls attack cooldown."},"attack_once":{"title":"Attack Once","type":"boolean","default":false,"description":"Allows the entity to use this attack behavior, only once EVER."},"attack_types":{"title":"Attack Types","type":"string","default":"N/A","description":"Defines the entity types this entity will attack."},"can_spread_on_fire":{"title":"Can Spread On Fire","type":"boolean","default":false,"description":"If the entity is on fire, this allows the entity's target to catch on fire after being hi"},"cooldown_time":{"title":"Cooldown Time","type":"number","default":1,"description":"Cooldown time (in seconds) between attacks."},"hit_delay_pct":{"title":"Hit Delay Pct","type":"number","default":0.5,"description":"The percentage into the attack animation to apply the damage of the attack (1.0 = 100%)."},"inner_boundary_time_increase":{"title":"Inner Boundary Time Increase","type":"number","default":0.25,"description":"Time (in seconds) to add to attack path recalculation when the target is beyond the \"path_inner_boundary\"."},"max_dist":{"title":"Max Dist","type":"number","description":"Unused. No effect on \"minecraft:behavior.melee_attack\"."},"max_path_time":{"title":"Max Path Time","type":"number","default":0.55,"description":"Maximum base time (in seconds) to recalculate new attack path to target (before increases applied)."},"melee_fov":{"title":"Melee Fov","type":"number","default":90,"description":"Field of view (in degrees) when using the sensing component to detect an attack target."},"min_path_time":{"title":"Min Path Time","type":"number","default":0.2,"description":"Minimum base time (in seconds) to recalculate new attack path to target (before increases applied)."},"on_attack":{"title":"On Attack","description":"Defines the event to trigger when this entity successfully attacks.","$ref":"#/definitions/BAI"},"outer_boundary_time_increase":{"title":"Outer Boundary Time Increase","type":"number","default":0.5,"description":"Time (in seconds) to add to attack path recalculation when the target is beyond the \"path_outer_boundary\"."},"path_fail_time_increase":{"title":"Path Fail Time Increase","type":"number","default":0.75,"description":"Time (in seconds) to add to attack path recalculation when this entity cannot move along the current path."},"path_inner_boundary":{"title":"Path Inner Boundary","type":"number","default":16,"description":"Distance at which to increase attack path recalculation by \"inner_boundary_tick_increase\"."},"path_outer_boundary":{"title":"Path Outer Boundary","type":"number","default":32,"description":"Distance at which to increase attack path recalculation by \"outer_boundary_tick_increase\"."},"random_stop_interval":{"title":"Random Stop Interval","type":"integer","default":0,"description":"This entity will have a 1 in N chance to stop it's current attack, where N = \"random_stop_interval\"."},"reach_multiplier":{"title":"Reach Multiplier","type":"number","default":2,"description":"Used with the base size of the entity to determine minimum target-distance before trying to deal attack damage."},"require_complete_path":{"title":"Require Complete Path","type":"boolean","default":false,"description":"Toggles (on/off) the need to have a full path from the entity to the target when using this melee attack behavior."},"set_persistent":{"title":"Set Persistent","type":"boolean","default":false,"description":"Allows the actor to be set to persist upon targeting a player."},"target_dist":{"title":"Target Dist","type":"number","description":"Unused. No effect on \"minecraft:behavior.melee_attack\"."},"track_target":{"title":"Track Target","type":"boolean","default":false,"description":"Allows the entity to track the attack target, even if the entity has no sensing."},"x_max_rotation":{"title":"X Max Rotation","type":"number","default":30,"description":"Maximum rotation (in degrees), on the X-axis, this entity can rotate while trying to look at the target."},"y_max_head_rotation":{"title":"Y Max Head Rotation","type":"number","default":30,"description":"Maximum rotation (in degrees), on the Y-axis, this entity can rotate its head while trying to look at the target."}},"examples":[{"attack_duration":1,"attack_once":false,"attack_types":"","hit_delay_pct":1,"random_stop_interval":0,"reach_multiplier":2,"require_complete_path":true,"track_target":false}]},"DBE":{"additionalProperties":false,"type":"object","title":"Dig","description":"[EXPERIMENTAL BEHAVIOR] Activates the `DIGGING` actor flag during the specified duration. Currently only Warden can use the Dig goal","properties":{"priority":{"$ref":"#/definitions/CJD"},"allow_dig_when_named":{"title":"Allow Dig When Named","type":"boolean","default":false,"description":"If true, this behavior can run when this entity is named. Otherwise not."},"digs_in_daylight":{"title":"Digs In Daylight","type":"boolean","default":false,"description":"Indicates that the actor should start digging when it sees daylight."},"duration":{"title":"Duration","type":"number","default":0.0,"description":"Goal duration in seconds."},"idle_time":{"title":"Idle Time","type":"number","description":"The minimum idle time in seconds between the last detected disturbance to the start of digging."},"suspicion_is_disturbance":{"title":"Suspicion Is Disturbance","type":"boolean","default":false,"description":"If true, finding new suspicious locations count as disturbances that may delay the start of this goal."},"vibration_is_disturbance":{"title":"Vibration Is Disturbance","type":"boolean","default":false,"description":"If true, vibrations count as disturbances that may delay the start of this goal."}}},"DBF":{"additionalProperties":false,"type":"object","title":"Door Interact","description":"Allows the mob to open and close doors.","properties":{"priority":{"$ref":"#/definitions/CJD"}}},"DBG":{"additionalProperties":false,"type":"object","title":"Dragonchargeplayer","description":"Allows this entity to attack a player by charging at them. The player is chosen by the \"minecraft:behavior.dragonscanning\". Note: This behavior can only be used by the ender_dragon entity type.","properties":{"priority":{"$ref":"#/definitions/CJD"},"active_speed":{"title":"Active Speed","type":"number","default":1,"description":"The speed this entity moves when this behavior has started or while it's active."},"continue_charge_threshold_time":{"title":"Continue Charge Threshold Time","type":"number","default":0.5,"description":"If the dragon is outside the \"target_zone\" for longer than \"continue_charge_threshold_time\" seconds, the charge is canceled."},"flight_speed":{"title":"Flight Speed","type":"number","default":0.6,"description":"The speed this entity moves while this behavior is not active."},"target_zone":{"title":"Target Zone","$ref":"#/definitions/BBB","default":[10,150],"description":"Minimum and maximum distance, from the target, this entity can use this behavior."},"turn_speed":{"title":"Turn Speed","type":"number","default":0.7,"description":"The speed at which this entity turns while using this behavior."}}},"DBH":{"additionalProperties":false,"type":"object","title":"Dragondeath","description":"Controls the entity's death state and animation. Note: This behavior can only be used by the ender_dragon entity type.","properties":{"priority":{"$ref":"#/definitions/CJD"}}},"DBI":{"additionalProperties":false,"type":"object","title":"Dragonflaming","description":"Allows this entity to use a flame-breath attack. Note: This behavior can only be used by the ender_dragon entity type.","properties":{"priority":{"$ref":"#/definitions/CJD"},"cooldown_time":{"title":"Cooldown Time","type":"number","default":10,"description":"Time (in seconds), after roar, to breath flame."},"flame_time":{"title":"Flame Time","type":"number","default":0.5,"description":"Time (in seconds), after roar, to breath flame."},"ground_flame_count":{"title":"Ground Flame Count","type":"integer","default":4,"description":"Number of ground flame-breath attacks to use before flight-takeoff."},"roar_time":{"title":"Roar Time","type":"number","default":2,"description":"Time (in seconds) to roar, before breathing flame."}}},"DBJ":{"additionalProperties":false,"type":"object","title":"Dragonholdingpattern","description":"Allows the Dragon to fly around in a circle around the center podium. Note: This behavior can only be used by the ender_dragon entity type.","properties":{"priority":{"$ref":"#/definitions/CJD"}}},"DCA":{"additionalProperties":false,"type":"object","title":"Dragonlanding","description":"Allows the Dragon to stop flying and transition into perching mode. Note: This behavior can only be used by the ender_dragon entity type.","properties":{"priority":{"$ref":"#/definitions/CJD"}}},"DCB":{"additionalProperties":false,"type":"object","title":"Dragonscanning","description":"Allows an entity to look around for a player to attack while in perch mode. Note: This behavior can only be used by the ender_dragon entity type.","properties":{"priority":{"$ref":"#/definitions/CJD"}}},"DCC":{"additionalProperties":false,"type":"object","title":"Dragonstrafeplayer","description":"Allows this entity to fly around looking for a player to shoot fireballs at. Note: This behavior can only be used by the ender_dragon entity type.","properties":{"priority":{"$ref":"#/definitions/CJD"},"active_speed":{"title":"Active Speed","type":"number","default":1,"description":"The speed this entity moves when this behavior has started or while it's active."},"fireball_range":{"title":"Fireball Range","type":"number","default":64,"description":"Maximum distance of this entity's fireball attack while strafing."},"flight_speed":{"title":"Flight Speed","type":"number","default":0.6,"description":"The speed this entity moves while this behavior is not active."},"switch_direction_probability":{"title":"Switch Direction Probability","type":"number","default":0.125,"description":"Percent chance to to switch this entity's strafe direction between clockwise and counterclockwise. Switch direction chance occurs each time a new target is chosen (1.0 = 100%)."},"target_in_range_and_in_view_time":{"title":"Target In Range And In View Time","type":"number","default":0.25,"description":"Time (in seconds) the target must be in fireball range, and in view [ie, no solid terrain in-between the target and this entity], before a fireball can be shot."},"target_zone":{"title":"Target Zone","$ref":"#/definitions/BBB","default":[10,150],"description":"Minimum and maximum distance, from the target, this entity can use this behavior."},"turn_speed":{"title":"Turn Speed","type":"number","default":0.7,"description":"The speed at which this entity turns while using this behavior."},"view_angle":{"title":"View Angle","type":"number","default":10,"description":"The target must be within \"view_angle\" degrees of the dragon's current rotation before a fireball can be shot."}}},"DCD":{"additionalProperties":false,"type":"object","title":"Dragontakeoff","description":"Allows an entity to leave perch mode and go back to flying around. Note: This behavior can only be used by the ender_dragon entity type.","properties":{"priority":{"$ref":"#/definitions/CJD"}}},"DCE":{"type":"object","title":"Drink Milk","description":"Allows the mob to drink milk based on specified environment conditions.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"cooldown_seconds":{"title":"Cooldown Seconds","type":"number","default":5.0,"description":"Time (in seconds) that the goal is on cooldown before it can be used again."},"filters":{"title":"Filters","$ref":"#/definitions/BD","description":"Conditions that need to be met for the behavior to start."}},"examples":[{"cooldown_seconds":5.0}]},"DCF":{"type":"object","title":"Drink Potion","description":"Allows the mob to drink potions based on specified environment conditions.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"speed_modifier":{"default":0.0,"description":"Movement speed modifier of the mob when using this AI Goal.","title":"Speed Modifier"},"potions":{"type":"array","description":"A list of potions that this entity can drink.","title":"Potions","items":{"required":["id","chance","filters"],"additionalProperties":false,"type":"object","description":"A potions that this entity can drink.","title":"Potions","properties":{"id":{"type":"integer","default":-1,"description":"The registry ID of the potion to use.","title":"Id"},"chance":{"type":"number","default":1.0,"minimum":0,"maximum":1,"description":"The percent chance (from 0.0 to 1.0) of this potion being selected when searching for a potion to use.","title":"Chance"},"filters":{"description":"The filters to use when determining if this potion can be selected.","$ref":"#/definitions/BD"}}}}},"examples":[{"potions":[]}]},"DCG":{"additionalProperties":false,"description":"Allows the entity to move toward a target, and drop an item near the target. This goal requires a \"minecraft:navigation\" to execute.","title":"Drop Item For","type":"object","properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"entity_types":{"description":"The list of conditions another entity must meet to be a valid target to drop an item for.","title":"Entity Types","$ref":"#/definitions/CJG"},"cooldown":{"title":"Cooldown","type":"number","default":0.2,"description":"Total time that the goal is on cooldown before it can be used again."},"drop_item_chance":{"title":"Drop Item Chance","type":"number","default":1.0,"description":"The percent chance the entity will drop an item when using this goal."},"goal_radius":{"title":"Goal Radius","type":"number","default":0.5,"description":"Distance in blocks within the entity considers it has reached it's target position."},"loot_table":{"title":"Loot Table","type":"string","description":"The loot table that contains the possible loot the entity can drop with this goal.","examples":["loot_tables/"]},"max_head_look_at_height":{"title":"Max Head Look At Height","type":"number","default":10.0,"description":"The maximum height the entities head will look at when dropping the item. The entity will always be looking at its target."},"minimum_teleport_distance":{"title":"Minimum Teleport Distance","type":"number","default":2.0,"description":"If the target position is farther away than this distance on any tick, the entity will teleport to the target position."},"offering_distance":{"title":"Offering Distance","type":"number","default":1.0,"description":"The preferred distance the entity tries to be from the target it is dropping an item for."},"on_drop_attempt":{"title":"On Drop Attempt","$ref":"#/definitions/BAI","description":"The event to trigger when the entity attempts to drop an item."},"search_count":{"title":"Search Count","type":"integer","default":0,"description":"The number of blocks each tick that the entity will check within its search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick."},"search_height":{"title":"Search Height","type":"integer","default":1,"description":"The Height in blocks the entity will search within to find a valid target position."},"search_range":{"title":"Search Range","type":"integer","default":0,"description":"The distance in blocks the entity will search within to find a valid target position."},"seconds_before_pickup":{"title":"Seconds Before Pickup","type":"number","default":0.0,"description":"The numbers of seconds that will pass before the dropped entity can be picked up from the ground."},"target_range":{"title":"Target Range","$ref":"#/definitions/CFA","default":[1,1,1],"description":"The range in blocks within which the entity searches to find a target to drop an item for."},"teleport_offset":{"title":"Teleport Offset","$ref":"#/definitions/CFA","default":[0,1,0],"description":"When the entity teleports, offset the teleport position by this many blocks in the X, Y, and Z coordinate."},"time_of_day_range":{"title":"Time Of Day Range","$ref":"#/definitions/BBB","default":[0,1],"description":"The valid times of day that this goal can be used. For reference: noon is 0.0, sunset is 0.25, midnight is 0.5, and sunrise is 0.75, and back to noon for 1.0."}},"examples":[{"cooldown":0.0,"drop_item_chance":0.0,"goal_radius":0.5,"loot_table":"example","max_dist":0,"minimum_teleport_distance":0.0,"max_head_look_at_height":0.0,"offering_distance":0.0,"seconds_before_pickup":0.0,"search_count":1,"search_height":1,"search_range":0,"target_range":[],"teleport_offset":[],"time_of_day_range":[]}]},"DCH":{"type":"object","title":"Eat Block","description":"Allows the entity to consume a block, replace the eaten block with another block, and trigger an event as a result.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"on_eat":{"title":"On Eat","$ref":"#/definitions/BAI","description":"The event to trigger when the block eating animation has completed."},"success_chance":{"title":"Succes Chance","$ref":"#/definitions/E","default":0.02,"description":"A molang expression defining the success chance the entity has to consume a block."},"time_until_eat":{"title":"Time Until Eat","type":"number","default":1.8,"description":"The amount of time (in seconds) it takes for the block to be eaten upon a successful eat attempt."},"eat_and_replace_block_pairs":{"title":"Eat And Replace Block Pairs","type":"array","description":"A collection of pairs of blocks; the first (\"eat_block\")is the block the entity should eat, the second (\"replace_block\") is the block that should replace the eaten block.","items":{"type":"object","title":"Eat And Replace Block Pair","description":"The block to eat and the block to replace it with.","$comment":"UNDOCUMENTED","properties":{"eat_block":{"type":"string","title":"Block","description":"The block to eat.","$comment":"UNDOCUMENTED","$ref":"#/definitions/BBG"},"replace_block":{"type":"string","title":"Replace Block","description":"The block to replace the eaten block with.","$comment":"UNDOCUMENTED","$ref":"#/definitions/BBG"}}}}},"examples":[{"time_until_eat":0.0,"eat_and_replace_block_pairs":[{"eat_block":"minecraft:grass","replace_block":"minecraft:dirt"}]}]},"DCI":{"type":"object","title":"Eat Carried Item","description":"If the mob is carrying a food item, the mob will eat it and the effects will be applied to the mob.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"delay_before_eating":{"type":"number","description":"Time in seconds the mob should wait before eating the item.","title":"Delay Before Eating"}},"examples":[{"delay_before_eating":0.0}]},"DCJ":{"type":"object","title":"Eat Mob","description":"[EXPERIMENTAL BEHAVIOR] Allows the entity to eat a specified Mob.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"eat_animation_time":{"title":"Eat Animation Time","type":"number","default":1000000,"description":"Sets the time in seconds the eat animation should play for."},"eat_mob_sound":{"title":"Eat Mob Sound","$ref":"#/definitions/BAB","default":"","description":"Sets the sound that should play when eating a mob."},"loot_table":{"title":"Loot Table","type":"string","default":"","description":"The loot table for loot to be dropped when eating a mob."},"pull_in_force":{"title":"Pull In Force","type":"number","default":1000000,"description":"Sets the force which the mob-to-be-eaten is pulled towards the eating mob."},"reach_mob_distance":{"title":"Reach Mob Distance","type":"number","default":1000000,"description":"Sets the desired distance to be reached before eating the mob."},"run_speed":{"title":"Run Speed","type":"number","default":1000000,"description":"Sets the entity's speed when running toward the target."}}},"DDA":{"type":"object","title":"Enderman Leave Block","additionalProperties":false,"description":"Allows the enderman to drop a block they are carrying. Can only be used by Endermen.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"DDB":{"type":"object","title":"Enderman Take Block","description":"Allows the enderman to take a block and carry it around. Can only be used by Endermen.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"DDC":{"type":"object","title":"Equip Item","description":"The entity puts on the desired equipment.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"DDD":{"type":"object","title":"Explore Outskirts","description":"Allows the entity to first travel to a random point on the outskirts of the village, and then explore random points within a small distance. This goal requires \"minecraft:dweller\" and \"minecraft:navigation\" to execute.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"dist_from_boundary":{"title":"Dist From Boundary","default":[5,0,5],"description":"The distance from the boundary the villager must be within in to explore the outskirts.","$ref":"#/definitions/CFA"},"explore_dist":{"title":"Explore Dist","type":"number","default":5.0,"description":"Total distance in blocks the the entity will explore beyond the village bounds when choosing its travel point."},"max_travel_time":{"title":"Max Travel Time","type":"number","default":60.0,"description":"This is the maximum amount of time an entity will attempt to reach it's travel point on the outskirts of the village before the goal exits."},"max_wait_time":{"title":"Max Wait Time","type":"number","default":0.0,"description":"The wait time in seconds between choosing new explore points will be chosen on a random interval between this value and the minimum wait time. This value is also the total amount of time the entity will explore random points before the goal stops."},"min_dist_from_target":{"title":"Min Dist From Target","type":"number","default":2.2,"description":"The entity must be within this distance for it to consider it has successfully reached its target."},"min_perimeter":{"title":"Min Perimeter","type":"number","default":1.0,"description":"The minimum perimeter of the village required to run this goal."},"min_wait_time":{"title":"Min Wait Time","type":"number","default":3.0,"description":"The wait time in seconds between choosing new explore points will be chosen on a random interval between this value and the maximum wait time."},"next_xz":{"title":"Next XZ","type":"integer","default":5,"description":"A new explore point will randomly be chosen within this XZ distance of the current target position when navigation has finished and the wait timer has elapsed."},"next_y":{"title":"Next Y","type":"integer","default":3,"description":"A new explore point will randomly be chosen within this Y distance of the current target position when navigation has finished and the wait timer has elapsed."},"timer_ratio":{"title":"Timer Ratio","type":"number","default":2.0,"description":"Each new explore point will be chosen on a random interval between the minimum and the maximum wait time, divided by this value. This does not apply to the first explore point chosen when the goal runs."}},"examples":[{"explore_dist":5,"wait_time":0,"next_xz":0,"next_y":0,"min_wait_time":0.0,"max_wait_time":0.0,"max_travel_time":0.0,"min_perimeter":0.0,"min_dist_from_target":0.0,"timer_ratio":0.0,"dist_from_boundary":[]}]},"DDE":{"type":"object","title":"Fertilize Farm Block","description":"Allows the mob to search within an area for a growable crop block. If found, the mob will use any available fertilizer in their inventory on the crop. This goal will not execute if the mob does not have a fertilizer item in its inventory.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"goal_radius":{"title":"Goal Radius","type":"number","default":1.5,"description":"Distance in blocks within the mob considers it has reached it's target position."},"max_fertilizer_usage":{"title":"Maximum Fertilizer Usage","type":"integer","default":1,"description":"The maximum number of times the mob will use fertilzer on the target block."},"search_cooldown_max_seconds":{"title":"Search Cooldown Maximum Seconds","type":"number","default":8.0,"description":"The maximum amount of time in seconds that the goal can take before searching again. The time is chosen between 0 and this number."},"search_count":{"title":"Search Count","type":"integer","default":9,"description":"The number of randomly selected blocks each tick that the mob will check within its search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick."},"search_height":{"title":"Search Height","type":"integer","default":1,"description":"The Height in blocks the mob will search within to find a valid target position."},"search_range":{"title":"Search Range","type":"integer","default":1,"description":"The distance in blocks the mob will search within to find a valid target position."}},"examples":[{"cooldown_time":0}]},"DDF":{"type":"object","title":"Find Cover","description":"Allows the mob to seek shade.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"cooldown_time":{"type":"number","default":0,"description":"Time in seconds the mob has to wait before using the goal again.","title":"Cooldown Time"}},"examples":[{"cooldown_time":0}]},"DDG":{"additionalProperties":false,"description":"Allows the mob to look around for another mob to ride atop it.","title":"Find Mount","type":"object","properties":{"priority":{"$ref":"#/definitions/CJD"},"avoid_water":{"title":"Avoid Water","type":"boolean","default":false,"description":"If true, the mob will not go into water blocks when going towards a mount."},"mount_distance":{"type":"number","title":"Mount Distance","default":-1,"description":"This is the distance the mob needs to be, in blocks, from the desired mount to mount it. If the value is below 0, the mob will use its default attack distance"},"start_delay":{"title":"Start Delay","type":"integer","default":0,"description":"Time the mob will wait before starting to move towards the mount."},"target_needed":{"title":"Target Needed","type":"boolean","default":false,"description":"If true, the mob will only look for a mount if it has a target."},"within_radius":{"title":"Within Radius","type":"number","default":0,"description":"Distance in blocks within which the mob will look for a mount."},"max_failed_attempts":{"title":"Maximum Failed Attempts","type":"integer","description":"The number of failed attempts to make before this goal is no longer used.","$comment":"UNDOCUMENTED"}},"examples":[{"avoid_water":false,"mount_distance":-1,"start_delay":0,"target_needed":false,"within_radius":0,"max_failed_attempts":0}]},"DDH":{"type":"object","title":"Find Underwater Treasure","description":"Allows the mob to move towards the nearest underwater ruin or shipwreck.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"search_range":{"type":"integer","default":0,"description":"The range that the mob will search for a treasure chest within a ruin or shipwreck to move towards.","title":"Search Range"},"stop_distance":{"type":"number","default":2.0,"description":"The distance the mob will move before stopping.","title":"Stop Distance"}},"examples":[{"search_range":0,"stop_distance":2.0}]},"DDI":{"type":"object","title":"Flee Sun","description":"Allows the mob to run away from direct sunlight and seek shade.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"}}},"DDJ":{"type":"object","title":"Float Wander","description":"Allows the mob to float around like the Ghast.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"xz_dist":{"type":"integer","default":10,"description":"Distance in blocks on ground that the mob will look for a new spot to move to. Must be at least 1","title":"Xz Dist"},"y_dist":{"type":"integer","default":7,"description":"Distance in blocks that the mob will look up or down for a new spot to move to. Must be at least 1","title":"Y Dist"},"y_offset":{"type":"number","default":0.0,"description":"Height in blocks to add to the selected target position.","title":"Y Offset"},"must_reach":{"type":"boolean","default":false,"description":"If true, the point has to be reachable to be a valid target.","title":"Must Reach"},"random_reselect":{"type":"boolean","default":false,"description":"If true, the mob will randomly pick a new point while moving to the previously selected one.","title":"Random Reselect"},"float_duration":{"$ref":"#/definitions/BBB","default":[0.0,0.0],"description":"Range of time in seconds the mob will float around before landing and choosing to do something else.","title":"Float Duration"}},"examples":[{"xz_dist":10,"y_dist":7,"y_offset":0.0,"must_reach":false,"random_reselect":false}]},"DEA":{"type":"object","title":"Float","description":"Allows the mob to stay afloat while swimming.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"DEB":{"type":"object","title":"Follow Caravan","description":"Allows the mob to follow mobs that are in a caravan.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"entity_types":{"$ref":"#/definitions/CJG","description":"List of entity types that this mob can follow in a caravan.","title":"Entity Types"},"entity_count":{"type":"integer","description":"Number of entities that can be in the caravan.","default":1,"title":"Entity Count"}},"examples":[{"entity_count":1}]},"DEC":{"type":"object","title":"Follow Mob","description":"Allows the mob to follow other mobs.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"search_range":{"type":"integer","default":0,"description":"The distance in blocks it will look for a mob to follow.","title":"Search Range"},"stop_distance":{"type":"number","default":2,"description":"The distance in blocks this mob stops from the mob it is following.","title":"Stop Distance"}},"examples":[{"search_range":0,"stop_distance":2}]},"DED":{"type":"object","title":"Follow Owner","description":"Allows the mob to follow the player that owns them.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"can_teleport":{"title":"Can Teleport","type":"boolean","default":true,"description":"Specify if the mob can teleport to the player if it is too far away."},"ignore_vibration":{"title":"Ignore Vibration","type":"boolean","default":true,"description":"Specify if the mob will follow the owner if it has heard a vibration lately."},"max_distance":{"title":"Max Distance","type":"number","default":60.0,"description":"The maximum distance in blocks this mob can be from its owner to start following, only used when canTeleport is false."},"start_distance":{"title":"Start Distance","type":"number","default":10.0,"description":"The distance in blocks that the owner can be away from this mob before it starts following it."},"stop_distance":{"title":"Stop Distance","type":"number","default":2.0,"description":"The distance in blocks this mob will stop from its owner while following it."}},"examples":[{"start_distance":10,"stop_distance":2}]},"DEE":{"type":"object","title":"Follow Parent","description":"Allows the mob to follow their parent around.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"}}},"DEF":{"type":"object","title":"Follow Target Captain","description":"Allows mob to move towards its current target captain.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"follow_distance":{"type":"number","default":0,"description":"Defines the distance in blocks the mob will stay from its target while following.","title":"Follow Distance"},"within_radius":{"type":"number","default":0,"description":"Defines the maximum distance in blocks a mob can get from its target captain before giving up trying to follow it.","title":"Within Radius"}},"examples":[{"follow_distance":0,"within_radius":0}]},"DEG":{"type":"object","title":"Go And Give Items To Noteblock","description":"[EXPERIMENTAL BEHAVIOR] The entity will attempt to toss the items from its inventory to a nearby recently played noteblock.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"listen_time":{"title":"Listen Time","type":"integer","default":0.0,"description":"Sets the time an entity should continue delivering items to a noteblock after hearing it."},"on_item_throw":{"title":"On Item Throw","description":"Event(s) to run when this mob throws items.","oneOf":[{"$ref":"#/definitions/BAI"},{"type":"array","items":{"$ref":"#/definitions/BAI"}}]},"reach_block_distance":{"title":"Reach Block Distance","type":"number","default":3.0,"description":"Sets the desired distance to be reached before throwing the items towards the block."},"run_speed":{"title":"Run Speed","type":"number","default":1.0,"description":"Sets the entity's speed when running toward the block."},"throw_force":{"title":"Throw Force","type":"number","default":0.2,"description":"Sets the throw force."},"throw_sound":{"title":"Throw Sound","$ref":"#/definitions/BAB","default":"","description":"Sound to play when this mob throws an item."},"vertical_throw_mul":{"title":"Vertical Throw Mul","type":"number","default":1.5,"description":"Sets the vertical throw multiplier that is applied on top of the throw force in the vertical direction."}}},"DEH":{"type":"object","title":"Go And Give Items To Owner","description":"[EXPERIMENTAL BEHAVIOR] The entity will attempt to toss the items from its inventory to its owner.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"on_item_throw":{"title":"On Item Throw","description":"Event(s) to run when this mob throws items.","oneOf":[{"$ref":"#/definitions/BAI"},{"type":"array","items":{"$ref":"#/definitions/BAI"}}]},"reach_mob_distance":{"title":"Reach Mob Distance","type":"number","default":3.0,"description":"Sets the desired distance to be reached before giving items to owner."},"run_speed":{"title":"Run Speed","type":"number","default":1.0,"description":"Sets the entity's speed when running toward the owner."},"throw_force":{"title":"Throw Force","type":"number","default":0.2,"description":"Sets the throw force."},"throw_sound":{"title":"Throw Sound","$ref":"#/definitions/BAB","default":"item_thrown","description":"Sound to play when this mob throws an item."},"vertical_throw_mul":{"title":"Vertical Throw Mul","type":"number","default":1.5,"description":"Sets the vertical throw multiplier that is applied on top of the throw force in the vertical direction."}}},"DEI":{"additionalProperties":false,"description":"Allows the mob to move back to the position they were spawned.","title":"Go Home","type":"object","properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"goal_radius":{"type":"number","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot","title":"Goal Radius"},"interval":{"type":"integer","default":120,"description":"A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal","title":"Interval"},"on_home":{"description":"Event(s) to run when this mob gets home.","title":"On Home","type":"array","items":{"$ref":"#/definitions/BAI"}},"on_failed":{"title":"On Failed","description":"Event(s) to run when this goal fails.","type":"array","items":{"$ref":"#/definitions/CFB"}},"calculate_new_path_radius":{"title":"Calculate New Path Radius","type":"number","default":2.0,"description":"Distance in blocks that the mob is considered close enough to the end of the current path. A new path will then be calculated to continue toward home."}},"examples":[{"goal_radius":0.5,"interval":120}]},"DEJ":{"type":"object","title":"Guardian Attack","description":"Allows this entity to use a laser beam attack. Can only be used by Guardians and Elder Guardians.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"elder_extra_magic_damage":{"title":"Elder Extra Magic Damage","type":"integer","default":2,"description":"Amount of additional damage dealt from an elder guardian's magic attack."},"hard_mode_extra_magic_damage":{"title":"Hard Mode Extra Magic Damage","type":"integer","default":2,"description":"In hard difficulty, amount of additional damage dealt from a guardian's magic attack."},"magic_damage":{"title":"Magic Damage","type":"integer","default":1,"description":"Amount of damage dealt from a guardian's magic attack. Magic attack damage is added to the guardian's base attack damage."},"min_distance":{"title":"Min Distance","type":"number","default":3,"description":"Guardian attack behavior stops if the target is closer than this distance (doesn't apply to elders)."},"sound_delay_time":{"title":"Sound Delay Time","type":"number","default":0.5,"description":"Time (in seconds) to wait after starting an attack before playing the guardian attack sound."},"x_max_rotation":{"title":"X Max Rotation","type":"number","default":90,"description":"Maximum rotation (in degrees), on the X-axis, this entity can rotate while trying to look at the target."},"y_max_head_rotation":{"title":"Y Max Head Rotation","type":"number","default":90,"description":"Maximum rotation (in degrees), on the Y-axis, this entity can rotate its head while trying to look at the target."}}},"DFA":{"type":"object","title":"Harvest Farm Block","description":"Allows the entity to search within an area for farmland with air above it. If found, the entity will replace the air block by planting a seed item from its inventory on the farmland block. This goal requires \"minecraft:inventory\" and \"minecraft:navigation\" to execute. This goal will not execute if the entity does not have an item in its inventory.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"max_seconds_before_search":{"title":"Maximum Seconds Before Search","type":"number","default":1.0,"description":"The maximum amount of time in seconds that the goal can take before searching for the first harvest block. The time is chosen between 0 and this number."},"search_cooldown_max_seconds":{"title":"Search Cooldown Maximum Seconds","type":"number","default":8.0,"description":"The maximum amount of time in seconds that the goal can take before searching again, after failing to find a a harvest block already. The time is chosen between 0 and this number."},"search_count":{"title":"Search Count","type":"integer","default":0,"description":"The number of randomly selected blocks each tick that the entity will check within its search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick."},"search_height":{"title":"Search Height","type":"integer","default":1,"description":"The height in blocks the entity will search within to find a valid target position."},"search_range":{"title":"Search Range","type":"integer","default":16,"description":"The distance in blocks the entity will search within to find a valid target position."},"seconds_until_new_task":{"title":"Seconds Until New Task","type":"number","default":0.5,"description":"The amount of time in seconds that the goal will cooldown after a successful reap/sow, before it can start again."}},"examples":[{"max_seconds_before_search":0.0,"search_cooldown_max_seconds":0.0,"seconds_until_new_task":0.0}]},"DFB":{"type":"object","title":"Hide","additionalProperties":false,"description":"Allows a mob with the hide component to attempt to move to - and hide at - an owned or nearby POI.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"duration":{"type":"number","default":1,"description":"Amount of time in seconds that the mob reacts.","title":"Duration"},"poi_type":{"type":"string","default":"","description":"Defines what POI type to hide at.","title":"Point Of Interest Type","examples":["bed"]},"timeout_cooldown":{"type":"number","default":8,"description":"The cooldown time in seconds before the goal can be reused after a internal failure or timeout condition.","title":"Timeout Cooldown"}},"examples":[{"duration":1,"poi_type":"","timeout_cooldown":8}]},"DFC":{"type":"object","title":"Hold Ground","description":"The mob freezes and looks at the mob they are targeting.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"broadcast":{"type":"boolean","default":false,"description":"Whether to broadcast out the mob's target to other mobs of the same type.","title":"Broadcast"},"broadcast_range":{"type":"number","default":0.0,"description":"Range in blocks for how far to broadcast.","title":"Broadcast Range"},"min_radius":{"type":"number","default":10.0,"description":"Minimum distance the target must be for the mob to run this goal.","title":"Minimum Radius"},"within_radius_event":{"$ref":"#/definitions/CFB","description":"Event to run when target is within the radius. This event is broadcasted if broadcast is true.","title":"Within Radius Event"}},"examples":[{"broadcast":false,"broadcast_range":0.0,"min_radius":10.0}]},"DFD":{"type":"object","title":"Hurt By Target","additionalProperties":false,"description":"Allows the mob to target another mob that hurts them.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"entity_types":{"$ref":"#/definitions/CJG","description":"List of entity types that this mob can target if they hurt their owner.","title":"Entity Types"},"alert_same_type":{"type":"boolean","default":false,"description":"If true, nearby mobs of the same type will be alerted about the damage.","title":"Alert Same Type"},"hurt_owner":{"type":"boolean","default":false,"description":"If true, the mob will hurt its owner and other mobs with the same owner as itself.","title":"Hurt Owner"}},"examples":[{"alert_same_type":false,"hurt_owner":false}]},"DFE":{"type":"object","title":"Inspect Bookshelf","additionalProperties":false,"description":"Allows the mob to inspect bookshelves.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"goal_radius":{"type":"number","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot","title":"Goal Radius"},"search_count":{"type":"integer","default":10,"description":"The number of blocks each tick that the mob will check within it's search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick","title":"Search Count"},"search_height":{"type":"integer","default":1,"description":"The height that the mob will search for bookshelves.","title":"Search Height"},"search_range":{"type":"integer","default":0,"description":"Distance in blocks the mob will look for books to inspect.","title":"Search Range"}},"examples":[{"goal_radius":0.5,"search_count":10,"search_height":1,"search_range":0}]},"DFF":{"type":"object","title":"Inspect Bookshelf","additionalProperties":false,"description":"Allows the mob to inspect bookshelves.","required":[],"properties":{"goal_radius":{"title":"Goal Radius","type":"number","default":1.5,"description":"Distance in blocks within the entity considers it has reached its target position."},"priority":{"title":"Priority","type":"integer","description":"The higher the priority, the sooner this behavior will be executed as a goal."},"speed_multiplier":{"title":"Speed Multiplier","type":"number","default":1,"description":"Movement speed multiplier."}}},"DFG":{"type":"object","title":"Jump To Block","description":"Allows an entity to jump to another random block.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"cooldown_range":{"title":"Cooldown Range","$ref":"#/definitions/BCF","default":[10,20],"description":"Minimum and maximum cooldown time-range (positive, in seconds) between each attempted jump."},"forbidden_blocks":{"title":"Forbidden Blocks","type":"array","description":"Blocks that the mob can't jump to.","items":{"$ref":"#/definitions/J"}},"max_velocity":{"title":"Max Velocity","type":"number","default":1.5,"description":"The maximum velocity with which the mob can jump."},"minimum_distance":{"title":"Minimum Distance","type":"integer","default":2,"description":"The minimum distance (in blocks) from the mob to a block, in order to consider jumping to it."},"minimum_path_length":{"title":"Minimum Path Length","type":"integer","default":5,"description":"The minimum length (in blocks) of the mobs path to a block, in order to consider jumping to it."},"preferred_blocks":{"title":"Preferred Blocks","type":"array","description":"Blocks that the mob prefers jumping to.","items":{"$ref":"#/definitions/J"}},"preferred_blocks_chance":{"title":"Preferred Blocks Chance","type":"number","default":1.0,"description":"Chance (between 0.0 and 1.0) that the mob will jump to a preferred block, if in range. Only matters if preferred blocks are defined."},"scale_factor":{"title":"Scale Factor","type":"number","default":0.7,"description":"The scalefactor of the bounding box of the mob while it is jumping."},"search_height":{"title":"Search Height","type":"integer","default":10,"description":"The height (in blocks, in range [2, 15]) of the search box, centered around the mob."},"search_width":{"title":"Search Width","type":"integer","default":8,"description":"The width (in blocks, in range [2, 15]) of the search box, centered around the mob."}},"examples":[{"search_width":8,"search_height":10,"minimum_path_length":5,"minimum_distance":5,"scale_factor":0.7,"cooldown_range":[]}]},"DFH":{"description":"Allows the mob to perform a damaging knockback that affects all nearby entities.","type":"object","title":"Knockback Roar","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"attack_time":{"title":"Attack Time","type":"number","default":0.5,"description":"The delay after which the knockback occurs (in seconds)."},"cooldown_time":{"title":"Cooldown Time","type":"number","default":0,"description":"Time in seconds the mob has to wait before using the goal again."},"damage_filters":{"$ref":"#/definitions/BD","description":"The list of conditions another entity must meet to be a valid target to apply damage to.","title":"Damage Filters"},"duration":{"type":"number","default":1,"description":"The duration of the roar (in seconds).","title":"Duration"},"knockback_damage":{"type":"integer","default":6,"description":"The damage dealt by the knockback roar.","title":"Knockback Damage"},"knockback_strength":{"type":"integer","default":4,"description":"The strength of the knockback.","title":"Knockback Strength"},"knockback_filters":{"$ref":"#/definitions/BD","description":"The list of conditions another entity must meet to be a valid target to apply knockback to.","title":"Knockback Filters"},"knockback_horizontal_strength":{"type":"integer","default":4,"description":"The strength of the horizontal knockback.","title":"Knockback Horizontal Strength"},"knockback_range":{"type":"integer","default":4,"description":"The radius (in blocks) of the knockback effect.","title":"Knockback Range"},"knockback_vertical_strength":{"type":"integer","default":4,"description":"The strength of the vertical knockback.","title":"Knockback Vertical Strength"},"knockback_height_cap":{"title":"Knockback Height Cap","type":"number","default":0.4,"description":"The maximum height for vertical knockback."},"track_target":{"type":"boolean","default":false,"description":"If true, this mob will chase after the target as long as it's a valid target.","title":"Track Target"},"on_roar_end":{"$ref":"#/definitions/CFB","description":"Event that is triggered when the roar ends.","title":"On Roar End"}},"examples":[{"attack_time":0.5,"cooldown_time":0,"duration":1,"knockback_damage":6,"knockback_horizontal_strength":4,"knockback_range":4,"knockback_vertical_strength":4,"track_target":false,"knockback_strength":4}]},"DFI":{"description":"Allows mobs to lay down at times.","type":"object","title":"Lay Down","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"interval":{"type":"integer","default":120,"description":"A random value to determine at what intervals something can occur. This has a 1/interval chance to choose this goal","title":"Interval"},"random_stop_interval":{"type":"integer","default":120,"description":"A random value in which the goal can use to pull out of the behavior. This is a 1/interval chance to play the sound","title":"Random Stop Interval"}},"examples":[{"interval":120,"random_stop_interval":120}]},"DFJ":{"description":"Allows the mob to lay an egg block on a sand block if the mob is pregnant.","type":"object","title":"Lay Egg","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"allow_laying_from_below":{"title":"Allow Laying From Below","type":"boolean","default":false,"description":"[EXPERIMENTAL] Allows the mob to lay its eggs from below the target if it can't get there. This is useful if the target block is water with air above, since mobs may not be able to get to the air block above water."},"egg_type":{"title":"Egg Type","$ref":"#/definitions/J","default":"minecraft:turtle_egg","description":"[EXPERIMENTAL] Block type for the egg to lay. If this is a turtle egg, the number of eggs in the block is randomly set."},"goal_radius":{"title":"Goal Radius","type":"number","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the \"wiggle room\" to stop the AI from bouncing back and forth trying to reach a specific spot"},"lay_egg_sound":{"title":"Lay Egg Sound","$ref":"#/definitions/BAB","default":"lay_egg","description":"[EXPERIMENTAL] Sound event name for laying egg. Defaulted to lay_egg which is used for Turtles."},"lay_seconds":{"title":"Lay Seconds","type":"number","default":10.0,"description":"[EXPERIMENTAL] Duration of the laying egg process in seconds."},"on_lay":{"title":"On Lay","$ref":"#/definitions/BAI","description":"Event to run when this mob lays the egg."},"search_height":{"title":"Search Height","type":"integer","default":1,"description":"Height in blocks the mob will look for a target block to move towards."},"search_range":{"title":"Search Range","type":"integer","default":0,"description":"The distance in blocks it will look for a target block to move towards."},"target_blocks":{"title":"Target Blocks","type":"array","default":["minecraft:sand"],"items":{"title":"Block ID","$ref":"#/definitions/J"},"description":"[EXPERIMENTAL] Blocks that the mob can lay its eggs on top of."},"target_materials_above_block":{"title":"Target Materials Above Block","type":"array","default":["Air"],"enum":["Air","Any","Lava","Water"],"description":"[EXPERIMENTAL] Types of materials that can exist above the target block. Valid types are Air, Water, and Lava."},"use_default_animation":{"title":"Use Default Animation","type":"boolean","default":true,"description":"[EXPERIMENTAL] Specifies if the default lay-egg animation should be played when the egg is placed or not."}},"examples":[{"goal_radius":0.5,"search_height":1,"search_range":0}]},"DGA":{"description":"Allows monsters to jump at and attack their target. Can only be used by hostile mobs.","type":"object","title":"Leap At Target","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"must_be_on_ground":{"type":"boolean","default":true,"description":"If true, the mob will only jump at its target if its on the ground. Setting it to false will allow it to jump even if its already in the air","title":"Must Be On Ground"},"set_persistent":{"type":"boolean","default":false,"description":"Allows the actor to be set to persist upon targeting a player.","title":"Set Persistent"},"yd":{"type":"number","default":0.0,"description":"The height in blocks the mob jumps when leaping at its target.","title":"Yd"},"target_dist":{"type":"number","default":0.3,"description":"Distance in blocks the mob jumps when leaping at its target.","title":"Target Dist"}},"examples":[{"must_be_on_ground":true,"set_persistent":false,"yd":0,"target_dist":0}]},"DGB":{"description":"Allows the mob to look at nearby entities.","type":"object","title":"Look At Entity","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"look_distance":{"type":"number","default":8.0,"description":"The distance in blocks from which the entity will look at.","title":"Look Distance"},"probability":{"type":"number","default":0.02,"description":"The probability of looking at the target. A value of 1.00 is 100%","title":"Probability"},"look_time":{"$ref":"#/definitions/BBB","default":[2,4],"description":"Time range to look at the entity.","title":"Look Time"},"angle_of_view_vertical":{"type":"integer","default":360,"description":"The angle in degrees that the mob can see in the X-axis (left-right).","title":"Angle Of View Vertical"},"angle_of_view_horizontal":{"type":"integer","default":360,"description":"The angle in degrees that the mob can see in the Y-axis (up-down).","title":"Angle Of View Horizontal"},"filters":{"description":"Filter to determine the conditions for this mob to look at the entity.","$ref":"#/definitions/BD"}},"examples":[{"look_distance":8.0,"probability":0.02,"angle_of_view_vertical":360,"angle_of_view_horizontal":360}]},"DGC":{"type":"object","title":"Look At Player","description":"Allows the mob to look at the player when the player is nearby.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"angle_of_view_vertical":{"title":"Angle Of View Vertical","type":"integer","default":360,"description":"The angle in degrees that the mob can see in the X-axis (left-right)."},"angle_of_view_horizontal":{"title":"Angle Of View Horizontal","type":"integer","default":360,"description":"The angle in degrees that the mob can see in the Y-axis (up-down)."},"look_distance":{"title":"Look Distance","type":"number","default":8.0,"description":"The distance in blocks from which the entity will look at."},"probability":{"title":"Probability","type":"number","default":0.02,"minimum":0,"description":"The probability of looking at the target. A value of 1.00 is 100%"},"look_time":{"title":"Look Time","type":"array","default":[2,4],"description":"Time range to look at the entity.","items":[{"type":"number","title":"Minimum","description":"The minimum amount of time to look."},{"type":"number","title":"Maximum","description":"The maximum amount of time to look."}]},"target_distance":{"title":"Target Distance","type":"number","default":6.0,"description":"The distance in blocks from which the entity will choose a target."}},"examples":[{"angle_of_view_vertical":360,"angle_of_view_horizontal":360,"look_distance":8.0,"probability":0.02,"look_time":[],"target_distance":6.0}]},"DGD":{"type":"object","title":"Look At Target","description":"Allows the mob to look at the entity they are targetting.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"look_distance":{"type":"number","default":8.0,"description":"The distance in blocks from which the entity will look at.","title":"Look Distance"},"probability":{"type":"number","default":0.02,"description":"The probability of looking at the target. A value of 1.00 is 100%","title":"Probability"},"look_time":{"$ref":"#/definitions/BBB","default":[2,4],"description":"Time range to look at the entity.","title":"Look Time"},"angle_of_view_vertical":{"type":"integer","default":360,"description":"The angle in degrees that the mob can see in the X-axis (left-right).","title":"Angle Of View Vertical"},"angle_of_view_horizontal":{"type":"integer","default":360,"description":"The angle in degrees that the mob can see in the Y-axis (up-down).","title":"Angle Of View Horizontal"}},"examples":[{"look_distance":8.0,"probability":0.02,"angle_of_view_vertical":360,"angle_of_view_horizontal":360}]},"DGE":{"type":"object","title":"Look At Trading Player","additionalProperties":false,"description":"Allows the mob to look at the player they are trading with.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"look_distance":{"type":"number","default":8.0,"description":"The distance in blocks from which the entity will look at.","title":"Look Distance"},"probability":{"type":"number","default":0.02,"description":"The probability of looking at the target. A value of 1.00 is 100%","title":"Probability"},"look_time":{"$ref":"#/definitions/BBB","default":[2,4],"description":"Time range to look at the entity.","title":"Look Time"},"angle_of_view_vertical":{"type":"integer","default":360,"description":"The angle in degrees that the mob can see in the X-axis (left-right).","title":"Angle Of View Vertical"},"angle_of_view_horizontal":{"type":"integer","default":360,"description":"The angle in degrees that the mob can see in the Y-axis (up-down).","title":"Angle Of View Horizontal"}},"examples":[{"look_distance":8.0,"probability":0.02,"angle_of_view_vertical":360,"angle_of_view_horizontal":360}]},"DGF":{"description":"Allows the villager to look for a mate to spawn other villagers with. Can only be used by Villagers.","type":"object","title":"Make Love","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"DGG":{"type":"object","title":"Melee Attack","description":"Allows the mob to use close combat melee attacks.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"attack_once":{"title":"Attack Once","type":"boolean","default":false,"description":"Allows the entity to use this attack behavior, only once EVER."},"attack_types":{"title":"Attack Types","type":"string","default":"N/A","description":"Defines the entity types this entity will attack."},"can_spread_on_fire":{"title":"Can Spread On Fire","type":"boolean","default":false,"description":"If the entity is on fire, this allows the entity's target to catch on fire after being hi"},"cooldown_time":{"title":"Cooldown Time","type":"number","default":1,"description":"Cooldown time (in seconds) between attacks."},"inner_boundary_time_increase":{"title":"Inner Boundary Time Increase","type":"number","default":0.25,"description":"Time (in seconds) to add to attack path recalculation when the target is beyond the \"path_inner_boundary\"."},"max_dist":{"title":"Max Dist","type":"number","description":"Unused. No effect on \"minecraft:behavior.melee_attack\"."},"max_path_time":{"title":"Max Path Time","type":"number","default":0.55,"description":"Maximum base time (in seconds) to recalculate new attack path to target (before increases applied)."},"melee_fov":{"title":"Melee Fov","type":"number","default":90,"description":"Field of view (in degrees) when using the sensing component to detect an attack target."},"min_path_time":{"title":"Min Path Time","type":"number","default":0.2,"description":"Minimum base time (in seconds) to recalculate new attack path to target (before increases applied)."},"on_attack":{"title":"On Attack","$ref":"#/definitions/BAI","description":"Defines the event to trigger when this entity successfully attacks."},"on_kill":{"title":"On Kill","$ref":"#/definitions/BAI","description":"Defines the event to trigger when this entity successfully kills."},"outer_boundary_time_increase":{"title":"Outer Boundary Time Increase","type":"number","default":0.5,"description":"Time (in seconds) to add to attack path recalculation when the target is beyond the \"path_outer_boundary\"."},"path_fail_time_increase":{"title":"Path Fail Time Increase","type":"number","default":0.75,"description":"Time (in seconds) to add to attack path recalculation when this entity cannot move along the current path."},"path_inner_boundary":{"title":"Path Inner Boundary","type":"number","default":16,"description":"Distance at which to increase attack path recalculation by \"inner_boundary_tick_increase\"."},"path_outer_boundary":{"title":"Path Outer Boundary","type":"number","default":32,"description":"Distance at which to increase attack path recalculation by \"outer_boundary_tick_increase\"."},"random_stop_interval":{"title":"Random Stop Interval","type":"integer","default":0,"description":"This entity will have a 1 in N chance to stop it's current attack, where N = \"random_stop_interval\"."},"reach_multiplier":{"title":"Reach Multiplier","type":"number","default":2,"description":"Used with the base size of the entity to determine minimum target-distance before trying to deal attack damage."},"require_complete_path":{"title":"Require Complete Path","type":"boolean","default":false,"description":"Toggles (on/off) the need to have a full path from the entity to the target when using this melee attack behavior."},"set_persistent":{"title":"Set Persistent","type":"boolean","default":false,"description":"Allows the actor to be set to persist upon targeting a player."},"target_dist":{"title":"Target Dist","type":"number","description":"Unused. No effect on \"minecraft:behavior.melee_attack\"."},"track_target":{"title":"Track Target","type":"boolean","default":false,"description":"Allows the entity to track the attack target, even if the entity has no sensing."},"x_max_rotation":{"title":"X Max Rotation","type":"number","default":30,"description":"Maximum rotation (in degrees), on the X-axis, this entity can rotate while trying to look at the target."},"y_max_head_rotation":{"title":"Y Max Head Rotation","type":"number","default":30,"description":"Maximum rotation (in degrees), on the Y-axis, this entity can rotate its head while trying to look at the target."}},"examples":[{"melee_fov":90.0,"track_target":false,"attack_types":"example","random_stop_interval":0,"reach_multiplier":2.0,"attack_once":false,"require_complete_path":false,"cooldown_time":0.0}]},"DGH":{"type":"object","title":"Melee Box Attack","description":"Permits an entity to deal damage through a melee attack with reach calculations based on bounding boxes.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"attack_once":{"title":"Attack Once","type":"boolean","default":false,"description":"Allows the entity to use this attack behavior, only once EVER."},"attack_types":{"title":"Attack Types","type":"string","default":"N/A","description":"Defines the entity types this entity will attack."},"can_spread_on_fire":{"title":"Can Spread On Fire","type":"boolean","default":false,"description":"If the entity is on fire, this allows the entity's target to catch on fire after being hi"},"cooldown_time":{"title":"Cooldown Time","type":"number","default":1,"description":"Cooldown time (in seconds) between attacks."},"horizontal_reach":{"title":"Horizontal Reach","type":"number","default":0.8,"description":"The attack reach of the entity will be a box with the size of the entity's bounds increased by this value in all horizontal directions."},"inner_boundary_time_increase":{"title":"Inner Boundary Time Increase","type":"number","default":0.25,"description":"Time (in seconds) to add to attack path recalculation when the target is beyond the \"path_inner_boundary\"."},"max_dist":{"title":"Max Dist","type":"number","description":"Unused. No effect on \"minecraft:behavior.melee_attack\"."},"max_path_time":{"title":"Max Path Time","type":"number","default":0.55,"description":"Maximum base time (in seconds) to recalculate new attack path to target (before increases applied)."},"melee_fov":{"title":"Melee Fov","type":"number","default":90,"description":"Field of view (in degrees) when using the sensing component to detect an attack target."},"min_path_time":{"title":"Min Path Time","type":"number","default":0.2,"description":"Minimum base time (in seconds) to recalculate new attack path to target (before increases applied)."},"on_attack":{"title":"On Attack","$ref":"#/definitions/BAI","description":"Defines the event to trigger when this entity successfully attacks."},"outer_boundary_time_increase":{"title":"Outer Boundary Time Increase","type":"number","default":0.5,"description":"Time (in seconds) to add to attack path recalculation when the target is beyond the \"path_outer_boundary\"."},"path_fail_time_increase":{"title":"Path Fail Time Increase","type":"number","default":0.75,"description":"Time (in seconds) to add to attack path recalculation when this entity cannot move along the current path."},"path_inner_boundary":{"title":"Path Inner Boundary","type":"number","default":16,"description":"Distance at which to increase attack path recalculation by \"inner_boundary_tick_increase\"."},"path_outer_boundary":{"title":"Path Outer Boundary","type":"number","default":32,"description":"Distance at which to increase attack path recalculation by \"outer_boundary_tick_increase\"."},"random_stop_interval":{"title":"Random Stop Interval","type":"integer","default":0,"description":"This entity will have a 1 in N chance to stop it's current attack, where N = \"random_stop_interval\"."},"reach_multiplier":{"title":"Reach Multiplier","type":"number","default":2,"description":"Used with the base size of the entity to determine minimum target-distance before trying to deal attack damage."},"require_complete_path":{"title":"Require Complete Path","type":"boolean","default":false,"description":"Toggles (on/off) the need to have a full path from the entity to the target when using this melee attack behavior."},"set_persistent":{"title":"Set Persistent","type":"boolean","default":false,"description":"Allows the actor to be set to persist upon targeting a player."},"target_dist":{"title":"Target Dist","type":"number","description":"Unused. No effect on \"minecraft:behavior.melee_attack\"."},"track_target":{"title":"Track Target","type":"boolean","default":false,"description":"Allows the entity to track the attack target, even if the entity has no sensing."},"x_max_rotation":{"title":"X Max Rotation","type":"number","default":30,"description":"Maximum rotation (in degrees), on the X-axis, this entity can rotate while trying to look at the target."},"y_max_head_rotation":{"title":"Y Max Head Rotation","type":"number","default":30,"description":"Maximum rotation (in degrees), on the Y-axis, this entity can rotate its head while trying to look at the target."}},"examples":[{"melee_fov":90.0,"track_target":false,"attack_types":"example","random_stop_interval":0,"reach_multiplier":2.0,"attack_once":false,"require_complete_path":false,"cooldown_time":0.0}]},"DGI":{"description":"Allows an entity to go to the village bell and mingle with other entities.","type":"object","title":"Mingle","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"cooldown_time":{"type":"number","default":0,"description":"Time in seconds the mob has to wait before using the goal again.","title":"Cooldown Time"},"duration":{"type":"number","default":1,"description":"Amount of time in seconds that the entity will chat with another entity.","title":"Duration"},"mingle_distance":{"type":"number","default":2.0,"description":"The distance from its partner that this entity will mingle. If the entity type is not the same as the entity, this value needs to be identical on both entities.","title":"Mingle Distance"},"mingle_partner_type":{"description":"The entity type that this entity is allowed to mingle with.","title":"Mingle Partner Type","oneOf":[{"type":"array","items":{"description":"The entity type that this entity is allowed to mingle with.","type":"string"}},{"type":"string"}]}},"examples":[{"cooldown_time":0,"duration":1,"mingle_distance":2.0}]},"DGJ":{"type":"object","title":"Mount Pathing","description":"Allows the mob to move around on its own while mounted seeking a target to attack.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"target_dist":{"type":"number","default":0.0,"description":"The distance at which this mob wants to be away from its target.","title":"Target Dist"},"track_target":{"type":"boolean","default":false,"description":"If true, this mob will chase after the target as long as it's a valid target.","title":"Track Target"}},"examples":[{"target_dist":0.0,"track_target":false}]},"DHA":{"description":"Can only be used by Villagers. Allows them to seek shelter indoors.","type":"object","title":"Move Indoors","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"timeout_cooldown":{"type":"number","default":8,"description":"The cooldown time in seconds before the goal can be reused after pathfinding fails.","title":"Timeout Cooldown"}},"examples":[{"timeout_cooldown":8}]},"DHB":{"additionalProperties":false,"type":"object","title":"Move Outdoors","$comment":"UNDOCUMENTED","description":"Forces the entity to move `outside`, whatever that means.","properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"goal_radius":{"title":"Goal Radius","type":"number","default":0.5,"description":"The radius away from the target block to count as reaching the goal."},"search_count":{"title":"Search Count","type":"integer","default":0.0,"description":"The amount of times to try finding a random outdoors position before failing."},"search_height":{"title":"Search Height","type":"integer","default":0.0,"description":"The y range to search for an outdoors position for."},"search_range":{"title":"Search Range","type":"integer","default":0.0,"description":"The x and z range to search for an outdoors position for."},"timeout_cooldown":{"title":"Timeout Cooldown","type":"number","default":8000000,"description":"The cooldown time in seconds before the goal can be reused after pathfinding fails."}}},"DHC":{"type":"object","title":"Move Through Village","description":"Can only be used by Villagers. Allows the villagers to create paths around the village.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"only_at_night":{"type":"boolean","default":false,"description":"If true, the mob will only move through the village during night time.","title":"Only At Night"}},"examples":[{"only_at_night":false}]},"DHD":{"type":"object","title":"Move To Block","additionalProperties":false,"description":"Allows mob to move towards a block.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"goal_radius":{"title":"Goal Radius","type":"number","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the \"wiggle room\" to stop the AI from bouncing back and forth trying to reach a specific spot"},"on_stay_completed":{"title":"On Stay Completed","description":"Event to run on completing a stay of stay_duration at the block.","oneOf":[{"type":"array","items":{"$ref":"#/definitions/BAI"}},{"$ref":"#/definitions/BAI"}]},"on_reach":{"title":"On Reach","description":"Event to run on block reached.","oneOf":[{"type":"array","items":{"$ref":"#/definitions/BAI"}},{"$ref":"#/definitions/BAI"}]},"start_chance":{"title":"Start Chance","type":"number","default":1.0,"description":"Chance to start the behavior (applied after each random tick_interval)."},"search_range":{"title":"Search Range","type":"integer","default":0,"description":"The distance in blocks that the mob will look for the block."},"search_height":{"title":"Search Height","type":"integer","default":1,"description":"The height in blocks that the mob will look for the block."},"stay_duration":{"title":"Stay Duration","type":"number","default":0.0,"description":"Number of ticks needed to complete a stay at the block."},"target_selection_method":{"title":"Target Selection Method","type":"string","default":"nearest","description":"Kind of block to find fitting the specification. Valid values are \"random\" and \"nearest\".","enum":["random","nearest"]},"target_offset":{"title":"Target Offset","type":"array","default":[0,0,0],"description":"Offset to add to the selected target position.","items":[{"type":"number","title":"X"},{"type":"number","title":"Y"},{"type":"number","title":"Z"}]},"target_blocks":{"type":"array","title":"Target Blocks","description":"Block types to move to.","items":{"$ref":"#/definitions/J"}},"target_block_filters":{"title":"Target Block Filters","description":"Filters to apply on the target blocks. Target blocks are only valid if the filters are true.","$comment":"UNDOCUMENTED","$ref":"#/definitions/BD"},"tick_interval":{"title":"Tick Interval","type":"integer","default":20,"description":"Average interval in ticks to try to run this behavior."}},"examples":[{"start_chance":1,"search_range":32,"goal_radius":3,"stay_duration":2,"target_blocks":["minecraft:chest"]}]},"DHE":{"description":"Allows the mob to move back onto land when in water.","type":"object","title":"Move To Land","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"goal_radius":{"type":"number","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot","title":"Goal Radius"},"search_count":{"type":"integer","default":10,"description":"The number of blocks each tick that the mob will check within it's search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick","title":"Search Count"},"search_height":{"type":"integer","default":1,"description":"Height in blocks the mob will look for land to move towards.","title":"Search Height"},"search_range":{"type":"integer","default":0,"description":"The distance in blocks it will look for land to move towards.","title":"Search Range"}},"examples":[{"goal_radius":0.5,"search_count":10,"search_height":1,"search_range":0}]},"DHF":{"type":"object","title":"Move To Lava","description":"Allows the mob to move back into lava when on land.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"goal_radius":{"type":"number","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot","title":"Goal Radius"},"search_count":{"type":"integer","default":10,"description":"The number of blocks each tick that the mob will check within it's search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick","title":"Search Count"},"search_height":{"type":"integer","default":1,"description":"Height in blocks the mob will look for lava to move towards.","title":"Search Height"},"search_range":{"type":"integer","default":0,"description":"The distance in blocks it will look for lava to move towards.","title":"Search Range"}},"examples":[{"goal_radius":0.5,"search_count":10,"search_height":1,"search_range":0}]},"DHG":{"type":"object","title":"Move To Liquid","description":"Allows the mob to move into a liquid when on land.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"goal_radius":{"type":"number","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot","title":"Goal Radius"},"search_count":{"type":"integer","default":10,"description":"The number of blocks each tick that the mob will check within it's search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick","title":"Search Count"},"search_height":{"type":"integer","default":1,"description":"Height in blocks the mob will look for lava to move towards.","title":"Search Height"},"search_range":{"type":"integer","default":0,"description":"The distance in blocks it will look for lava to move towards.","title":"Search Range"},"material_type":{"title":"Material Type","description":"The material type of the liquid block to find. Valid values are 'Any', 'Water', and 'Lava'.","default":"Any","enum":["Air","Any","Lava","Water"],"type":"string"}},"examples":[{"goal_radius":0.5,"search_count":10,"search_height":1,"search_range":0,"material_type":"example"}]},"DHH":{"type":"object","title":"Move To Poi","additionalProperties":false,"description":"Allows the mob to move to a POI if able to.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"poi_type":{"type":"string","description":"Tells the goal what POI type it should be looking for.","title":"Point Of Interest Type","enum":["bed","jobsite","meeting_area"]}},"examples":[{"poi_type":"example"}]},"DHI":{"type":"object","title":"Move To Random Block","description":"Allows mob to move towards a random block.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"block_distance":{"type":"number","default":16,"description":"Defines the distance from the mob, in blocks, that the block to move to will be chosen.","title":"Block Distance"},"within_radius":{"type":"number","default":0,"description":"Defines the distance in blocks the mob has to be from the block for the movement to be finished.","title":"Within Radius"}},"examples":[{"block_distance":16,"within_radius":0}]},"DHJ":{"type":"object","title":"Move To Village","additionalProperties":false,"description":"Allows the mob to move into a random location within a village.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"cooldown_time":{"type":"number","default":0,"description":"Time in seconds the mob has to wait before using the goal again.","title":"Cooldown Time"},"goal_radius":{"type":"number","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot","title":"Goal Radius"},"search_range":{"type":"integer","default":0,"description":"The distance in blocks to search for villages. If <= 0, find the closest village regardless of distance.","title":"Search Range"}},"examples":[{"cooldown_time":0,"goal_radius":0.5,"search_range":0}]},"DIA":{"type":"object","title":"Move To Water","additionalProperties":false,"description":"Allows the mob to move back into water when on land.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"search_range":{"type":"integer","default":0,"description":"The distance in blocks it will look for water to move towards.","title":"Search Range"},"search_height":{"type":"integer","default":1,"description":"Height in blocks the mob will look for water to move towards.","title":"Search Height"},"search_count":{"type":"integer","default":10,"description":"The number of blocks each tick that the mob will check within it's search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick","title":"Search Count"},"goal_radius":{"type":"number","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot","title":"Goal Radius"}},"examples":[{"search_range":0,"search_height":1,"search_count":10,"goal_radius":0.5}]},"DIB":{"type":"object","title":"Move Towards Dwelling Restriction","additionalProperties":false,"description":"Allows mobs with the dweller component to move toward their Village area that the mob should be restricted to.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"}}},"DIC":{"type":"object","title":"Move Towards Home Restriction","description":"Allows mobs with the home component to move toward their pre-defined area that the mob should be restricted to.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"}}},"DID":{"type":"object","title":"Move Towards Restriction","additionalProperties":false,"description":"Allows Guardians, Iron Golems and Villagers to move within their pre-defined area that the mob should be restricted to. Other mobs don't have a restriction defined.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"control_flags":{"type":"array","items":{"type":"string","enum":["move","look"],"description":"UNDOCUMENTED: control flags.","title":"Control Flags"},"description":"UNDOCUMENTED: control flags.","title":"Control Flags"}},"examples":[{"control_flags":[]}]},"DIE":{"type":"object","title":"Move Towards Target","additionalProperties":false,"description":"Allows mob to move towards its current target.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"within_radius":{"type":"number","default":0.0,"description":"Defines the radius in blocks that the mob tries to be from the target. A value of 0 means it tries to occupy the same block as the target","title":"Within Radius"}},"examples":[{"within_radius":0.0}]},"DIF":{"type":"object","title":"Nap","description":"Allows mobs to occassionally stop and take a nap under certain conditions.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"cooldown_max":{"title":"Cooldown Max","type":"number","default":0,"description":"Maximum time in seconds the mob has to wait before using the goal again."},"cooldown_min":{"title":"Cooldown Min","type":"number","default":0,"description":"Minimum time in seconds the mob has to wait before using the goal again."},"mob_detect_dist":{"title":"Mob Detect Dist","type":"number","default":6,"description":"The block distance in x and z that will be checked for mobs that this mob detects."},"mob_detect_height":{"title":"Mob Detect Height","type":"number","default":6,"description":"The block distance in y that will be checked for mobs that this mob detects."},"can_nap_filters":{"title":"Can Nap Filters","$ref":"#/definitions/BD","description":"The filters that need to be met for the nap to take place.","$comment":"UNDOCUMENTED"},"wake_mob_exceptions":{"title":"Wake Mob Exceptions","$ref":"#/definitions/BD","description":"Filters that can trigger the entity to wake up from it nap.","$comment":"UNDOCUMENTED"}},"examples":[{"cooldown_max":0,"cooldown_min":0,"mob_detect_dist":6,"mob_detect_height":6}]},"DIG_entity_type":{"type":"object","description":"A entity type.","properties":{"filters":{"$ref":"#/definitions/BD","description":"Conditions that make this target a valid type.","title":"Filters"},"max_dist":{"type":"number","default":16,"description":"To be a valid target choice, the target type cannot be farther away from this entity than `max_dist`.","title":"Maximum Dist"},"must_see":{"type":"boolean","default":false,"description":"Determines if target-validity requires this entity to be in range only, or both in range and in sight.","title":"Must See"},"must_see_forget_duration":{"type":"boolean","default":3,"description":"Time (in seconds) the target must not be seen by this entity to become invalid. Used only if `must_see` is true.","title":"Must See Forget Duration"}}},"DIG":{"type":"object","title":"Nearest Attackable Target","description":"Allows an entity to attack the closest target within a given subset of specific target types.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"entity_types":{"$ref":"#/definitions/CJG","description":"Filters which types of targets are valid for this entity","title":"Entity Types"},"attack_interval":{"type":"integer","default":0,"description":"Time range (in seconds) between searching for an attack target, range is in (0, `attack_interval`]. Only used if `attack_interval` is greater than 0, otherwise `scan_interval` is used.","title":"Attack Interval"},"attack_interval_min":{"type":"number","default":0,"description":"Alias for `attack_interval`; provides the same functionality as `attack_interval`.","title":"Attack Interval Min"},"attack_owner":{"type":"boolean","default":false,"description":"If true, this entity can attack its owner.","title":"Attack Owner"},"must_reach":{"type":"boolean","default":false,"description":"If true, this entity requires a path to the target.","title":"Must Reach"},"must_see":{"type":"boolean","default":false,"description":"Determines if target-validity requires this entity to be in range only, or both in range and in sight.","title":"Must See"},"must_see_forget_duration":{"type":"number","default":3,"description":"Time (in seconds) the target must not be seen by this entity to become invalid. Used only if `must_see` is true.","title":"Must See Forget Duration"},"persist_time":{"type":"number","default":0,"description":"Time (in seconds) this entity can continue attacking the target after the target is no longer valid.","title":"Persist Time"},"reselect_targets":{"type":"boolean","default":false,"description":"Allows the attacking entity to update the nearest target, otherwise a target is only reselected after each `scan_interval` or `attack_interval`.","title":"Reselect Targets"},"scan_interval":{"type":"integer","default":10,"description":"If `attack_interval` is 0 or isn't declared, then between attacks: scanning for a new target occurs every amount of ticks equal to `scan_interval`, minimum value is 1. Values under 10 can affect performance.","title":"Scan Interval"},"set_persistent":{"type":"boolean","default":false,"description":"Allows the actor to be set to persist upon targeting a player.","title":"Set Persistent"},"target_invisible_multiplier":{"type":"number","default":0.7,"description":"Multiplied with the target's armor coverage percentage to modify `max_dist` when detecting an invisible target.","title":"Target Invisible Multiplier"},"target_search_height":{"type":"number","default":-1,"description":"Maximum vertical target-search distance, if it's greater than the target type's `max_dist`. A negative value defaults to `entity_types` greatest `max_dist`.","title":"Target Search Height"},"target_sneak_visibility_multiplier":{"type":"number","default":0.8,"description":"Multiplied with the target type's `max_dist` when trying to detect a sneaking target.","title":"Target Sneak Visibility Multiplier"},"within_radius":{"type":"number","default":0,"description":"Maximum distance this entity can be from the target when following it, otherwise the target becomes invalid. This value is only used if the entity doesn't declare `minecraft:follow_range`.","title":"Within Radius"}},"examples":[{"attack_interval":0,"attack_interval_min":0,"attack_owner":false,"must_reach":false,"must_see":false,"must_see_forget_duration":3,"persist_time":0,"reselect_targets":false,"scan_interval":10,"set_persistent":false,"target_invisible_multiplier":0.7,"target_search_height":-1,"target_sneak_visibility_multiplier":0.8,"within_radius":0}]},"DIH":{"type":"object","title":"Nearest Prioritized Attackable Target","description":"Allows the mob to check for and pursue the nearest valid target.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"entity_types":{"$ref":"#/definitions/CJG","description":"List of entity types that this mob considers valid targets","title":"Entity Types"},"attack_interval":{"type":"integer","default":0,"description":"Time in seconds before selecting a target.","title":"Attack Interval"},"cooldown":{"title":"Cooldown","description":"The amount of time in seconds that the mob has to wait before selecting a target of the same type again","default":0.0,"type":"number"},"must_reach":{"type":"boolean","default":false,"description":"If true, only entities that this mob can path to can be selected as targets.","title":"Must Reach"},"must_see":{"type":"boolean","default":false,"description":"If true, only entities in this mob's viewing range can be selected as targets.","title":"Must See"},"must_see_forget_duration":{"type":"number","default":3,"description":"Determines the amount of time in seconds that this mob will look for a target before forgetting about it and looking for a new one when the target isn't visible any more.","title":"Must See Forget Duration"},"persist_time":{"type":"number","default":0.0,"description":"Time in seconds for a valid target to stay targeted when it becomes and invalid target.","title":"Persist Time"},"reselect_targets":{"type":"boolean","default":false,"description":"If true, the target will change to the current closest entity whenever a different entity is closer.","title":"Reselect Targets"},"reevaluate_description":{"title":"Reevaluate Description","type":"boolean","default":false,"description":"If true, the mob will stop being targeted if it stops meeting any conditions."},"scan_interval":{"type":"integer","default":10,"description":"How many ticks to wait between scanning for a target.","title":"Scan Interval"},"set_persistent":{"type":"boolean","default":false,"description":"Allows the actor to be set to persist upon targeting a player.","title":"Set Persistent"},"target_search_height":{"type":"number","default":-1.0,"description":"Height in blocks to search for a target mob. -1.0f means the height does not matter.","title":"Target Search Height"},"within_radius":{"type":"number","default":0,"description":"Distance in blocks that the target can be within to launch an attack.","title":"Within Radius"}},"examples":[{"attack_interval":0,"must_reach":false,"must_see":false,"must_see_forget_duration":3,"persist_time":0.0,"reselect_targets":false,"scan_interval":10,"set_persistent":false,"target_search_height":-1.0,"within_radius":0}]},"DII":{"additionalProperties":false,"description":"Allows an entity to sit in place, similar to the ocelot entity animation pose.","type":"object","title":"Ocelot Sit On Block","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"}}},"DIJ":{"type":"object","title":"Ocelotattack","additionalProperties":false,"description":"Can only be used by the Ocelot. Allows it to perform the sneak and pounce attack.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"cooldown_time":{"title":"Cooldown Time","type":"number","default":1,"description":"Time (in seconds) between attacks."},"max_distance":{"title":"Max Distance","type":"number","default":15,"description":"Max distance from the target, this entity will use this attack behavior."},"max_sneak_range":{"title":"Max Sneak Range","type":"number","default":15,"description":"Max distance from the target, this entity starts sneaking."},"max_sprint_range":{"title":"Max Sprint Range","type":"number","default":4,"description":"Max distance from the target, this entity starts sprinting (sprinting takes priority over sneaking)."},"reach_multiplier":{"title":"Reach Multiplier","type":"number","default":2,"description":"Used with the base size of the entity to determine minimum target-distance before trying to deal attack damage."},"sneak_speed_multiplier":{"title":"Sneak Speed Multiplier","type":"number","default":0.6,"description":"Modifies the attacking entity's movement speed while sneaking."},"sprint_speed_multiplier":{"title":"Sprint Speed Multiplier","type":"number","default":1.33,"description":"Modifies the attacking entity's movement speed while sprinting."},"walk_speed_multiplier":{"title":"Walk Speed Multiplier","type":"number","default":0.8,"description":"Modifies the attacking entity's movement speed when not sneaking or sprinting, but still within attack range."},"x_max_rotation":{"title":"X Max Rotation","type":"number","default":30,"description":"Maximum rotation (in degrees), on the X-axis, this entity can rotate while trying to look at the target."},"y_max_head_rotation":{"title":"Y Max Head Rotation","type":"number","default":30,"description":"Maximum rotation (in degrees), on the Y-axis, this entity can rotate its head while trying to look at the target."}},"examples":[{"walk_speed_multiplier":1.0,"sprint_speed_multiplier":1.0,"sneak_speed_multiplier":1.0,"cooldown_time":0.0,"x_max_rotation":0.0,"y_max_head_rotation":0.0,"max_distance":0.0,"max_sneak_range":0.0,"max_sprint_range":0.0,"reach_multiplier":0.0}]},"DJA":{"type":"object","title":"Offer Flower","additionalProperties":false,"description":"Allows the mob to offer the player a flower like the Iron Golem does.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"chance_to_start":{"title":"Chance To Start","type":"number","default":0.0,"description":"Percent chance that the mob will start this goal from 0.0 to 1.0 (where 1.0 = 100%)."},"filters":{"title":"Filters","$ref":"#/definitions/BD","description":"Conditions that need to be met for the behavior to start."},"max_head_rotation_y":{"title":"Max Head Rotation Y","type":"number","default":30,"description":"Maximum rotation (in degrees), on the Y-axis, this entity can rotate its head while trying to look at the target."},"max_offer_flower_duration":{"title":"Max Offer Flower Duration","type":"number","default":20.0,"description":"The max amount of time (in seconds) that the mob will offer the flower for before exiting the Goal."},"max_rotation_x":{"title":"Max Rotation X","type":"number","default":30,"description":"Maximum rotation (in degrees), on the X-axis, this entity can rotate while trying to look at the target."},"search_area":{"title":"Search Area","default":[6,2,6],"description":"The dimensions of the AABB used to search for a potential mob to offer flower to.","$ref":"#/definitions/CFA"}}},"DJB":{"type":"object","title":"Open Door","additionalProperties":false,"description":"Allows the mob to open doors. Requires the mob to be able to path through doors, otherwise the mob won't even want to try opening them.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"close_door_after":{"type":"boolean","default":true,"description":"If true, the mob will close the door after opening it and going through it.","title":"Close Door After"}},"examples":[{"close_door_after":true}]},"DJC":{"type":"object","title":"Owner Hurt By Target","additionalProperties":false,"description":"Allows the mob to target another mob that hurts their owner.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"entity_types":{"$ref":"#/definitions/CJG","description":"List of entity types that this mob can target if they hurt their owner.","title":"Entity Types"}}},"DJD":{"type":"object","title":"Owner Hurt Target","additionalProperties":false,"description":"Allows the mob to target a mob that is hurt by their owner.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"entity_types":{"$ref":"#/definitions/CJG","description":"List of entity types that this entity can target if the potential target is hurt by this mob's owner.","title":"Entity TYpes"}}},"DJE":{"description":"Allows the mob to enter the panic state, which makes it run around and away from the damage source that made it enter this state.","type":"object","title":"Panic","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"damage_sources":{"title":"Damage Sources","type":"array","items":{"$ref":"#/definitions/DA"},"default":[["all"]],"description":"The list of Entity Damage Sources that will cause this mob to panic."},"force":{"title":"Force","type":"boolean","default":false,"description":"If true, this mob will not stop panicking until it can't move anymore or the goal is removed from it."},"ignore_mob_damage":{"title":"Ignore Mob Damage","type":"boolean","default":false,"description":"If true, the mob will not panic in response to damage from other mobs. This overrides the damage types in `damage_sources`"},"prefer_water":{"title":"Prefer Water","type":"boolean","default":false,"description":"If true, the mob will prefer water over land."},"panic_sound":{"title":"Panic Sound","$ref":"#/definitions/BAB","description":"The sound event to play when this mob is in panic."},"sound_interval":{"title":"Sound Interval","type":"object","description":"The range of time in seconds to randomly wait before playing the sound again.","properties":{"range_min":{"type":"number","description":"The minimum time in seconds before the `panic_sound` plays.","title":"Range Minimum"},"range_max":{"type":"number","description":"The maximum time in seconds before the `panic_sound` plays.","title":"Range Maximum"}},"additionalProperties":false}},"examples":[{"damage_sources":[],"force":false,"ignore_mob_damage":false,"prefer_water":false,"panic_sound":"example","sound_interval":{}}]},"DJF":{"description":"Allows the mob to peek out. This is what the shulker uses to look out of its shell.","type":"object","title":"Peek","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"DJG":{"description":"Allows the mob to be tempted by food they like.","type":"object","title":"Pet Sleep With Owner","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"goal_radius":{"title":"Goal Radius","type":"number","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the \"wiggle room\" to stop the AI from bouncing back and forth trying to reach a specific spot"},"search_height":{"title":"Search Height","type":"integer","default":1,"description":"Height in blocks from the owner the pet can be to sleep with owner."},"search_radius":{"title":"Search Radius","type":"integer","default":10,"description":"The radius that the mob will search for an owner to curl up with."},"search_range":{"title":"Search Range","type":"integer","default":10,"description":"The range that the mob will search for an owner to curl up with."}},"examples":[{"goal_radius":0.5,"search_height":1,"search_range":0,"search_radius":0}]},"DJH":{"description":"Allows the mob to pick up items on the ground.","additionalProperties":false,"type":"object","title":"Pickup Items","properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"can_pickup_any_item":{"type":"boolean","default":false,"description":"If true, the mob can pickup any item.","title":"Can Pickup Any Item"},"can_pickup_to_hand_or_equipment":{"type":"boolean","default":true,"description":"If true, the mob can pickup items to its hand or armor slots.","title":"Can Pickup To Hand Or Equipment"},"cooldown_after_being_attacked":{"type":"number","default":20.0,"description":"Amount of time an offended entity needs before being willing to pick up items.","title":"Cooldown After Being Attacked"},"excluded_items":{"title":"Excluded Items","description":"List of items this mob will not pick up.","type":"array","items":{"title":"Excluded Item","$ref":"#/definitions/J"}},"goal_radius":{"type":"number","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot.","title":"Goal Radius"},"max_dist":{"type":"number","default":0.0,"description":"Maximum distance this mob will look for items to pick up.","title":"Maximum Dist"},"search_height":{"title":"Search Height","type":"number","default":0,"description":"Height in blocks the mob will look for items to pick up.","$comment":"UNDOCUMENTED"},"pickup_based_on_chance":{"type":"boolean","default":false,"description":"If true, depending on the difficulty, there is a random chance that the mob may not be able to pickup items.","title":"Pickup Based On Chance"},"pickup_same_items_as_in_hand":{"type":"boolean","default":false,"description":"If true, the mob will pickup the same item as the item in its hand.","title":"Pickup Same Items As In Hand","$comment":"UNDOCUMENTED"},"track_target":{"type":"boolean","default":false,"description":"If true, this mob will chase after the target as long as it's a valid target.","title":"Track Target"}},"examples":[{"can_pickup_any_item":false,"can_pickup_to_hand_or_equipment":true,"cooldown_after_being_attacked":true,"excluded_items":[],"goal_radius":0.5,"max_dist":0,"pickup_based_on_chance":false,"track_target":false}]},"DJI":{"description":"Allows the mob to play dead when attacked by other entities. When playing dead, other entities will not target this mob.","type":"object","title":"Play Dead","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"apply_regeneration":{"title":"Apply Regeneration","type":"boolean","default":true,"description":"Whether the mob will receive the regeneration effect while playing dead."},"duration":{"title":"Duration","type":"number","default":1.0,"description":"The amount of time the mob will remain playing dead (in seconds)."},"filters":{"title":"Filters","description":"The list of other triggers that are required for the mob to activate play dead.","$ref":"#/definitions/BD"},"force_below_health":{"title":"Force Below Health","type":"integer","default":0,"description":"The amount of health at which damage will cause the mob to play dead."},"random_start_chance":{"title":"Random Start Chance","type":"number","default":1.0,"description":"The likelihood of this goal starting upon taking damage."},"random_damage_range":{"title":"Random Damage Range","description":"The range of damage that may cause the goal to start depending on randomness. Damage taken below the min will never cause the goal to start. Damage taken above the max will always cause the goal to start.","type":"array","items":[{"title":"Minimum","description":"Minimum.","type":"integer","minimum":0},{"title":"Maximum","description":"Maximum.","type":"integer","minimum":0}]},"damage_sources":{"title":"Damage Sources","description":"The list of Entity Damage Sources that will cause this mob to play dead.","default":["all"],"oneOf":[{"type":"string","$ref":"#/definitions/DA"},{"type":"array","items":{"title":"Damage Source","$ref":"#/definitions/DA"}}]}},"examples":[{"duration":0.0,"force_below_health":0.0,"random_start_chance":0.0,"random_damage_range":[],"apply_regeneration":true}]},"DJJ":{"description":"Allows the mob to play with other baby villagers. This can only be used by Villagers.","type":"object","title":"Play","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"chance_to_start":{"title":"Chance To Start","type":"number","default":0.0,"description":"Percent chance that the mob will start this goal, from 0 to 1."},"follow_distance":{"title":"Follow Distance","type":"integer","default":2,"description":"The distance (in blocks) that the mob tries to be in range of the friend it's following."},"friend_search_area":{"title":"Friend Search Area","default":[6,3,6],"$ref":"#/definitions/CFA","description":"The dimensions of the AABB used to search for a potential friend to play with."},"friend_types":{"title":"Friend Types","type":"array","description":"The entity type(s) to consider when searching for a potential friend to play with.","items":{"filters":{"title":"Filters","description":"UNDOCUMENTATED","$ref":"#/definitions/BD"}}},"max_play_duration_seconds":{"title":"Max Play Duration Seconds","type":"number","default":50.0,"description":"The max amount of seconds that the mob will play for before exiting the Goal."},"random_pos_search_height":{"title":"Random Pos Search Height","type":"integer","default":3,"description":"The height (in blocks) that the mob will search within to find a random position position to move to. Must be at least 1."},"random_pos_search_range":{"title":"Random Pos Search Range","type":"integer","default":16,"description":"The distance (in blocks) on ground that the mob will search within to find a random position to move to. Must be at least 1."}}},"EAA":{"description":"Allows the mob to be ridden by the player after being tamed.","type":"object","title":"Player Ride Tamed","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"EAB":{"description":"Allows the mob to eat/raid crops out of farms until they are full.","additionalProperties":false,"type":"object","title":"Raid Garden","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"blocks":{"title":"Blocks","type":"array","description":"Blocks that the mob is looking for to eat.","items":{"type":"string","title":"Block Id","description":"A block identifier.","$ref":"#/definitions/BCC"}},"eat_delay":{"title":"Eat Delay","type":"integer","default":2,"description":"Time in seconds between each time it eats."},"full_delay":{"title":"Full Delay","type":"integer","default":100,"description":"Amount of time in seconds before this mob wants to eat again."},"initial_eat_delay":{"title":"Initial Eat Delay","type":"integer","default":0,"description":"Time in seconds before starting to eat/raid once it arrives at it."},"goal_radius":{"type":"number","title":"Goal Radius","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot"},"max_to_eat":{"title":"Maximum To Eat","type":"integer","default":6,"description":"Maximum number of things this entity wants to eat."},"search_range":{"title":"Search Range","type":"integer","default":0,"description":"Distance in blocks the mob will look for crops to eat."},"search_height":{"title":"Search Height","type":"integer","default":0,"description":"Height in blocks the mob will look for crops to eat."}},"examples":[{"blocks":[],"eat_delay":2,"full_delay":100,"initial_eat_delay":0,"goal_radius":0.5,"max_to_eat":6,"search_range":0,"search_height":0}]},"EAC":{"description":"Allows the mob to search for a random target and, if a direct path exists between the mob and the target, it will perform a charge. If the attack hits, the target will be knocked back based on the mob's speed.","type":"object","title":"Ram Attack","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"baby_knockback_modifier":{"title":"Baby Knockback Modifier","type":"number","default":0.333333,"description":"The modifier to knockback that babies have."},"cooldown_range":{"title":"Cooldown Range","$ref":"#/definitions/BBB","default":[10,20],"description":"Minimum and maximum cooldown time-range (positive, in seconds) between each attempted ram attack."},"knockback_force":{"title":"Knockback Force","type":"number","default":5.0,"description":"The force of the knockback of the ram attack."},"knockback_height":{"title":"Knockback Height","type":"number","default":0.1,"description":"The height of the knockback of the ram attack."},"min_ram_distance":{"title":"Min Ram Distance","type":"number","default":0.0,"description":"The minimum distance at which the mob can start a ram attack."},"on_start":{"title":"On Start","$ref":"#/definitions/BAI","description":"The event to trigger when attacking."},"pre_ram_sound":{"title":"Pre Ram Sound","$ref":"#/definitions/BAB","default":"","description":"The sound to play when an entity is about to perform a ram attack."},"ram_distance":{"title":"Ram Distance","type":"number","default":0.0,"description":"The distance at which the mob start to run with ram speed."},"ram_impact_sound":{"title":"Ram Impact Sound","$ref":"#/definitions/BAB","default":"","description":"The sound to play when an entity is impacting on a ram attack."},"ram_speed":{"title":"Ram Speed","type":"number","default":2.0,"description":"Sets the entity's speed when charging toward the target."},"run_speed":{"title":"Run Speed","type":"number","default":1.0,"description":"Sets the entity's speed when running toward the target."},"trigger":{"description":"The event to trigger when attacking.","title":"Trigger","$ref":"#/definitions/BAI"}},"examples":[{"baby_knockback_modifier":4,"cooldown_range":[],"knockback_force":5,"knockback_height":0.1,"min_ram_distance":4,"pre_ram_sound":"example","ram_distance":7,"ram_impact_sound":"example","ram_speed":2,"run_speed":1}]},"EAD":{"description":"Allows the mob to randomly break surface of the water.","type":"object","title":"Random Breach","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"cooldown_time":{"type":"number","default":0,"description":"Time in seconds the mob has to wait before using the goal again.","title":"Cooldown Time"},"interval":{"type":"integer","default":120,"description":"A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal","title":"Interval"},"xz_dist":{"type":"integer","default":10,"description":"Distance in blocks on ground that the mob will look for a new spot to move to. Must be at least 1","title":"XZ Distance"},"y_dist":{"type":"integer","default":7,"description":"Distance in blocks that the mob will look up or down for a new spot to move to. Must be at least 1","title":"Y Distance"}},"examples":[{"cooldown_time":0,"interval":120,"xz_dist":10,"y_dist":7}]},"EAE":{"description":"Allows a mob to randomly fly around.","type":"object","title":"Random Fly","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"avoid_damage_blocks":{"type":"boolean","description":"If true, the mob will avoid blocks that cause damage.","$comment":"UNDOCUMENTED","title":"Avoid Damage Blocks"},"can_land_on_trees":{"type":"boolean","default":true,"description":"If true, the mob can stop flying and land on a tree instead of the ground.","title":"Can Land On Trees"},"xz_dist":{"type":"integer","default":10,"description":"Distance in blocks on ground that the mob will look for a new spot to move to. Must be at least 1","title":"Xz Dist"},"y_dist":{"type":"integer","default":7,"description":"Distance in blocks that the mob will look up or down for a new spot to move to. Must be at least 1","title":"Y Dist"},"y_offset":{"type":"integer","description":"Height in blocks to add to the selected target position.","$comment":"UNDOCUMENTED","title":"Y Offset"}},"examples":[{"avoid_damage_blocks":true,"can_land_on_trees":true,"xz_dist":10,"y_dist":7,"y_offset":0}]},"EAF":{"description":"Allows the mob to hover around randomly, close to the surface.","type":"object","title":"Random Hover","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"hover_height":{"title":"Hover Height","type":"array","description":"The height above the surface which the mob will try to maintain.","items":[{"type":"number"},{"type":"number"}]},"interval":{"type":"integer","default":120,"description":"A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal","title":"Interval"},"xz_dist":{"type":"integer","default":10,"description":"Distance in blocks on ground that the mob will look for a new spot to move to. Must be at least 1","title":"Xz Dist"},"y_dist":{"type":"integer","default":7,"description":"Distance in blocks that the mob will look up or down for a new spot to move to. Must be at least 1","title":"Y Dist"},"y_offset":{"type":"number","default":0,"description":"Height in blocks to add to the selected target position.","title":"Y Offset"}},"examples":[{"hover_height":[],"interval":120,"xz_dist":10,"y_dist":7,"y_offset":0}]},"EAG":{"description":"Allows the mob to randomly sit and look around for a duration. Note: Must have a sitting animation set up to use this.","type":"object","title":"Random Look Around And Sit","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"continue_if_leashed":{"title":"Continue If Leashed","type":"boolean","default":false,"description":"If the goal should continue to be used as long as the mob is leashed."},"continue_sitting_on_reload":{"title":"Continue Sitting On Reload","type":"boolean","default":false,"description":"The mob will stay sitting on reload."},"max_angle_of_view_horizontal":{"title":"Max Angle Of View Horizontal","type":"number","default":30.0,"description":"The rightmost angle a mob can look at on the horizontal plane with respect to its initial facing direction."},"max_look_count":{"title":"Max Look Count","type":"integer","default":2,"description":"The max amount of unique looks a mob will have while looking around."},"max_look_time":{"title":"Max Look Time","type":"integer","default":40,"description":"The max amount of time (in ticks) a mob will stay looking at a direction while looking around."},"min_angle_of_view_horizontal":{"title":"Min Angle Of View Horizontal","type":"number","default":-30.0,"description":"The leftmost angle a mob can look at on the horizontal plane with respect to its initial facing direction."},"min_look_count":{"title":"Min Look Count","type":"integer","default":1,"description":"The min amount of unique looks a mob will have while looking around."},"min_look_time":{"title":"Min Look Time","type":"integer","default":20,"description":"The min amount of time (in ticks) a mob will stay looking at a direction while looking around."},"probability":{"title":"Probability","type":"number","default":0.02,"description":"The probability of randomly looking around/sitting."},"random_look_around_cooldown":{"title":"Random Look Around Cooldown","type":"integer","default":0,"description":"The cooldown in seconds before the goal can be used again."}},"examples":[{"max_look_count":2,"max_look_time":40,"min_look_count":1,"min_look_time":20,"probability":0.02}]},"EAH":{"additionalProperties":false,"description":"Allows the mob to randomly look around.","type":"object","title":"Random Look Around","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"look_time":{"title":"Look Time","$ref":"#/definitions/BCF","description":"The range of time in seconds the mob will stay looking in a random direction before looking elsewhere"},"max_angle_of_view_horizontal":{"title":"Max Angle Of View Horizontal","type":"integer","default":30,"description":"The rightmost angle a mob can look at on the horizontal plane with respect to its initial facing direction."},"min_angle_of_view_horizontal":{"title":"Min Angle Of View Horizontal","type":"integer","default":-30,"description":"The leftmost angle a mob can look at on the horizontal plane with respect to its initial facing direction."}},"examples":[{"look_distance":0.0}]},"EAI":{"additionalProperties":false,"description":"Allows this entity to locate a random target block that it can path find to. Once found, the entity will move towards it and dig up an item.","type":"object","title":"Random Look Around","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"cooldown_range":{"title":"Cooldown Range","default":[0.0,0.0],"description":"Goal cooldown range in seconds.","$ref":"#/definitions/BCF"},"digging_duration_range":{"title":"Digging Duration Range","$ref":"#/definitions/BCF","default":[0.0,0.0],"description":"Digging duration in seconds."},"find_valid_position_retries":{"title":"Find Valid Position Retries","type":"number","default":0.0,"description":"Amount of retries to find a valid target position within search range."},"goal_radius":{"title":"Goal Radius","type":"number","default":1500000,"description":"Distance in blocks within the entity to considers it has reached it's target position."},"item_table":{"title":"Item Table","type":"string","default":"","description":"File path relative to the resource pack root for items to spawn list (loot table format)."},"on_digging_start":{"title":"On Digging Start","$ref":"#/definitions/BAI","description":"Event to run when the goal ends searching has begins digging."},"on_fail_during_digging":{"title":"On Fail During Digging","$ref":"#/definitions/BAI","description":"Event to run when the goal failed while in digging state."},"on_fail_during_searching":{"title":"On Fail During Searching","$ref":"#/definitions/BAI","description":"Event to run when the goal failed while in searching state."},"on_item_found":{"title":"On Item Found","$ref":"#/definitions/BAI","description":"Event to run when the goal find a item."},"on_searching_start":{"title":"On Searching Start","$ref":"#/definitions/BAI","description":"Event to run when the goal starts searching."},"on_success":{"title":"On Success","$ref":"#/definitions/BAI","description":"Event to run when searching and digging has ended."},"search_range_xz":{"title":"Search Range XZ","type":"number","default":0.0,"description":"Width and length of the volume around the entity used to find a valid target position"},"search_range_y":{"title":"Search Range Y","type":"number","default":0.0,"description":"Height of the volume around the entity used to find a valid target position"},"spawn_item_after_seconds":{"title":"Spawn Item After Seconds","type":"number","default":0.0,"description":"Digging duration before spawning item in seconds."},"spawn_item_pos_offset":{"title":"Spawn Item Pos Offset","type":"number","default":0.0,"description":"Distance to offset the item's spawn location in the direction the mob is facing."},"target_blocks":{"title":"Target Blocks","type":"array","description":"List of target block types the goal will look to dig on. Overrides the default list.","items":{"$ref":"#/definitions/BCC"}},"target_dig_position_offset":{"title":"Target Dig Position Offset","type":"number","default":2250000,"description":"Dig target position offset from the feet position of the mob in their facing direction."}}},"EAJ":{"type":"object","title":"Random Sitting","description":"Allows the mob to randomly sit for a duration.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"cooldown":{"type":"number","default":0,"description":"Time in seconds the mob has to wait before using the goal again.","title":"Cooldown"},"cooldown_time":{"type":"number","default":0,"description":"Time in seconds the mob has to wait before using the goal again.","title":"Cooldown Time"},"min_sit_time":{"type":"number","default":10,"description":"The minimum amount of time in seconds before the mob can stand back up.","title":"Minimum Sit Time"},"start_chance":{"type":"number","default":0.1,"description":"This is the chance that the mob will start this goal, from 0 to 1.","title":"Start Chance"},"stop_chance":{"type":"number","default":0.3,"description":"This is the chance that the mob will stop this goal, from 0 to 1.","title":"Stop Chance"}},"examples":[{"cooldown":0,"cooldown_time":0,"min_sit_time":10,"start_chance":0.1,"stop_chance":0.3}]},"EBA":{"description":"Allows a mob to randomly stroll around.","type":"object","title":"Random Stroll","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"interval":{"type":"integer","default":120,"description":"A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal","title":"Interval"},"xz_dist":{"type":"integer","default":10,"description":"Distance in blocks on ground that the mob will look for a new spot to move to. Must be at least 1","title":"XZ Distance"},"y_dist":{"type":"integer","default":7,"description":"Distance in blocks that the mob will look up or down for a new spot to move to. Must be at least 1","title":"Y Distance"}},"additionalProperties":false,"examples":[{"interval":120,"xz_dist":10,"y_dist":7}]},"EBB":{"type":"object","title":"Random Swim","description":"Allows an entity to randomly move through water.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"avoid_surface":{"type":"boolean","default":true,"description":"If true, the mob will avoid surface water blocks by swimming below them.","title":"Avoid Surface"},"interval":{"type":"integer","default":120,"description":"A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal","title":"Interval"},"xz_dist":{"type":"integer","default":10,"description":"Distance in blocks on ground that the mob will look for a new spot to move to. Must be at least 1","title":"XZ Distance"},"y_dist":{"type":"integer","default":7,"description":"Distance in blocks that the mob will look up or down for a new spot to move to. Must be at least 1","title":"Y Distance"}},"additionalProperties":false,"examples":[{"avoid_surface":true,"interval":120,"xz_dist":10,"y_dist":7}]},"EBC":{"description":"Allows the mob to use ranged attacks like shooting arrows.","type":"object","title":"Ranged Attack","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"attack_interval":{"title":"Attack Interval","type":"number","default":0,"description":"Alternative to \"attack_interval_min\" & \"attack_interval_max\". Consistent reload-time (in seconds), when not using a charged shot. Does not scale with target-distance."},"attack_interval_max":{"title":"Attack Interval Max","type":"number","default":0,"description":"Maximum bound for reload-time range (in seconds), when not using a charged shot. Reload-time range scales with target-distance."},"attack_interval_min":{"title":"Attack Interval Min","type":"number","default":0,"description":"Minimum bound for reload-time range (in seconds), when not using a charged shot. Reload-time range scales with target-distance."},"attack_radius":{"title":"Attack Radius","type":"number","default":0,"description":"Minimum distance to target before this entity will attempt to shoot."},"attack_radius_min":{"title":"Attack Radius Min","type":"number","default":0,"description":"Minimum distance the target can be for this mob to fire. If the target is closer, this mob will move first before firing"},"burst_interval":{"title":"Burst Interval","type":"number","default":0,"description":"Time (in seconds) between each individual shot when firing a burst of shots from a charged up attack."},"burst_shots":{"title":"Burst Shots","type":"integer","default":1,"description":"Number of shots fired every time the attacking entity uses a charged up attack."},"charge_charged_trigger":{"title":"Charge Charged Trigger","type":"number","default":0,"description":"Time (in seconds, then add \"charge_shoot_trigger\"), before a charged up attack is done charging. Charge-time decays while target is not in sight."},"charge_shoot_trigger":{"title":"Charge Shoot Trigger","type":"number","default":0,"description":"Amount of time (in seconds, then doubled) a charged shot must be charging before reloading burst shots. Charge-time decays while target is not in sight."},"ranged_fov":{"title":"Ranged Fov","type":"number","default":90,"description":"Field of view (in degrees) when using sensing to detect a target for attack."},"set_persistent":{"title":"Set Persistent","type":"boolean","default":false,"description":"Allows the actor to be set to persist upon targeting a player."},"swing":{"title":"Swing","type":"boolean","default":false,"description":"If a swing animation (using variable.attack_time) exists, this causes the actor to swing their arm(s) upon firing the ranged attack."},"target_in_sight_time":{"title":"Target In Sight Time","type":"number","default":1,"description":"Minimum amount of time (in seconds) the attacking entity needs to see the target before moving toward it."},"x_max_rotation":{"title":"X Max Rotation","type":"number","default":30,"description":"Maximum rotation (in degrees), on the X-axis, this entity can rotate while trying to look at the target."},"y_max_head_rotation":{"title":"Y Max Head Rotation","type":"number","default":30,"description":"Maximum rotation (in degrees), on the Y-axis, this entity can rotate its head while trying to look at the target."}},"examples":[{"attack_interval":0,"attack_interval_max":0,"attack_interval_min":0,"attack_radius":0,"burst_interval":0,"burst_shots":1,"charge_charged_trigger":0,"charge_shoot_trigger":0,"ranged_fov":90,"target_in_sight_time":0.0,"attack_radius_min":0.0}]},"EBD":{"description":"Allows the villager to stop so another villager can breed with it. Can only be used by a Villager.","type":"object","title":"Receive Love","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"EBE":{"description":"Allows the mob to stay indoors during night time.","type":"object","title":"Restrict Open Door","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"EBF":{"description":"Allows the mob to automatically start avoiding the sun when its a clear day out.","type":"object","title":"Restrict Sun","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"EBG":{"description":"Allows the mob to stay at a certain level when in liquid.","type":"object","title":"Rise To Liquid Level","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"liquid_y_offset":{"type":"number","title":"Liquid Y Offset","description":"Vertical offset from the liquid."},"rise_delta":{"type":"number","title":"Rise Delta","description":"Displacement for how much the entity will move up in the vertical axis."},"sink_delta":{"type":"number","title":"Sink Delta","description":"Displacement for how much the entity will move down in the vertical axis."}},"examples":[{"liquid_y_offset":0.0,"rise_delta":0.0,"sink_delta":0.0}]},"EBH":{"additionalProperties":false,"type":"object","title":"Roar","description":"[EXPERIMENTAL BEHAVIOR] Plays the provided sound and activates the `ROARING` actor flag during the specified duration","properties":{"priority":{"$ref":"#/definitions/CJD"},"duration":{"title":"Duration","type":"number","default":0.0,"description":"Goal duration in seconds."}}},"EBI":{"description":"This allows the mob to roll forward.","type":"object","title":"Roll","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"probability":{"type":"number","minimum":0,"description":"The probability that the mob will use the goal.","title":"Probability"}},"examples":[{"probability":0.0}]},"EBJ":{"description":"Allows the mob to run around aimlessly.","type":"object","title":"Run Around Like Crazy","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"}}},"ECA":{"description":"Allows the a mob to become scared when the weather outside is thundering.","type":"object","title":"Scared","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"sound_interval":{"type":"integer","default":0,"description":"The interval in which a sound will play when active in a 1/delay chance to kick off.","title":"Sound Interval"}},"examples":[{"sound_interval":0}]},"ECB_sequence":{"type":"array","description":"List of events to send.","items":{"type":"object","additionalProperties":false,"properties":{"base_delay":{"type":"number","default":0,"description":"Amount of time in seconds before starting this step."},"event":{"type":"string","default":"","description":"The event to send to the entity."},"sound_event":{"$ref":"#/definitions/BAB","default":"","description":"The sound event to play when this step happens."}}}},"ECB":{"description":"Allows the mob to send an event to another mob.","type":"object","title":"Send Event","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"cast_duration":{"type":"number","description":"Time in seconds for the entire event sending process.","title":"Cast Duration"},"look_at_target":{"title":"Look At Target","type":"boolean","default":true,"description":"If true, the mob will face the entity it sends an event to."},"event_choices":{"type":"array","title":"Event Choices","description":"List of spells for the mob to use.","$comment":"UNDOCUMENTED","items":{"type":"object","additionalProperties":false,"title":"Event Choice","description":"A spell that the mob can cast.","$comment":"UNDOCUMENTED","properties":{"min_activation_range":{"type":"number","title":"Minimum Activation Range","description":"The minimum distance in blocks the target must be for this spell to be cast.","$comment":"UNDOCUMENTED","minimum":0},"max_activation_range":{"type":"number","title":"Maxmimum Activation Range","description":"The maxmimum distance in blocks the target must be for this spell to be cast.","$comment":"UNDOCUMENTED","minimum":0},"cooldown_time":{"type":"number","title":"Cooldown Time","description":"Time in seconds before the mob can use this spell again.","$comment":"UNDOCUMENTED"},"cast_duration":{"type":"number","title":"Cast Duration","description":"Time in seconds the spell casting will take.","$comment":"UNDOCUMENTED"},"filters":{"$ref":"#/definitions/BD"},"particle_color":{"type":"string","format":"color-hex","title":"Particle Color","description":"The color of the particles for this spell.","$comment":"UNDOCUMENTED"},"weight":{"type":"integer","title":"Weight","description":"The weight of this spell. Controls how likely this spell will be picked","$comment":"UNDOCUMENTED"},"start_sound_event":{"$ref":"#/definitions/BAB","title":"Start Sound Event","description":"The sound event to play when using this spell.","$comment":"UNDOCUMENTED"},"sequence":{"$ref":"#/definitions/ECB_sequence"}}}},"sequence":{"$ref":"#/definitions/ECB_sequence","description":"List of steps for the spell.","$comment":"UNDOCUMENTED","title":"Sequence"}},"examples":[{"cast_duration":0.0,"event_choices":[]}]},"ECC":{"description":"Allows the mob to give items it has to others.","type":"object","title":"Share Items","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"entity_types":{"$ref":"#/definitions/CJG","description":"List of entities this mob will share items with.","title":"Entity Types"},"goal_radius":{"type":"number","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot","title":"Goal Radius"},"max_dist":{"type":"number","default":0,"description":"Maximum distance in blocks this mob will look for entities to share items with.","title":"Maximum Distance"}},"examples":[{"goal_radius":0.5,"max_dist":0}]},"ECD":{"description":"Allows the mob to go into stone blocks like Silverfish do. Currently it can only be used by Silverfish.","type":"object","title":"Silverfish Merge With Stone","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"ECE":{"description":"Allows the mob to alert mobs in nearby blocks to come out. Currently it can only be used by Silverfish.","type":"object","title":"Silverfish Wake Up Friends","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"ECF":{"description":"Allows Equine mobs to be Horse Traps and be triggered like them, spawning a lightning bolt and a bunch of horses when a player is nearby. Can only be used by Horses, Mules, Donkeys and Skeleton Horses.","type":"object","title":"Skeleton Horse Trap","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"duration":{"type":"number","default":1,"description":"Amount of time in seconds the trap exists. After this amount of time is elapsed, the trap is removed from the world if it hasn't been activated","title":"Duration"},"within_radius":{"type":"number","default":0,"description":"Distance in blocks that the player has to be within to trigger the horse trap.","title":"Within Radius"}},"examples":[{"duration":1,"within_radius":0}]},"ECG":{"additionalProperties":false,"description":"Allows mobs that own a bed to in a village to move to and sleep in it.","type":"object","title":"Sleep","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"can_sleep_while_riding":{"title":"Can Sleep While Riding","type":"boolean","default":false,"description":"If true, the mob will be able to use the sleep goal if riding something."},"cooldown_time":{"title":"Cooldown Time","type":"number","default":0.0,"description":"Time in seconds the mob has to wait before using the goal again."},"sleep_collider_height":{"title":"Sleep Collider Height","type":"number","default":1.0,"description":"The height of the mob's collider while sleeping."},"sleep_collider_width":{"title":"Sleep Collider Width","type":"number","default":1.0,"description":"The width of the mob's collider while sleeping."},"sleep_y_offset":{"title":"Sleep Y Offset","type":"number","default":1.0,"description":"The y offset of the mob's collider while sleeping."},"timeout_cooldown":{"title":"Timeout Cooldown","type":"number","default":8.0,"description":"The cooldown time in seconds before the goal can be reused after a internal failure or timeout condition."}},"examples":[{"cooldown_time":0,"goal_radius":0,"sleep_collider_height":1,"sleep_collider_width":1,"sleep_y_offset":1,"timeout_cooldown":8}]},"ECH":{"additionalProperties":false,"description":"Can only be used by Slimes and Magma Cubes. Allows the mob to use a melee attack like the slime's.","type":"object","title":"Slime Attack","properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"set_persistent":{"title":"Set Persistent","type":"boolean","default":false,"description":"Allows the actor to be set to persist upon targeting a player."},"x_max_rotation":{"title":"X Max Rotation","type":"number","default":10,"description":"Maximum rotation (in degrees), on the X-axis, this entity can rotate while trying to look at the target."},"y_max_rotation":{"title":"Y Max Rotation","type":"number","default":10,"description":"Maximum rotation (in degrees), on the Y-axis, this entity can rotate while trying to look at the target."}},"examples":[{"set_persistent":false}]},"ECI":{"additionalProperties":false,"description":"Allow slimes to float in water / lava. Can only be used by Slime and Magma Cubes.","type":"object","title":"Slime Float","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"jump_chance_percentage":{"type":"number","title":"Jump Chance Percentage","default":0.8,"description":"Percent chance a slime or magma cube has to jump while in water / lava."}},"examples":[{"jump_chance_percentage":0.0}]},"ECJ":{"additionalProperties":false,"description":"Can only be used by Slimes and Magma Cubes. Allows the mob to continuously jump around like a slime.","type":"object","title":"Slime Keep On Jumping","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"}}},"EDA":{"additionalProperties":false,"description":"Can only be used by Slimes and Magma Cubes. Allows the mob to move in random directions like a slime.","type":"object","title":"Slime Random Direction","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"add_random_time_range":{"title":"Add Random Time Range","type":"integer","default":3,"description":"Additional time (in whole seconds), chosen randomly in the range of [0, \"add_random_time_range\"], to add to \"min_change_direction_time\"."},"min_change_direction_time":{"title":"Min Change Direction Time","type":"number","default":2,"description":"Constant minimum time (in seconds) to wait before choosing a new direction."},"turn_range":{"title":"Turn Range","type":"integer","default":360,"description":"Maximum rotation angle range (in degrees) when randomly choosing a new direction."}},"examples":[{"add_random_time_range":0.0,"turn_range":0.0,"min_change_direction_time":0.0}]},"EDB":{"additionalProperties":false,"description":"Allows the mob to take a load off and snack on food that it found nearby.","type":"object","title":"Snacking","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"items":{"title":"Items","description":"Items that we are interested in snacking on.","oneOf":[{"type":"array","items":{"$ref":"#/definitions/J","title":"Item"}},{"$ref":"#/definitions/J"}]},"snacking_cooldown":{"type":"number","default":7.5,"description":"The cooldown time in seconds before the mob is able to snack again.","title":"Snacking Cooldown"},"snacking_cooldown_min":{"type":"number","default":0.5,"description":"The minimum time in seconds before the mob is able to snack again.","title":"Snacking Cooldown Minimum"},"snacking_stop_chance":{"type":"number","description":"This is the chance that the mob will stop snacking, from 0 to 1.","title":"Snacking Stop Chance"}},"examples":[{"snacking_cooldown":7.5,"snacking_cooldown_min":0.5,"snacking_stop_chance":0.0}]},"EDC":{"additionalProperties":false,"description":"Allows the mob to stop and sneeze possibly startling nearby mobs and dropping an item.","type":"object","title":"Sneeze","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"cooldown_time":{"type":"number","default":0,"description":"Time in seconds the mob has to wait before using the goal again.","title":"Cooldown Time"},"drop_item_chance":{"type":"number","default":1,"description":"The probability that the mob will drop an item when it sneezes.","title":"Drop Item Chance"},"entity_types":{"$ref":"#/definitions/CJG","description":"List of entity types this mob will startle (cause to jump) when it sneezes.","title":"Entity Types"},"loot_table":{"type":"string","default":"loot_tables/empty.json","description":"Loot table to select dropped items from.","title":"Loot Table","pattern":"^loot_tables/.*.json$"},"prepare_sound":{"$ref":"#/definitions/BAB","default":"","description":"Sound to play when the sneeze is about to happen.","title":"Prepare Sound"},"prepare_time":{"type":"number","default":1,"description":"The time in seconds that the mob takes to prepare to sneeze (while the prepare_sound is playing).","title":"Prepare Time"},"probability":{"type":"number","default":0.02,"minimum":0,"maximum":1,"description":"The probability of sneezing. A value of 1.00 is 100%","title":"Probability"},"sound":{"$ref":"#/definitions/BAB","default":"","description":"Sound to play when the sneeze occurs.","title":"Sound"},"within_radius":{"type":"number","default":0,"description":"Distance in blocks that mobs will be startled.","title":"Within Radius"}},"examples":[{"cooldown_time":0,"drop_item_chance":1,"loot_table":"loot_tables/empty.json","prepare_sound":"","prepare_time":1,"probability":0.02,"sound":"","within_radius":0}]},"EDD":{"additionalProperties":false,"type":"object","title":"Sonic Boom","description":"[EXPERIMENTAL BEHAVIOR] Plays the provided sounds and activates the `SONIC BOOM` actor flag during the specified duration","properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"attack_cooldown":{"title":"Attack Cooldown","type":"number","default":5.0,"description":"Cooldown in seconds required after using this attack until the entity can use sonic boom again."},"attack_damage":{"title":"Attack Damage","type":"number","default":30.0,"description":"Attack damage of the sonic boom."},"attack_range_horizontal":{"title":"Attack Range Horizontal","type":"number","default":15.0,"description":"Horizontal range (in blocks) at which the sonic boom can damage the target."},"attack_range_vertical":{"title":"Attack Range Vertical","type":"number","default":20.0,"description":"Vertical range (in blocks) at which the sonic boom can damage the target."},"attack_sound":{"title":"Attack Sound","$ref":"#/definitions/BAB","default":"","description":"Sound event for the attack."},"charge_sound":{"title":"Charge Sound","$ref":"#/definitions/BAB","default":"","description":"Sound event for the charge up."},"duration":{"title":"Duration","type":"number","default":3.0,"description":"Goal duration in seconds."},"duration_until_attack_sound":{"title":"Duration Until Attack Sound","type":"number","default":1.7,"description":"Duration in seconds until the attack sound is played."},"knockback_height_cap":{"title":"Knockback Height Cap","type":"number","default":0.0,"description":"Height cap of the attack knockback's vertical delta."},"knockback_horizontal_strength":{"title":"Knockback Horizontal Strength","type":"number","default":0.0,"description":"Horizontal strength of the attack's knockback applied to the attack target."},"knockback_vertical_strength":{"title":"Knockback Vertical Strength","type":"number","default":0.0,"description":"Vertical strength of the attack's knockback applied to the attack target."}}},"EDE":{"description":"Allows an entity to dive underwater.","type":"object","title":"Squid Dive","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"EDF":{"description":"Allows the squid to swim away. Can only be used by the Squid.","type":"object","title":"Squid Flee","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"EDG":{"description":"Allows the squid to swim in place idly. Can only be used by the Squid.","type":"object","title":"Squid Idle","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"EDH":{"description":"Allows the squid to move away from ground blocks and back to water. Can only be used by the Squid.","type":"object","title":"Squid Move Away From Ground","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"EDI":{"description":"Allows the squid to stick to the ground when outside water. Can only be used by the Squid.","type":"object","title":"Squid Out Of Water","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"EDJ":{"description":"Allows an entity to stalk a specific target. Once within range of the target, the entity will then leap at the target and deal damage based upon its attack attribute.","type":"object","title":"Stalk And Pounce On Target","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"interest_time":{"type":"number","default":2,"description":"The amount of time the mob will be interested before pouncing. This happens when the mob is within range of pouncing","title":"Interest Time"},"leap_distance":{"type":"number","default":0.8,"description":"The distance in blocks the mob jumps in the direction of its target.","title":"Leap Distance"},"leap_height":{"type":"number","default":0.9,"description":"The height in blocks the mob jumps when leaping at its target.","title":"Leap Height"},"max_stalk_dist":{"type":"number","default":10,"description":"The maximum distance away a target can be before the mob gives up on stalking.","title":"Maximum Stalk Dist"},"pounce_max_dist":{"type":"number","default":5,"description":"The maximum distance away from the target in blocks to begin pouncing at the target.","title":"Pounce Maximum Dist"},"set_persistent":{"type":"boolean","default":false,"description":"Allows the actor to be set to persist upon targeting a player.","title":"Set Persistent"},"stalk_speed":{"type":"number","default":1.2,"description":"The movement speed in which you stalk your target.","title":"Stalk Speed"},"strike_dist":{"type":"number","default":2,"description":"The Maximum distance away from the target when landing from the pounce that will still result in damaging the target.","title":"Strike Dist"},"stuck_time":{"type":"number","default":2,"description":"The amount of time the mob will be stuck if they fail and land on a block they can be stuck on.","title":"Stuck Time"},"leap_dist":{"type":"number","description":"The distance in blocks the mob jumps in the direction of their target.","$comment":"UNDOCUMENTED","title":"Leap Dist"},"stuck_blocks":{"$ref":"#/definitions/BD","description":"Filters to apply on the block the mob lands on to determine if it is valid for getting stuck.","$comment":"UNDOCUMENTED","title":"Stuck Block"}},"examples":[{"interest_time":2,"leap_distance":0.8,"leap_height":0.9,"max_stalk_dist":10,"pounce_max_dist":5,"set_persistent":false,"stalk_speed":1.2,"strike_dist":2,"stuck_time":2,"leap_dist":0.0}]},"EEA":{"type":"object","title":"Stay Near Noteblock","description":"[EXPERIMENTAL BEHAVIOR] The entity will attempt to toss the items from its inventory to a nearby recently played noteblock.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"listen_time":{"title":"Listen Time","type":"integer","default":0.0,"description":"Sets the time an entity should stay near a noteblock after hearing it."},"speed":{"title":"Speed","type":"number","default":1.0,"description":"Sets the entity's speed when moving toward the block."},"start_distance":{"title":"Start Distance","type":"number","default":10.0,"description":"Sets the distance the entity needs to be away from the block to attempt to start the goal."},"stop_distance":{"title":"Stop Distance","type":"number","default":2.0,"description":"Sets the distance from the block the entity will attempt to reach."}}},"EEB":{"description":"Allows the mob to stay put while it is in a sitting state instead of doing something else.","type":"object","title":"Stay While Sitting","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"EEC":{"description":"Allows the mob to use the polar bear's melee attack.","type":"object","title":"Stomp Attack","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"attack_once":{"title":"Attack Once","type":"boolean","default":false,"description":"Allows the entity to use this attack behavior, only once EVER."},"attack_types":{"title":"Attack Types","type":"string","default":"N/A","description":"Defines the entity types this entity will attack."},"can_spread_on_fire":{"title":"Can Spread On Fire","type":"boolean","default":false,"description":"If the entity is on fire, this allows the entity's target to catch on fire after being hi"},"cooldown_time":{"title":"Cooldown Time","type":"number","default":1,"description":"Cooldown time (in seconds) between attacks."},"inner_boundary_time_increase":{"title":"Inner Boundary Time Increase","type":"number","default":0.25,"description":"Time (in seconds) to add to attack path recalculation when the target is beyond the \"path_inner_boundary\"."},"max_dist":{"title":"Max Dist","type":"number","description":"Unused. No effect on \"minecraft:behavior.melee_attack\"."},"max_path_time":{"title":"Max Path Time","type":"number","default":0.55,"description":"Maximum base time (in seconds) to recalculate new attack path to target (before increases applied)."},"melee_fov":{"title":"Melee Fov","type":"number","default":90,"description":"Field of view (in degrees) when using the sensing component to detect an attack target."},"min_path_time":{"title":"Min Path Time","type":"number","default":0.2,"description":"Minimum base time (in seconds) to recalculate new attack path to target (before increases applied)."},"no_damage_range_multiplier":{"title":"No Damage Range Multiplier","type":"number","default":2,"description":"Multiplied with the final AoE damage range to determine a no damage range. The stomp attack will go on cooldown if target is in this no damage range."},"on_attack":{"title":"On Attack","$ref":"#/definitions/BAI","description":"Defines the event to trigger when this entity successfully attacks."},"outer_boundary_time_increase":{"title":"Outer Boundary Time Increase","type":"number","default":0.5,"description":"Time (in seconds) to add to attack path recalculation when the target is beyond the \"path_outer_boundary\"."},"path_fail_time_increase":{"title":"Path Fail Time Increase","type":"number","default":0.75,"description":"Time (in seconds) to add to attack path recalculation when this entity cannot move along the current path."},"path_inner_boundary":{"title":"Path Inner Boundary","type":"number","default":16,"description":"Distance at which to increase attack path recalculation by \"inner_boundary_tick_increase\"."},"path_outer_boundary":{"title":"Path Outer Boundary","type":"number","default":32,"description":"Distance at which to increase attack path recalculation by \"outer_boundary_tick_increase\"."},"random_stop_interval":{"title":"Random Stop Interval","type":"integer","default":0,"description":"This entity will have a 1 in N chance to stop it's current attack, where N = \"random_stop_interval\"."},"reach_multiplier":{"title":"Reach Multiplier","type":"number","default":2,"description":"Used with the base size of the entity to determine minimum target-distance before trying to deal attack damage."},"require_complete_path":{"title":"Require Complete Path","type":"boolean","default":false,"description":"Toggles (on/off) the need to have a full path from the entity to the target when using this melee attack behavior."},"set_persistent":{"title":"Set Persistent","type":"boolean","default":false,"description":"Allows the actor to be set to persist upon targeting a player."},"stomp_range_multiplier":{"title":"Stomp Range Multiplier","type":"number","default":2,"description":"Multiplied with the base size of the entity to determine stomp AoE damage range."},"target_dist":{"title":"Target Dist","type":"number","description":"Unused. No effect on \"minecraft:behavior.melee_attack\"."},"track_target":{"title":"Track Target","type":"boolean","default":false,"description":"Allows the entity to track the attack target, even if the entity has no sensing."},"x_max_rotation":{"title":"X Max Rotation","type":"number","default":30,"description":"Maximum rotation (in degrees), on the X-axis, this entity can rotate while trying to look at the target."},"y_max_head_rotation":{"title":"Y Max Head Rotation","type":"number","default":30,"description":"Maximum rotation (in degrees), on the Y-axis, this entity can rotate its head while trying to look at the target."}},"examples":[{"attack_once":false,"attack_types":"","probability":0.02,"random_stop_interval":0,"reach_multiplier":2,"require_complete_path":false,"track_target":false,"stomp_range_multiplier":0.0,"no_damage_range_multiplier":0.0}]},"EED":{"description":"Allows this mob to stomp turtle eggs.","type":"object","title":"Stomp Turtle Egg","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"goal_radius":{"type":"number","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot","title":"Goal Radius"},"interval":{"type":"integer","default":120,"description":"A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal","title":"Interval"},"search_count":{"type":"integer","default":10,"description":"The number of blocks each tick that the mob will check within it's search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick","title":"Search Count"},"search_height":{"type":"integer","default":1,"description":"Height in blocks the mob will look for turtle eggs to move towards.","title":"Search Height"},"search_range":{"type":"integer","default":0,"description":"The distance in blocks it will look for turtle eggs to move towards.","title":"Search Range"}},"examples":[{"goal_radius":0.5,"interval":120,"search_count":10,"search_height":1,"search_range":0}]},"EEE":{"description":"Allows the mob to move into a random location within a village within the search range.","type":"object","title":"Stroll Towards Village","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"cooldown_time":{"type":"number","default":0,"description":"Time in seconds the mob has to wait before using the goal again.","title":"Cooldown Time"},"goal_radius":{"type":"number","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot","title":"Goal Radius"},"search_range":{"type":"integer","default":0,"description":"The distance in blocks to search for points inside villages. If <= 0, find the closest village regardless of distance.","title":"Search Range"},"speed_multiplier":{"type":"number","default":1,"description":"Movement speed multiplier of the mob when using this AI Goal.","title":"Speed Multiplier"},"start_chance":{"type":"number","default":0.1,"description":"This is the chance that the mob will start this goal, from 0 to 1.","title":"Start Chance"}},"examples":[{"cooldown_time":0,"goal_radius":0.5,"search_range":0,"speed_multiplier":1,"start_chance":0.1}]},"EEF":{"description":"Allows the mob to attack the player by summoning other entities.","title":"Summon Entity","type":"object","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"summon_choices":{"type":"array","description":"List of spells for the mob to use to summon entities.","title":"Summon Choices","items":{"type":"object","additionalProperties":false,"properties":{"cast_duration":{"type":"number","description":"Time in seconds the spell casting will take.","title":"Cast Duration"},"cooldown_time":{"type":"number","default":0,"description":"Time in seconds the mob has to wait before using the spell again.","title":"Cooldown Time"},"do_casting":{"type":"boolean","default":true,"description":"If true, the mob will do the casting animations and render spell particles.","title":"Do Casting"},"filters":{"$ref":"#/definitions/BD"},"max_activation_range":{"type":"number","default":-1,"description":"Upper bound of the activation distance in blocks for this spell.","title":"Maximum Activation Range"},"min_activation_range":{"type":"number","default":1,"description":"Lower bound of the activation distance in blocks for this spell.","title":"Minimum Activation Range"},"particle_color":{"description":"The color of the particles for this spell.","title":"Particle Color","oneOf":[{"type":"integer","default":0},{"type":"string","format":"color-hex"}]},"sequence":{"type":"array","description":"List of steps for the spell.","title":"Sequence","items":{"type":"object","additionalProperties":false,"title":"Sequence","properties":{"delay":{"type":"number","default":0,"description":"Amount of time in seconds to wait before this step starts.","title":"Delay"},"delay_per_summon":{"type":"number","default":0,"title":"Delay Per Summon","description":"Amount of time in seconds before each entity is summoned in this step."},"entity_lifespan":{"type":"number","title":"Entity Lifespan","default":-1,"description":"Amount of time in seconds that the spawned entity will be alive for. A value of -1.0 means it will remain alive for as long as it can"},"base_delay":{"type":"number","default":0,"description":"Amount of time in seconds to wait before this step starts.","title":"Base Delay"},"entity_type":{"type":"string","description":"The entity type of the entities we will spawn in this step.","title":"Entity Type"},"num_entities_spawned":{"type":"integer","default":1,"description":"Number of entities that will be spawned in this step.","title":"Number Entities Spawned"},"shape":{"type":"string","default":"line","description":"The base shape of this step. Valid values are circle and line","enum":["line","circle"],"title":"Shape"},"size":{"type":"number","default":1,"description":"The base size of the entity.","title":"Size"},"sound_event":{"$ref":"#/definitions/BAB","description":"The sound event to play for this step.","title":"Sound Event"},"summon_cap":{"type":"integer","default":0,"description":"Maximum number of summoned entities at any given time.","title":"Summon Cap"},"summon_cap_radius":{"type":"number","default":0,"description":"Maximum radius where the summon entities can spawn.","title":"Summon Cap Radius"},"target":{"type":"string","default":"self","description":"The target of the spell. This is where the spell will start (line will start here, circle will be centered here)","title":"Target"}}}},"start_sound_event":{"$ref":"#/definitions/BAB","description":"The sound event to play when using this spell.","title":"Start Sound Event"},"weight":{"type":"number","title":"Weight","default":0,"description":"The weight of this spell. Controls how likely the mob is to choose this spell when casting one"}}}}},"examples":[{"summon_choices":[]}]},"EEG":{"description":"Allows the creeper to swell up when a player is nearby. It can only be used by Creepers.","title":"Swell","type":"object","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"start_distance":{"type":"number","default":10,"description":"This mob starts swelling when a target is at least this many blocks away.","title":"Start Distance"},"stop_distance":{"type":"number","default":2,"description":"This mob stops swelling when a target has moved away at least this many blocks.","title":"Stop Distance"}},"examples":[{"start_distance":10,"stop_distance":2}]},"EEH":{"description":"Allows the entity go idle, if swimming. Entity must be in water.","type":"object","title":"Swim Idle","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"idle_time":{"type":"number","title":"Idle Time","default":5,"description":"Amount of time (in seconds) to stay idle."},"success_rate":{"type":"number","title":"Succes Rate","default":0.1,"description":"Percent chance this entity will go idle, 1.0 = 100%."}},"examples":[{"idle_time":0.0,"success_rate":0.0}]},"EEI":{"description":"Has the fish swim around when they can't pathfind.","type":"object","title":"Swim Wander","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"interval":{"title":"Interval","type":"number","default":0.00833,"description":"Percent chance to start wandering, when not path-finding. 1 = 100%"},"look_ahead":{"title":"Look Ahead","type":"number","default":5,"description":"Distance to look ahead for obstacle avoidance, while wandering."},"wander_time":{"title":"Wander Time","type":"number","default":5,"description":"Amount of time (in seconds) to wander after wandering behavior was successfully started."}},"examples":[{"interval":0.0,"look_ahead":0.0,"wander_time":0.0}]},"EEJ":{"type":"object","title":"Swim With Entity","description":"Allows the entity follow another entity. Both entities must be swimming and in water.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"success_rate":{"title":"Success Rate","type":"number","default":0.1,"description":"Percent chance to start following another entity, if not already doing so. 1.0 = 100%"},"chance_to_stop":{"title":"Chance To Stop","type":"number","default":0.0333,"description":"Percent chance to stop following the current entity, if they're riding another entity or they're not swimming. 1.0 = 100%"},"state_check_interval":{"title":"State Check Interval","type":"number","default":0.5,"description":"Time (in seconds) between checks to determine if this entity should catch up to the entity being followed or match the direction of the entity being followed."},"catch_up_threshold":{"title":"Catch Up Threshold","type":"number","default":12,"description":"Distance, from the entity being followed, at which this entity will speed up to reach that entity."},"match_direction_threshold":{"title":"Match Direction Threshold","type":"number","default":2,"description":"Distance, from the entity being followed, at which this entity will try to match that entity's direction."},"catch_up_multiplier":{"title":"Catch Up Multiplier","type":"number","default":2.5,"description":"The multiplier this entity's speed is modified by when matching another entity's direction."},"search_range":{"title":"Search Range","type":"number","default":20,"description":"Radius around this entity to search for another entity to follow."},"stop_distance":{"title":"Stop Distance","type":"number","default":5,"description":"Distance, from the entity being followed, at which this entity will stop following that entity."},"entity_types":{"$ref":"#/definitions/CJG","title":"Entity Types","description":"Filters which determine what entites are valid to follow."}},"examples":[{"success_rate":0.1,"chance_to_stop":0.0333,"state_check_interval":0.5,"catch_up_threshold":12,"match_direction_threshold":2,"catch_up_multiplier":2.5,"search_range":20,"stop_distance":5}]},"EFA":{"description":"Allows the mob to move to attack a target. The goal ends if it has a horizontal collision or gets hit. Built to be used with flying mobs.","type":"object","title":"Swoop Attack","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"damage_reach":{"title":"Damage Reach","type":"number","default":0.2,"description":"Added to the base size of the entity, to determine the target's maximum allowable distance, when trying to deal attack damage."},"delay_range":{"$ref":"#/definitions/BBB","default":[[10.0,20.0]],"description":"Minimum and maximum cooldown time-range (in seconds) between each attempted swoop attack.","title":"Delay Range"}},"examples":[{"damage_reach":0.2,"delay_range":[10.0,20.0]}]},"EFB":{"description":"Can only be used by Villagers. Allows the mob to accept flowers from Iron Golems.","type":"object","title":"Take Flower","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"filters":{"title":"Filters","$ref":"#/definitions/BD","description":"Conditions that need to be met for the behavior to start."},"max_head_rotation_y":{"title":"Max Head Rotation Y","type":"number","default":30,"description":"Maximum rotation (in degrees), on the Y-axis, this entity can rotate its head while trying to look at the target."},"max_rotation_x":{"title":"Max Rotation X","type":"number","default":30,"description":"Maximum rotation (in degrees), on the X-axis, this entity can rotate while trying to look at the target."},"max_wait_time":{"title":"Max Wait Time","type":"number","default":20.0,"description":"The maximum amount of time (in seconds) for the mob to randomly wait for before taking the flower."},"min_distance_to_target":{"title":"Min Distance To Target","type":"number","default":2.0,"description":"Minimum distance (in blocks) for the entity to be considered having reached its target."},"min_wait_time":{"title":"Min Wait Time","type":"number","default":4.0,"description":"The minimum amount of time (in seconds) for the mob to randomly wait for before taking the flower."},"search_area":{"title":"Search Area","default":[6,2,6],"description":"The dimensions of the AABB used to search for a potential mob to take a flower from.","$ref":"#/definitions/CFA"}}},"EFC":{"description":"Allows an entity to select a valid target entity that pushed it.","type":"object","title":"Target When Pushed","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"entity_types":{"title":"Entity Types","$ref":"#/definitions/CJG","description":"The list of conditions the other entity must meet to be a valid target."},"percent_chance":{"title":"Percent Chance","type":"number","default":5.0,"description":"Probability that the entity will target the entity that pushed it."}},"examples":[{"percent_chance":5.0,"entity_types":[]}]},"EFD":{"description":"Allows an entity to be tempted by a set item.","type":"object","title":"Tempt","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"can_get_scared":{"type":"boolean","default":false,"description":"If true, the mob can stop being tempted if the player moves too fast while close to this mob.","title":"Can Get Scared"},"can_tempt_while_ridden":{"type":"boolean","default":false,"title":"Can Tempt While Ridden","description":"If true, the mob can be tempted even if it has a passenger (i.e. if being ridden)."},"can_tempt_vertically":{"type":"boolean","default":false,"title":"Can Tempt Vertically","description":"If true, vertical distance to the player will be considered when tempting."},"items":{"type":"array","title":"Items","description":"List of items this mob is tempted by.","items":{"$ref":"#/definitions/J"}},"sound_interval":{"description":"Range of random ticks to wait between tempt sounds.","title":"Sound Interval","oneOf":[{"type":"number","minimum":0},{"items":[{"type":"integer","minimum":0,"title":"Minimum"},{"type":"integer","minimum":0,"title":"Maximum"}]}]},"tempt_sound":{"$ref":"#/definitions/BAB","description":"Sound to play while the mob is being tempted.","title":"Tempt Sound"},"within_radius":{"type":"number","default":0,"description":"Distance in blocks this mob can get tempted by a player holding an item they like.","title":"Within Radius"}},"examples":[{"can_get_scared":false,"can_tempt_while_ridden":true,"can_tempt_vertically":true,"items":[],"within_radius":0}]},"EFE":{"title":"Timer Flag","description":"Fires an event when this behavior starts, then waits for a duration before stopping. When stopping due to that timeout or due to being interrupted by another behavior, fires another event. query.timer_flag_ will return 1.0 on both the client and server when this behavior is running, and 0.0 otherwise.","type":"object","additionalProperties":false,"properties":{"cooldown_range":{"title":"Cooldown Range","$ref":"#/definitions/BCF","default":[10.0,10.0],"description":"Goal cooldown range in seconds."},"duration_range":{"title":"Duration Range","$ref":"#/definitions/BCF","default":[2.0,2.0],"description":"Goal duration range in seconds."},"on_end":{"title":"On End","$ref":"#/definitions/BAI","description":"Event to run when the goal ends."},"on_start":{"title":"On Start","$ref":"#/definitions/BAI","description":"Event to run when the goal starts."}}},"EFF":{"description":"Allows the mob to look at a player that is holding a tradable item.","type":"object","title":"Trade Interest","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"carried_item_switch_time":{"type":"number","default":2,"description":"The Maximum time in seconds that the trader will hold an item before attempting to switch for a different item that takes the same trade.","title":"Carried Item Switch Time"},"cooldown":{"type":"number","default":2,"description":"The time in seconds before the trader can use this goal again.","title":"Cooldown"},"interest_time":{"type":"number","default":45,"description":"The Maximum time in seconds that the trader will be interested with showing it's trade items.","title":"Interest_time"},"remove_item_time":{"type":"number","default":1,"description":"The Maximum time in seconds that the trader will wait when you no longer have items to trade.","title":"Remove Item Time"},"within_radius":{"type":"number","default":0,"description":"Distance in blocks this mob can be interested by a player holding an item they like.","title":"Within Radius"}},"examples":[{"carried_item_switch_time":2,"cooldown":2,"interest_time":45,"remove_item_time":1,"within_radius":0}]},"EFG":{"description":"Allows the player to trade with this mob.","type":"object","title":"Trade With Player","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"EFH":{"description":"Allows the mob to target the same entity its owner is targeting.","additionalProperties":false,"type":"object","title":"Vex Copy Owner Target","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"entity_types":{"$ref":"#/definitions/CJG","description":"List of entities this mob can copy the owner from.","title":"Entity Types"}}},"EFI":{"description":"Allows the mob to move around randomly like the Vex.","additionalProperties":false,"type":"object","title":"Vex Random Move","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"entity_types":{"$ref":"#/definitions/CJG","description":"List of entities this mob can copy the owner from.","title":"Entity Types"}}},"EFJ":{"description":"Allows the wither to launch random attacks. Can only be used by the Wither Boss.","additionalProperties":false,"type":"object","title":"Wither Random Attack Pos Goal","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"EGA":{"description":"Allows the wither to focus its attacks on whichever mob has dealt the most damage to it. Can only be used by the Wither Boss.","additionalProperties":false,"type":"object","title":"Wither Target Highest Damage","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"entity_types":{"$ref":"#/definitions/CJG","description":"List of entity types the wither takes into account to find who dealt the most damage to it.","title":"Entity Types"}}},"EGB":{"type":"object","title":"Work","description":"Allows the NPC to use the POI.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"active_time":{"title":"Active Time","type":"integer","default":0,"description":"The amount of ticks the NPC will stay in their the work location.","exclusiveMinimum":0},"can_work_in_rain":{"title":"Can Work In Rain","type":"boolean","default":false,"description":"If true, this entity can work when their jobsite POI is being rained on."},"goal_cooldown":{"title":"Goal Cooldown","type":"integer","default":0,"description":"The amount of ticks the goal will be on cooldown before it can be used again."},"on_arrival":{"title":"On Arrival","$ref":"#/definitions/BAI","description":"Event to run when the mob reaches their jobsite."},"sound_delay_max":{"title":"Sound Delay Max","type":"integer","default":0,"description":"The max interval in which a sound will play."},"sound_delay_min":{"title":"Sound Delay Min","type":"integer","default":0,"description":"The min interval in which a sound will play."},"work_in_rain_tolerance":{"title":"Work In Rain Tolerance","type":"integer","default":-1,"description":"If \"can_work_in_rain\" is false, this is the maximum number of ticks left in the goal where rain will not interrupt the goal"}},"examples":[{"active_time":0,"can_work_in_rain":false,"goal_cooldown":0,"sound_delay_max":0,"sound_delay_min":0,"work_in_rain_tolerance":-1}]},"EGC":{"description":"Allows the NPC to use the composter POI to convert excess seeds into bone meal.","type":"object","title":"Work Composter","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"active_time":{"title":"Active Time","type":"integer","default":0,"description":"The amount of ticks the NPC will stay in their the work location."},"block_interaction_max":{"title":"Block Interaction Max","type":"integer","default":1,"description":"The maximum number of times the mob will interact with the composter."},"can_empty_composter":{"title":"Can Empty Composter","type":"boolean","default":true,"description":"Determines whether the mob can empty a full composter."},"can_fill_composter":{"title":"Can Fill Composter","type":"boolean","default":true,"description":"Determines whether the mob can add items to a composter given that it is not full."},"can_work_in_rain":{"title":"Can Work In Rain","type":"boolean","default":false,"description":"If true, this entity can work when their jobsite POI is being rained on."},"goal_cooldown":{"title":"Goal Cooldown","type":"integer","default":0,"description":"The amount of ticks the goal will be on cooldown before it can be used again."},"items_per_use_max":{"title":"Items Per Use Max","type":"integer","default":20,"description":"The maximum number of items which can be added to the composter per block interaction."},"min_item_count":{"title":"Min Item Count","type":"integer","default":10,"description":"Limits the amount of each compostable item the mob can use. Any amount held over this number will be composted if possible"},"on_arrival":{"title":"On Arrival","$ref":"#/definitions/BAI","description":"Event to run when the mob reaches their jobsite."},"sound_delay_max":{"title":"Sound Delay Max","type":"integer","description":"Unused."},"sound_delay_min":{"title":"Sound Delay Min","type":"integer","description":"Unused."},"use_block_max":{"title":"Use Block Max","type":"integer","default":200,"description":"The maximum interval in which the mob will interact with the composter."},"use_block_min":{"title":"Use Block Min","type":"integer","default":100,"description":"The minimum interval in which the mob will interact with the composter."},"work_in_rain_tolerance":{"title":"Work In Rain Tolerance","type":"integer","default":-1,"description":"If \"can_work_in_rain\" is false, this is the maximum number of ticks left in the goal where rain will not interrupt the goal"}},"examples":[{}]},"F":{"additionalProperties":false,"type":"object","title":"Components","description":"A collection of components.","required":[],"properties":{"minecraft:addrider":{"$ref":"#/definitions/G"},"minecraft:admire_item":{"$ref":"#/definitions/H"},"minecraft:ageable":{"$ref":"#/definitions/I"},"minecraft:ambient_sound_interval":{"$ref":"#/definitions/BAA"},"minecraft:anger_level":{"$ref":"#/definitions/BAC"},"minecraft:angry":{"$ref":"#/definitions/BAD"},"minecraft:annotation.break_door":{"$ref":"#/definitions/BAE"},"minecraft:annotation.open_door":{"$ref":"#/definitions/BAF"},"minecraft:area_attack":{"$ref":"#/definitions/BAG"},"minecraft:attack_cooldown":{"$ref":"#/definitions/BAH"},"minecraft:attack_damage":{"$ref":"#/definitions/BAJ"},"minecraft:attack":{"$ref":"#/definitions/BBA"},"minecraft:balloonable":{"$ref":"#/definitions/BBC"},"minecraft:barter":{"$ref":"#/definitions/BBD"},"minecraft:block_climber":{"$ref":"#/definitions/BBE"},"minecraft:block_sensor":{"$ref":"#/definitions/BBF"},"minecraft:boostable":{"$ref":"#/definitions/BBH"},"minecraft:boss":{"$ref":"#/definitions/BBI"},"minecraft:break_blocks":{"$ref":"#/definitions/BBJ"},"minecraft:breathable":{"$ref":"#/definitions/BCB"},"minecraft:breedable":{"$ref":"#/definitions/BCD"},"minecraft:bribeable":{"$ref":"#/definitions/BCG"},"minecraft:buoyant":{"$ref":"#/definitions/BCH"},"minecraft:burns_in_daylight":{"$ref":"#/definitions/BCI"},"minecraft:can_climb":{"$ref":"#/definitions/BCJ"},"minecraft:can_fly":{"$ref":"#/definitions/BDA"},"minecraft:can_join_raid":{"$ref":"#/definitions/BDB"},"minecraft:can_power_jump":{"$ref":"#/definitions/BDC"},"minecraft:celebrate_hunt":{"$ref":"#/definitions/BDD"},"minecraft:collision_box":{"$ref":"#/definitions/BDE"},"minecraft:color":{"$ref":"#/definitions/BDF"},"minecraft:color2":{"$ref":"#/definitions/BDG"},"minecraft:combat_regeneration":{"$ref":"#/definitions/BDH"},"minecraft:conditional_bandwidth_optimization":{"$ref":"#/definitions/BDI"},"minecraft:custom_hit_test":{"$ref":"#/definitions/BDJ"},"minecraft:damage_over_time":{"$ref":"#/definitions/BEA"},"minecraft:damage_sensor":{"$ref":"#/definitions/BEB"},"minecraft:dash":{"$ref":"#/definitions/BEC"},"minecraft:default_look_angle":{"$ref":"#/definitions/BED"},"minecraft:despawn":{"$ref":"#/definitions/BEE"},"minecraft:drying_out_timer":{"$ref":"#/definitions/BEF"},"minecraft:dweller":{"$ref":"#/definitions/BEG"},"minecraft:economy_trade_table":{"$ref":"#/definitions/BEH"},"minecraft:entity_sensor":{"$ref":"#/definitions/BEI"},"minecraft:environment_sensor":{"$ref":"#/definitions/BEJ"},"minecraft:equip_item":{"$ref":"#/definitions/BFA"},"minecraft:equipment":{"$ref":"#/definitions/BFB"},"minecraft:equippable":{"$ref":"#/definitions/BFD"},"minecraft:exhaustion_values":{"$ref":"#/definitions/BFE"},"minecraft:experience_reward":{"$ref":"#/definitions/BFF"},"minecraft:explode":{"$ref":"#/definitions/BFG"},"minecraft:fall_damage":{"$ref":"#/definitions/BFH"},"minecraft:fire_immune":{"$ref":"#/definitions/BFI"},"minecraft:floats_in_liquid":{"$ref":"#/definitions/BFJ"},"minecraft:flocking":{"$ref":"#/definitions/BGA"},"minecraft:flying_speed":{"$ref":"#/definitions/BGB"},"minecraft:follow_range":{"$ref":"#/definitions/BGC"},"minecraft:friction_modifier":{"$ref":"#/definitions/BGD"},"minecraft:game_event_movement_tracking":{"$ref":"#/definitions/BGE"},"minecraft:genetics":{"$ref":"#/definitions/BGF"},"minecraft:giveable":{"$ref":"#/definitions/BGG"},"minecraft:ground_offset":{"$ref":"#/definitions/BGH"},"minecraft:group_size":{"$ref":"#/definitions/BGI"},"minecraft:grows_crop":{"$ref":"#/definitions/BGJ"},"minecraft:healable":{"$ref":"#/definitions/BHA"},"minecraft:health":{"$ref":"#/definitions/BHB"},"minecraft:heartbeat":{"$ref":"#/definitions/BHC"},"minecraft:hide":{"$ref":"#/definitions/BHD"},"minecraft:home":{"$ref":"#/definitions/BHE"},"minecraft:horse.jump_strength":{"$ref":"#/definitions/BHF"},"minecraft:hurt_on_condition":{"$ref":"#/definitions/BHG"},"minecraft:hurt_when_wet":{"$ref":"#/definitions/BHH"},"minecraft:input_ground_controlled":{"$ref":"#/definitions/BHI"},"minecraft:inside_block_notifier":{"$ref":"#/definitions/BHJ"},"minecraft:insomnia":{"$ref":"#/definitions/BIB"},"minecraft:instant_despawn":{"$ref":"#/definitions/BIC"},"minecraft:interact":{"$ref":"#/definitions/BID"},"minecraft:inventory":{"$ref":"#/definitions/BIE"},"minecraft:is_baby":{"$ref":"#/definitions/BIF"},"minecraft:is_charged":{"$ref":"#/definitions/BIG"},"minecraft:is_chested":{"$ref":"#/definitions/BIH"},"minecraft:is_dyeable":{"$ref":"#/definitions/BII"},"minecraft:is_hidden_when_invisible":{"$ref":"#/definitions/BIJ"},"minecraft:is_ignited":{"$ref":"#/definitions/BJA"},"minecraft:is_illager_captain":{"$ref":"#/definitions/BJB"},"minecraft:is_saddled":{"$ref":"#/definitions/BJC"},"minecraft:is_shaking":{"$ref":"#/definitions/BJD"},"minecraft:is_sheared":{"$ref":"#/definitions/BJE"},"minecraft:is_stackable":{"$ref":"#/definitions/BJF"},"minecraft:is_stunned":{"$ref":"#/definitions/BJG"},"minecraft:is_tamed":{"$ref":"#/definitions/BJH"},"minecraft:item_controllable":{"$ref":"#/definitions/BJI"},"minecraft:item_hopper":{"$ref":"#/definitions/BJJ"},"minecraft:jump.dynamic":{"$ref":"#/definitions/CAA"},"minecraft:jump.static":{"$ref":"#/definitions/CAB"},"minecraft:knockback_resistance":{"$ref":"#/definitions/CAC"},"minecraft:lava_movement":{"$ref":"#/definitions/CAD"},"minecraft:leashable":{"$ref":"#/definitions/CAE"},"minecraft:lookat":{"$ref":"#/definitions/CAF"},"minecraft:loot":{"$ref":"#/definitions/CAG"},"minecraft:managed_wandering_trader":{"$ref":"#/definitions/CAH"},"minecraft:mark_variant":{"$ref":"#/definitions/CAI"},"minecraft:mob_effect":{"$ref":"#/definitions/CAJ"},"minecraft:movement_sound_distance_offset":{"$ref":"#/definitions/CBA"},"minecraft:movement.amphibious":{"$ref":"#/definitions/CBB"},"minecraft:movement.basic":{"$ref":"#/definitions/CBC"},"minecraft:movement.fly":{"$ref":"#/definitions/CBD"},"minecraft:movement.generic":{"$ref":"#/definitions/CBE"},"minecraft:movement.glide":{"$ref":"#/definitions/CBF"},"minecraft:movement.hover":{"$ref":"#/definitions/CBG"},"minecraft:movement.jump":{"$ref":"#/definitions/CBH"},"minecraft:movement.skip":{"$ref":"#/definitions/CBI"},"minecraft:movement.sway":{"$ref":"#/definitions/CBJ"},"minecraft:movement":{"$ref":"#/definitions/CCA"},"minecraft:nameable":{"$ref":"#/definitions/CCB"},"minecraft:navigation.climb":{"$ref":"#/definitions/CCC"},"minecraft:navigation.float":{"$ref":"#/definitions/CCD"},"minecraft:navigation.fly":{"$ref":"#/definitions/CCE"},"minecraft:navigation.generic":{"$ref":"#/definitions/CCF"},"minecraft:navigation.hover":{"$ref":"#/definitions/CCG"},"minecraft:navigation.swim":{"$ref":"#/definitions/CCH"},"minecraft:navigation.walk":{"$ref":"#/definitions/CCI"},"minecraft:npc":{"$ref":"#/definitions/CCJ"},"minecraft:on_death":{"$ref":"#/definitions/CDA"},"minecraft:on_friendly_anger":{"$ref":"#/definitions/CDB"},"minecraft:on_hurt_by_player":{"$ref":"#/definitions/CDC"},"minecraft:on_hurt":{"$ref":"#/definitions/CDD"},"minecraft:on_ignite":{"$ref":"#/definitions/CDE"},"minecraft:on_start_landing":{"$ref":"#/definitions/CDF"},"minecraft:on_start_takeoff":{"$ref":"#/definitions/CDG"},"minecraft:on_target_acquired":{"$ref":"#/definitions/CDH"},"minecraft:on_target_escape":{"$ref":"#/definitions/CDI"},"minecraft:on_wake_with_owner":{"$ref":"#/definitions/CDJ"},"minecraft:out_of_control":{"$ref":"#/definitions/CEA"},"minecraft:peek":{"$ref":"#/definitions/CEB"},"minecraft:persistent":{"$ref":"#/definitions/CEC"},"minecraft:physics":{"$ref":"#/definitions/CED"},"minecraft:player.exhaustion":{"$ref":"#/definitions/CEE"},"minecraft:player.experience":{"$ref":"#/definitions/CEF"},"minecraft:player.level":{"$ref":"#/definitions/CEG"},"minecraft:player.saturation":{"$ref":"#/definitions/CEH"},"minecraft:preferred_path":{"$ref":"#/definitions/CEI"},"minecraft:projectile":{"$ref":"#/definitions/CEJ"},"minecraft:push_through":{"$ref":"#/definitions/CFC"},"minecraft:pushable":{"$ref":"#/definitions/CFD"},"minecraft:raid_trigger":{"$ref":"#/definitions/CFE"},"minecraft:rail_movement":{"$ref":"#/definitions/CFF"},"minecraft:rail_sensor":{"$ref":"#/definitions/CFG"},"minecraft:ravager_blocked":{"$ref":"#/definitions/CFH"},"minecraft:rideable":{"$ref":"#/definitions/CFI"},"minecraft:scale_by_age":{"$ref":"#/definitions/CFJ"},"minecraft:scale":{"$ref":"#/definitions/CGA"},"minecraft:scheduler":{"$ref":"#/definitions/CGB"},"minecraft:shareables":{"$ref":"#/definitions/CGC"},"minecraft:shooter":{"$ref":"#/definitions/CGD"},"minecraft:sittable":{"$ref":"#/definitions/CGE"},"minecraft:skin_id":{"$ref":"#/definitions/CGF"},"minecraft:sound_volume":{"$ref":"#/definitions/CGG"},"minecraft:spawn_entity":{"$ref":"#/definitions/CGH"},"minecraft:spell_effects":{"$ref":"#/definitions/CGI"},"minecraft:strength":{"$ref":"#/definitions/CGJ"},"minecraft:suspect_tracking":{"$ref":"#/definitions/CHA"},"minecraft:tameable":{"$ref":"#/definitions/CHB"},"minecraft:tamemount":{"$ref":"#/definitions/CHC"},"minecraft:target_nearby_sensor":{"$ref":"#/definitions/CHD"},"minecraft:teleport":{"$ref":"#/definitions/CHE"},"minecraft:tick_world":{"$ref":"#/definitions/CHF"},"minecraft:timer":{"$ref":"#/definitions/CHG"},"minecraft:trade_resupply":{"$ref":"#/definitions/CHH"},"minecraft:trade_table":{"$ref":"#/definitions/CHI"},"minecraft:trail":{"$ref":"#/definitions/CHJ"},"minecraft:transformation":{"$ref":"#/definitions/CIA"},"minecraft:trust":{"$ref":"#/definitions/CIB"},"minecraft:trusting":{"$ref":"#/definitions/CIC"},"minecraft:type_family":{"$ref":"#/definitions/CID"},"minecraft:underwater_movement":{"$ref":"#/definitions/CIE"},"minecraft:variable_max_auto_step":{"$ref":"#/definitions/CIF"},"minecraft:variant":{"$ref":"#/definitions/CIG"},"minecraft:vibration_damper":{"$ref":"#/definitions/CIH"},"minecraft:vibration_listener":{"$ref":"#/definitions/CII"},"minecraft:walk_animation_speed":{"$ref":"#/definitions/CIJ"},"minecraft:wants_jockey":{"$ref":"#/definitions/CJA"},"minecraft:water_movement":{"$ref":"#/definitions/CJB"},"minecraft:behavior.admire_item":{"$ref":"#/definitions/CJC"},"minecraft:behavior.avoid_block":{"$ref":"#/definitions/CJE"},"minecraft:behavior.avoid_mob_type":{"$ref":"#/definitions/CJF"},"minecraft:behavior.barter":{"$ref":"#/definitions/CJH"},"minecraft:behavior.beg":{"$ref":"#/definitions/CJI"},"minecraft:behavior.break_door":{"$ref":"#/definitions/CJJ"},"minecraft:behavior.breed":{"$ref":"#/definitions/DAB"},"minecraft:behavior.celebrate_survive":{"$ref":"#/definitions/DAC"},"minecraft:behavior.celebrate":{"$ref":"#/definitions/DAD"},"minecraft:behavior.charge_attack":{"$ref":"#/definitions/DAE"},"minecraft:behavior.charge_held_item":{"$ref":"#/definitions/DAF"},"minecraft:behavior.circle_around_anchor":{"$ref":"#/definitions/DAG"},"minecraft:behavior.controlled_by_player":{"$ref":"#/definitions/DAH"},"minecraft:behavior.croak":{"$ref":"#/definitions/DAI"},"minecraft:behavior.defend_trusted_target":{"$ref":"#/definitions/DBB"},"minecraft:behavior.defend_village_target":{"$ref":"#/definitions/DBC"},"minecraft:behavior.delayed_attack":{"$ref":"#/definitions/DBD"},"minecraft:behavior.dig":{"$ref":"#/definitions/DBE"},"minecraft:behavior.door_interact":{"$ref":"#/definitions/DBF"},"minecraft:behavior.dragonchargeplayer":{"$ref":"#/definitions/DBG"},"minecraft:behavior.dragondeath":{"$ref":"#/definitions/DBH"},"minecraft:behavior.dragonflaming":{"$ref":"#/definitions/DBI"},"minecraft:behavior.dragonholdingpattern":{"$ref":"#/definitions/DBJ"},"minecraft:behavior.dragonlanding":{"$ref":"#/definitions/DCA"},"minecraft:behavior.dragonscanning":{"$ref":"#/definitions/DCB"},"minecraft:behavior.dragonstrafeplayer":{"$ref":"#/definitions/DCC"},"minecraft:behavior.dragontakeoff":{"$ref":"#/definitions/DCD"},"minecraft:behavior.drink_milk":{"$ref":"#/definitions/DCE"},"minecraft:behavior.drink_potion":{"$ref":"#/definitions/DCF"},"minecraft:behavior.drop_item_for":{"$ref":"#/definitions/DCG"},"minecraft:behavior.eat_block":{"$ref":"#/definitions/DCH"},"minecraft:behavior.eat_carried_item":{"$ref":"#/definitions/DCI"},"minecraft:behavior.eat_mob":{"$ref":"#/definitions/DCJ"},"minecraft:behavior.emerge":{"$ref":"#/definitions/DCJ"},"minecraft:behavior.enderman_leave_block":{"$ref":"#/definitions/DDA"},"minecraft:behavior.enderman_take_block":{"$ref":"#/definitions/DDB"},"minecraft:behavior.equip_item":{"$ref":"#/definitions/DDC"},"minecraft:behavior.explore_outskirts":{"$ref":"#/definitions/DDD"},"minecraft:behavior.fertilize_farm_block":{"$ref":"#/definitions/DDE"},"minecraft:behavior.find_cover":{"$ref":"#/definitions/DDF"},"minecraft:behavior.find_mount":{"$ref":"#/definitions/DDG"},"minecraft:behavior.find_underwater_treasure":{"$ref":"#/definitions/DDH"},"minecraft:behavior.flee_sun":{"$ref":"#/definitions/DDI"},"minecraft:behavior.float_wander":{"$ref":"#/definitions/DDJ"},"minecraft:behavior.float":{"$ref":"#/definitions/DEA"},"minecraft:behavior.follow_caravan":{"$ref":"#/definitions/DEB"},"minecraft:behavior.follow_mob":{"$ref":"#/definitions/DEC"},"minecraft:behavior.follow_owner":{"$ref":"#/definitions/DED"},"minecraft:behavior.follow_parent":{"$ref":"#/definitions/DEE"},"minecraft:behavior.follow_target_captain":{"$ref":"#/definitions/DEF"},"minecraft:behavior.go_and_give_items_to_noteblock":{"$ref":"#/definitions/DEG"},"minecraft:behavior.go_and_give_items_to_owner":{"$ref":"#/definitions/DEH"},"minecraft:behavior.go_home":{"$ref":"#/definitions/DEI"},"minecraft:behavior.guardian_attack":{"$ref":"#/definitions/DEJ"},"minecraft:behavior.harvest_farm_block":{"$ref":"#/definitions/DFA"},"minecraft:behavior.hide":{"$ref":"#/definitions/DFB"},"minecraft:behavior.hold_ground":{"$ref":"#/definitions/DFC"},"minecraft:behavior.hurt_by_target":{"$ref":"#/definitions/DFD"},"minecraft:behavior.inspect_bookshelf":{"$ref":"#/definitions/DFE"},"minecraft:behavior.investigate_suspicious_location":{"$ref":"#/definitions/DFF"},"minecraft:behavior.jump_to_block":{"$ref":"#/definitions/DFG"},"minecraft:behavior.knockback_roar":{"$ref":"#/definitions/DFH"},"minecraft:behavior.lay_down":{"$ref":"#/definitions/DFI"},"minecraft:behavior.lay_egg":{"$ref":"#/definitions/DFJ"},"minecraft:behavior.leap_at_target":{"$ref":"#/definitions/DGA"},"minecraft:behavior.look_at_entity":{"$ref":"#/definitions/DGB"},"minecraft:behavior.look_at_player":{"$ref":"#/definitions/DGC"},"minecraft:behavior.look_at_target":{"$ref":"#/definitions/DGD"},"minecraft:behavior.look_at_trading_player":{"$ref":"#/definitions/DGE"},"minecraft:behavior.make_love":{"$ref":"#/definitions/DGF"},"minecraft:behavior.melee_attack":{"$ref":"#/definitions/DGG"},"minecraft:behavior.melee_box_attack":{"$ref":"#/definitions/DGH"},"minecraft:behavior.mingle":{"$ref":"#/definitions/DGI"},"minecraft:behavior.mount_pathing":{"$ref":"#/definitions/DGJ"},"minecraft:behavior.move_indoors":{"$ref":"#/definitions/DHA"},"minecraft:behavior.move_outdoors":{"$ref":"#/definitions/DHB"},"minecraft:behavior.move_through_village":{"$ref":"#/definitions/DHC"},"minecraft:behavior.move_to_block":{"$ref":"#/definitions/DHD"},"minecraft:behavior.move_to_land":{"$ref":"#/definitions/DHE"},"minecraft:behavior.move_to_lava":{"$ref":"#/definitions/DHF"},"minecraft:behavior.move_to_liquid":{"$ref":"#/definitions/DHG"},"minecraft:behavior.move_to_poi":{"$ref":"#/definitions/DHH"},"minecraft:behavior.move_to_random_block":{"$ref":"#/definitions/DHI"},"minecraft:behavior.move_to_village":{"$ref":"#/definitions/DHJ"},"minecraft:behavior.move_to_water":{"$ref":"#/definitions/DIA"},"minecraft:behavior.move_towards_dwelling_restriction":{"$ref":"#/definitions/DIB"},"minecraft:behavior.move_towards_home_restriction":{"$ref":"#/definitions/DIC"},"minecraft:behavior.move_towards_restriction":{"$ref":"#/definitions/DID"},"minecraft:behavior.move_towards_target":{"$ref":"#/definitions/DIE"},"minecraft:behavior.nap":{"$ref":"#/definitions/DIF"},"minecraft:behavior.nearest_attackable_target":{"$ref":"#/definitions/DIG"},"minecraft:behavior.nearest_prioritized_attackable_target":{"$ref":"#/definitions/DIH"},"minecraft:behavior.ocelot_sit_on_block":{"$ref":"#/definitions/DII"},"minecraft:behavior.ocelotattack":{"$ref":"#/definitions/DIJ"},"minecraft:behavior.offer_flower":{"$ref":"#/definitions/DJA"},"minecraft:behavior.open_door":{"$ref":"#/definitions/DJB"},"minecraft:behavior.owner_hurt_by_target":{"$ref":"#/definitions/DJC"},"minecraft:behavior.owner_hurt_target":{"$ref":"#/definitions/DJD"},"minecraft:behavior.panic":{"$ref":"#/definitions/DJE"},"minecraft:behavior.peek":{"$ref":"#/definitions/DJF"},"minecraft:behavior.pet_sleep_with_owner":{"$ref":"#/definitions/DJG"},"minecraft:behavior.pickup_items":{"$ref":"#/definitions/DJH"},"minecraft:behavior.play_dead":{"$ref":"#/definitions/DJI"},"minecraft:behavior.play":{"$ref":"#/definitions/DJJ"},"minecraft:behavior.player_ride_tamed":{"$ref":"#/definitions/EAA"},"minecraft:behavior.raid_garden":{"$ref":"#/definitions/EAB"},"minecraft:behavior.ram_attack":{"$ref":"#/definitions/EAC"},"minecraft:behavior.random_breach":{"$ref":"#/definitions/EAD"},"minecraft:behavior.random_fly":{"$ref":"#/definitions/EAE"},"minecraft:behavior.random_hover":{"$ref":"#/definitions/EAF"},"minecraft:behavior.random_look_around_and_sit":{"$ref":"#/definitions/EAG"},"minecraft:behavior.random_look_around":{"$ref":"#/definitions/EAH"},"minecraft:behavior.random_search_and_dig":{"$ref":"#/definitions/EAI"},"minecraft:behavior.random_sitting":{"$ref":"#/definitions/EAJ"},"minecraft:behavior.random_stroll":{"$ref":"#/definitions/EBA"},"minecraft:behavior.random_swim":{"$ref":"#/definitions/EBB"},"minecraft:behavior.ranged_attack":{"$ref":"#/definitions/EBC"},"minecraft:behavior.receive_love":{"$ref":"#/definitions/EBD"},"minecraft:behavior.restrict_open_door":{"$ref":"#/definitions/EBE"},"minecraft:behavior.restrict_sun":{"$ref":"#/definitions/EBF"},"minecraft:behavior.rise_to_liquid_level":{"$ref":"#/definitions/EBG"},"minecraft:behavior.roar":{"$ref":"#/definitions/EBH"},"minecraft:behavior.roll":{"$ref":"#/definitions/EBI"},"minecraft:behavior.run_around_like_crazy":{"$ref":"#/definitions/EBJ"},"minecraft:behavior.scared":{"$ref":"#/definitions/ECA"},"minecraft:behavior.send_event":{"$ref":"#/definitions/ECB"},"minecraft:behavior.share_items":{"$ref":"#/definitions/ECC"},"minecraft:behavior.silverfish_merge_with_stone":{"$ref":"#/definitions/ECD"},"minecraft:behavior.silverfish_wake_up_friends":{"$ref":"#/definitions/ECE"},"minecraft:behavior.skeleton_horse_trap":{"$ref":"#/definitions/ECF"},"minecraft:behavior.sleep":{"$ref":"#/definitions/ECG"},"minecraft:behavior.slime_attack":{"$ref":"#/definitions/ECH"},"minecraft:behavior.slime_float":{"$ref":"#/definitions/ECI"},"minecraft:behavior.slime_keep_on_jumping":{"$ref":"#/definitions/ECJ"},"minecraft:behavior.slime_random_direction":{"$ref":"#/definitions/EDA"},"minecraft:behavior.snacking":{"$ref":"#/definitions/EDB"},"minecraft:behavior.sneeze":{"$ref":"#/definitions/EDC"},"minecraft:behavior.sonic_boom":{"$ref":"#/definitions/EDD"},"minecraft:behavior.squid_dive":{"$ref":"#/definitions/EDE"},"minecraft:behavior.squid_flee":{"$ref":"#/definitions/EDF"},"minecraft:behavior.squid_idle":{"$ref":"#/definitions/EDG"},"minecraft:behavior.squid_move_away_from_ground":{"$ref":"#/definitions/EDH"},"minecraft:behavior.squid_out_of_water":{"$ref":"#/definitions/EDI"},"minecraft:behavior.stalk_and_pounce_on_target":{"$ref":"#/definitions/EDJ"},"minecraft:behavior.stay_near_noteblock":{"$ref":"#/definitions/EEA"},"minecraft:behavior.stay_while_sitting":{"$ref":"#/definitions/EEB"},"minecraft:behavior.stomp_attack":{"$ref":"#/definitions/EEC"},"minecraft:behavior.stomp_turtle_egg":{"$ref":"#/definitions/EED"},"minecraft:behavior.stroll_towards_village":{"$ref":"#/definitions/EEE"},"minecraft:behavior.summon_entity":{"$ref":"#/definitions/EEF"},"minecraft:behavior.swell":{"$ref":"#/definitions/EEG"},"minecraft:behavior.swim_idle":{"$ref":"#/definitions/EEH"},"minecraft:behavior.swim_wander":{"$ref":"#/definitions/EEI"},"minecraft:behavior.swim_with_entity":{"$ref":"#/definitions/EEJ"},"minecraft:behavior.swoop_attack":{"$ref":"#/definitions/EFA"},"minecraft:behavior.take_flower":{"$ref":"#/definitions/EFB"},"minecraft:behavior.target_when_pushed":{"$ref":"#/definitions/EFC"},"minecraft:behavior.tempt":{"$ref":"#/definitions/EFD"},"minecraft:behavior.timer_flag_1":{"$ref":"#/definitions/EFE"},"minecraft:behavior.timer_flag_2":{"$ref":"#/definitions/EFE"},"minecraft:behavior.timer_flag_3":{"$ref":"#/definitions/EFE"},"minecraft:behavior.trade_interest":{"$ref":"#/definitions/EFF"},"minecraft:behavior.trade_with_player":{"$ref":"#/definitions/EFG"},"minecraft:behavior.vex_copy_owner_target":{"$ref":"#/definitions/EFH"},"minecraft:behavior.vex_random_move":{"$ref":"#/definitions/EFI"},"minecraft:behavior.wither_random_attack_pos_goal":{"$ref":"#/definitions/EFJ"},"minecraft:behavior.wither_target_highest_damage":{"$ref":"#/definitions/EGA"},"minecraft:behavior.work":{"$ref":"#/definitions/EGB"},"minecraft:behavior.work_composter":{"$ref":"#/definitions/EGC"}}},"EGD_addremove":{"additionalProperties":false,"title":"Add Or Remove","description":"The components groups to add or remove.","type":"object","examples":[{"component_groups":["self:variant1"]}],"properties":{"component_groups":{"title":"Component Groups","description":"The components groups to add or remove.","type":"array","items":{"type":"string","description":"A reference to a component group.","title":"Component Groups"}}}},"EGD_event_base":{"additionalProperties":false,"type":"object","examples":[{},{"add":{"component_groups":[]}},{"remove":{"component_groups":[]}}],"defaultSnippets":[{"label":"New Add Event","body":{"add":{"component_groups":["$1"]}}},{"label":"New Remove Event","body":{"remove":{"component_groups":["$1"]}}},{"label":"New Random Event","body":{"randomize":[{"add":{"component_groups":["$1"]},"weight":1},{"add":{"component_groups":["$2"]},"weight":1}]}},{"label":"New Sequence Events","body":{"sequence":[{"add":{"component_groups":["$1"]}},{"add":{"component_groups":["$2"]}}]}}],"properties":{"filters":{"$ref":"#/definitions/BD"},"trigger":{"description":"Triggers additional events.","$comment":"UNDOCUMENTED","title":"Trigger","$ref":"#/definitions/BAI"},"add":{"$ref":"#/definitions/EGD_addremove","description":"What gets added when the event gets triggered.","title":"Add"},"remove":{"$ref":"#/definitions/EGD_addremove","description":"What gets removed when the event gets triggered.","title":"Remove"},"randomize":{"type":"array","description":"Randomly selects one of the following items based upon their weight and the total weights.","title":"Randomize","items":{"description":"Randomly selects one of the following items based upon their weight and the total weights.","title":"Randomize","examples":[{"add":{"component_groups":["foo:example"]},"weight":1}],"properties":{"add":{"$ref":"#/definitions/EGD_addremove","description":"What gets added when the event gets triggered.","title":"Add"},"remove":{"$ref":"#/definitions/EGD_addremove","description":"What gets removed when the event gets triggered.","title":"Remove"},"trigger":{"description":"Triggers additional events.","$comment":"UNDOCUMENTED","title":"Trigger","$ref":"#/definitions/BAI"},"weight":{"type":"number","default":1,"minimum":1,"description":"The weight on how likely this section is to trigger.","$comment":"UNDOCUMENTED","title":"Weight"}}}},"sequence":{"type":"array","description":"A series of filters and components to be added.","title":"Sequences","items":{"description":"Filters and components to be added.","title":"Sequence","type":"object","properties":{"add":{"$ref":"#/definitions/EGD_addremove","description":"What gets added when the event gets triggered.","title":"Add"},"remove":{"$ref":"#/definitions/EGD_addremove","description":"What gets removed when the event gets triggered.","title":"Remove"},"trigger":{"description":"Triggers additional events.","$comment":"UNDOCUMENTED","title":"Trigger","$ref":"#/definitions/BAI"},"filters":{"$ref":"#/definitions/BD"}}}},"set_property":{"title":"Set Property","description":"Sets a property on the entity.","type":"object","additionalProperties":{"title":"Property","type":["string","number","integer","boolean"],"description":"The value to set the property to.","examples":[false,0,0.0,"math.random(0, 10)"]},"examples":[{"example:property":false},{"example:property":0},{"example:property":0.0},{"example:property":"one"},{"example:property":"math.random(0, 10)"}]},"queue_command":{"description":"Queues a command to be executed.","properties":{"command":{"title":"Command","description":"The command to execute.","oneOf":[{"type":"string","pattern":"^[^/].*$","examples":["say Hello World"]},{"type":"array","items":{"type":"string","description":"The command to execute.","examples":["say Hello World"],"pattern":"^[^/].*$"}}]}}}}},"EGD":{"type":"object","title":"Events","description":"Events for entities.","additionalProperties":{"$ref":"#/definitions/EGD_event_base"},"properties":{"minecraft:entity_transformed":{"description":"Event called on an entity that transforms into another entity.","$ref":"#/definitions/EGD_event_base","title":"Entity Transformed"},"minecraft:entity_born":{"description":"Event called on an entity that is spawned through two entities breeding.","$ref":"#/definitions/EGD_event_base","title":"Entity Born"},"minecraft:entity_spawned":{"description":"Event called on an entity that is placed in the level.","$ref":"#/definitions/EGD_event_base","title":"Entity Spawned"},"minecraft:on_prime":{"description":"Event called on an entity whose fuse is lit and is ready to explode.","$ref":"#/definitions/EGD_event_base","title":"On Prime"}}},"B":{"title":"Entity","required":["description"],"dependencies":{"component_groups":["events"]},"additionalProperties":false,"type":"object","properties":{"description":{"required":["identifier"],"title":"Description","description":"The description of the this entity.","properties":{"animations":{"title":"Animations","description":"Sets the mapping of internal animation / animation controllers references to actual animations. This is a JSON Object of name/animation pairs","type":"object","additionalProperties":{"title":"Animation / Controller","description":"The name of the animation controller / animation.","type":"string","examples":["animation.","controller."]}},"identifier":{"$ref":"#/definitions/C","description":"Sets the identifier for this entity's description.","title":"Identifier"},"is_spawnable":{"type":"boolean","title":"Is Spawnable","description":"Sets whether or not this entity has a spawn egg in the creative ui.","default":false},"is_summonable":{"type":"boolean","title":"Is Summonable Property","description":"Sets whether or not we can summon this entity using commands such as /summon.","default":true},"is_experimental":{"type":"boolean","title":"Is Experimental","description":"Sets whether or not this entity is experimental. Experimental entities are only enabled when the experimental toggle is enabled.","default":false},"properties":{"title":"Experimental","description":"Experimental","type":"object","additionalProperties":{"type":"object","required":["type"],"properties":{"type":{"title":"Type","description":"The type of the property.","enum":["bool","int","float","enum"]},"client_sync":{"title":"Client Sync","description":"Sets whether or not the property is synced to the client.","type":"boolean","default":false}},"oneOf":[{"properties":{"type":{"const":"bool"},"default":{"title":"Default","description":"The default value of the property.","$ref":"#/definitions/D"}}},{"properties":{"type":{"const":"int"},"default":{"title":"Default","description":"The default value of the property.","$ref":"#/definitions/E"},"range":{"title":"Range","description":"The range of the property.","type":"array","items":[{"title":"Min","type":"integer","description":"The minimum value of the property."},{"title":"Max","type":"integer","description":"The minimum value of the property."}]}}},{"properties":{"type":{"const":"float"},"default":{"title":"Default","description":"The default value of the property.","$ref":"#/definitions/E"},"range":{"title":"Range","description":"The range of the property.","type":"array","items":[{"title":"Min","type":"number","description":"The minimum value of the property."},{"title":"Max","type":"number","description":"The minimum value of the property."}]}}},{"properties":{"type":{"const":"enum"},"default":{"type":"string"},"client_sync":{"title":"Client Sync","description":"Sets whether or not the property is synced to the client.","type":"boolean","default":false},"values":{"title":"Values","description":"The values of the property.","type":"array","minItems":1,"items":{"type":"string"}}}}]}},"runtime_identifier":{"type":"string","title":"Runtime Identifier","description":"Sets the name for the Vanilla Minecraft identifier this entity will use to build itself from.","examples":["minecraft:"]},"scripts":{"type":"object","title":"Scripts","description":"Sets the mapping of internal animation controller references to actual animation controller. This is a JSON Array of name/animation-controller pairs","properties":{"animate":{"type":"array","title":"Animate","description":"Tells minecraft to run which animation / animation controllers and under what conditions.","items":{"oneOf":[{"type":"string","title":"Animation","description":"The name of an animation controller referenced in animations."},{"type":"object","title":"Conditional Animation","description":"A conditional statement to run the animation under a specified condition.","$comment":"UNDOCUMENTED","additionalProperties":{"type":"string","title":"Animation"}}]}}}}}},"component_groups":{"title":"Component Groups","description":"Each group when add / remove the default components.","uniqueItems":true,"type":"object","propertyNames":{"examples":["self:"]},"additionalProperties":{"$ref":"#/definitions/F","uniqueItems":true,"description":"The components that are added as the foundation of the entity.","title":"Component"}},"components":{"$ref":"#/definitions/F","uniqueItems":true,"description":"The components that are added as the foundation of the entity.","title":"Component"},"events":{"$ref":"#/definitions/EGD","uniqueItems":true,"description":"The events that the entity can run, these add or remove components_groups.","title":"Events"}}}}} \ No newline at end of file +{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.behavior.entities","examples":[{"format_version":"1.20.41","minecraft:entity":{"description":{"identifier":"namespace:entity","is_spawnable":true,"is_summonable":true},"component_groups":{},"components":{},"events":{}}}],"type":"object","title":"Entity Behavior","description":"The minecraft entity behavior specification.","required":["format_version","minecraft:entity"],"additionalProperties":false,"properties":{"format_version":{"$ref":"#/definitions/A"},"minecraft:entity":{"$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 entity identifier.","examples":["namespace:entity_name"],"pattern":"^[0-9a-zA-Z:_\\.\\-]+$","title":"Entity Identifier","type":"string","defaultSnippets":[{"label":"New Identifier","body":"$1:$2"}]},"D":{"title":"Molang Boolean","description":"The minecraft molang definition that results in a boolean.","anyOf":[{"type":"string","minLength":0},{"type":"boolean"}],"examples":[0,"query.variant","(1.0)","query.","variable.=;"],"defaultSnippets":[{"label":"New Molang","body":"$1"}]},"E":{"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"}]},"G":{"additionalProperties":false,"type":"object","title":"Add Rider","description":"Adds a rider to the entity. Requires `minecraft:rideable.`","required":["entity_type"],"properties":{"entity_type":{"type":"string","description":"The entity type that will be riding this entity.","title":"Entity Type"},"spawn_event":{"type":"string","description":"The spawn event that will be used when the riding entity is created.","title":"Spawn Event"}},"examples":[{"entity_type":"minecraft:rabbit"},{"entity_type":"minecraft:rabbit","spawn_event":"self:example"}]},"H":{"type":"object","title":"Admire Item","description":"Causes the mob to ignore attackable targets for a given duration.","additionalProperties":false,"properties":{"cooldown_after_being_attacked":{"type":"integer","default":0,"description":"Duration, in seconds, for which mob won't admire items if it was hurt.","title":"Cooldown After Being Attacked"},"duration":{"type":"integer","default":10,"description":"Duration, in seconds, that the mob is pacified.","title":"Duration"}},"examples":[{"cooldown_after_being_attacked":0,"duration":10}]},"J_object_item_descriptor":{"title":"Item Descriptor","description":"An object that describes an item.","type":"object","additionalProperties":false,"properties":{"item":{"oneOf":[{"type":"string","$ref":"#/definitions/BA"},{"type":"object","$ref":"#/definitions/J_object_item_descriptor"}]},"tags":{"type":"string","$ref":"#/definitions/BB","description":"[UNDOCUMENTED] A Molang expression ran against item or block to match.","$comment":"UNDOCUMENTED","examples":["query.any_tag('minecraft:is_tool')"]},"item_tag":{"type":"string","description":"[UNDOCUMENTED] A tag to lookup item or block by.","$comment":"UNDOCUMENTED","examples":["minecraft:is_tool"]}},"examples":[{"tags":"query.any_tag('minecraft:is_tool')"},{"item_tag":"minecraft:is_tool"}]},"BA":{"description":"A minecraft item identifier.","pattern":"^[0-9a-zA-Z:_\\-\\.]+$","title":"Item Identifier","type":"string","defaultSnippets":[{"label":"New Identifier","body":"$1:$2"}]},"BB":{"type":"string","title":"Molang","description":"Molang definition.","format":"molang","examples":["query.variant","(1.0)","query.","variable.=;"],"defaultSnippets":[{"label":"New Molang","body":"$1"}]},"J":{"anyOf":[{"$ref":"#/definitions/BA"},{"$ref":"#/definitions/J_object_item_descriptor"},{"type":"object","properties":{"item":{"oneOf":[{"type":"string","$ref":"#/definitions/BA"},{"type":"object","$ref":"#/definitions/J_object_item_descriptor"}]}}}]},"BC":{"title":"Event","description":"Minecraft behavior event.","examples":[{"event":"example:foo","target":"self"}],"type":"object","additionalProperties":false,"properties":{"event":{"type":"string","pattern":"^[a-zA-Z0-9_\\-:]+$","description":"The event to fire.","title":"Event"},"target":{"type":"string","description":"The target of the event.","title":"Target","enum":["baby","block","damager","other","parent","player","self","target"]}}},"BD_filters_spec":{"defaultSnippets":[{"label":"New Test","body":{"test":"$1","value":"$2"}},{"label":"New All_of Test","body":{"all_of":[{"test":"$1","value":"$2"},{"test":"$3","value":"$4"}]}},{"label":"New Any_of Test","body":{"any_of":[{"test":"$1","value":"$2"},{"test":"$3","value":"$4"}]}},{"label":"New None_of Test","body":{"none_of":[{"test":"$1","value":"$2"},{"test":"$3","value":"$4"}]}}],"examples":[{"all_of":[{}]},{"any_of":[{}]},{"none_of":[{}]}],"oneOf":[{"propertyNames":{"enum":["all_of","any_of","none_of"]},"properties":{"all_of":{"title":"All Of","description":"All tests in an `all_of` group must pass in order for the group to pass.","$ref":"#/definitions/BD_groups_spec"},"any_of":{"title":"Any Of","description":"One or more tests in an `any_of` group must pass in order for the group to pass.","$ref":"#/definitions/BD_groups_spec"},"none_of":{"title":"None Of","description":"All tests in a `none_of` group must fail in order for the group to pass.","$ref":"#/definitions/BD_groups_spec"}}},{"required":["test"],"properties":{"all_of":{"title":"All Of","description":"All tests in an `all_of` group must pass in order for the group to pass.","$ref":"#/definitions/BD_groups_spec"},"any_of":{"title":"Any Of","description":"One or more tests in an `any_of` group must pass in order for the group to pass.","$ref":"#/definitions/BD_groups_spec"},"none_of":{"title":"None Of","description":"All tests in a `none_of` group must fail in order for the group to pass.","$ref":"#/definitions/BD_groups_spec"}},"allOf":[{"if":{"properties":{"test":{"const":"actor_health"}}},"then":{"$ref":"#/definitions/BE"}},{"if":{"properties":{"test":{"const":"all_slots_empty"}}},"then":{"$ref":"#/definitions/BH"}},{"if":{"properties":{"test":{"const":"any_slots_empty"}}},"then":{"$ref":"#/definitions/BJ"}},{"if":{"properties":{"test":{"const":"bool_property"}}},"then":{"$ref":"#/definitions/CA"}},{"if":{"properties":{"test":{"const":"clock_time"}}},"then":{"$ref":"#/definitions/CB"}},{"if":{"properties":{"test":{"const":"distance_to_nearest_player"}}},"then":{"$ref":"#/definitions/CC"}},{"if":{"properties":{"test":{"const":"enum_property"}}},"then":{"$ref":"#/definitions/CD"}},{"if":{"properties":{"test":{"const":"float_property"}}},"then":{"$ref":"#/definitions/CE"}},{"if":{"properties":{"test":{"const":"has_ability"}}},"then":{"$ref":"#/definitions/CF"}},{"if":{"properties":{"test":{"const":"has_biome_tag"}}},"then":{"$ref":"#/definitions/CG"}},{"if":{"properties":{"test":{"const":"has_component"}}},"then":{"$ref":"#/definitions/CH"}},{"if":{"properties":{"test":{"const":"has_container_open"}}},"then":{"$ref":"#/definitions/CI"}},{"if":{"properties":{"test":{"const":"has_damage"}}},"then":{"$ref":"#/definitions/CJ"}},{"if":{"properties":{"test":{"const":"has_equipment"}}},"then":{"$ref":"#/definitions/DB"}},{"if":{"properties":{"test":{"const":"has_mob_effect"}}},"then":{"$ref":"#/definitions/DC"}},{"if":{"properties":{"test":{"const":"has_nametag"}}},"then":{"$ref":"#/definitions/DD"}},{"if":{"properties":{"test":{"const":"has_property"}}},"then":{"$ref":"#/definitions/DE"}},{"if":{"properties":{"test":{"const":"has_ranged_weapon"}}},"then":{"$ref":"#/definitions/DF"}},{"if":{"properties":{"test":{"const":"has_silk_touch"}}},"then":{"$ref":"#/definitions/DG"}},{"if":{"properties":{"test":{"const":"has_tag"}}},"then":{"$ref":"#/definitions/DH"}},{"if":{"properties":{"test":{"const":"has_target"}}},"then":{"$ref":"#/definitions/DI"}},{"if":{"properties":{"test":{"const":"has_trade_supply"}}},"then":{"$ref":"#/definitions/DJ"}},{"if":{"properties":{"test":{"const":"hourly_clock_time"}}},"then":{"$ref":"#/definitions/EA"}},{"if":{"properties":{"test":{"const":"in_block"}}},"then":{"$ref":"#/definitions/EB"}},{"if":{"properties":{"test":{"const":"in_caravan"}}},"then":{"$ref":"#/definitions/EC"}},{"if":{"properties":{"test":{"const":"in_clouds"}}},"then":{"$ref":"#/definitions/ED"}},{"if":{"properties":{"test":{"const":"in_contact_with_water"}}},"then":{"$ref":"#/definitions/EE"}},{"if":{"properties":{"test":{"const":"in_lava"}}},"then":{"$ref":"#/definitions/EF"}},{"if":{"properties":{"test":{"const":"in_nether"}}},"then":{"$ref":"#/definitions/EG"}},{"if":{"properties":{"test":{"const":"in_overworld"}}},"then":{"$ref":"#/definitions/EH"}},{"if":{"properties":{"test":{"const":"in_water_or_rain"}}},"then":{"$ref":"#/definitions/EI"}},{"if":{"properties":{"test":{"const":"in_water"}}},"then":{"$ref":"#/definitions/EJ"}},{"if":{"properties":{"test":{"const":"inactivity_timer"}}},"then":{"$ref":"#/definitions/FA"}},{"if":{"properties":{"test":{"const":"int_property"}}},"then":{"$ref":"#/definitions/FB"}},{"if":{"properties":{"test":{"const":"is_altitude"}}},"then":{"$ref":"#/definitions/FC"}},{"if":{"properties":{"test":{"const":"is_avoiding_mobs"}}},"then":{"$ref":"#/definitions/FD"}},{"if":{"properties":{"test":{"const":"is_biome"}}},"then":{"$ref":"#/definitions/FE"}},{"if":{"properties":{"test":{"const":"is_block"}}},"then":{"$ref":"#/definitions/FF"}},{"if":{"properties":{"test":{"const":"is_brightness"}}},"then":{"$ref":"#/definitions/FG"}},{"if":{"properties":{"test":{"const":"is_climbing"}}},"then":{"$ref":"#/definitions/FH"}},{"if":{"properties":{"test":{"const":"is_color"}}},"then":{"$ref":"#/definitions/FI"}},{"if":{"properties":{"test":{"const":"is_daytime"}}},"then":{"$ref":"#/definitions/FJ"}},{"if":{"properties":{"test":{"const":"is_difficulty"}}},"then":{"$ref":"#/definitions/GA"}},{"if":{"properties":{"test":{"const":"is_family"}}},"then":{"$ref":"#/definitions/GB"}},{"if":{"properties":{"test":{"const":"is_game_rule"}}},"then":{"$ref":"#/definitions/GC"}},{"if":{"properties":{"test":{"const":"is_humid"}}},"then":{"$ref":"#/definitions/GD"}},{"if":{"properties":{"test":{"const":"is_immobile"}}},"then":{"$ref":"#/definitions/GE"}},{"if":{"properties":{"test":{"const":"is_in_village"}}},"then":{"$ref":"#/definitions/GF"}},{"if":{"properties":{"test":{"const":"is_leashed_to"}}},"then":{"$ref":"#/definitions/GG"}},{"if":{"properties":{"test":{"const":"is_leashed"}}},"then":{"$ref":"#/definitions/GH"}},{"if":{"properties":{"test":{"const":"is_mark_variant"}}},"then":{"$ref":"#/definitions/GI"}},{"if":{"properties":{"test":{"const":"is_missing_health"}}},"then":{"$ref":"#/definitions/GJ"}},{"if":{"properties":{"test":{"const":"is_moving"}}},"then":{"$ref":"#/definitions/HA"}},{"if":{"properties":{"test":{"const":"is_owner"}}},"then":{"$ref":"#/definitions/HB"}},{"if":{"properties":{"test":{"const":"is_persistent"}}},"then":{"$ref":"#/definitions/HC"}},{"if":{"properties":{"test":{"const":"is_riding"}}},"then":{"$ref":"#/definitions/HD"}},{"if":{"properties":{"test":{"const":"is_skin_id"}}},"then":{"$ref":"#/definitions/HE"}},{"if":{"properties":{"test":{"const":"is_sleeping"}}},"then":{"$ref":"#/definitions/HF"}},{"if":{"properties":{"test":{"const":"is_sneak_held"}}},"then":{"$ref":"#/definitions/HG"}},{"if":{"properties":{"test":{"const":"is_sneaking"}}},"then":{"$ref":"#/definitions/HH"}},{"if":{"properties":{"test":{"const":"is_snow_covered"}}},"then":{"$ref":"#/definitions/HI"}},{"if":{"properties":{"test":{"const":"is_target"}}},"then":{"$ref":"#/definitions/HJ"}},{"if":{"properties":{"test":{"const":"is_temperature_type"}}},"then":{"$ref":"#/definitions/IA"}},{"if":{"properties":{"test":{"const":"is_temperature_value"}}},"then":{"$ref":"#/definitions/IB"}},{"if":{"properties":{"test":{"const":"is_underground"}}},"then":{"$ref":"#/definitions/IC"}},{"if":{"properties":{"test":{"const":"is_underwater"}}},"then":{"$ref":"#/definitions/ID"}},{"if":{"properties":{"test":{"const":"is_variant"}}},"then":{"$ref":"#/definitions/IE"}},{"if":{"properties":{"test":{"const":"is_visible"}}},"then":{"$ref":"#/definitions/IF"}},{"if":{"properties":{"test":{"const":"is_waterlogged"}}},"then":{"$ref":"#/definitions/IG"}},{"if":{"properties":{"test":{"const":"light_level"}}},"then":{"$ref":"#/definitions/IH"}},{"if":{"properties":{"test":{"const":"moon_intensity"}}},"then":{"$ref":"#/definitions/II"}},{"if":{"properties":{"test":{"const":"moon_phase"}}},"then":{"$ref":"#/definitions/IJ"}},{"if":{"properties":{"test":{"const":"on_ground"}}},"then":{"$ref":"#/definitions/JA"}},{"if":{"properties":{"test":{"const":"on_ladder"}}},"then":{"$ref":"#/definitions/JB"}},{"if":{"properties":{"test":{"const":"random_chance"}}},"then":{"$ref":"#/definitions/JC"}},{"if":{"properties":{"test":{"const":"rider_count"}}},"then":{"$ref":"#/definitions/JD"}},{"if":{"properties":{"test":{"const":"surface_mob"}}},"then":{"$ref":"#/definitions/JE"}},{"if":{"properties":{"test":{"const":"taking_fire_damage"}}},"then":{"$ref":"#/definitions/JF"}},{"if":{"properties":{"test":{"const":"target_distance"}}},"then":{"$ref":"#/definitions/JG"}},{"if":{"properties":{"test":{"const":"trusts"}}},"then":{"$ref":"#/definitions/JH"}},{"if":{"properties":{"test":{"const":"weather_at_position"}}},"then":{"$ref":"#/definitions/JI"}},{"if":{"properties":{"test":{"const":"weather"}}},"then":{"$ref":"#/definitions/JJ"}},{"not":{"properties":{"test":{"const":"is_weather"}},"$comment":"DEPRECATED"}}]}]},"BD_groups_spec":{"oneOf":[{"type":"array","items":{"$ref":"#/definitions/BD_groups_spec"}},{"type":"object","$ref":"#/definitions/BD_filters_spec"}]},"BF":{"title":"Operator","type":"string","description":"The comparison to apply with `value`.","default":"equals","enum":["!=","<","<=","<>","=","==",">",">=","equals","not"]},"BG":{"title":"Subject","type":"string","description":"The subject of this filter test.","default":"self","enum":["block","other","parent","player","self","target","damager"]},"BE":{"type":"object","title":"Actor Health","description":"Tests the health of the subject.","required":["value"],"examples":[{"test":"actor_health","value":10}],"properties":{"test":{"type":"string","title":"Test Property","description":"Tests the health of the subject."},"operator":{"$ref":"#/definitions/BF","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BG","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"integer","description":"(Required) A integer value.","title":"Value","examples":[0,1]}}},"BI":{"title":"Equipment Location","type":"string","description":"The equipment location to test.","default":"self","enum":["any","armor","feet","hand","head","inventory","leg","torse"]},"BH":{"type":"object","title":"All Slots Empty","description":"Returns true when the designated equipment location for the subject entity is completely empty.","required":["value"],"examples":[{"test":"all_slots_empty","subject":"self","operator":"equals","value":"any"},{"test":"all_slots_empty"}],"properties":{"test":{"type":"string","title":"Test Property","description":"Returns true when the designated equipment location for the subject entity is completely empty."},"operator":{"$ref":"#/definitions/BF","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BG","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"title":"Value","description":"The equipment location to test.","type":"integer","$ref":"#/definitions/BI"}}},"BJ":{"type":"object","title":"Any Slots Empty","description":"Returns true when the designated equipment location for the subject entity has any empty slot.","required":["value"],"examples":[{"test":"any_slots_empty","subject":"self","operator":"equals","value":"any"},{"test":"Any_slots_empty"}],"properties":{"test":{"type":"string","title":"Test Property","description":"Returns true when the designated equipment location for the subject entity has any empty slot."},"operator":{"$ref":"#/definitions/BF","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BG","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"title":"Value","description":"The equipment location to test.","type":"integer","$ref":"#/definitions/BI"}}},"CA":{"type":"object","title":"Bool Property","description":"Returns true when the bool actor property matches the value provided.","required":["domain"],"examples":[{"test":"bool_property","value":true}],"properties":{"test":{"type":"string","title":"Test Property","description":"Returns true when the bool actor property matches the value provided."},"domain":{"description":"(Required) The property name to look for","title":"Operator","type":"string"},"operator":{"$ref":"#/definitions/BF","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BG","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"boolean","default":true,"title":"Value","description":"true or false."}}},"CB":{"type":"object","title":"Clock Time","description":"Compares the current time with a float value in the range (0.0, 1.0).\n0.0= Noon\n0.25= Sunset\n0.5= Midnight\n0.75= Sunrise","required":["value"],"examples":[{"test":"clock_time","value":0.25}],"properties":{"test":{"type":"string","title":"Test Property","description":"Compares the current time with a float value in the range (0.0, 1.0).\n0.0= Noon\n0.25= Sunset\n0.5= Midnight\n0.75= Sunrise"},"operator":{"$ref":"#/definitions/BF","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BG","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"number","minimum":0,"maximum":24000,"description":"(Required) A floating point value.","title":"Value","examples":[0,0.025,0.5,0.75,1]}}},"CC":{"type":"object","title":"Distance To Nearest Player","description":"Compares the distance to the nearest Player with a float value.","required":["value"],"examples":[{"test":"distance_to_nearest_player","value":5.7}],"properties":{"test":{"type":"string","title":"Test Property","description":"Compares the distance to the nearest Player with a float value."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"type":"number","description":"(Required) A floating point value.","title":"Value"}}},"CD":{"type":"object","title":"Enum Property","description":"Returns true when the enum actor property matches the value provided.","required":["value","domain"],"examples":[{"test":"bool_property","value":true}],"properties":{"test":{"type":"string","title":"Test Property","description":"Returns true when the enum actor property matches the value provided."},"domain":{"description":"(Required) The property name to look for","title":"Operator","type":"string"},"operator":{"$ref":"#/definitions/BF","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BG","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"string","title":"Value","description":"(Required) A string value."}}},"CE":{"type":"object","title":"Float Property","description":"Returns true when the float actor property matches the value provided.","required":["value","domain"],"examples":[{"test":"float_property","value":1.0}],"properties":{"test":{"type":"string","title":"Test Property","description":"Returns true when the float actor property matches the value provided."},"domain":{"description":"(Required) The property name to look for","title":"Operator","type":"string"},"operator":{"$ref":"#/definitions/BF","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BG","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"number","title":"Value","description":"(Required) A floating point value."}}},"CF":{"type":"object","title":"Has Ability","description":"Returns true when the subject entity has the named ability.","required":["value"],"properties":{"test":{"type":"string","title":"Test Property","description":"Returns true when the subject entity has the named ability."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"type":"string","description":"(Required) The Ability type to test.","enum":["flySpeed","flying","instabuild","invulnerable","lightning","mayfly","mute","noclip","walkSpeed","worldbuilder"],"title":"Value"}},"examples":[{"test":"has_ability","value":"flySpeed"}]},"CG":{"type":"object","title":"Has Biome Tag","description":"Tests whether the biome the subject is in has the specified tag.","required":["value"],"properties":{"test":{"type":"string","title":"Test Property","description":"Tests whether the biome the subject is in has the specified tag."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"(Required) The tag to look for.","type":"string","title":"Value"}},"examples":[{"test":"has_biome_tag","value":"monster"}]},"CH":{"type":"object","title":"Has Component","description":"Returns true when the subject entity contains the named component.","required":["value"],"properties":{"test":{"type":"string","title":"Test Property","description":"Returns true when the subject entity contains the named component."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"type":"string","description":"(Required) The component name to look for.","title":"Value"}},"examples":[{"test":"has_component","value":"minecraft:explode"}]},"CI":{"type":"object","title":"Has Container Open","description":"Returns true when the subject Player entity has opened a container.","properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"(Optional) true or false.","title":"Value","type":"boolean","default":true}},"examples":[{"test":"has_container_open","value":true}]},"DA":{"title":"Entity Damage Source","description":"The types of damage an entity can receive.","type":"string","enum":["all","anvil","block_explosion","campfire","charging","contact","drowning","entity_attack","entity_explosion","fall","falling_block","fatal","fire","fire_tick","fireworks","fly_into_wall","freezing","lava","lightning","magic","magma","none","override","piston","projectile","ram_attack","sonic_boom","soul_campfire","stalactite","stalagmite","starve","suffocation","suicide","temperature","thorns","void","wither"]},"CJ":{"type":"object","title":"Has Damage","description":"Returns true when the subject entity receives the named damage type. has_damage can also use subject and operator parameters but they are optional.","required":["value"],"examples":[{"test":"has_damage","value":"fatal"}],"properties":{"test":{"type":"string","title":"Test Property","description":"Returns true when the subject entity receives the named damage type."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"type":"string","description":"The Damage type to test.","$ref":"#/definitions/DA","title":"Value"}}},"DB":{"type":"object","title":"Has Equipment","description":"Tests for the presence of a named item in the designated slot of the subject entity.","required":["value"],"properties":{"test":{"type":"string","const":"has_equipment","description":"Tests for the presence of a named item in the designated slot of the subject entity.","title":"Test"},"domain":{"description":"The equipment location to test.","default":"any","enum":["any","inventory","armor","feet","hand","head","leg","torso"],"title":"Domain"},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"The item name to look for.","type":"string","$ref":"#/definitions/BA","title":"Value"}},"examples":[{"test":"has_equipment","value":"example"}]},"DC":{"type":"object","title":"Has Mob Effect","description":"Tests whether the Subject has the specified mob effect.","required":["value"],"properties":{"test":{"type":"string","title":"Test Property","description":"Tests whether the Subject has the specified mob effect."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"type":"string","description":"The specified mob effect.","title":"Value"}},"examples":[{"test":"has_mob_effect","value":"bad_omen"}]},"DD":{"type":"object","title":"Has Equipment","description":"Tests for the presence of a named item in the designated slot of the subject entity.","required":["value"],"properties":{"test":{"type":"string","const":"has_nametag","description":"Tests for the presence of a named item in the designated slot of the subject entity.","title":"Test"},"domain":{"description":"The equipment location to test.","default":"any","enum":["any","armor","feet","hand","head","leg","torso"],"title":"Domain"},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"The namtag to look for","type":"boolean","title":"Value"}},"examples":[{"test":"has_nametag","value":false},{"test":"has_nametag","value":true}]},"DE":{"type":"object","title":"Has Property","description":"Tests for the presence of a property of the subject entity.","required":["value","domain"],"examples":[{"test":"bool_property","value":true}],"properties":{"test":{"type":"string","title":"Test Property","description":"Tests for the presence of a property of the subject entity."},"operator":{"$ref":"#/definitions/BF","description":"(Optionall) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BG","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"title":"Value","type":"string","description":"(Required) The property name to look for."}}},"DF":{"type":"object","title":"Has Ranged Weapon","description":"Returns true when the subject entity is holding a ranged weapon like a bow or crossbow.","properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"has_ranged_weapon","value":true}]},"DG":{"type":"object","title":"Has Silk Touch","description":"Tests if the subject is holding an item with silk touch.","properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"has_silk_touch","subject":"other","value":true}]},"DH":{"type":"object","title":"Has Tag","description":"Returns true if the subject entity has the tag provided.","required":["value"],"properties":{"test":{"type":"string","title":"Test Property","description":"Returns true if the subject entity has the tag provided."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"type":"string","description":"The tag as a string.","pattern":"[a-zA-Z0-9_]+","title":"Value"}},"examples":[{"test":"has_tag","value":"example"}]},"DI":{"type":"object","title":"Has Target","description":"Returns true if the subject entity has a valid target.","properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"has_target","value":true}]},"DJ":{"type":"object","title":"Has Trade Supply","description":"Tests whether the target has any trade supply left. Will return false if the target cannot be traded with.","properties":{"test":{"type":"string","title":"Test Property","description":"Tests whether the target has any trade supply left. Will return false if the target cannot be traded with."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"has_trade_supply","value":true}]},"EA":{"type":"object","title":"Hourly Clock Time","description":"Compares the current 24 hour time with an int value in the range[0, 24000].","required":["value"],"properties":{"test":{"type":"string","title":"Test Property","description":"Compares the current 24 hour time with an int value in the range[0, 24000].","const":"hourly_clock_time"},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"type":"integer","description":"(Required) An integer value set between 0 and 24000.","minimum":0,"maximum":24000,"title":"Value"}},"examples":[{"test":"hourly_clock_time","value":0}]},"EB":{"type":"object","title":"In Block","description":"Returns true when the subject entity is inside a specified Block type.","properties":{"test":{"type":"string","title":"Test Property","description":"Returns true when the subject entity is inside a specified Block type."},"operator":{"$ref":"#/definitions/BF","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BG","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"string","description":"(Optional) A string value.","title":"Value"}},"examples":[{"test":"in_block","value":"minecraft:water"}]},"EC":{"type":"object","title":"In Caravan","description":"Returns true if the subject entity is in a caravan.","properties":{"test":{"type":"string","title":"Test Property","description":"Returns true if the subject entity is in a caravan."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_caravan","value":true}]},"ED":{"type":"object","title":"In Clouds","description":"Returns true when the subject entity is in the clouds.","properties":{"test":{"type":"string","title":"Test Property","description":"Returns true when the subject entity is in the clouds."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_clouds","value":true}]},"EE":{"type":"object","title":"In Contact With Water","description":"Returns true when the subject entity in contact with any water: water, rain, splash water bottle.","properties":{"test":{"type":"string","title":"Test Property","description":"Returns true when the subject entity in contact with any water: water, rain, splash water bottle."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"(Optional) true or false.","type":"boolean","default":true}},"examples":[{"test":"in_contact_with_water","value":true}]},"EF":{"type":"object","title":"In Lava","description":"Returns true when the subject entity is in lava.","properties":{"test":{"type":"string","title":"Test Property","description":"Returns true when the subject entity is in lava."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_lava","value":true}]},"EG":{"type":"object","title":"In Nether","description":"Returns true when the subject entity is in Nether.","properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"in_nether","value":true}]},"EH":{"type":"object","title":"In Overworld","description":"Returns true when the subject entity is in Overworld.","properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"in_overworld","value":true},{"test":"in_overworld"}]},"EI":{"type":"object","title":"In Water Or Rain","description":"Returns true when the subject entity is in water or rain.","properties":{"test":{"type":"string","title":"Test Property","description":"Returns true when the subject entity is in water or rain."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_water_or_rain","value":true}]},"EJ":{"type":"object","title":"In Water","description":"Returns true when the subject entity is in water.","properties":{"test":{"type":"string","title":"Test Property","description":"Returns true when the subject entity is in water."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_water","value":true}]},"FA":{"type":"object","title":"Inactivity Timer","description":"Tests if the specified duration in seconds of inactivity for despawning has been reached.","required":["value"],"properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"The Family name to look for.","type":"integer","title":"Value"}},"examples":[{"test":"inactivity_timer","value":0}]},"FB":{"type":"object","title":"Int Property","description":"Returns true when the integer actor property matches the value provided.","required":["value","domain"],"examples":[{"test":"int_property","value":1}],"properties":{"test":{"type":"string","title":"Test Property","description":"Returns true when the integer actor property matches the value provided."},"domain":{"description":"(Required) The property name to look for","title":"Operator","type":"string"},"operator":{"$ref":"#/definitions/BF","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BG","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"integer","title":"Value","description":"(Required) A integer value."}}},"FC":{"type":"object","title":"Is Altitude","description":"Tests the current altitude against a provided value. 0= bedrock elevation.","required":["value"],"properties":{"test":{"type":"string","title":"Test Property","description":"Tests the current altitude against a provided value. 0= bedrock elevation."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"type":"integer","description":"The altitude value to compare with.","minimum":0,"title":"Value"}},"examples":[{"test":"example","value":0}]},"FD":{"type":"object","title":"Is Avoiding Mobs","description":"Returns true if the subject entity is fleeing from other mobs.","properties":{"test":{"type":"string","title":"Test Property","description":"Returns true if the subject entity is fleeing from other mobs."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"example","value":true}]},"FE":{"type":"object","title":"Is Biome","description":"Tests whether the Subject is currently in the named biome.","required":["value"],"properties":{"test":{"type":"string","title":"Test Property","description":"Tests whether the Subject is currently in the named biome."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"The Biome type to test.","type":"string","enum":["beach","desert","extreme_hills","flat","forest","ice","jungle","mesa","mushroom_island","ocean","plain","river","savanna","stone_beach","swamp","taiga","the_end","the_nether"],"title":"Value"}},"examples":[{"test":"is_biome","value":"beach"}]},"FF":{"type":"object","title":"Is Block","description":"Returns true when the block has the given name.","required":["value"],"properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"The Family name to look for.","type":"string","title":"Value"}},"examples":[{"test":"is_block","subject":"block","value":"minecraft:sweet_berry_bush"}]},"FG":{"type":"object","title":"Is Brightness","description":"Tests the current brightness against a provided value in the range (0.0f, 1.0f).","required":["value"],"properties":{"test":{"type":"string","title":"Test Property","description":"Tests the current brightness against a provided value in the range (0.0f, 1.0f)."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"The brightness value to compare with.","type":"number","minimum":0.0,"maximum":1.0,"title":"Value"}},"examples":[{"test":"is_brightness","value":0.0}]},"FH":{"type":"object","title":"Is Climbing","description":"Returns true if the subject entity is climbing.","properties":{"test":{"type":"string","title":"Test Property","description":"Returns true if the subject entity is climbing."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_climbing","value":true}]},"FI":{"type":"object","title":"Is Color","description":"Returns true if the subject entity is the named color.","required":["value"],"properties":{"test":{"type":"string","title":"Test Property","description":"Returns true if the subject entity is the named color."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"The Palette Color to test.","type":"string","enum":["black","blue","brown","cyan","gray","green","light_blue","light_green","magenta","orange","pink","purple","red","silver","white","yellow"],"title":"Value"}},"examples":[{"test":"is_color","value":"black"}]},"FJ":{"type":"object","title":"Is Daytime","description":"Returns true during the daylight hours.","properties":{"test":{"type":"string","title":"Test Property","description":"Returns true during the daylight hours."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_daytime","value":true}]},"GA":{"type":"object","title":"Is Difficulty","description":"Tests the current difficulty level of the game.","required":["value"],"properties":{"test":{"type":"string","title":"Test Property","description":"Tests the current difficulty level of the game."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"The game's difficulty level to test.","type":"string","enum":["easy","hard","normal","peaceful"],"title":"Value"}},"examples":[{"test":"is_difficulty","value":"easy"}]},"GB":{"type":"object","title":"Is Family","description":"Returns true when the subject entity is a member of the named family.","required":["value"],"properties":{"test":{"type":"string","title":"Test Property","description":"Returns true when the subject entity is a member of the named family."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"The Family name to look for.","type":"string","title":"Value"}},"examples":[{"test":"is_family","value":"monster"}]},"GC":{"type":"object","title":"Is Game Rule","description":"Tests whether a named game rule is active.","required":["domain","value"],"properties":{"domain":{"description":"The Game Rule to test.","title":"Domain","examples":["commandBlockOutput","commandBlocksEnabled","doDaylightCycle","doEntityDrops","doFireTick","doImmediateRespawn","doInsomnia","doMobLoot","doMobSpawning","doTileDrops","doWeatherCycle","drowningDamage","fallDamage","fireDamage","freezeDamage","functionCommandLimit","keepInventory","maxCommandChainLength","mobGriefing","naturalRegeneration","pvp","randomTickSpeed","respawnblocksexplode","sendCommandFeedback","showCoordinates","showDeathMessages","showTags","spawnRadius","tntExplodes"]},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"Tests whether a named game rule is active.","default":true,"type":"boolean","title":"Value"}},"examples":[{"test":"is_game_rule","domain":"domobspawning","value":false}]},"GD":{"type":"object","title":"Is Humid","description":"Tests whether the Subject is in an area with humidity.","properties":{"test":{"type":"string","title":"Test Property","description":"Tests whether the Subject is in an area with humidity."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_humid","value":true}]},"GE":{"type":"object","title":"Is Immobile","description":"Returns true if the subject entity is immobile. An entity is immobile if it lacks AI goals, has just changed dimensions or if it is a mob and has no health.","properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_immobile","value":true}]},"GF":{"type":"object","title":"Is In Village","description":"Tests whether the Subject is inside the bounds of a village.","properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_in_village","value":true}]},"GG":{"type":"object","title":"Is Leashed To","description":"Returns true if the subject entity leashed to the calling entity.","properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"is_leashed_to","value":true}]},"GH":{"type":"object","title":"Is Leashed","description":"Returns true if the subject entity is leashed.","properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_leashed","value":true}]},"GI":{"type":"object","title":"Is Mark Variant","description":"Returns true if the subject entity is the mark variant number provided.","additionalProperties":false,"properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"type":"integer","description":"The altitude value to compare with.","title":"Value"}},"examples":[{"test":"is_mark_variant","value":0}]},"GJ":{"type":"object","title":"In Nether","description":"Tests if the subject is not at full health.","properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"is_missing_health","value":true}]},"HA":{"type":"object","title":"Is Moving","description":"Returns true if the subject entity is moving.","properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_moving","value":true}]},"HB":{"type":"object","title":"Is Owner","description":"Returns true if the subject entity is the owner of the calling entity.","properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_owner","value":true}]},"HC":{"type":"object","title":"Is Persistent","description":"Tests if the subject's persistence matches the bool value passed in.","properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"is_persistent","value":true}]},"HD":{"type":"object","title":"Is Riding","description":"Returns true if the subject entity is riding on another entity.","properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_riding","value":true}]},"HE":{"type":"object","title":"Is Skin Id","description":"Returns true if the subject entity is the skin id number provided.","properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"type":"integer","description":"The altitude value to compare with.","title":"Value"}},"examples":[{"test":"is_skin_id","value":0}]},"HF":{"type":"object","title":"Is Sleeping","description":"Tests whether the Subject is sleeping.","properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"is_sleeping","value":true}]},"HG":{"type":"object","title":"Is Sneak Held","description":"Returns true if the subject entity has the sneak input held.","properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_sneak_held","value":true}]},"HH":{"type":"object","title":"Is Sneaking","description":"Returns true if the subject entity is sneaking.","properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_sneaking","value":true}]},"HI":{"type":"object","title":"Is Snow Covered","description":"Tests whether the Subject is in an area with snow cover.","properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_snow_covered","value":true}]},"HJ":{"type":"object","title":"Is Target","description":"Returns true if the subject entity is the target of the calling entity.","properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_target","value":true}]},"IA":{"type":"object","title":"Is Target","description":"Tests whether the current temperature is a given type.","required":["value"],"properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"The Biome temperature catagory to test.","type":"string","enum":["cold","mild","ocean","warm"],"title":"Value"}},"examples":[{"test":"is_temperature_type","value":"cold"}]},"IB":{"type":"object","title":"Is Temperature Value","description":"Tests the current temperature against a provided value in the range (0.0, 1.0) where 0.0f is the coldest temp and 1.0f is the hottest.","required":["value"],"properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"The Biome temperature value to compare with.","type":"number","minimum":0.0,"maximum":1.0,"title":"Value"}},"examples":[{"test":"is_temperature_value","value":0.0}]},"IC":{"type":"object","title":"Is Underground","description":"Returns true when the subject entity is underground. An entity is considered underground if there are non-solid blocks above it.","properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_underground","value":true}]},"ID":{"type":"object","title":"Is Underwater","description":"Returns true when the subject entity is under water. An entity is considered underwater if it is completely submerged in water blocks.","properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_underwater","value":true}]},"IE":{"type":"object","title":"Is Variant","description":"Returns true if the subject entity is the variant number provided.","required":["value"],"properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"type":"integer","description":"The altitude value to compare with.","title":"Value"}},"examples":[{"test":"is_variant","value":0}]},"IF":{"type":"object","title":"Is Visible","description":"Returns true if the subject entity is visible.","properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_visible","value":true}]},"IG":{"type":"object","title":"Is Waterlogged","description":"Tests if the subject block is submerged in water.","required":["value"],"properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"true or false.","type":"boolean","title":"Value"}},"examples":[{"test":"light_level","value":0}]},"IH":{"type":"object","title":"Light Level","description":"Tests is the mob is outside of the specified light level range (0, 16).","required":["value"],"properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"An integer value.","type":"integer","title":"Value","minimum":0,"maximum":16}},"examples":[{"test":"light_level","value":0}]},"II":{"type":"object","title":"Moon Intensity","description":"Compares the current moon intensity with a float value in the range (0.0, 1.0)","required":["value"],"properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"A floating point value.","type":"number","minimum":0,"maximum":1,"title":"Value"}},"examples":[{"test":"moon_intensity","value":0.0}]},"IJ":{"type":"object","title":"Moon Phase","description":"Compares the current moon phase with an integer value in the range (0, 7).","required":["value"],"properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"type":"integer","description":"An integer value.","minimum":0,"maximum":7,"title":"Value"}},"examples":[{"test":"moon_phase","value":0}]},"JA":{"type":"object","title":"On Ground","description":"Returns true when the subject entity is on ground.","properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"on_ground","value":true}]},"JB":{"type":"object","title":"On Ladder","description":"Returns true when the subject entity is on a ladder.","properties":{"test":{"type":"string","title":"Test Property","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"on_ladder","value":true}]},"JC":{"type":"object","title":"Random Chance","description":"Returns true if the random chance rolls 0 out of a specified Maximum range.","required":["value"],"properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"An integer value.","type":"integer","title":"Value"}},"examples":[{"test":"random_chance","value":0}]},"JD":{"type":"object","title":"Rider Count","description":"Returns the number of riders on this entity.","required":["value"],"properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"An integer value.","type":"integer","title":"Value"}},"examples":[{"test":"rider_count","value":0}]},"JE":{"type":"object","title":"Surface Mob","description":"Tests if the subject is a surface mob.","properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"surface_mob","value":true}]},"JF":{"type":"object","title":"Taking Fire Damage","description":"Tests if the subject is taking fire damage. Requires the damage_sensor component","properties":{"test":{"type":"string","title":"Test","description":"Tests if the subject is taking fire damage. Requires the damage_sensor component"},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"taking_fire_damage","value":true},{"test":"taking_fire_damage"}]},"JG":{"type":"object","title":"Target Distance","description":"Tests the distance between the calling entity and its target.","required":["value"],"properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"(Required) A floating point value.","type":"number","default":true,"title":"Value"}}},"JH":{"type":"object","title":"Trusts","description":"Returns true if the subject is trusted by entity.","properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"trusts","value":true}]},"JI":{"type":"object","title":"Weather At Position","description":"Tests the current weather, at the actor's position, against a provided weather value.","required":["value"],"properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"The Family name to look for.","type":"string","title":"Value","examples":["thunderstorm"]}},"examples":[{"test":"weather_at_position","value":"thunderstorm"}]},"JJ":{"type":"object","title":"Weather","description":"Tests for the current weather state the entity is experiencing.","required":["value"],"properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BF"},"subject":{"$ref":"#/definitions/BG"},"value":{"description":"The Family name to look for.","type":"string","title":"Value","examples":["clear","thunderstorm"]}},"examples":[{"test":"weather","value":"clear"}]},"BD":{"title":"Filters","$ref":"#/definitions/BD_groups_spec","examples":[{"test":"is_family","subject":"other","value":"example"},{"test":"has_tag","value":"example"},[]]},"I":{"type":"object","title":"Ageable","description":"Adds a timer for the entity to grow up. It can be accelerated by giving the entity the items it likes as defined by feedItems.","additionalProperties":false,"properties":{"drop_items":{"description":"List of items that the entity drops when it grows up.","oneOf":[{"type":"array","items":{"$ref":"#/definitions/J"}},{"type":"string","$ref":"#/definitions/J"}],"title":"Drop Items"},"duration":{"type":"number","default":1200,"description":"Amount of time before the entity grows up, -1 for always a baby.","title":"Duration"},"feed_items":{"description":"List of items that can be fed to the entity. Includes `item` for the item name and `growth` to define how much time it grows up by","oneOf":[{"type":"array","items":{"oneOf":[{"$ref":"#/definitions/BA"},{"type":"object","properties":{"growth":{"type":"number"},"item":{"$ref":"#/definitions/J"}}}]}},{"type":"string","$ref":"#/definitions/BA"}],"title":"Feed Items"},"grow_up":{"$ref":"#/definitions/BC","description":"Event to run when this entity grows up.","title":"Grow Up"},"transform_to_item":{"$ref":"#/definitions/J","title":"Transform To Item","description":"The feed item used will transform to this item upon successful interaction. Format: itemName:auxValue"},"interact_filters":{"$ref":"#/definitions/BD","title":"Interact Filters","description":"List of conditions to meet so that the entity can be fed."}},"examples":[{"duration":1200,"transform_to_item":"example"}]},"BAB":{"type":"string","title":"Sound Event","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","enum":["add.chest","admire","agitated","ambient.aggressive","ambient.baby","ambient.basalt_deltas.additions","ambient.basalt_deltas.loop","ambient.candle","ambient.cave","ambient.crimson_forest.additions","ambient.crimson_forest.loop","ambient.crimson_forest.mood","ambient.in.raid","ambient.in.water","ambient.nether_wastes.additions","ambient.nether_wastes.loop","ambient.nether_wastes.mood","ambient.pollinate","ambient.screamer","ambient.soulsand_valley.additions","ambient.soulsand_valley.loop","ambient.soulsand_valley.mood","ambient.tame","ambient.warped_forest.additions","ambient.warped_forest.loop","ambient.warped_forest.mood","ambient.worried","ambient","angry","armor.equip_chain","armor.equip_diamond","armor.equip_elytra","armor.equip_generic","armor.equip_gold","armor.equip_iron","armor.equip_leather","armor.equip_netherite","armor","attach","attack.nodamage","attack.strong","attack","balloonpop","beacon.activate","beacon.ambient","beacon.deactivate","beacon.power","blast","block.bamboo_sapling.place","block.barrel.close","block.barrel.open","block.beehive.drip","block.beehive.enter","block.beehive.exit","block.beehive.shear","block.beehive.work","block.bell.hit","block.blastfurnace.fire_crackle","block.campfire.crackle","block.cartography_table.use","block.click.fail","block.click","block.composter.empty","block.composter.fill_success","block.composter.fill","block.composter.ready","block.enchanting_table.use","block.end_portal_frame.fill","block.end_portal.spawn","block.fletching_table.use","block.frog_spawn.break","block.frog_spawn.hatch","block.furnace.lit","block.grindstone.use","block.loom.use","block.scaffolding.climb","block.sculk_catalyst.bloom","block.sculk_sensor.place","block.sculk_shrieker.place","block.sculk_shrieker.shriek","block.sculk.spread","block.smithing_table.use","block.smoker.smoke","block.stonecutter.use","block.sweet_berry_bush.hurt","block.sweet_berry_bush.pick","block.turtle_egg.attack","block.turtle_egg.break","block.turtle_egg.crack","block.turtle_egg.hatch","boost","born","bottle.dragonbreath","bow.hit","bow","break.block","break","breathe","bubble.down","bubble.downinside","bubble.pop","bubble.up","bubble.upinside","bucket.empty.fish","bucket.empty.lava","bucket.empty.powder_snow","bucket.empty.water","bucket.fill.fish","bucket.fill.lava","bucket.fill.powder_snow","bucket.fill.water","bullet.hit","burp","cake.add_candle","camera.take_picture","cant_breed","cast.spell","cauldron_drip.lava.pointed_dripstone","cauldron_drip.water.pointed_dripstone","celebrate","charge.sculk","charge","chest.closed","chest.open","chime.amethyst_block","chorusdeath","chorusgrow","conduit.activate","conduit.ambient","conduit.attack","conduit.deactivate","conduit.short","convert_mooshroom","converted_to_zombified","copper.wax.off","copper.wax.on","crossbow.loading.end","crossbow.loading.middle","crossbow.loading.start","crossbow.quick_charge.end","crossbow.quick_charge.middle","crossbow.quick_charge.start","crossbow.shoot","death.baby","death.in.water","death.mid.volume","death.min.volume","death.screamer","death.to.zombie","death","default","deny","detach","disappeared","drink.honey","drink.milk","drink","drip.lava.pointed_dripstone","drip.water.pointed_dripstone","drop.slot","eat","elderguardian.curse","elemconstruct.open","enderchest.closed","enderchest.open","explode","extinguish.candle","extinguish.fire","fall.big","fall.small","fall","fang","fire","fizz","flap","flop","fly","fuse","gallop","glass","glow_squid.ink_squirt","glowstick.use","growl","haggle.idle","haggle.no","haggle.yes","haggle","heartbeat","heavy.step","hit","horn_break","horn_call0","horn_call1","horn_call2","horn_call3","horn_call4","horn_call5","horn_call6","horn_call7","hurt.baby","hurt.in.water","hurt.screamer","hurt","icebomb.hit","ignite","imitate.blaze","imitate.cave_spider","imitate.creeper","imitate.elder_guardian","imitate.ender_dragon","imitate.enderman","imitate.evocation_illager","imitate.ghast","imitate.husk","imitate.illusion_illager","imitate.magma_cube","imitate.polar_bear","imitate.shulker","imitate.silverfish","imitate.skeleton","imitate.slime","imitate.spider","imitate.stray","imitate.vex","imitate.vindication_illager","imitate.warden","imitate.witch","imitate.wither_skeleton","imitate.wither","imitate.wolf","imitate.zombie_pigman","imitate.zombie_villager","imitate.zombie","insert_enchanted","insert","irongolem.crack","irongolem.repair","item_given","item_taken","item_thrown","item.book.put","item.fizz","item.shield.block","item.spyglass.stop_using","item.spyglass.use","item.trident.hit_ground","item.trident.hit","item.trident.return","item.trident.riptide_1","item.trident.riptide_2","item.trident.riptide_3","item.trident.throw","item.trident.thunder","item.use.on","jump_to_block","jump.prevent","jump","land","large.blast","launch","lava.pop","lava","lay_egg","lay_spawn","leashknot.break","leashknot.place","levelup","listening_angry","listening","lodestone_compass.link_compass_to_lodestone","lt.reaction.bleach","lt.reaction.epaste","lt.reaction.epaste2","lt.reaction.fertilizer","lt.reaction.fire","lt.reaction.fireball","lt.reaction.icebomb","lt.reaction.mgsalt","lt.reaction.miscexplosion","lt.reaction.miscfire","lt.reaction.miscmystical","lt.reaction.miscmystical2","lt.reaction.product","mad","milk_suspiciously","milk.screamer","milk","mob.armor_stand.place","mob.husk.convert_to_drowned","mob.husk.convert_to_frog","mob.husk.convert_to_stray","mob.husk.convert_to_zombie","mob.player.hurt_drown","mob.player.hurt_freeze","mob.player.hurt_on_fire","mob.warning.baby","mob.warning","nearby_close","nearby_closer","nearby_closest","note","panic","pant","particle.soul_escape.loud","particle.soul_escape.quiet","pick_berries.cave_vines","piston.in","piston.out","place","plop","pop","portal.travel","portal","potion.brewed","power.off.sculk_sensor","power.off","power.on.sculk_sensor","power.on","pre_ram.screamer","pre_ram","prepare.attack","prepare.summon","prepare.wololo","presneeze","purr","purreow","raid.horn","ram_impact.screamer","ram_impact","random.anvil_use","reappeared","record.11","record.13","record.5","record.blocks","record.cat","record.chirp","record.far","record.mall","record.mellohi","record.otherside","record.pigstep","record.stal","record.strad","record.wait","record.ward","remedy","respawn_anchor.ambient","respawn_anchor.basalt_deltas.mood","respawn_anchor.charge","respawn_anchor.deplete","respawn_anchor.set_spawn","retreat","roar","saddle","scared","scrape","screech","shake","shear","shoot","shulker.close","shulker.open","shulkerbox.closed","shulkerbox.open","sleep","smithing_table.use","sneeze","sonic_boom","sonic_charge","sparkler.active","sparkler.use","spawn","splash","squid.ink_squirt","squish.big","squish.small","stare","step_lava","step.baby","step","stun","swim","swoop","takeoff","teleport","tempt","thorns","throw","thunder","tilt_down.big_dripleaf","tilt_up.big_dripleaf","tongue","tripod","twinkle","ui.cartography_table.take_result","ui.loom.take_result","ui.stonecutter.take_result","unfect","warn","water","whine"]},"BAA":{"additionalProperties":false,"type":"object","title":"Ambient Sound Interval","description":"Sets the entity's delay between playing its ambient sound.","properties":{"event_name":{"type":"string","default":"ambient","description":"Level sound event to be played as the ambient sound.","title":"Event Name"},"event_names":{"type":"array","description":"List of dynamic level sound events, with conditions for choosing between them. Evaluated in order, first one wins. If none evaluate to true, 'event_name' will take precedence.","items":{"type":"object","properties":{"condition":{"type":"string","description":"The condition that must be satisfied to select the given ambient sound.","title":"Condition"},"event_name":{"$ref":"#/definitions/BAB","description":"Level sound event to be played as the ambient sound.","title":"Event Name"}}}},"range":{"title":"Range","type":"number","default":16.0,"description":"Maximum time in seconds to randomly add to the ambient sound delay time."},"value":{"title":"Value","type":"number","default":8.0,"description":"Minimum time in seconds before the entity plays its ambient sound again."}},"examples":[{"event_name":"ambient","range":16,"value":8}]},"BAC":{"type":"object","title":"Anger Level","description":"Allows this entity to track anger towards a set of nuisances","additionalProperties":false,"required":[],"properties":{"anger_decrement_interval":{"title":"Anger Decrement Interval","type":"number","default":1.0,"description":"Anger level will decay over time. Defines how often anger towards all nuisances will be decreased by one"},"angry_boost":{"title":"Angry Boost","type":"integer","minimum":0,"default":20,"description":"Anger boost applied to angry threshold when mob gets angry."},"angry_threshold":{"title":"Angry Threshold","type":"integer","minimum":0,"default":80,"description":"Threshold that define when the mob is considered angry at a nuisance."},"default_annoyingness":{"title":"Default Annoyingness","type":"number","default":0,"description":"The default amount of annoyingness for any given nuisance. Specifies how much to raise anger level on each provocation"},"default_projectile_annoyingness":{"title":"Default Projectile Annoyingness","type":"number","default":0,"description":"The default amount of annoyingness for projectile nuisance. Specifies how much to raise anger level on each provocation"},"max_anger":{"title":"Maximum Anger","type":"integer","default":100,"minimum":0,"description":"The maximum anger level that can be reached. Applies to any nuisance"},"nuisance_filter":{"title":"Nuisance Filter","$ref":"#/definitions/BD","description":"Filter that is applied to determine if a mob can be a nuisance."},"on_increase_sounds":{"title":"On Increase Sounds","type":"array","items":{"type":"object","additionalProperties":false,"required":["condition","sound"],"properties":{"condition":{"title":"Condition","type":"string","description":"The event that will trigger the sound"},"sound":{"title":"Sound","type":"string","description":"The sound to play"}}}},"remove_targets_below_angry_threshold":{"title":"Remove Targets Below Angry Threshold","type":"boolean","default":true,"description":"Defines if the mob should remove target if it falls below 'angry' threshold."}},"examples":[]},"BAD":{"type":"object","title":"Angry","description":"Defines the entity's 'angry' state using a timer.","additionalProperties":false,"required":[],"properties":{"broadcast_anger":{"title":"Broadcast Anger","type":"boolean","default":false,"description":"If true, other entities of the same entity definition within the broadcastRange will also become angry."},"broadcast_filters":{"title":"Broadcast Filters","$ref":"#/definitions/BD","description":"Conditions that make this entry in the list valid."},"filters":{"$ref":"#/definitions/BD","description":"Filter out mob types that it should not attack while angry (other Piglins)."},"broadcast_range":{"title":"Broadcast Range","type":"integer","default":20,"description":"Distance in blocks within which other entities of the same entity definition will become angry."},"broadcast_targets":{"title":"Broadcast Targets","type":"array","description":"A list of entity families to broadcast anger to.","items":{"type":"string","description":"An entity family.","pattern":"^.+$","title":"Broadcast Targets"}},"calm_event":{"title":"Calm Event","$ref":"#/definitions/BC","description":"Event to run after the number of seconds specified in duration expires (when the entity stops being \"angry\")"},"angry_sound":{"title":"Angry Sound","$ref":"#/definitions/BAB","default":"","description":"The sound event to play when the mob is angry."},"broadcast_anger_on_attack":{"title":"Broadcast Anger On Attack","type":"boolean","default":false,"description":"If true, other entities of the same entity definition within the broadcastRange will also become angry whenever this mob attacks."},"broadcast_anger_on_being_attacked":{"type":"boolean","default":false,"description":"If true, other entities of the same entity definition within the broadcastRange will also become angry whenever this mob is attacked.","title":"Broadcast Anger On Being Attacked"},"duration":{"title":"Duration","type":"integer","default":25,"description":"The amount of time in seconds that the entity will be angry."},"duration_delta":{"title":"Duration Delta","type":"integer","default":0,"description":"Variance in seconds added to the duration [-delta, delta]."},"sound_interval":{"description":"The range of time in seconds to randomly wait before playing the sound again.","title":"Sound Interval","oneOf":[{"type":"array","default":[0,0],"items":[{"type":"integer","minimum":0,"description":"The minimum interval.","$comment":"UNDOCUMENTED","title":"Minimum"},{"type":"integer","minimum":0,"description":"The maximum interval.","$comment":"UNDOCUMENTED","title":"Maximum"}]},{"type":"object","additionalProperties":false,"properties":{"range_min":{"type":"number","description":"The minimum interval.","$comment":"UNDOCUMENTED","title":"Range Minimum"},"range_max":{"type":"number","description":"The maximum interval.","$comment":"UNDOCUMENTED","title":"Range Maximum"}}}]}},"examples":[{"broadcast_anger":false,"broadcast_range":20,"broadcast_targets":[],"angry_sound":"","broadcast_anger_on_attack":false,"broadcast_anger_on_being_attacked":false,"duration":25,"duration_delta":0}]},"BAE":{"additionalProperties":false,"description":"Allows the actor to break doors assuming that that flags set up for the component to use in navigation.","type":"object","title":"Annotation.break Door","required":[],"$comment":"Caution No longe rin use","properties":{"break_time":{"type":"number","default":12,"description":"The time in seconds required to break through doors.","title":"Break Time"},"min_difficulty":{"type":"string","default":"hard","description":"The minimum difficulty that the world must be on for this entity to break doors.","title":"Minimum Difficulty"}},"examples":[{"break_time":12,"min_difficulty":"hard"}]},"BAF":{"additionalProperties":false,"description":"Allows the actor to open doors assuming that that flags set up for the component to use in navigation.","type":"object","title":"Annotation.open Door","required":[],"properties":{}},"BAG":{"type":"object","title":"Area Attack","description":"A component that does damage to entities that get within range.","additionalProperties":false,"properties":{"cause":{"title":"Cause","$ref":"#/definitions/DA","type":"string","description":"The type of damage that is applied to entities that enter the damage range."},"damage_cooldown":{"title":"damage cooldown","type":"number","default":0,"description":"Attack cooldown (in seconds) for how often this entity can attack a target."},"damage_per_tick":{"type":"integer","default":2,"description":"How much damage per tick is applied to entities that enter the damage range.","title":"Damage Per Tick"},"damage_range":{"type":"number","default":0.2,"description":"How close a hostile entity must be to have the damage applied.","title":"Damage Range"},"entity_filter":{"$ref":"#/definitions/BD","description":"The set of entities that are valid to apply the damage to when within range.","title":"Entity Filter"},"play_attack_sound":{"title":"play attack sound","type":"boolean","default":5E-324,"description":"If the entity should play their attack sound when attacking a target."}},"examples":[{"damage_per_tick":2,"damage_range":0.2,"cause":"example"}]},"BAI":{"title":"Trigger","description":"Trigger to fire.","examples":["event:example",{"filters":[],"target":"self","event":"to:foo"}],"defaultSnippets":[{"label":"New Trigger","body":"^\"$1\""},{"label":"New Trigger - Filtered","body":{"event":"$1","target":"self","filters":[{"test":"$2","value":"$3"}]}}],"oneOf":[{"type":"string"},{"type":"object","additionalProperties":false,"properties":{"event":{"type":"string","description":"The event to run when the conditions for this trigger are met.","title":"Event"},"filters":{"$ref":"#/definitions/BD","description":"The list of conditions for this trigger to execute."},"target":{"$ref":"#/definitions/BG","description":"The target of the event.","title":"Target"}}}]},"BAH":{"type":"object","title":"Attack Cooldown","description":"Adds a cooldown to a mob. The intention of this cooldown is to be used to prevent the mob from attempting to aquire new attack targets.","additionalProperties":false,"properties":{"attack_cooldown_complete_event":{"$ref":"#/definitions/BAI","description":"Event to be run when the cooldown is complete.","title":"Attack Cooldown Complete Event"},"attack_cooldown_time":{"default":[0.0,1.0],"description":"Amount of time in seconds for the cooldown. Can be specified as a number or a pair of numbers (Minimum and max).","title":"Attack Cooldown Time","oneOf":[{"type":"array","items":[{"type":"number","title":"Maximum"},{"type":"number","title":"Maximum"}]},{"type":"number"}]}}},"BAJ":{"type":"object","title":"Attack Damage","additionalProperties":false,"required":["value"],"properties":{"value":{"type":"integer","description":"How much an attack should damage a target.","title":"Value"}},"description":"Specifies how much damage is dealt by the entity when it attacks.","examples":[{"value":4}]},"BBB":{"title":"Range [A, B]","description":"A described range.","examples":[[0.0,1.0]],"oneOf":[{"type":"number"},{"type":"array","items":[{"type":"number","title":"A","description":"The first value of the range."},{"type":"number","title":"B","description":"The second value of the range."}]},{"type":"object","additionalProperties":false,"properties":{"range_min":{"type":"number","title":"Range Min","description":"The minimum value of the range."},"range_max":{"type":"number","title":"Range Max","description":"The maximum value of the range."}}}]},"BBA":{"type":"object","additionalProperties":false,"title":"Attack","description":"Defines an entity's melee attack and any additional effects on it.","required":["damage"],"properties":{"damage":{"title":"Damage","$ref":"#/definitions/BBB","description":"Range of the random amount of damage the melee attack deals. A negative value can heal the entity instead of hurting it."},"effect_name":{"type":"string","description":"Identifier of the status ailment to apply to an entity attacked by this entity's melee attack.","examples":["wither","hunger"],"title":"Effect Name"},"effect_duration":{"type":"number","default":1,"description":"Duration in seconds of the status ailment applied to the damaged entity.","title":"Effect Duration"}},"examples":[{"damage":1},{"damage":1,"effect_name":"example","effect_duration":1}]},"BBC":{"additionalProperties":false,"type":"object","title":"Balloonable","description":"allows the entity to have a balloon attached and defines the conditions and events for the entity when is ballooned.","required":[],"properties":{"soft_distance":{"title":"Soft Distance","description":"Distance in blocks where the 'spring' effect lifts the entity.","type":"number","default":2.0},"max_distance":{"title":"Max Distance","description":"Distance in blocks where the balloon breaks.","type":"number","default":10.0},"on_balloon":{"title":"On Balloon","description":"Event to call when the entity is ballooned.","type":"string"},"on_unballoon":{"title":"On Unballoon","description":"Event to call when the entity is unballooned.","type":"string"},"mass":{"title":"Mass","description":"Mass that the entity has when computing balloon pull forces.","type":"number","default":1.0}},"examples":[{"max_distance":10.0,"soft_distance":2.0,"mass":0.5}]},"BBD":{"type":"object","title":"Barter","description":"Enables the component to drop an item as a barter exchange.","additionalProperties":false,"properties":{"barter_table":{"type":"string","description":"Loot table that's used to drop a random item.","title":"Barter Table"},"cooldown_after_being_attacked":{"type":"integer","default":0,"description":"Duration, in seconds, for which mob won't barter items if it was hurt.","title":"Cooldown After Being Attacked"}},"examples":[{"barter_table":"example","cooldown_after_being_attacked":0}]},"BBE":{"title":"Block Climber","type":"object","additionalProperties":false,"description":"Allows the player to detect and manuever on the scaffolding block.","properties":{}},"BBG":{"description":"A minecraft block identifier.","examples":["namespace:block"],"pattern":"^[0-9a-zA-Z:_\\.\\-]+$","title":"Block Identifier","type":"string","defaultSnippets":[{"label":"New Identifier","body":"$1:$2"}]},"BBF":{"type":"object","title":"Block Sensor","description":"Fires off a specified event when a block in the block list is broken within the sensor range.","additionalProperties":false,"properties":{"sensor_radius":{"title":"Sensor Radius","type":"integer","description":"The maximum radial distance in which a specified block can be detected. The biggest radius is 32.0.","minimum":0,"maximum":32},"on_break":{"title":"On Break","type":"array","description":"Blocks that will trigger the component when broken and what event will trigger.","items":{"title":"On Block Broken","type":"object","description":"Event to run when a block breaks.","additionalProperties":false,"properties":{"block_list":{"title":"Block List","type":"array","description":"List of blocks that will trigger the sensor.","items":{"$ref":"#/definitions/BBG","title":"Block ID"}},"on_block_broken":{"title":"On Block Broken","type":"string","description":"Event to run when a block breaks."}}}},"sources":{"title":"Sources","description":"List of sources that break the block to listen for. If none are specified, all block breaks will be detected.","type":"array","items":{"$ref":"#/definitions/BD"},"examples":[{"test":"has_silk_touch","subject":"other","value":false}]}},"examples":[{"sensor_radius":0,"on_break":[]}]},"BBH":{"type":"object","title":"Boostable","additionalProperties":false,"description":"Defines the conditions and behavior of a rideable entity's boost.","properties":{"duration":{"type":"number","default":3,"description":"Time in seconds for the boost.","title":"Duration"},"speed_multiplier":{"type":"number","default":1,"description":"Factor by which the entity's normal speed increases. E.g. 2.0 means go twice as fast.","title":"Speed Multiplier"},"boost_items":{"type":"array","description":"List of items that can be used to boost while riding this entity.","title":"Boost Items","items":{"type":"object","additionalProperties":false,"description":"List of items that can be used to boost while riding this entity.","properties":{"damage":{"type":"integer","default":1,"description":"This is the damage that the item will take each time it is used.","title":"Damage"},"item":{"$ref":"#/definitions/J","default":"","description":"Name of the item that can be used to boost.","title":"Item"},"replace_item":{"$ref":"#/definitions/J","default":"","description":"The item used to boost will become this item once it is used up.","title":"Replace Item"}}}}},"examples":[{"duration":3,"speed_multiplier":1,"boost_items":[]}]},"BBI":{"type":"object","title":"Boss","additionalProperties":false,"description":"The current state of the boss for updating the boss HUD.","required":[],"properties":{"hud_range":{"type":"integer","default":55,"description":"The Maximum distance from the boss at which the boss's health bar is present on the players screen.","title":"Hud Range"},"name":{"type":"string","default":"","description":"The name that will be displayed above the boss's health bar.","title":"Name"},"should_darken_sky":{"type":"boolean","default":false,"description":"Whether the sky should darken in the presence of the boss.","title":"Should Darken Sky"}},"examples":[{"hud_range":55,"name":"","should_darken_sky":false}]},"BCA":{"type":"string","title":"Block Name","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"BBJ":{"type":"object","title":"Break Blocks","additionalProperties":false,"description":"Specifies the blocks that this entity can break as it moves around.","required":[],"properties":{"breakable_blocks":{"type":"array","title":"Breakable Blocks","description":"A list of the blocks that can be broken as this entity moves around.","items":{"$ref":"#/definitions/BCA"}}},"examples":[{"breakable_blocks":[]}]},"BCC":{"description":"A minecraft block reference.","examples":["namespace:block",{"name":"namespace:block"}],"title":"Block Reference","defaultSnippets":[{"label":"New Identifier","body":"$1:$2"}],"oneOf":[{"type":"string","$ref":"#/definitions/BBG"},{"title":"Block Reference","description":"","type":"object","additionalProperties":false,"properties":{"name":{"type":"string","$ref":"#/definitions/BBG"},"states":{"title":"States","description":"","type":"object","propertyNames":{"pattern":"\\w*:?\\w+"},"example":[{"property":"value"}],"additionalProperties":{"type":["boolean","integer","string"],"title":"State Value","description":"The key of property is the name of the block state/property, the value must be the same as the block properties accepted values."}},"tags":{"$ref":"#/definitions/BB","description":"A condition using Molang queries that results to true/false that can be used to query for blocks with certain tags.","examples":["query.any_tag('wood')"]}}}]},"BCB":{"type":"object","title":"Breathable","additionalProperties":false,"description":"Defines what blocks this entity can breathe in and gives them the ability to suffocate.","required":[],"properties":{"total_supply":{"type":"integer","default":15,"description":"Time in seconds the entity can hold its breath.","title":"Total Supply"},"suffocate_time":{"type":"integer","default":-20,"description":"Time in seconds between suffocation damage.","title":"Suffocate Time"},"inhale_time":{"type":"number","default":0,"description":"Time in seconds to recover breath to maximum.","title":"Inhale Time"},"breathes_air":{"type":"boolean","default":true,"description":"If true, this entity can breathe in air.","title":"Breathes Air"},"breathes_water":{"type":"boolean","default":false,"description":"If true, this entity can breathe in water.","title":"Breathes Water"},"breathes_lava":{"type":"boolean","default":false,"description":"If true, this entity can breathe in lava.","title":"Breathes Lava"},"breathes_solids":{"type":"boolean","default":false,"description":"If true, this entity can breathe in solid blocks.","title":"Breathes Solids"},"generates_bubbles":{"type":"boolean","default":true,"description":"If true, this entity will have visible bubbles while in water.","title":"Generates Bubbles"},"breathe_blocks":{"type":"array","description":"List of blocks this entity can breathe in, in addition to the above.","items":{"$ref":"#/definitions/BCC"},"title":"Breathe Blocks"},"non_breathe_blocks":{"type":"array","description":"List of blocks this entity can't breathe in, in addition to the above.","items":{"$ref":"#/definitions/BCC"},"title":"Non Breathes Blocks"}},"examples":[{"total_supply":15,"suffocate_time":-20,"inhale_time":0,"breathes_air":true,"breathes_water":false,"breathes_lava":false,"breathes_solids":false,"generates_bubbles":true,"breathe_blocks":[],"non_breathe_blocks":[]}]},"BCD_breeds_with_spec":{"type":"object","description":"An entity definitions that this entity can breed with.","additionalItems":false,"properties":{"baby_type":{"type":"string","description":"The entity definition of this entity's babies.","title":"Baby Type"},"breed_event":{"$ref":"#/definitions/BCE","description":"Event to run when this entity breeds.","title":"Breed Event"},"mate_type":{"type":"string","description":"The entity definition of this entity's mate.","title":"Mate Type"}}},"BCD_enviroment_requirements":{"type":"object","description":"A nearby block requirements to get the entity into the `love` state.","properties":{"blocks":{"description":"The block types required nearby for the entity to breed.","title":"Blocks","oneOf":[{"type":"array","items":{"description":"A block type required nearby for the entity to breed.","type":"string","$ref":"#/definitions/BCC","title":"Blocks"}},{"description":"A block type required nearby for the entity to breed.","type":"string","$ref":"#/definitions/BCC","title":"Blocks"}]},"count":{"type":"number","description":"The number of the required block types nearby for the entity to breed.","title":"Count"},"radius":{"type":"number","description":"How many blocks radius from the mob's center to search in for the required blocks. Bounded between 0 and 16.","minimum":0,"title":"Radius"}},"title":"Environment Requirements"},"BCE":{"title":"Event","description":"Minecraft behavior event.","examples":[{"event":"example:foo","target":"self"}],"type":"object","additionalProperties":false,"properties":{"event":{"type":"string","pattern":"^[a-zA-Z0-9_\\-:]+$","description":"The event to fire.","title":"Event"},"target":{"type":"string","description":"The target of the event.","title":"Target","enum":["baby","block","damager","other","parent","player","self","target"]},"filters":{"$ref":"#/definitions/BD"}}},"BCF":{"type":"array","title":"Vector Of 2 Items","description":"An vector of 2 number.","examples":[[0,0]],"items":[{"type":"number","description":"The X component.","title":"X","default":0},{"type":"number","description":"The Y component.","title":"Y","default":0}],"defaultSnippets":[{"label":"New Array 2","body":["^$1","^$2"]}]},"BCD":{"type":"object","title":"Breedable","additionalProperties":false,"description":"Defines the way an entity can get into the `love` state.","properties":{"allow_sitting":{"description":"If true, entities can breed while sitting.","type":"boolean","default":false,"title":"Allow Sitting"},"blend_attributes":{"description":"If true, the entities will blend their attributes in the offspring after they breed.","type":"boolean","default":true,"title":"Blend Attributes"},"breed_cooldown":{"description":"Time in seconds before the Entity can breed again.","type":"number","default":60.0,"title":"Breed Cooldown"},"breed_items":{"description":"The list of items that can be used to get the entity into the `love` state.","title":"Breed Items","oneOf":[{"type":"array","items":{"type":"string","description":"An item that can be used to get the entity into the `love` state.","$ref":"#/definitions/J","title":"Breed Item"}},{"type":"string","$ref":"#/definitions/J"}]},"breeds_with":{"description":"The list of entity definitions that this entity can breed with.","title":"Breeds With","oneOf":[{"type":"object","$ref":"#/definitions/BCD_breeds_with_spec"},{"uniqueItems":true,"type":"array","items":{"type":"object","$ref":"#/definitions/BCD_breeds_with_spec"}}]},"causes_pregnancy":{"type":"boolean","default":false,"description":"If true, the entity will become pregnant instead of spawning a baby.","title":"Causes Pregnancy"},"deny_parents_variant":{"type":"object","description":"Determines how likely the baby of parents with the same variant will deny that variant and take a random variant within the given range instead.","additionalProperties":false,"properties":{"chance":{"type":"number","default":0,"description":"The percentage chance of denying the parents` variant.","title":"Chance"},"max_variant":{"type":"integer","default":0,"description":"The inclusive maximum of the variant range.","title":"Maximum Variant"},"min_variant":{"type":"integer","default":0,"description":"The inclusive minimum of the variant range.","title":"Minimum Variant"}},"title":"Deny Parents Variant"},"environment_requirements":{"description":"The list of nearby block requirements to get the entity into the `love` state.","oneOf":[{"type":"object","$ref":"#/definitions/BCD_enviroment_requirements"},{"type":"array","items":{"$ref":"#/definitions/BCD_enviroment_requirements"}}],"title":"Environment Requirements"},"extra_baby_chance":{"type":"number","default":0.0,"description":"Chance that up to 16 babies will spawn between 0.0 and 1.0, where 1.0 is 100%.","minimum":0.0,"maximum":1.0,"title":"Extra Baby Chance"},"love_filters":{"$ref":"#/definitions/BD","description":"The filters to run when attempting to fall in love.","title":"Love Filters"},"mutation_factor":{"type":"object","description":"Determines how likely the babies are to NOT inherit one of their parent's variances. Values are between 0.0 and 1.0, with a higher number meaning more likely to mutate.","additionalProperties":false,"properties":{"color":{"type":"number","default":0,"minimum":0.0,"maximum":1.0,"description":"The percentage chance of a mutation on the entity's color.","title":"Color"},"extra_variant":{"type":"number","default":0,"minimum":0.0,"maximum":1.0,"description":"The percentage chance of a mutation on the entity's extra variant type.","title":"Extra Variant"},"variant":{"type":"number","default":0,"minimum":0.0,"maximum":1.0,"description":"The percentage chance of a mutation on the entity's variant type.","title":"Variant"}},"title":"Mutation Factor"},"mutation_strategy":{"title":"Mutation Strategy","type":"string","default":"none","description":"Strategy used for mutating variants and extra variants for offspring. Current valid alternatives are 'random' and 'none'."},"parent_centric_attribute_blending":{"title":"Parent Centric Attribute Blending","type":"array","description":"[EXPERIMENTAL] List of attributes that should benefit from parent centric attribute blending. For example, horses blend their health, movement, and jump_strength in their offspring."},"random_extra_variant_mutation_interval":{"title":"Random Extra Variant Mutation Interval","default":0,"$ref":"#/definitions/BCF","description":"Range used to determine random extra variant."},"random_variant_mutation_interval":{"title":"Random Variant Mutation Interval","default":0,"$ref":"#/definitions/BCF","description":"Range used to determine random variant."},"inherit_tamed":{"type":"boolean","default":true,"description":"If true, the babies will be automatically tamed if its parents are.","title":"Inherit Tamed"},"require_full_health":{"type":"boolean","default":false,"description":"If true, the entity needs to be at full health before it can breed.","title":"Require Full Health"},"require_tame":{"type":"boolean","default":true,"description":"If true, the entities need to be tamed first before they can breed.","title":"Require Tame"},"transform_to_item":{"type":"string","title":"Transform To Item","description":"The feed item used will transform to this item upon successful interaction. Format: itemName:auxValue"}},"examples":[{"allow_sitting":false,"blend_attributes":true,"breed_cooldown":60.0,"deny_parents_variant":{},"extra_baby_chance":0.0,"mutation_factor":{},"causes_pregnancy":false,"inherit_tamed":true,"require_full_health":false,"require_tame":true,"transform_to_item":"example"}]},"BCG":{"type":"object","title":"Bribeable","additionalProperties":false,"description":"Defines the way an entity can get into the 'bribed' state.","required":[],"properties":{"bribe_cooldown":{"type":"number","default":2,"description":"Time in seconds before the Entity can be bribed again.","title":"Bribe Cooldown"},"bribe_items":{"type":"array","description":"The list of items that can be used to bribe the entity.","items":{"description":"An item that can be used to bribe the entity.","$ref":"#/definitions/J","title":"Bribe Items"},"title":"Bribe Items"}},"examples":[{"bribe_cooldown":2,"bribe_items":[]}]},"BCH":{"type":"object","title":"Buoyant","description":"Enables an entity to float on the specified liquid blocks.","additionalProperties":false,"properties":{"base_buoyancy":{"type":"number","default":0,"description":"Base buoyancy used to calculate how much will a mob float.","title":"Base Buoyancy"},"apply_gravity":{"type":"boolean","default":true,"description":"Applies gravity each tick. Causes more of a wave simulation, but will cause more gravity to be applied outside liquids.","title":"Apply Gravity"},"buoyancy":{"type":"number","default":1,"description":"Base buoyancy used to calculate how much will a mob float.","title":"Base Buoyancy"},"big_wave_probability":{"type":"number","default":0.03,"description":"Probability for a big wave hitting the entity. Only used if `simulate_waves` is true.","title":"Big Wave Probability"},"big_wave_speed":{"type":"number","default":10,"description":"Multiplier for the speed to make a big wave. Triggered depending on `big_wave_probability`.","title":"Big Wave Speed"},"drag_down_on_buoyancy_removed":{"type":"number","default":0,"description":"How much an actor will be dragged down when the Buoyancy Component is removed.","title":"Drag Down On Buoyancy Removed"},"liquid_blocks":{"type":"array","description":"List of blocks this entity can float on. Must be a liquid block.","title":"Liquid Blocks","items":{"title":"Block","$ref":"#/definitions/BCC"}},"simulate_waves":{"type":"boolean","default":true,"description":"Should the movement simulate waves going through.","title":"Simulate Waves"}},"examples":[{"base_buoyancy":0,"apply_gravity":true,"buoyancy":1,"big_wave_probability":0.03,"big_wave_speed":10,"drag_down_on_buoyancy_removed":0,"liquid_blocks":[],"simulate_waves":true}]},"BCI":{"title":"Burns In Daylight","additionalProperties":false,"description":"Specifies if/how a mob burns in daylight.","required":[],"properties":{},"oneOf":[{"type":"boolean"},{"type":"object"}]},"BCJ":{"type":"object","title":"Can Climb","additionalProperties":false,"description":"Allows this entity to climb up ladders.","required":[],"properties":{}},"BDA":{"type":"object","title":"Can Fly","additionalProperties":false,"description":"Marks the entity as being able to fly, the pathfinder won't be restricted to paths where a solid block is required underneath it.","required":[],"properties":{"value":{"type":"boolean","default":true,"description":"Marks the entity as being able to fly, the pathfinder won't be restricted to paths where a solid block is required underneath it.","title":"Value"}},"examples":[{"value":true}]},"BDB":{"title":"Can Join Raid","additionalProperties":false,"description":"Sets that this entity can join a raid.","type":"object","required":[],"properties":{}},"BDC":{"type":"object","title":"Can Power Jump","additionalProperties":false,"description":"Allows the entity to power jump like the horse does in vanilla.","required":[],"properties":{}},"BDD":{"type":"object","title":"Celebrate Hunt","description":"Specifies hunt celebration behavior.","additionalProperties":false,"properties":{"broadcast":{"type":"boolean","default":true,"description":"If true, celebration will be broadcasted to other entities in the radius.","title":"Broadcast"},"celebration_targets":{"$ref":"#/definitions/BD","description":"The list of conditions that target of hunt must satisfy to initiate celebration.","title":"Celeberation Targets"},"celebrate_sound":{"$ref":"#/definitions/BAB","default":"","description":"The sound event to play when the mob is celebrating.","title":"Celebrate Sound"},"duration":{"type":"integer","default":4,"description":"Duration, in seconds, of celebration.","title":"Duration"},"radius":{"type":"number","default":16,"description":"If broadcast is enabled, specifies the radius in which it will notify other entities for celebration.","title":"Radius"},"sound_interval":{"default":0,"description":"The range of time in seconds to randomly wait before playing the sound again.","title":"Sound Interval","oneOf":[{"type":"array","items":[{"type":"number","title":"Maximum"},{"type":"number","title":"Maximum"}]},{"type":"number"},{"type":"object","additionalProperties":false,"properties":{"range_min":{"type":"number","title":"Minimum","description":"Minimum."},"range_max":{"type":"number","title":"Maximum","description":"Maximum."}}}]}},"examples":[{"broadcast":true,"celebrate_sound":"","duration":4,"radius":16}]},"BDE":{"type":"object","title":"Collision Box","additionalProperties":false,"description":"Sets the width and height of the Entity's collision box.","required":[],"properties":{"height":{"title":"Height","type":"number","default":1.0,"description":"Height of the collision box in blocks. A negative value will be assumed to be 0."},"width":{"title":"Width","type":"number","default":1.0,"description":"Width of the collision box in blocks. A negative value will be assumed to be 0."}},"examples":[{"height":1,"width":1}]},"BDF":{"type":"object","title":"Color","additionalProperties":false,"description":"Defines the entity's color. Only works on vanilla entities that have predefined color values (sheep, llama, shulker).","required":[],"properties":{"value":{"type":"integer","default":0,"description":"The Palette Color value of the entity.","title":"Value"}},"examples":[{"value":0}]},"BDG":{"type":"object","title":"Color.0","additionalProperties":false,"description":"Defines the entity's second texture color. Only works on vanilla entities that have a second predefined color values (tropical fish).","required":[],"properties":{"value":{"type":"integer","default":0,"description":"The second Palette Color value of the entity.","title":"Value"}},"examples":[{"value":0}]},"BDH":{"type":"object","title":"Combat Regeneration","description":"Gives Regeneration I and removes Mining Fatigue from the mob that kills the Actor`s attack target.","additionalProperties":false,"properties":{"apply_to_family":{"type":"boolean","default":false,"description":"Determines if the mob will grant mobs of the same type combat buffs if they kill the target.","title":"Apply To Family"},"apply_to_self":{"type":"boolean","default":false,"description":"Determines if the mob will grant itself the combat buffs if it kills the target.","title":"Apply To Self"},"regeneration_duration":{"type":"integer","default":5,"description":"The duration in seconds of Regeneration I added to the mob.","title":"Regeneration Duration"}},"examples":[{"apply_to_family":false,"apply_to_self":false,"regeneration_duration":5}]},"BDI":{"additionalProperties":false,"type":"object","title":"Conditional Bandwidth Optimization","description":"Defines the Conditional Spatial Update Bandwidth Optimizations of this entity.","properties":{"conditional_values":{"title":"Conditional Values","description":"The object containing the conditional bandwidth optimization values.","type":"array","items":{"title":"Conditional Value","description":"The object containing the conditional bandwidth optimization values.","additionalProperties":false,"type":"object","properties":{"max_dropped_ticks":{"title":"Maximum Dropped Ticks","description":"In relation to the optimization value, determines the maximum ticks spatial update packets can be not sent.","type":"integer"},"max_optimized_distance":{"title":"Maximum Optimized Distance","description":"The maximum distance considered during bandwidth optimizations. Any value below the Maximum is interpolated to find optimization, and any value greater than or equal to this Maximum results in Maximum optimization.","type":"number"},"use_motion_prediction_hints":{"title":"Use Motion Prediction Hints","description":"When set to true, smaller motion packets will be sent during drop packet intervals, resulting in the same amount of packets being sent as without optimizations but with much less data being sent. This should be used when actors are travelling very quickly or teleporting to prevent visual oddities.","type":"boolean"},"conditional_values":{"title":"Conditional Values","description":"Conditions that must be met for these optimization values to be used.","type":"array","items":{"$ref":"#/definitions/BD"}}}}},"default_values":{"title":"Default Values","description":"The object containing the default bandwidth optimization values.","type":"object","additionalProperties":false,"properties":{"max_dropped_ticks":{"title":"Maximum Dropped Ticks","description":"In relation to the optimization value, determines the maximum ticks spatial update packets can be not sent.","type":"integer"},"max_optimized_distance":{"title":"Maximum Optimized Distance","description":"The maximum distance considered during bandwidth optimizations. Any value below the Maximum is interpolated to find optimization, and any value greater than or equal to this Maximum results in Maximum optimization.","type":"number"},"use_motion_prediction_hints":{"title":"Use Motion Prediction Hints","description":"When set to true, smaller motion packets will be sent during drop packet intervals, resulting in the same amount of packets being sent as without optimizations but with much less data being sent. This should be used when actors are travelling very quickly or teleporting to prevent visual oddities.","type":"boolean"}}}},"examples":[{"conditional_values":[],"default_values":{}}]},"BDJ":{"type":"object","title":"Custom Hit Test","description":"List of hitboxes for melee and ranged hits against the entity.","additionalProperties":false,"properties":{"hitboxes":{"type":"array","title":"Hitboxes","description":"Defines a hitbox size and pivot to test against.","items":{"type":"object","title":"Hitbox","description":"Defines a hitbox size and pivot to test against.","additionalProperties":false,"properties":{"width":{"type":"number","title":"Width","description":"Height of the hitbox in blocks. A negative value will be assumed to be 0."},"height":{"type":"number","title":"Height","description":"Width and Depth of the hitbox in blocks. A negative value will be assumed to be 0."},"pivot":{"type":"array","title":"Pivot","description":"The offset from the entity's anchor where the hitbox will spawn.","items":[{"type":"number","title":"X"},{"type":"number","title":"Y"},{"type":"number","title":"Z"}]}}}}},"examples":[{"hitboxes":[{"width":1,"height":1,"pivot":[0,1,0]}]}]},"BEA":{"type":"object","title":"Damage Over Time","additionalProperties":false,"description":"Applies defined amount of damage to the entity at specified intervals.","required":[],"properties":{"damage_per_hurt":{"type":"integer","default":1,"description":"Amount of damage caused each hurt.","title":"Damage Per Hurt"},"time_between_hurt":{"type":"number","default":0,"description":"Time in seconds between damage.","title":"Time Between Hurt"}},"examples":[{"damage_per_hurt":1,"time_between_hurt":0}]},"BEB_triggers":{"title":"Triggers","description":"List of triggers with the events to call when taking specific kinds of damage.","type":"object","additionalProperties":false,"properties":{"cause":{"type":"string","default":"none","description":"Type of damage that triggers the events.","title":"Cause","$ref":"#/definitions/DA"},"damage_modifier":{"title":"Damage Modifier","type":"number","default":0.0,"description":"A modifier that adds to/removes from the base damage from the damage cause. It does not reduce damage to less than 0."},"damage_multiplier":{"type":"number","default":1,"description":"A multiplier that modifies the base damage from the damage cause. If deals_damage is true the multiplier can only reduce the damage the entity will take to a minimum of 1.","title":"Damage Multiplier"},"deals_damage":{"type":"boolean","default":true,"description":"If true, the damage dealt to the entity will take away health from it, set to false to make the entity ignore that damage.","title":"Deals Damage"},"on_damage":{"type":"object","description":"Specifies filters for entity definitions and events.","title":"On Damage","$ref":"#/definitions/BAI"},"on_damage_sound_event":{"$ref":"#/definitions/BAB","description":"Defines what sound to play, if any, when the on_damage filters are met.","title":"On Damage Sound Event"}}},"BEB":{"title":"Damage Sensor","description":"Defines what events to call when this entity is damaged by specific entities or items.","type":"object","additionalProperties":false,"examples":[{"triggers":[{"cause":"all","deals_damage":false}]},{"triggers":[{"on_damage":{"filters":{"test":"has_damage","subject":"self","value":"fatal"}},"deals_damage":false}]}],"properties":{"triggers":{"title":"Triggers","description":"The list of triggers that fire when the environment conditions match the given filter criteria.","examples":[[{"cause":"all","deals_damage":false}]],"oneOf":[{"type":"array","items":{"$ref":"#/definitions/BEB_triggers"}},{"type":"object","$ref":"#/definitions/BEB_triggers"}]}}},"BEC":{"type":"object","title":"Dash","additionalProperties":false,"description":"Ability for a ridable entity to dash.","required":[],"properties":{"cooldown_time":{"title":"cooldown time","type":"number","default":1.0,"description":"The dash cooldown in seconds."},"horizontal_momentum":{"title":"horizoontal momentum","type":"number","default":1.0,"description":"Horizontal momentum of the dash."},"vertical_momentum":{"title":"vertical momentum","type":"number","default":1.0,"description":"Vertical momentum of the dash."}},"examples":[{"value":0.0}]},"BED":{"type":"object","title":"Default Look Angle","additionalProperties":false,"description":"Sets this entity's default head rotation angle.","required":[],"properties":{"value":{"type":"number","default":0.0,"description":"Angle in degrees.","title":"Value"}},"examples":[{"value":0.0}]},"BEE":{"type":"object","title":"Despawn","description":"Despawns the Actor when the despawn rules or optional filters evaluate to true.","additionalProperties":false,"properties":{"despawn_from_chance":{"type":"boolean","default":true,"description":"Determines if `min_range_random_chance` is used in the standard despawn rules.","title":"Despawn From Chance"},"despawn_from_distance":{"type":"object","additionalProperties":false,"description":"Defines the minimum and maximum distance for despawn to occur.","title":"Despawn From Distance","properties":{"max_distance":{"type":"integer","default":128,"description":"Maximum distance for standard despawn rules to instantly despawn the mob.","title":"Maximum Distance"},"min_distance":{"type":"integer","default":32,"description":"Minimum distance for standard despawn rules to try to despawn the mob.","title":"Minimum Distance"}}},"despawn_from_inactivity":{"type":"boolean","default":true,"description":"Determines if the `min_range_inactivity_timer` is used in the standard despawn rules.","title":"Despawn From Inactivity"},"despawn_from_simulation_edge":{"type":"boolean","default":true,"description":"Determines if the mob is instantly despawned at the edge of simulation distance in the standard despawn rules.","title":"Despawn From Simulation Edge"},"filters":{"$ref":"#/definitions/BD","description":"The list of conditions that must be satisfied before the Actor is despawned. If a filter is defined then standard despawn rules are ignored."},"min_range_inactivity_timer":{"type":"integer","default":30,"description":"The amount of time in seconds that the mob must be inactive.","title":"Minimum Range Inactivity Timer"},"min_range_random_chance":{"type":"integer","default":800,"description":"A random chance between 1 and the given value.","title":"Minimum Range Random Chance"},"remove_child_entities":{"type":"boolean","default":false,"description":"If true, all entities linked to this entity in a child relationship (eg. leashed) will also be despawned.","title":"Remove Child Entities"}},"examples":[{"despawn_from_chance":true,"despawn_from_distance":{},"despawn_from_inactivity":true,"despawn_from_simulation_edge":true,"min_range_inactivity_timer":30,"min_range_random_chance":800,"remove_child_entities":false}]},"BEF":{"type":"object","title":"Drying Out Timer","description":"Adds a timer for drying out that will count down and fire `dried_out_event` or will stop as soon as the entity will get under rain or water and fire `stopped_drying_out_event`.","additionalProperties":false,"properties":{"dried_out_event":{"$ref":"#/definitions/BC","description":"Event to fire when the drying out time runs out.","title":"Dried Out Event"},"recover_after_dried_out_event":{"$ref":"#/definitions/BC","description":"Event to fire when entity was already dried out but received increase in water supply.","title":"Recover After Dried Out Event"},"stopped_drying_out_event":{"$ref":"#/definitions/BC","description":"Event to fire when entity stopped drying out, for example got into water or under rain.","title":"Stopped Drying Out Event"},"total_time":{"type":"number","default":0,"description":"Amount of time in seconds to dry out fully.","title":"Total Time"},"water_bottle_refill_time":{"type":"number","default":0,"description":"Optional amount of additional time in seconds given by using splash water bottle on entity.","title":"Water Bottle Refill Time"}},"examples":[{"total_time":0,"water_bottle_refill_time":0}]},"BEG":{"type":"object","title":"Dweller","description":"Allows a mob to join and migrate between villages and other dwellings.","additionalProperties":false,"properties":{"dwelling_type":{"type":"string","title":"Dwelling Type","description":"The type of dwelling the mob wishes to join. Current Types: village","enum":["village"]},"dweller_role":{"type":"string","title":"Dwelling Role","description":"The role of which the mob plays in the dwelling. Current Roles: inhabitant, defender, hostile, passive.","enum":["inhabitant","defender","hostile","passive"]},"update_interval_base":{"type":"number","title":"Update Interval Base","description":"How often the mob checks on their dwelling status in ticks. Positive values only.","minimum":0},"update_interval_variant":{"type":"number","title":"Update Interval Variant","description":"The variant value in ticks that will be added to the update_interval_base."},"can_find_poi":{"type":"boolean","title":"Can Find Poi","description":"Whether or not the mob can find and add POI's to the dwelling."},"first_founding_reward":{"type":"integer","title":"First Founding Reward","description":"How much reputation should the players be rewarded on first founding?."},"can_migrate":{"type":"boolean","title":"Can Migrate","description":"Can this mob migrate between dwellings? Or does it only have its initial dwelling?."},"dwelling_bounds_tolerance":{"title":"Dwelling Bounds Tolerance","type":"number","description":"A padding distance for checking if the mob is within the dwelling."},"preferred_profession":{"type":"string","title":"Preferred Profession","description":"Allows the user to define a starting profession for this particular Dweller, instead of letting them choose organically. (They still need to gain experience from trading before this takes effect.)"}},"examples":[{"dwelling_type":"village","dweller_role":"inhabitant","update_interval_base":0,"update_interval_variant":0,"preferred_profession":"example","can_find_poi":true,"can_migrate":true,"first_founding_reward":0}]},"BEH":{"type":"object","title":"Economy Trade Table","additionalProperties":false,"description":"Defines this entity's ability to trade with players.","required":[],"properties":{"convert_trades_economy":{"type":"boolean","default":false,"description":"Determines when the mob transforms, if the trades should be converted when the new mob has a economy_trade_table. When the trades are converted, the mob will generate a new trade list with their new trade table, but then it will try to convert any of the same trades over to have the same enchantments and user data. For example, if the original has a Emerald to Enchanted Iron Sword (Sharpness 1), and the new trade also has an Emerald for Enchanted Iron Sword, then the enchantment will be Sharpness 1.","title":"Convert Trades Economy"},"cured_discount":{"type":"array","default":[-5,-20],"description":"How much should the discount be modified by when the player has cured the Zombie Villager. Can be specified as a pair of numbers (low-tier trade discount and high-tier trade discount)","title":"Cured Discount","items":[{"type":"integer","title":"A","description":"Minimum."},{"type":"integer","title":"B","description":"Maximum."}]},"display_name":{"type":"string","default":"","description":"Name to be displayed while trading with this entity.","title":"Display Name"},"hero_demand_discount":{"type":"integer","default":-4,"description":"Used in legacy prices to determine how much should Demand be modified by when the player has the Hero of the Village mob effect.","title":"Hero Demand Discount"},"max_cured_discount":{"type":"array","default":[-25,-63],"description":"The Maximum the discount can be modified by when the player has cured the Zombie Villager. Can be specified as a pair of numbers (low-tier trade discount and high-tier trade discount)","title":"Maximum Cured Discount","items":[{"type":"integer","title":"A","description":"Minimum."},{"type":"integer","title":"B","description":"Maximum."}]},"max_nearby_cured_discount":{"type":"integer","default":-200,"description":"The Maximum the discount can be modified by when the player has cured a nearby Zombie Villager.","title":"Maximum Nearby Cured Discount"},"nearby_cured_discount":{"type":"integer","default":-25,"description":"How much should the discount be modified by when the player has cured a nearby Zombie Villager.","title":"Nearby Cured Discount"},"new_screen":{"type":"boolean","default":false,"description":"Used to determine if trading with entity opens the new trade screen.","title":"New Screen"},"persist_trades":{"type":"boolean","default":false,"description":"Determines if the trades should persist when the mob transforms. This makes it so that the next time the mob is transformed to something with a trade_table or economy_trade_table, then it keeps their trades.","title":"Persist Trades"},"show_trade_screen":{"type":"boolean","default":true,"description":"Show an in game trade screen when interacting with the mob.","title":"Show Trade Screen"},"table":{"type":"string","default":"","description":"File path relative to the resource pack root for this entity's trades.","title":"Table"},"use_legacy_price_formula":{"type":"boolean","default":false,"description":"Determines whether the legacy formula is used to determines the trade prices.","title":"Use Legacy Price Formula"}},"examples":[{"convert_trades_economy":false,"cured_discount":[],"display_name":"","hero_demand_discount":-4,"max_cured_discount":[],"max_nearby_cured_discount":-200,"nearby_cured_discount":-25,"new_screen":false,"persist_trades":false,"show_trade_screen":true,"table":"","use_legacy_price_formula":false}]},"BEI_sensor_element":{"type":"object","title":"Entity Sensor","additionalProperties":false,"properties":{"maximum_count":{"type":"integer","default":-1,"description":"The maximum number of entities that must pass the filter conditions for the event to send.","title":"Maximum Count"},"minimum_count":{"type":"integer","default":1,"description":"The minimum number of entities that must pass the filter conditions for the event to send.","title":"Minimum Count"},"require_all":{"type":"boolean","default":false,"description":"If true requires all nearby entities to pass the filter conditions for the event to send.","title":"Require All"},"sensor_range":{"type":"number","default":10,"description":"The maximum distance another entity can be from this and have the filters checked against it.","title":"Sensor Range"},"event_filters":{"$ref":"#/definitions/BD"},"event":{"title":"Event","description":"event.","type":"string"},"cooldown":{"title":"Cooldown","description":"How many seconds should elapse before the subsensor can once again sense for entities. The cooldown is applied on top of the base 1 tick (0.05 seconds) delay. Negative values will result in no cooldown being used.","type":"number","default":-1}},"examples":[{"maximum_count":-1,"minimum_count":1,"require_all":false,"sensor_range":10,"event":"example"}]},"BEI":{"type":"object","title":"Entity Sensor","description":"A component that fires an event when a set of conditions are met by other entities within the defined range.","oneOf":[{"allOf":[{"$ref":"#/definitions/BEI_sensor_element"},{"properties":{"relative_range":{"type":"boolean","default":true,"description":"If true the sensor range is additive on top of the entity's size.","title":"Relative Range"}}}]},{"properties":{"subsensors":{"type":"array","title":"Subsensors","description":"The list of subsensors.","items":{"$ref":"#/definitions/BEI_sensor_element"}},"relative_range":{"type":"boolean","default":true,"description":"If true the sensor range is additive on top of the entity's size.","title":"Relative Range"}}}]},"BEJ_trigger":{"$ref":"#/definitions/BAI"},"BEJ":{"title":"Environment Sensor","description":"Creates a trigger based on environment conditions.","type":"object","additionalProperties":false,"examples":[{"triggers":[{"event":"self:example","target":"self","filters":{"test":"has_tag","value":"example"}}]}],"properties":{"triggers":{"description":"The list of triggers that fire when the environment conditions match the given filter criteria.","title":"Triggers","oneOf":[{"type":"array","items":{"$ref":"#/definitions/BEJ_trigger"}},{"type":"object","$ref":"#/definitions/BEJ_trigger"}]}}},"BFA":{"type":"object","title":"Equip Item","description":"The entity puts on the desired equipment.","additionalProperties":false,"properties":{"excluded_items":{"title":"Excluded Items","type":"array","description":"List of items that the entity should not equip.","items":{"type":"string","$ref":"#/definitions/J","description":"Item that the entity should not equip.","title":"Excluded Items"}}}},"BFC":{"description":"A minecraft loot_table identifier.","examples":["loot_tables/"],"pattern":"^loot_tables/.*\\.json$","title":"Loot Table Identifier","type":"string","defaultSnippets":[{"label":"New Identifier","body":"loot_tables/$1.json"}]},"BFB":{"type":"object","title":"Equipment","description":"Sets the equipment table to use for the entity.","additionalProperties":false,"properties":{"slot_drop_chance":{"type":"array","description":"A list of slots with the chance to drop an equipped item from that slot.","title":"Slot Drop Chance","items":{"additionalProperties":false,"title":"Slot Drop Chance","description":"A slots with the chance to drop an equipped item from that slot.","type":"object","properties":{"drop_chance":{"type":"number","title":"Drop Chance","description":"The chance that the item in this slot will drop.","$comment":"UNDOCUMENTED"},"slot":{"type":"string","title":"Slot","description":"The slot in which the item will drop from.","$comment":"UNDOCUMENTED","examples":["slot.weapon.mainhand"]}}}},"table":{"title":"Table","description":"The file path to the equipment table, relative to the behavior pack's root.","$ref":"#/definitions/BFC"}},"examples":[{"slot_drop_chance":[]}]},"BFD":{"type":"object","title":"Equippable","additionalProperties":false,"description":"Defines an entity's behavior for having items equipped to it.","properties":{"slots":{"description":"List of slots and the item that can be equipped.","type":"array","title":"Slots","items":{"description":"A slot and the item that can be equipped.","title":"Slots","type":"object","properties":{"slot":{"type":"integer","default":0,"description":"The slot number of this slot.","title":"Slot"},"accepted_items":{"type":"array","description":"The list of items that can go in this slot.","title":"Accepted Items","items":{"type":"string","description":"A item name.","$ref":"#/definitions/J","title":"Accepted Items"}},"item":{"$ref":"#/definitions/J","description":"Identifier of the item that can be equipped for this slot.","title":"Item"},"interact_text":{"type":"string","description":"Text to be displayed when the entity can be equipped with this item when playing with Touch-screen controls.","title":"Interact Text"},"on_equip":{"$ref":"#/definitions/BC","description":"Event to trigger when this entity is equipped with this item.","title":"On Equip"},"on_unequip":{"$ref":"#/definitions/BC","description":"Event to trigger when this item is removed from this entity.","title":"On Unequip"}}}}},"examples":[{"slots":[]}]},"BFE":{"type":"object","title":"Exhaustion Values","additionalProperties":false,"description":"Defines how much exhaustion each player action should take.","properties":{"attack":{"title":"Attack","type":"number","default":0.1,"description":"Amount of exhaustion applied when attacking."},"damage":{"title":"Damage","type":"number","default":0.1,"description":"Amount of exhaustion applied when taking damage."},"heal":{"title":"Heal","type":"number","default":6,"description":"Amount of exhaustion applied when healed through food regeneration."},"jump":{"title":"Jump","type":"number","default":0.05,"description":"Amount of exhaustion applied when jumping."},"mine":{"title":"Mine","type":"number","default":0.005,"description":"Amount of exhaustion applied when mining."},"sprint":{"title":"Sprint","type":"number","default":0.01,"description":"Amount of exhaustion applied when sprinting."},"sprint_jump":{"title":"Sprint Jump","type":"number","default":0.2,"description":"Amount of exhaustion applied when sprint jumping."},"swim":{"title":"Swim","type":"number","default":0.01,"description":"Amount of exhaustion applied when swimming."},"walk":{"title":"Walk","type":"number","default":0,"description":"Amount of exhaustion applied when walking."}},"examples":[{"heal":6,"jump":0.05,"sprint_jump":0.2,"mine":0.005,"attack":0.1,"damage":0.1,"walk":0.0,"sprint":0.01,"swim":0.01}]},"BFF":{"type":"object","title":"Experience Reward","description":"Defines the amount of experience rewarded when the entity dies or is successfully bred.","additionalProperties":false,"properties":{"on_bred":{"type":["string","number"],"default":0,"description":"A molang expression defining the amount of experience rewarded when this entity is successfully bred. An array of expressions adds each expression's result together for a final total.","title":"On Bred"},"on_death":{"type":["string","number"],"default":0,"description":"A molang expression defining the amount of experience rewarded when this entity dies. An array of expressions adds each expression's result together for a final total.","title":"On Death"}},"examples":[{"on_bred":0,"on_death":0}]},"BFG":{"type":"object","title":"Explode","additionalProperties":false,"description":"Defines how the entity explodes.","properties":{"breaks_blocks":{"type":"boolean","default":true,"description":"If true, the explosion will destroy blocks in the explosion radius.","title":"Breaks Blocks"},"causes_fire":{"type":"boolean","default":false,"description":"If true, blocks in the explosion radius will be set on fire.","title":"Causes Fire"},"destroy_affected_by_griefing":{"type":"boolean","default":false,"description":"If true, whether the explosion breaks blocks is affected by the mob griefing game rule.","title":"Destroy Affected By Griefing"},"fire_affected_by_griefing":{"type":"boolean","default":false,"description":"If true, whether the explosion causes fire is affected by the mob griefing game rule.","title":"Fire Affected By Griefing"},"fuse_length":{"default":[0.0,0.0],"description":"The range for the random amount of time the fuse will be lit before exploding, a negative value means the explosion will be immediate.","title":"Fuse Length","oneOf":[{"type":"array","items":[{"type":"number"},{"type":"number"}]},{"type":"number"}]},"fuse_lit":{"type":"boolean","default":false,"description":"If true, the fuse is already lit when this component is added to the entity.","title":"Fuse Lit"},"max_resistance":{"type":"number","description":"A blocks explosion resistance will be capped at this value when an explosion occurs.","title":"Maximum Resistance"},"power":{"type":"number","default":3,"description":"The radius of the explosion in blocks and the amount of damage the explosion deals.","title":"Power"}},"examples":[{"breaks_blocks":true,"causes_fire":false,"destroy_affected_by_griefing":false,"fire_affected_by_griefing":false,"fuse_lit":false,"max_resistance":0.0,"power":3}]},"BFH":{"type":"object","title":"Fall Damage","additionalProperties":false,"description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","required":[],"properties":{"value":{"type":"number","default":1,"description":"UNDOCUMENTED: value.","title":"Value"}},"examples":[{"value":1}]},"BFI":{"title":"Fire Immune","additionalProperties":false,"description":"Sets that this entity doesn't take damage from fire.","type":"object","required":[],"properties":{}},"BFJ":{"description":"Sets that this entity can float in liquid blocks.","type":"object","title":"Floats In Liquid","additionalProperties":false,"required":[],"properties":{}},"BGA":{"type":"object","title":"Flocking","description":"Allows entities to flock in groups in water or not.","additionalProperties":false,"properties":{"block_distance":{"type":"number","default":0,"description":"The amount of blocks away the entity will look at to push away from.","title":"Block Distance"},"block_weight":{"type":"number","default":0,"description":"The weight of the push back away from blocks.","title":"Block Weight"},"breach_influence":{"type":"number","default":0,"description":"The amount of push back given to a flocker that breaches out of the water.","title":"Breach Influence"},"cohesion_threshold":{"type":"number","default":1,"description":"The threshold in which to start applying cohesion.","title":"Cohesion Threshold"},"cohesion_weight":{"type":"number","default":1,"description":"The weight applied for the cohesion steering of the flock.","title":"Cohesion Weight"},"goal_weight":{"type":"number","default":0,"description":"The weight on which to apply on the goal output.","title":"Goal Weight"},"high_flock_limit":{"type":"integer","default":0,"description":"Determines the high bound amount of entities that can be allowed in the flock.","title":"High Flock Limit"},"in_water":{"type":"boolean","default":false,"description":"Tells the Flocking Component if the entity exists in water.","title":"In Water"},"influence_radius":{"type":"number","default":0,"description":"The area around the entity that allows others to be added to the flock.","title":"Influence Radius"},"innner_cohesion_threshold":{"type":"number","default":0,"description":"The distance in which the flocker will stop applying cohesion.","title":"Innner Cohesion Threshold"},"loner_chance":{"type":"number","default":0,"description":"The percentage chance between 0-1 that a fish will spawn and not want to join flocks. Invalid values will be capped at the end points.","title":"Loner Chance"},"low_flock_limit":{"type":"integer","default":0,"description":"Determines the low bound amount of entities that can be allowed in the flock.","title":"Low Flock Limit"},"match_variants":{"type":"boolean","default":false,"description":"Tells the flockers that they can only match similar entities that also match the variant, mark variants, and color data of the other potential flockers.","title":"Match Variants"},"max_height":{"type":"number","default":0,"description":"The Maximum height allowable in the air or water.","title":"Maximum Height"},"min_height":{"type":"number","default":0,"description":"The Minimum height allowable in the air or water.","title":"Minimum Height"},"separation_threshold":{"type":"number","default":2,"description":"The distance that is determined to be to close to another flocking and to start applying separation.","title":"Separation Threshold"},"separation_weight":{"type":"number","default":1,"description":"The weight applied to the separation of the flock.","title":"Separation Weight"},"use_center_of_mass":{"type":"boolean","default":false,"description":"Tells the flockers that they will follow flocks based on the center of mass.","title":"Use Center Of Mass"}},"examples":[{"block_distance":0,"block_weight":0,"breach_influence":0,"cohesion_threshold":1,"cohesion_weight":1,"goal_weight":0,"high_flock_limit":0,"in_water":false,"influence_radius":0,"innner_cohesion_threshold":0,"loner_chance":0,"low_flock_limit":0,"match_variants":false,"max_height":0,"min_height":0,"separation_threshold":2,"separation_weight":1,"use_center_of_mass":false}]},"BGB":{"type":"object","title":"Flying Speed","additionalProperties":false,"description":"Speed in Blocks that this entity flies at.","required":[],"properties":{"value":{"type":"number","default":0.02,"description":"Flying speed in blocks per tick.","title":"Value"}},"examples":[{"value":0.02}]},"BGC":{"type":"object","title":"Follow Range","description":"Defines the range of blocks that a mob will pursue a target.","additionalProperties":false,"required":[],"properties":{"value":{"type":"integer","description":"Range of the amount of damage the melee follow_range deals. A negative value can heal the entity instead of hurting it.","title":"Value"},"max":{"type":"integer","description":"Duration, in seconds, of the status ailment applied to the damaged entity.","title":"Max"}},"examples":[{"value":16,"max":48}]},"BGD":{"type":"object","title":"Friction Modifier","additionalProperties":false,"description":"Defines how much does friction affect this entity.","required":[],"properties":{"value":{"type":"number","default":1.0,"description":"The higher the number, the more the friction affects this entity. A value of 1.0 means regular friction, while 2.0 means twice as much","title":"Value"}},"examples":[{"value":1.0}]},"BGE":{"additionalProperties":false,"description":"Allows an entity to emit `entityMove`, `swim` and `flap` game events, depending on the block the entity is moving through. It is added by default to every mob. Add it again to override its behavior.","type":"object","title":"Game Event Movement Tracking","properties":{"emit_flap":{"title":"emit flap","type":"boolean","default":false,"description":"If true, the `flap` game event will be emitted when the entity moves through air."},"emit_move":{"title":"emit move","type":"boolean","default":true,"description":"If true, the `entityMove` game event will be emitted when the entity moves on ground or through a solid."},"emit_swim":{"title":"emit swim","type":"boolean","default":true,"description":"If true, the `swim` game event will be emitted when the entity moves through a liquid."}}},"BGF_integer_range":{"title":"Range","examples":[-1,{"range_min":4,"range_max":7}],"oneOf":[{"type":"integer"},{"type":"object","properties":{"range_min":{"type":"integer","default":0,"description":"Lower bound of the vaues.","title":"Range Minimum"},"range_max":{"type":"integer","default":0,"description":"Upper bound of the vaues.","title":"Range Maximum"}}}]},"BGF":{"type":"object","title":"Genetics","additionalProperties":false,"description":"Defines the way a mob's genes and alleles are passed on to it's offspring, and how those traits manifest in the child. Compatible parent genes are crossed together, the alleles are handed down from the parents to the child, and any matching genetic variants fire off JSON events to modify the child and express the traits.","required":[],"properties":{"mutation_rate":{"type":"number","description":"Chance that an allele will be replaced with a random one instead of the parent's allele during birth.","title":"Mutation Rate","default":0.03125},"genes":{"title":"Genes","type":"array","description":"The list of genes that this entity has and will cross with a partner during breeding.","items":{"type":"object","description":"The list of genes that this entity has and will cross with a partner during breeding.","title":"Gene","properties":{"allele_range":{"title":"Allele Range","description":"The range of positive integer allele values for this gene. Spawned mobs will have a random number in this range assigned to them.","$ref":"#/definitions/BGF_integer_range"},"genetic_variants":{"title":"Genetic Variants","type":"array","description":"The list of genetic variants for this gene. These check for particular allele combinations and fire events when all of them are satisfied.","items":{"title":"Genetic Variants","description":"The genetic variant for this gene. These check for particular allele combinations and fire events when all of them are satisfied.","type":"object","properties":{"birth_event":{"$ref":"#/definitions/BC","description":"Event to run when this mob is created and matches the above allele conditions.","title":"Brith Event"},"both_allele":{"title":"Both Allele","default":-1,"description":"If this value is non-negative, compare both the mob's main and hidden alleles with this value for a match with both. Can also be a range of integers.","$ref":"#/definitions/BGF_integer_range"},"either_allele":{"title":"Either Allele","type":"integer","default":-1,"description":"If this value is non-negative, compare both the mob's main and hidden alleles with this value for a match with either. Can also be a range of integers."},"hidden_allele":{"title":"Hidden Allele","type":"integer","default":-1,"description":"If this value is non-negative, compare the mob's hidden allele with this value for a match. Can also be a range of integers."},"main_allele":{"title":"Main Allele","default":-1,"description":"If this value is non-negative, compare the mob's main allele with this value for a match. Can also be a range of integers.","$ref":"#/definitions/BGF_integer_range"},"mutation_rate":{"title":"Mutation Rate","type":"number","default":-1,"description":"If this value is non-negative, overrides the chance for this gene that an allele will be replaced with a random one instead of the parent's allele during birth. Non-negative values greater than 1 will be the same as the value 1."}}}},"name":{"title":"Name","type":"string","description":"The name of the gene."}}}}},"examples":[{"mutation_rate":0.0,"genes":[]}]},"BGG":{"additionalProperties":false,"description":"Defines sets of items that can be used to trigger events when used on this entity. The item will also be taken and placed in the entity's inventory.","type":"object","title":"Giveable","properties":{"triggers":{"description":"Defines sets of items that can be used to trigger events when used on this entity. The item will also be taken and placed in the entity's inventory.","title":"Triggers","type":"object","additionalProperties":false,"properties":{"cooldown":{"type":"number","default":0.0,"description":"An optional cool down in seconds to prevent spamming interactions.","title":"Cooldown"},"items":{"type":"array","title":"Properties","description":"The list of items that can be given to the entity to place in their inventory.","items":{"description":"An items that can be given to the entity to place in their inventory.","$ref":"#/definitions/J","title":"Properties"}},"on_give":{"$ref":"#/definitions/BC","description":"Event to fire when the correct item is given.","title":"On Give"}}}},"examples":[{"triggers":{}}]},"BGH":{"type":"object","title":"Ground Offset","additionalProperties":false,"description":"Sets the offset from the ground that the entity is actually at.","required":[],"properties":{"value":{"type":"number","default":0.0,"description":"The value of the entity's offset from the terrain, in blocks.","title":"Value"}},"examples":[{"value":0.0}]},"BGI":{"type":"object","title":"Group Size","description":"Keeps track of entity group size in the given radius.","additionalProperties":false,"properties":{"filters":{"$ref":"#/definitions/BD","description":"The list of conditions that must be satisfied for other entities to be counted towards group size."},"radius":{"type":"number","default":16,"description":"Radius from center of entity.","title":"Radius"}},"examples":[{"radius":16}]},"BGJ":{"type":"object","title":"Grows Crop","description":"Could increase crop growth when entity walks over crop.","additionalProperties":false,"properties":{"chance":{"type":"number","default":0,"description":"Value between 0-1. Chance of success per tick.","minimum":0,"maximum":1,"title":"Chance"},"charges":{"type":"integer","default":10,"description":"Number of charges.","title":"Charges"}},"examples":[{"chance":0,"charges":10}]},"BHA_effect":{"type":"object","properties":{"name":{"title":"Name","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"string"},"duration":{"type":"integer","default":0,"minimum":0,"description":"The duration of the effect.","$comment":"UNDOCUMENTED"},"amplifier":{"type":"integer","default":0,"minimum":0,"description":"The amplifier of the effect.","$comment":"UNDOCUMENTED"}}},"BHA":{"description":"Defines the interactions with this entity for healing it.","type":"object","title":"Healable","additionalProperties":false,"required":[],"properties":{"filters":{"$ref":"#/definitions/BD"},"force_use":{"type":"boolean","default":false,"description":"Determines if item can be used regardless of entity being at full health.","title":"Force Use"},"items":{"description":"The array of items that can be used to heal this entity.","title":"Items","type":"array","items":{"type":"object","properties":{"filters":{"$ref":"#/definitions/BD","description":"The filter group that defines the conditions for using this item to heal the entity."},"heal_amount":{"type":"integer","default":1,"description":"The amount of health this entity gains when fed this item.","title":"Heal Amount"},"item":{"$ref":"#/definitions/J","description":"Item that can be used to heal this entity.","title":"Item"},"effects":{"oneOf":[{"$ref":"#/definitions/BHA_effect"},{"type":"array","items":{"$ref":"#/definitions/BHA_effect"}}]}}}}},"examples":[{"force_use":false,"items":[]}]},"BHB":{"description":"Specifies how much life an entity has when spawned.","type":"object","title":"Health","additionalProperties":false,"required":[],"properties":{"max":{"type":"integer","description":"The maximum starting health an entity has.","title":"Maximum"},"value":{"description":"The amount of health an entity to start with by default.","title":"Value","oneOf":[{"type":"integer","default":1},{"type":"object","additionalProperties":false,"required":["range_min","range_max"],"properties":{"range_min":{"title":"Range Minimum","description":"The minimum amount of health this mob could have.","type":"integer"},"range_max":{"title":"Range Maximum","description":"The maximum amount of health this mob could have.","type":"integer"}}}]}},"examples":[{"value":1,"max":1}]},"BHC":{"description":"defines the entity's heartbeat..","type":"object","title":"Heartbeat","additionalProperties":false,"required":[],"properties":{"interval":{"title":"Interval","description":"A Molang expression defining the inter-beat interval in seconds. A value of zero or less means no heartbeat..","$ref":"#/definitions/E"},"sound_event":{"title":"Sound Event","description":"Level sound event to be played as the heartbeat sound.","type":"string"}},"examples":[{}]},"BHD":{"type":"object","title":"Hide","description":"Compels an entity to move to and hide at their owned POI or the closest nearby.","additionalProperties":false,"properties":{}},"BHE":{"type":"object","title":"Home","description":"Saves a home pos for when the the entity is spawned.","additionalProperties":false,"properties":{"restriction_radius":{"title":"Restriction Radius","description":"The radius that the entity will be restricted to in relation to its home.","type":"integer","default":-1},"home_block_list":{"title":"Home Block List","description":"Optional block list that the home position will be associated with. If any of the blocks no longer exist at that position, the home restriction is removed. Example syntax: minecraft:sand. Not supported: minecraft:sand:1","type":"array","items":{"title":"Home Block","description":"Optional block that the home position will be associated with. If any of the blocks no longer exist at that position, the home restriction is removed. Example syntax: minecraft:sand. Not supported: minecraft:sand:1","type":"string","$ref":"#/definitions/BA"}}},"examples":[{"restriction_radius":-1,"home_block_list":[]}]},"BHF":{"type":"object","title":"Horse Jump Strength","additionalProperties":false,"description":"Allows this mob to jump higher when being ridden by a player.","$comment":"UNDOCUMENTED","properties":{"value":{"description":"The multiplier to apply to the jumping height.","$comment":"UNDOCUMENTED","title":"Value","oneOf":[{"type":"object","additionalProperties":false,"properties":{"range_min":{"type":"number"},"range_max":{"type":"number"}}},{"type":"number"}]}}},"BHG":{"type":"object","title":"Hurt On Condition","description":"Defines a set of conditions under which an entity should take damage.","additionalProperties":false,"properties":{"damage_conditions":{"type":"array","title":"Damage Conditions","description":"An array of conditions used to compare the event to.","items":{"type":"object","title":"Damage Condition","description":"A condition used to compare the event to.","additionalProperties":false,"properties":{"filters":{"$ref":"#/definitions/BD"},"cause":{"type":"string","title":"Cause","description":"Damage cause.","$ref":"#/definitions/DA"},"damage_per_tick":{"type":"integer","title":"Damage Per Tick","description":"Amount of damage done each tick that the conditions are met."}}}}},"examples":[{"damage_conditions":[]}]},"BHH":{"type":"object","title":"Hurt When Wet","additionalProperties":false,"required":[],"properties":{},"description":"Specifies if an actor is hurt when wet."},"BHI":{"description":"When configured as a rideable entity, the entity will be controlled using WASD controls.","type":"object","title":"Input Ground Controlled","additionalProperties":false,"required":[],"properties":{}},"BIA":{"title":"Block","type":"object","additionalProperties":false,"properties":{"name":{"title":"Name","description":"The block id, for example: `minecraft:air'.","type":"string"},"states":{"title":"States","description":"The block states.","type":"object","additionalProperties":{"title":"State","description":"A single state of a block.","oneOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]}}}},"BHJ":{"type":"object","title":"Inside Block Notifier","additionalProperties":false,"description":"Verifies whether the entity is inside any of the listed blocks.","required":[],"properties":{"block_list":{"title":"Block List","description":"List of blocks, with certain block states, that we are monitoring to see if the entity is inside.","type":"array","items":{"title":"Block","description":"A of block, with certain block states, that we are monitoring to see if the entity is inside.","type":"object","additionalProperties":false,"properties":{"block":{"$ref":"#/definitions/BIA"},"entered_block_event":{"title":"Entered Block Event","description":"Event to run when this mob enters a valid block.","$comment":"UNDOCUMENTED","$ref":"#/definitions/BC"},"exited_block_event":{"title":"Exited Block Event","description":"Event to run when this mob leaves a valid block.","$comment":"UNDOCUMENTED","$ref":"#/definitions/BC"}}}}},"examples":[{"block_list":[]}]},"BIB":{"description":"Adds a timer since last rested to see if phantoms should spawn.","type":"object","title":"Insomnia","additionalProperties":false,"required":[],"properties":{"days_until_insomnia":{"type":"number","default":3,"description":"Number of days the mob has to stay up until the insomnia effect begins.","title":"Days Until Insomnia"}},"examples":[{"days_until_insomnia":3}]},"BIC":{"type":"object","title":"Instant Despawn","description":"Despawns the Actor immediately.","additionalProperties":false,"properties":{"remove_child_entities":{"type":"boolean","default":false,"description":"If true, all entities linked to this entity in a child relationship (eg. leashed) will also be despawned.","title":"Remove Child Entities"}},"examples":[{"remove_child_entities":false}]},"BID_interaction_spec":{"type":"object","additionalProperties":false,"properties":{"add_items":{"title":"Add Items","type":"object","description":"Loot table with items to add to the player's inventory upon successful interaction.","additionalProperties":false,"properties":{"table":{"type":"string","$ref":"#/definitions/BFC","description":"File path, relative to the Behavior Pack's path, to the loot table file.","title":"Table"}}},"cooldown":{"title":"Cooldown","type":"number","default":0,"description":"Time in seconds before this entity can be interacted with again."},"admire":{"title":"Admire","type":"boolean","default":false,"description":"Allows entity to admire the item. Requires \"minecraft:admire_item\" and \"minecraft:behavior.admire_item\" to work.","$comment":"UNDOCUMENTED"},"barter":{"title":"Barter","type":"boolean","default":false,"description":"Allows entity to barter with the item. Requires \"minecraft:barter\" to work.","$comment":"UNDOCUMENTED"},"cooldown_after_being_attacked":{"title":"Cooldown After Being Attacked","type":"number","default":0,"description":"Time in seconds before this entity can be interacted with after being attacked."},"health_amount":{"title":"Health Amount","type":"integer","default":0,"description":"The amount of health this entity will recover or hurt when interacting with this item. Negative values will harm the entity."},"hurt_item":{"title":"Hurt Item","type":"integer","default":0,"description":"The amount of damage the item will take when used to interact with this entity. A value of 0 means the item won't lose durability."},"interact_text":{"title":"Interact Text","type":"string","default":"","description":"Text to show when the player is able to interact in this way with this entity when playing with Touch-screen controls."},"on_interact":{"title":"On Interact","$ref":"#/definitions/BAI","description":"Event to fire when the interaction occurs."},"particle_on_start":{"title":"Particle On Start","type":"object","description":"Particle effect that will be triggered at the start of the interaction.","properties":{"particle_offset_towards_interactor":{"type":"boolean","description":"Whether or not the particle will appear closer to who performed the interaction.","title":"Particle Offset Towards Interactor"},"particle_type":{"type":"string","description":"The type of particle that will be spawned.","title":"Particle Type"},"particle_y_offset":{"type":"number","description":"Will offset the particle this amount in the y direction.","title":"Particle Y Offset"}}},"play_sounds":{"title":"Play Sounds","$ref":"#/definitions/BAB","default":"","description":"List of sounds to play when the interaction occurs."},"spawn_entities":{"title":"Spawn Entities","type":"string","default":"","description":"List of entities to spawn when the interaction occurs."},"spawn_items":{"type":"object","description":"Loot table with items to drop on the ground upon successful interaction.","title":"Spawn Items","additionalProperties":false,"properties":{"table":{"type":"string","$ref":"#/definitions/BFC","description":"File path, relative to the Behavior Pack's path, to the loot table file.","title":"Table"}}},"swing":{"title":"Swing","type":"boolean","default":false,"description":"If true, the player will do the \"swing\" animation when interacting with this entity."},"transform_to_item":{"title":"Transform To Item","type":"string","description":"The feed item used will transform to this item upon successful interaction. Format: itemName:auxValue"},"use_item":{"title":"Use Item","type":"boolean","default":false,"description":"If true, the interaction will use an item."},"vibration":{"title":"Vibration","type":"string","description":"Vibration to emit when the interaction occurs. Admitted values are entity_interact (used by default), shear, and none (no vibration emitted)."},"give_item":{"title":"Give Item","type":"boolean","$comment":"UNDOCUMENTED","description":"UNDOCUMENTED Item to give to the player upon successful interaction."},"take_item":{"title":"Take Item","type":"boolean","$comment":"UNDOCUMENTED","description":"UNDOCUMENTED Takes an item from the player."},"drop_item_slot":{"title":"Drop Item Slot","type":"integer","default":-1,"description":"The entity's equipment slot to remove and drop the item from, if any, upon successful interaction."},"equip_item_slot":{"title":"Equip Item Slot","type":"integer","default":-1,"description":"The entity's equipment slot to equip the item to, if any, upon successful interaction."}}},"BID":{"type":"object","title":"Interact","description":"Defines interactions with this entity.","additionalProperties":false,"examples":[{"interactions":[{}]}],"properties":{"interactions":{"description":"The interactions.","title":"Interactions","oneOf":[{"type":"object","$ref":"#/definitions/BID_interaction_spec"},{"type":"array","items":{"$ref":"#/definitions/BID_interaction_spec"}}]}}},"BIE":{"description":"Defines this entity's inventory properties.","type":"object","title":"Inventory","additionalProperties":false,"properties":{"additional_slots_per_strength":{"type":"integer","default":0,"description":"Number of slots that this entity can gain per extra strength.","title":"Additional Slots Per Strength"},"can_be_siphoned_from":{"type":"boolean","default":false,"description":"If true, the contents of this inventory can be removed by a hopper.","title":"Can Be Siphoned From"},"container_type":{"type":"string","default":"none","description":"Type of container this entity has. Can be horse, minecart_chest, chest_boat, minecart_hopper, inventory, container or hopper","title":"Container Type","enum":["horse","minecart_chest","chest_boat","minecart_hopper","inventory","container","hopper"]},"inventory_size":{"type":"integer","default":5,"description":"Number of slots the container has.","title":"Inventory Size"},"private":{"type":"boolean","default":false,"description":"If true, only the entity can access the inventory.","title":"Private"},"restrict_to_owner":{"type":"boolean","default":false,"description":"If true, the entity's inventory can only be accessed by its owner or itself.","title":"Restrict To Owner"}},"examples":[{"additional_slots_per_strength":0,"can_be_siphoned_from":false,"container_type":"none","inventory_size":5,"private":false,"restrict_to_owner":false}]},"BIF":{"description":"Sets that this entity is a baby.","type":"object","title":"Is Baby","additionalProperties":false,"required":[],"properties":{}},"BIG":{"description":"Sets that this entity is charged.","type":"object","title":"Is Charged","additionalProperties":false,"required":[],"properties":{}},"BIH":{"description":"Sets that this entity is currently carrying a chest.","type":"object","title":"Is Chested","additionalProperties":false,"required":[],"properties":{}},"BII":{"description":"Allows dyes to be used on this entity to change its color.","type":"object","title":"Is Dyeable","additionalProperties":false,"required":[],"properties":{"interact_text":{"type":"string","description":"The text that will display when interacting with this entity with a dye when playing with Touch-screen controls.","title":"Interact Text"}},"examples":[{"interact_text":"example"}]},"BIJ":{"type":"object","title":"Is Hidden When Invisible","additionalProperties":false,"description":"Sets that this entity can hide from hostile mobs while invisible."},"BJA":{"description":"Sets that this entity is currently on fire.","type":"object","title":"Is Ignited","additionalProperties":false,"required":[],"properties":{}},"BJB":{"description":"Sets that this entity is an illager captain.","type":"object","title":"Is Illager Captain","additionalProperties":false,"required":[],"properties":{}},"BJC":{"description":"Sets that this entity is currently saddled.","type":"object","title":"Is Saddled","additionalProperties":false,"required":[],"properties":{}},"BJD":{"description":"Sets that this entity is currently shaking.","type":"object","title":"Is Shaking","additionalProperties":false,"required":[],"properties":{}},"BJE":{"description":"Sets that this entity is currently sheared.","type":"object","title":"Is Sheared","additionalProperties":false,"required":[],"properties":{}},"BJF":{"description":"Sets that this entity can be stacked.","type":"object","title":"Is Stackable","additionalProperties":false,"properties":{"value":{"title":"Value","description":"UNDOCUMENTED.","type":"boolean"}}},"BJG":{"description":"Sets that this entity is currently stunned.","type":"object","title":"Is Stunned","additionalProperties":false,"required":[],"properties":{}},"BJH":{"description":"Sets that this entity is currently tamed.","type":"object","title":"Is Tamed","additionalProperties":false,"required":[],"properties":{}},"BJI":{"description":"Efines what items can be used to control this entity while ridden.","type":"object","title":"Item Controllable","additionalProperties":false,"required":[],"properties":{"control_items":{"description":"List of items that can be used to control this entity.","oneOf":[{"type":"array","items":{"type":"string","description":"An item that can be used to control this entity.","title":"Item"}},{"type":"string"}],"title":"Control Items"}}},"BJJ":{"type":"object","title":"Item Hopper","additionalProperties":false,"required":[],"properties":{},"description":"Determines that this entity is an item hopper."},"CAA":{"description":"Defines a dynamic type jump control that will change jump properties based on the speed modifier of the mob.","type":"object","title":"Jump Dynamic","additionalProperties":false,"required":[],"properties":{}},"CAB":{"description":"Gives the entity the ability to jump.","type":"object","title":"Jump Static","additionalProperties":false,"required":[],"properties":{"jump_power":{"type":"number","default":0.42,"description":"The initial vertical velocity for the jump.","title":"Jump Power"}},"examples":[{"jump_power":0.42}]},"CAC":{"type":"object","title":"Knockback Resistance","description":"Allows an entity to resist being knocked backwards by a melee attack.","required":[],"additionalProperties":false,"properties":{"value":{"title":"Value","type":"number","default":1.0,"description":"Percentage of knockback to reduce with 1.0 being 100% reduction."},"maximum":{"title":"Maximum","type":"number","default":1.0,"description":"The maximum amount of knockback resistance that can be applied to the entity."}},"examples":[{"value":1.0},{"value":100,"maximum":100}]},"CAD":{"description":"Allows a custom movement speed across lava blocks.","type":"object","title":"Lava Movement","additionalProperties":false,"required":[],"properties":{"value":{"type":"number","title":"Value","description":"The speed a strider moves over a lava block."}},"examples":[{"value":0.32}]},"CAE":{"type":"object","title":"Leashable","description":"Allows this entity to be leashed and defines the conditions and events for this entity when is leashed.","additionalProperties":false,"properties":{"can_be_stolen":{"type":"boolean","default":false,"description":"If true, players can leash this entity even if it is already leashed to another mob.","title":"Can Be Stolen"},"hard_distance":{"type":"number","default":6,"description":"Distance in blocks at which the leash stiffens, restricting movement.","title":"Hard Distance"},"max_distance":{"type":"number","default":10,"description":"Distance in blocks at which the leash breaks.","title":"Maximum Distance"},"on_leash":{"$ref":"#/definitions/BC","description":"Event to call when this entity is leashed.","title":"On Leash"},"on_unleash":{"$ref":"#/definitions/BC","description":"Event to call when this entity is unleashed.","title":"On Unleash"},"soft_distance":{"type":"number","default":4,"description":"Distance in blocks at which the `spring` effect starts acting to keep this entity close to the entity that leashed it.","title":"Soft Distance"}},"examples":[{"can_be_stolen":false,"hard_distance":6,"max_distance":10,"soft_distance":4}]},"CAF":{"description":"Defines the behavior when another entity looks at this entity.","type":"object","title":"Lookat","additionalProperties":false,"properties":{"allow_invulnerable":{"type":"boolean","default":false,"description":"If true, invulnerable entities (e.g. Players in creative mode) are considered valid targets.","title":"Allow Invulnerable"},"filters":{"$ref":"#/definitions/BD","description":"Defines the entities that can trigger this component.","title":"Filters"},"look_cooldown":{"$ref":"#/definitions/BBB","default":[0.0,0.0],"description":"The range for the random amount of time during which the entity is `cooling down` and won't get angered or look for a target.","title":"Look Cooldown"},"look_event":{"description":"The event identifier to run when the entities specified in filters look at this entity.","title":"Look Event","$ref":"#/definitions/BC"},"search_radius":{"type":"number","default":10,"description":"Maximum distance this entity will look for another entity looking at it.","title":"Search Radius"},"set_target":{"type":"boolean","default":true,"description":"If true, this entity will set the attack target as the entity that looked at it.","title":"Set Target"}},"examples":[{"allow_invulnerable":false,"search_radius":10,"set_target":true}]},"CAG":{"type":"object","title":"Loot","description":"sets the loot table for what items this entity drops upon death.","additionalProperties":false,"required":["table"],"examples":[{"table":"loot_tables/empty.json"}],"properties":{"table":{"type":"string","pattern":"^loot_tables/.*.json$","description":"The path to the loot table, relative to the Behavior Pack's root.","title":"Table","default":"loot_tables/empty.json"}}},"CAH":{"type":"object","title":"Managed Wandering Trader","additionalProperties":false,"required":[],"properties":{},"description":"This component is used to implement part of the Wandering Trader behavior."},"CAI":{"type":"object","title":"Mark Variant","description":"Additional variant value. Can be used to further differentiate variants.","required":["value"],"properties":{"value":{"type":"integer","default":0,"description":"The ID of the variant. By convention, 0 is the ID of the base entity","title":"Value"}},"additionalProperties":false,"examples":[{"value":0},{"value":1},{"value":2},{"value":3},{"value":4},{"value":5},{"value":6},{"value":7},{"value":8},{"value":9}]},"CAJ":{"type":"object","title":"Mob Effect","description":"A component that applies a mob effect to entities that get within range.","additionalProperties":false,"properties":{"cooldown_time":{"title":"Cooldown Time","type":"integer","default":0,"description":"Time in seconds to wait between each application of the effect."},"effect_range":{"title":"Effect Range","type":"number","default":0.2,"description":"How close a hostile entity must be to have the mob effect applied."},"effect_time":{"title":"Effect Time","type":"integer","default":10,"description":"How long the applied mob effect lasts in seconds."},"entity_filter":{"$ref":"#/definitions/BD","title":"Entity Filter","description":"Filter to use for conditions."},"mob_effect":{"title":"Mob Effect","type":"string","default":"","description":"The mob effect that is applied to entities that enter this entities effect range."}},"examples":[{"effect_range":0.2,"effect_time":10,"mob_effect":""}]},"CBA":{"type":"object","title":"Movement Sound Distance Offset","description":"Sets the offset used to determine the next step distance for playing a movement sound.","required":["value"],"properties":{"value":{"type":"number","default":1.0,"description":"The higher the number, the less often the movement sound will be played.","title":"Value"}},"additionalProperties":false,"examples":[{"value":1.0},{"value":0.5},{"value":1.5}]},"CBB":{"type":"object","title":"Movement Amphibious","additionalProperties":false,"required":[],"properties":{"max_turn":{"type":"number","default":30,"description":"The maximum number in degrees the mob can turn per tick.","title":"Maximum Turn"}},"description":"This move control allows the mob to swim in water and walk on land.","examples":[{"max_turn":30}]},"CBC":{"type":"object","title":"Movement Basic","description":"defines the movement of an entity.","additionalProperties":false,"required":[],"properties":{"max_turn":{"type":"number","default":30,"description":"The maximum number in degrees the mob can turn per tick.","title":"Maximum Turn"}},"examples":[{"max_turn":30}]},"CBD":{"type":"object","title":"Movement Fly","description":"This move control causes the mob to fly.","additionalProperties":false,"required":[],"properties":{"max_turn":{"type":"number","default":30,"description":"The maximum number in degrees the mob can turn per tick.","title":"Maximum Turn"}},"examples":[{"max_turn":30}]},"CBE":{"description":"This move control allows a mob to fly, swim, climb, etc.","type":"object","title":"Movement Generic","additionalProperties":false,"required":[],"properties":{"max_turn":{"type":"number","default":30,"description":"The maximum number in degrees the mob can turn per tick.","title":"Maximum Turn"}},"examples":[{"max_turn":30}]},"CBF":{"type":"object","title":"Movement Glide","description":"This is the move control for a flying mob that has a gliding movement.","additionalProperties":false,"required":[],"properties":{"max_turn":{"type":"number","default":30,"description":"The maximum number in degrees the mob can turn per tick.","title":"Maximum Turn"},"start_speed":{"type":"number","title":"Start Speed","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"speed_when_turning":{"type":"number","title":"Speed When Turning","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"}},"examples":[{"start_speed":1.0,"speed_when_turning":2.0}]},"CBG":{"title":"Movement Hover","description":"This move control causes the mob to hover.","type":"object","additionalProperties":false,"properties":{"max_turn":{"type":"number","default":30,"description":"The maximum number in degrees the mob can turn per tick.","title":"Maximum Turn"}},"examples":[{"max_turn":30}]},"CBH":{"type":"object","title":"Movement Jump","description":"Move control that causes the mob to jump as it moves with a specified delay between jumps.","additionalProperties":false,"properties":{"jump_delay":{"type":"array","default":[0.0,0.0],"description":"Delay after landing when using the slime move control.","title":"Jump Delay","items":[{"type":"number","title":"Minimum"},{"type":"number","title":"Maximum"}]},"max_turn":{"type":"number","default":30,"description":"The maximum number in degrees the mob can turn per tick.","title":"Maximum Turn"}},"examples":[{"jump_delay":[],"max_turn":30}]},"CBI":{"type":"object","title":"Movement Skip","additionalProperties":false,"required":[],"description":"This move control causes the mob to hop as it moves.","properties":{"max_turn":{"type":"number","default":30,"description":"The maximum number in degrees the mob can turn per tick.","title":"Maximum Turn"}},"examples":[{"max_turn":30}]},"CBJ":{"title":"Movement Sway","description":"This move control causes the mob to sway side to side giving the impression it is swimming.","type":"object","additionalProperties":false,"properties":{"max_turn":{"type":"number","default":30,"description":"The maximum number in degrees the mob can turn per tick.","title":"Maximum Turn"},"sway_amplitude":{"type":"number","description":"Strength of the sway movement.","title":"Sway Amplitude","default":0.05},"sway_frequency":{"type":"number","description":"Multiplier for the frequency of the sway movement.","title":"Sway Amplitude","default":0.5}},"examples":[{"max_turn":30,"sway_amplitude":0.0}]},"CCA":{"type":"object","title":"Movement","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","additionalProperties":false,"required":[],"properties":{"value":{"title":"Value","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","oneOf":[{"type":"array","items":[{"type":"number","title":"Maximum"},{"type":"number","title":"Maximum"}]},{"type":"number"},{"type":"object","additionalProperties":false,"title":"Range","properties":{"range_min":{"type":"number","title":"Range Minimum"},"range_max":{"type":"number","title":"Range Maximum"}}}]},"max":{"type":"number","title":"Maximum","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"}},"examples":[{"max":0.0}]},"CCB_name_action":{"type":"object","additionalProperties":false,"description":"Describes the special names for this entity and the events to call when the entity acquires those names.","title":"Name Action","properties":{"name_filter":{"type":"string","default":"","description":"List of special names that will cause the events defined in `on_named` to fire.","title":"Name Filter"},"on_named":{"$ref":"#/definitions/BC","description":"Event to be called when this entity acquires the name specified in `name_filter'.","title":"On Named"}}},"CCB":{"type":"object","title":"Nameable","additionalProperties":false,"description":"Allows this entity to be named (e.g. using a name tag).","properties":{"allow_name_tag_renaming":{"type":"boolean","default":true,"description":"If true, this entity can be renamed with name tags.","title":"Allow Name Tag Renaming"},"always_show":{"type":"boolean","default":false,"description":"If true, the name will always be shown.","title":"Always Show"},"default_trigger":{"$ref":"#/definitions/BAI","description":"Trigger to run when the entity gets named.","title":"Default Trigger"},"name_actions":{"title":"Name Actions","description":"Describes the special names for this entity and the events to call when the entity acquires those names.","oneOf":[{"type":"array","items":{"$ref":"#/definitions/CCB_name_action"}},{"type":"object","$ref":"#/definitions/CCB_name_action"}]}},"examples":[{"allow_name_tag_renaming":true,"always_show":false}]},"CCC":{"title":"Navigation Climb","description":"Allows this entity to generate paths that include vertical walls like the vanilla Spiders do.","type":"object","additionalProperties":false,"properties":{"avoid_damage_blocks":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid blocks that cause damage when finding a path.","title":"Avoid Damage Blocks"},"avoid_portals":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid portals (like nether portals) when finding a path.","title":"Avoid Portals"},"avoid_sun":{"type":"boolean","default":false,"description":"Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths.","title":"Avoid Sun"},"avoid_water":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid water when creating a path.","title":"Avoid Water"},"blocks_to_avoid":{"type":"array","description":"Tells the pathfinder which blocks to avoid when creating a path.","title":"Blocks To Avoid","items":{"title":"Block","description":"Tells the pathfinder which blocks to avoid when creating a path.","$ref":"#/definitions/BCC"}},"can_breach":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can jump out of water (like a dolphin).","title":"Can Breach"},"can_break_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door and break it.","title":"Can Break Doors"},"can_jump":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can jump up blocks.","title":"Can Jump"},"can_open_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door assuming the AI will open the door.","title":"Can Open Doors"},"can_open_iron_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door.","title":"Can Open Iron Doors"},"can_pass_doors":{"type":"boolean","default":true,"description":"Whether a path can be created through a door.","title":"Can Pass Doors"},"can_path_from_air":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can start pathing when in the air.","title":"Can Path From Air"},"can_path_over_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the lava.","title":"Can Path Over Lava"},"can_path_over_water":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the water.","title":"Can Path Over Water"},"can_sink":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it will be pulled down by gravity while in water.","title":"Can Sink"},"can_swim":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path.","title":"Can Swim"},"can_walk":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can walk on the ground outside water.","title":"Can Walk"},"can_walk_in_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel in lava like walking on ground.","title":"Can Walk In Lava"},"is_amphibious":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can walk on the ground underwater.","title":"Is Amphibious"}},"examples":[{},{"avoid_damage_blocks":true,"can_pass_doors":true,"can_jump":true},{"avoid_damage_blocks":false,"avoid_portals":false,"avoid_sun":false,"avoid_water":false,"blocks_to_avoid":[],"can_breach":false,"can_break_doors":false,"can_jump":true,"can_open_doors":false,"can_open_iron_doors":false,"can_pass_doors":true,"can_path_from_air":false,"can_path_over_lava":false,"can_path_over_water":false,"can_sink":true,"can_swim":false,"can_walk":true,"can_walk_in_lava":false,"is_amphibious":false}]},"CCD":{"title":"Navigation Float","description":"Allows this entity to generate paths by flying around the air like the regular Ghast.","type":"object","additionalProperties":false,"properties":{"avoid_damage_blocks":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid blocks that cause damage when finding a path.","title":"Avoid Damage Blocks"},"avoid_portals":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid portals (like nether portals) when finding a path.","title":"Avoid Portals"},"avoid_sun":{"type":"boolean","default":false,"description":"Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths.","title":"Avoid Sun"},"avoid_water":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid water when creating a path.","title":"Avoid Water"},"blocks_to_avoid":{"type":"array","description":"Tells the pathfinder which blocks to avoid when creating a path.","title":"Blocks To Avoid","items":{"title":"Block","description":"Tells the pathfinder which blocks to avoid when creating a path.","$ref":"#/definitions/BCC"}},"can_breach":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can jump out of water (like a dolphin).","title":"Can Breach"},"can_break_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door and break it.","title":"Can Break Doors"},"can_jump":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can jump up blocks.","title":"Can Jump"},"can_open_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door assuming the AI will open the door.","title":"Can Open Doors"},"can_open_iron_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door.","title":"Can Open Iron Doors"},"can_pass_doors":{"type":"boolean","default":true,"description":"Whether a path can be created through a door.","title":"Can Pass Doors"},"can_path_from_air":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can start pathing when in the air.","title":"Can Path From Air"},"can_path_over_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the lava.","title":"Can Path Over Lava"},"can_path_over_water":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the water.","title":"Can Path Over Water"},"can_sink":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it will be pulled down by gravity while in water.","title":"Can Sink"},"can_swim":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path.","title":"Can Swim"},"can_walk":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can walk on the ground outside water.","title":"Can Walk"},"can_walk_in_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel in lava like walking on ground.","title":"Can Walk In Lava"},"is_amphibious":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can walk on the ground underwater.","title":"Is Amphibious"}},"examples":[{},{"avoid_damage_blocks":true,"can_pass_doors":true,"can_jump":true},{"avoid_damage_blocks":false,"avoid_portals":false,"avoid_sun":false,"avoid_water":false,"blocks_to_avoid":[],"can_breach":false,"can_break_doors":false,"can_jump":true,"can_open_doors":false,"can_open_iron_doors":false,"can_pass_doors":true,"can_path_from_air":false,"can_path_over_lava":false,"can_path_over_water":false,"can_sink":true,"can_swim":false,"can_walk":true,"can_walk_in_lava":false,"is_amphibious":false}]},"CCE":{"title":"Navigation Fly","description":"Allows this entity to generate paths in the air like the vanilla Parrots do.","type":"object","additionalProperties":false,"properties":{"avoid_damage_blocks":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid blocks that cause damage when finding a path.","title":"Avoid Damage Blocks"},"avoid_portals":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid portals (like nether portals) when finding a path.","title":"Avoid Portals"},"avoid_sun":{"type":"boolean","default":false,"description":"Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths.","title":"Avoid Sun"},"avoid_water":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid water when creating a path.","title":"Avoid Water"},"blocks_to_avoid":{"type":"array","description":"Tells the pathfinder which blocks to avoid when creating a path.","title":"Blocks To Avoid","items":{"title":"Block","description":"Tells the pathfinder which blocks to avoid when creating a path.","$ref":"#/definitions/BCC"}},"can_breach":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can jump out of water (like a dolphin).","title":"Can Breach"},"can_break_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door and break it.","title":"Can Break Doors"},"can_jump":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can jump up blocks.","title":"Can Jump"},"can_open_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door assuming the AI will open the door.","title":"Can Open Doors"},"can_open_iron_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door.","title":"Can Open Iron Doors"},"can_pass_doors":{"type":"boolean","default":true,"description":"Whether a path can be created through a door.","title":"Can Pass Doors"},"can_path_from_air":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can start pathing when in the air.","title":"Can Path From Air"},"can_path_over_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the lava.","title":"Can Path Over Lava"},"can_path_over_water":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the water.","title":"Can Path Over Water"},"can_sink":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it will be pulled down by gravity while in water.","title":"Can Sink"},"can_swim":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path.","title":"Can Swim"},"can_walk":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can walk on the ground outside water.","title":"Can Walk"},"can_walk_in_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel in lava like walking on ground.","title":"Can Walk In Lava"},"is_amphibious":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can walk on the ground underwater.","title":"Is Amphibious"}},"examples":[{},{"avoid_damage_blocks":true,"can_pass_doors":true,"can_jump":true},{"avoid_damage_blocks":false,"avoid_portals":false,"avoid_sun":false,"avoid_water":false,"blocks_to_avoid":[],"can_breach":false,"can_break_doors":false,"can_jump":true,"can_open_doors":false,"can_open_iron_doors":false,"can_pass_doors":true,"can_path_from_air":false,"can_path_over_lava":false,"can_path_over_water":false,"can_sink":true,"can_swim":false,"can_walk":true,"can_walk_in_lava":false,"is_amphibious":false}]},"CCF":{"title":"Navigation Generic","description":"Allows this entity to generate paths by walking, swimming, flying and/or climbing around and jumping up and down a block.","type":"object","additionalProperties":false,"properties":{"avoid_damage_blocks":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid blocks that cause damage when finding a path.","title":"Avoid Damage Blocks"},"avoid_portals":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid portals (like nether portals) when finding a path.","title":"Avoid Portals"},"avoid_sun":{"type":"boolean","default":false,"description":"Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths.","title":"Avoid Sun"},"avoid_water":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid water when creating a path.","title":"Avoid Water"},"blocks_to_avoid":{"type":"array","description":"Tells the pathfinder which blocks to avoid when creating a path.","title":"Blocks To Avoid","items":{"title":"Block","description":"Tells the pathfinder which blocks to avoid when creating a path.","$ref":"#/definitions/BCC"}},"can_breach":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can jump out of water (like a dolphin).","title":"Can Breach"},"can_break_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door and break it.","title":"Can Break Doors"},"can_jump":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can jump up blocks.","title":"Can Jump"},"can_open_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door assuming the AI will open the door.","title":"Can Open Doors"},"can_open_iron_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door.","title":"Can Open Iron Doors"},"can_pass_doors":{"type":"boolean","default":true,"description":"Whether a path can be created through a door.","title":"Can Pass Doors"},"can_path_from_air":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can start pathing when in the air.","title":"Can Path From Air"},"can_path_over_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the lava.","title":"Can Path Over Lava"},"can_path_over_water":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the water.","title":"Can Path Over Water"},"can_sink":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it will be pulled down by gravity while in water.","title":"Can Sink"},"can_swim":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path.","title":"Can Swim"},"can_walk":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can walk on the ground outside water.","title":"Can Walk"},"can_walk_in_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel in lava like walking on ground.","title":"Can Walk In Lava"},"is_amphibious":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can walk on the ground underwater.","title":"Is Amphibious"}},"examples":[{},{"avoid_damage_blocks":true,"can_pass_doors":true,"can_jump":true},{"avoid_damage_blocks":false,"avoid_portals":false,"avoid_sun":false,"avoid_water":false,"blocks_to_avoid":[],"can_breach":false,"can_break_doors":false,"can_jump":true,"can_open_doors":false,"can_open_iron_doors":false,"can_pass_doors":true,"can_path_from_air":false,"can_path_over_lava":false,"can_path_over_water":false,"can_sink":true,"can_swim":false,"can_walk":true,"can_walk_in_lava":false,"is_amphibious":false}]},"CCG":{"title":"Navigation Hover","description":"Allows this entity to generate paths in the air like the vanilla Bees do. Keeps them from falling out of the skies and doing predictive movement.","type":"object","additionalProperties":false,"properties":{"avoid_damage_blocks":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid blocks that cause damage when finding a path.","title":"Avoid Damage Blocks"},"avoid_portals":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid portals (like nether portals) when finding a path.","title":"Avoid Portals"},"avoid_sun":{"type":"boolean","default":false,"description":"Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths.","title":"Avoid Sun"},"avoid_water":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid water when creating a path.","title":"Avoid Water"},"blocks_to_avoid":{"type":"array","description":"Tells the pathfinder which blocks to avoid when creating a path.","title":"Blocks To Avoid","items":{"title":"Block","description":"Tells the pathfinder which blocks to avoid when creating a path.","$ref":"#/definitions/BCC"}},"can_breach":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can jump out of water (like a dolphin).","title":"Can Breach"},"can_break_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door and break it.","title":"Can Break Doors"},"can_jump":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can jump up blocks.","title":"Can Jump"},"can_open_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door assuming the AI will open the door.","title":"Can Open Doors"},"can_open_iron_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door.","title":"Can Open Iron Doors"},"can_pass_doors":{"type":"boolean","default":true,"description":"Whether a path can be created through a door.","title":"Can Pass Doors"},"can_path_from_air":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can start pathing when in the air.","title":"Can Path From Air"},"can_path_over_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the lava.","title":"Can Path Over Lava"},"can_path_over_water":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the water.","title":"Can Path Over Water"},"can_sink":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it will be pulled down by gravity while in water.","title":"Can Sink"},"can_swim":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path.","title":"Can Swim"},"can_walk":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can walk on the ground outside water.","title":"Can Walk"},"can_walk_in_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel in lava like walking on ground.","title":"Can Walk In Lava"},"is_amphibious":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can walk on the ground underwater.","title":"Is Amphibious"}},"examples":[{},{"avoid_damage_blocks":true,"can_pass_doors":true,"can_jump":true},{"avoid_damage_blocks":false,"avoid_portals":false,"avoid_sun":false,"avoid_water":false,"blocks_to_avoid":[],"can_breach":false,"can_break_doors":false,"can_jump":true,"can_open_doors":false,"can_open_iron_doors":false,"can_pass_doors":true,"can_path_from_air":false,"can_path_over_lava":false,"can_path_over_water":false,"can_sink":true,"can_swim":false,"can_walk":true,"can_walk_in_lava":false,"is_amphibious":false}]},"CCH":{"title":"Navigation Swim","description":"Allows this entity to generate paths that include water.","type":"object","additionalProperties":false,"properties":{"avoid_damage_blocks":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid blocks that cause damage when finding a path.","title":"Avoid Damage Blocks"},"avoid_portals":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid portals (like nether portals) when finding a path.","title":"Avoid Portals"},"avoid_sun":{"type":"boolean","default":false,"description":"Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths.","title":"Avoid Sun"},"avoid_water":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid water when creating a path.","title":"Avoid Water"},"blocks_to_avoid":{"type":"array","description":"Tells the pathfinder which blocks to avoid when creating a path.","title":"Blocks To Avoid","items":{"title":"Block","description":"Tells the pathfinder which blocks to avoid when creating a path.","$ref":"#/definitions/BCC"}},"can_breach":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can jump out of water (like a dolphin).","title":"Can Breach"},"can_break_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door and break it.","title":"Can Break Doors"},"can_jump":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can jump up blocks.","title":"Can Jump"},"can_open_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door assuming the AI will open the door.","title":"Can Open Doors"},"can_open_iron_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door.","title":"Can Open Iron Doors"},"can_pass_doors":{"type":"boolean","default":true,"description":"Whether a path can be created through a door.","title":"Can Pass Doors"},"can_path_from_air":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can start pathing when in the air.","title":"Can Path From Air"},"can_path_over_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the lava.","title":"Can Path Over Lava"},"can_path_over_water":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the water.","title":"Can Path Over Water"},"can_sink":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it will be pulled down by gravity while in water.","title":"Can Sink"},"can_swim":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path.","title":"Can Swim"},"can_walk":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can walk on the ground outside water.","title":"Can Walk"},"can_walk_in_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel in lava like walking on ground.","title":"Can Walk In Lava"},"is_amphibious":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can walk on the ground underwater.","title":"Is Amphibious"}},"examples":[{},{"avoid_damage_blocks":true,"can_pass_doors":true,"can_jump":true},{"avoid_damage_blocks":false,"avoid_portals":false,"avoid_sun":false,"avoid_water":false,"blocks_to_avoid":[],"can_breach":false,"can_break_doors":false,"can_jump":true,"can_open_doors":false,"can_open_iron_doors":false,"can_pass_doors":true,"can_path_from_air":false,"can_path_over_lava":false,"can_path_over_water":false,"can_sink":true,"can_swim":false,"can_walk":true,"can_walk_in_lava":false,"is_amphibious":false}]},"CCI":{"title":"Navigation Walk","description":"Allows this entity to generate paths by walking around and jumping up and down a block like regular mobs.","type":"object","additionalProperties":false,"properties":{"avoid_damage_blocks":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid blocks that cause damage when finding a path.","title":"Avoid Damage Blocks"},"avoid_portals":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid portals (like nether portals) when finding a path.","title":"Avoid Portals"},"avoid_sun":{"type":"boolean","default":false,"description":"Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths.","title":"Avoid Sun"},"avoid_water":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid water when creating a path.","title":"Avoid Water"},"blocks_to_avoid":{"type":"array","description":"Tells the pathfinder which blocks to avoid when creating a path.","title":"Blocks To Avoid","items":{"title":"Block","description":"Tells the pathfinder which blocks to avoid when creating a path.","$ref":"#/definitions/BCC"}},"can_breach":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can jump out of water (like a dolphin).","title":"Can Breach"},"can_break_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door and break it.","title":"Can Break Doors"},"can_jump":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can jump up blocks.","title":"Can Jump"},"can_float":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it float.","title":"Can Jump"},"can_open_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door assuming the AI will open the door.","title":"Can Open Doors"},"can_open_iron_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door.","title":"Can Open Iron Doors"},"can_pass_doors":{"type":"boolean","default":true,"description":"Whether a path can be created through a door.","title":"Can Pass Doors"},"can_path_from_air":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can start pathing when in the air.","title":"Can Path From Air"},"can_path_over_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the lava.","title":"Can Path Over Lava"},"can_path_over_water":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the water.","title":"Can Path Over Water"},"can_sink":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it will be pulled down by gravity while in water.","title":"Can Sink"},"can_swim":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path.","title":"Can Swim"},"can_walk":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can walk on the ground outside water.","title":"Can Walk"},"can_walk_in_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel in lava like walking on ground.","title":"Can Walk In Lava"},"is_amphibious":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can walk on the ground underwater.","title":"Is Amphibious"}},"examples":[{},{"avoid_damage_blocks":true,"can_pass_doors":true,"can_jump":true},{"avoid_damage_blocks":false,"avoid_portals":false,"avoid_sun":false,"avoid_water":false,"blocks_to_avoid":[],"can_breach":false,"can_break_doors":false,"can_jump":true,"can_open_doors":false,"can_open_iron_doors":false,"can_pass_doors":true,"can_path_from_air":false,"can_path_over_lava":false,"can_path_over_water":false,"can_sink":true,"can_swim":false,"can_walk":true,"can_walk_in_lava":false,"is_amphibious":false}]},"CCJ_rangeXYZ":{"type":"array","items":[{"type":"number","title":"X"},{"type":"number","title":"Y"},{"type":"number","title":"Z"}]},"CCJ":{"type":"object","title":"Npc","description":"Sets this entity as an NPC","$comment":"UNDOCUMENTED","additionalProperties":false,"properties":{"npc_data":{"type":"object","title":"Npc Data","description":"The data belonging to this npc.","$comment":"UNDOCUMENTED","additionalProperties":false,"properties":{"portrait_offsets":{"type":"object","title":"Portrait Offsets","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","additionalProperties":false,"properties":{"translate":{"$ref":"#/definitions/CCJ_rangeXYZ","title":"Translate","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"scale":{"$ref":"#/definitions/CCJ_rangeXYZ","title":"Scale","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"}}},"picker_offsets":{"type":"object","title":"Picker Offsets","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","additionalProperties":false,"properties":{"translate":{"$ref":"#/definitions/CCJ_rangeXYZ","title":"Translate","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"scale":{"$ref":"#/definitions/CCJ_rangeXYZ","title":"Scale","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"}}},"skin_list":{"type":"array","title":"Skin List","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","items":{"type":"object","title":"Skin","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","additionalProperties":false,"properties":{"variant":{"title":"Variant","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"integer","minimum":0},"mark_variant":{"title":"Mark Variant","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"integer","minimum":0}}}}}}},"examples":[{"npc_data":{}}]},"CDA":{"description":"Adds a trigger to call on this entity's death. minecraft:on_death can only be used by the `ender_dragon` entity.","title":"On Death","$ref":"#/definitions/BAI"},"CDB":{"description":"Adds a trigger that will run when a nearby entity of the same type as this entity becomes Angry.","title":"On Friendly Anger","$ref":"#/definitions/BAI"},"CDC":{"description":"Adds a trigger to call when this entity is attacked by the player.","title":"On Hurt By Player","$ref":"#/definitions/BAI"},"CDD":{"description":"Adds a trigger to call when this entity takes damage.","title":"On Hurt","$ref":"#/definitions/BAI"},"CDE":{"description":"Adds a trigger to call when this entity is set on fire.","title":"On Ignite","$ref":"#/definitions/BAI"},"CDF":{"description":"Only usable by the Ender Dragon. Adds a trigger to call when this entity lands.","title":"On Start Landing","$ref":"#/definitions/BAI"},"CDG":{"description":"Only usable by the Ender Dragon. Adds a trigger to call when this entity starts flying.","title":"On Start Takeoff","$ref":"#/definitions/BAI"},"CDH":{"description":"Adds a trigger to call when this entity finds a target.","title":"On Target Acquired","$ref":"#/definitions/BAI"},"CDI":{"description":"Adds a trigger to call when this entity loses the target it currently has.","title":"On Target Escape","$ref":"#/definitions/BAI"},"CDJ":{"description":"Adds a trigger to call when this pet's owner awakes after sleeping with the pet.","title":"On Wake With Owner","$ref":"#/definitions/BAI"},"CEA":{"type":"object","title":"Out Of Control","additionalProperties":false,"description":"defines the entity's `out of control` state.","required":[],"properties":{}},"CEB":{"description":"Defines the entity's `peek` behavior, defining the events that should be called during it.","type":"object","title":"Peek","additionalProperties":false,"required":[],"properties":{"on_close":{"$ref":"#/definitions/BC","description":"Event to call when the entity is done peeking.","title":"On Close"},"on_open":{"$ref":"#/definitions/BC","description":"Event to call when the entity starts peeking.","title":"On Open"},"on_target_open":{"$ref":"#/definitions/BC","description":"Event to call when the entity's target entity starts peeking.","title":"On Target Open"}}},"CEC":{"description":"Defines whether an entity should be persistent in the game world.","type":"object","title":"Persistent","additionalProperties":false,"required":[],"properties":{}},"CED":{"additionalProperties":false,"type":"object","title":"Physics","description":"Defines the physical properties of an actor, including whether it is affected by gravity, whether it collides with objects, or whether it is pushed to the closest space.","required":[],"properties":{"has_collision":{"type":"boolean","default":true,"description":"Whether or not the entity collides with things.","title":"Has Collision"},"has_gravity":{"type":"boolean","default":true,"description":"Whether or not the entity is affected by gravity.","title":"Has Gravity"},"push_towards_closest_space":{"type":"boolean","default":true,"description":"Whether or not the entity is pushed to the closest space.","title":"Pushed Towards Closest Space"}},"examples":[{},{"has_collision":true,"has_gravity":true},{"push_towards_closest_space":true}]},"CEE":{"title":"Player.exhaustion","description":"Defines the player's exhaustion level.","additionalProperties":false,"type":"object","required":[],"properties":{"value":{"type":"integer","title":"Value","description":"The initial value of the player exhaustion."},"max":{"type":"integer","title":"Maximum","description":"The maximum player exhaustion of this entity."}},"examples":[{"value":0,"max":20}]},"CEF":{"additionalProperties":false,"type":"object","title":"Player.experience","description":"Defines how much experience each player action should take.","required":[],"properties":{"value":{"type":"integer","default":1,"title":"Value","description":"The initial value of the player experience."},"max":{"type":"integer","default":5,"title":"Maximum","description":"The maximum player experience of this entity."}},"examples":[{"value":0,"max":1}]},"CEG":{"additionalProperties":false,"type":"object","title":"Player.level","description":"Defines the player's level.","required":[],"properties":{"value":{"type":"integer","title":"Value","description":"The initial value of the player level."},"max":{"type":"integer","title":"Maximum","description":"The maximum player level value of the entity."}},"examples":[{"value":0,"max":24791}]},"CEH":{"additionalProperties":false,"type":"object","title":"Player.saturation","description":"Defines the player's need for food.","required":[],"properties":{"value":{"type":"integer","title":"Value","description":"The initial value of player saturation."},"max":{"type":"integer","title":"Maximum","description":"The maximum player saturation value."}},"examples":[{"value":5,"max":20}]},"CEI":{"type":"object","title":"Preferred Path","description":"Specifies costing information for mobs that prefer to walk on preferred paths.","additionalProperties":false,"properties":{"default_block_cost":{"type":"number","default":0,"description":"Cost for non-preferred blocks.","title":"Default Block Cost"},"jump_cost":{"type":"integer","default":0,"description":"Added cost for jumping up a node.","title":"Jump Cost"},"max_fall_blocks":{"type":"integer","default":3,"description":"Distance mob can fall without taking damage.","title":"Maximum Fall Blocks"},"preferred_path_blocks":{"type":"array","title":"Preferred Path Blocks","description":"A list of blocks with their associated cost.","items":{"additionalProperties":false,"type":"object","description":"Blocks cost.","properties":{"cost":{"type":"number"},"blocks":{"type":"array","items":{"$ref":"#/definitions/BCC"}}}}}},"examples":[{"default_block_cost":0,"jump_cost":0,"max_fall_blocks":3,"preferred_path_blocks":[]}]},"CFA":{"type":"array","title":"Vector Of 3 Items","description":"An vector of 3 number.","examples":[[0.0,0.0,0.0]],"items":[{"type":"number","description":"The X component.","title":"X","default":0},{"type":"number","description":"The Y component.","title":"Y","default":0},{"type":"number","description":"The Z component.","title":"Z","default":0}],"defaultSnippets":[{"label":"New Array 3","body":["^$1","^$2","^$3"]}]},"CFB":{"title":"Event","description":"Minecraft behavior event.","examples":["example:foo",{"event":"example:foo","target":"self"}],"defaultSnippets":[{"label":"New Event","body":"^\"$1\""}],"oneOf":[{"type":"string","pattern":"^[a-zA-Z0-9_\\-:]+$","description":"The event to fire."},{"type":"object","properties":{"event":{"type":"string","pattern":"^[a-zA-Z0-9_\\-:]+$","description":"The event to fire.","title":"Event"},"target":{"type":"string","description":"The target of the event.","title":"Target","enum":["baby","block","damager","other","parent","player","self","target"]}}}]},"CEJ":{"type":"object","title":"Projectile","description":"Allows the entity to be a thrown entity.","additionalProperties":false,"properties":{"anchor":{"type":"integer","description":"Allows you to choose an anchor point for where the projectile is fired from. 0 = Original point, 1 = EyeHeight, and 2 = Middle or body height.","title":"Anchor","default":0},"angle_offset":{"type":"number","default":0,"description":"Alters the angle at which a projectile is vertically shot. Many splash potions in the game use this to offset their angles by -20 degrees.","title":"Angle Offset"},"catch_fire":{"type":"boolean","default":false,"description":"If true, the entity hit will be set on fire.","title":"Catch Fire"},"crit_particle_on_hurt":{"type":"boolean","default":false,"description":"If true, when a projectile deals damage, whether or not to spawn in the critical damage particles.","title":"Crit Particle On Hurt"},"destroy_on_hurt":{"type":"boolean","default":false,"description":"When this projectile deals damage, whether or not to immediately destroy this projectile.","title":"Destroy On Hurt"},"filter":{"type":"string","default":"","description":"Entity Definitions defined here can't be hurt by the projectile.","title":"Filter"},"fire_affected_by_griefing":{"type":"boolean","default":false,"description":"If true, whether the projectile causes fire is affected by the mob griefing game rule.","title":"Fire Affected By Griefing"},"gravity":{"type":"number","default":0.05,"description":"The gravity applied to this entity when thrown. When this actor is not on the ground, subtracts this amount from the actors change in vertical position every tick. The higher the value, the faster the entity falls.","title":"Gravity"},"hit_ground_sound":{"$ref":"#/definitions/BAB","default":"","description":"The sound that plays when the projectile hits the ground.","title":"Hit Ground Sound"},"hit_sound":{"$ref":"#/definitions/BAB","default":"","description":"The sound that plays when the projectile hits something.","title":"Hit Sound"},"homing":{"type":"boolean","default":false,"description":"If true, the projectile homes in to the nearest entity.","title":"Homing"},"inertia":{"type":"number","default":0.99,"description":"The fraction of the projectile's speed maintained every frame while traveling in air.","title":"Inertia"},"is_dangerous":{"type":"boolean","default":false,"description":"If true, the projectile will be treated as dangerous to the players.","title":"Is Dangerous"},"knockback":{"type":"boolean","default":true,"description":"If true, the projectile will knock back the entity it hits.","title":"Knockback"},"lightning":{"type":"boolean","default":false,"description":"If true, the entity hit will be struck by lightning.","title":"Lightning"},"liquid_inertia":{"type":"number","default":0.6,"description":"The fraction of the projectile's speed maintained every frame while traveling in water.","title":"Liquid Inertia"},"multiple_targets":{"type":"boolean","default":true,"description":"If true, the projectile can hit multiple entities per flight.","title":"Multiple Targets"},"mob_effect":{"title":"Mob Effect","$comment":"Deprecated","description":"SEE on_hit/mob_effect."},"offset":{"type":"array","default":[0,0.0,0],"description":"The offset from the entity's anchor where the projectile will spawn.","title":"Offset","$ref":"#/definitions/CFA"},"on_fire_time":{"type":"number","default":5,"description":"Time in seconds that the entity hit will be on fire for.","title":"On Fire Time"},"on_hit":{"additionalProperties":false,"type":"object","description":"Defines the behaviors that may execute on a projectile's hit, including impact damage, impact effect, and stuck in ground. See more on these parameters below.","title":"On Hit","properties":{"arrow_effect":{"title":"Arrow Effect","type":"object","description":"The target receives a mob effect. See the table below for all arrow_effect parameters.","additionalProperties":false,"properties":{"apply_effect_to_blocking_targets":{"type":"boolean","title":"Apply Effect To Blocking Targets","description":"If true, the effect will be applied to blocking targets."}}},"catch_fire":{"title":"Catch Fire","type":"boolean","default":false,"description":"Determines if the struck object is set on fire."},"definition_event":{"title":"Definition Event","type":"object","description":"The event that is triggered on a hit. See the table below for all definition event parameters.","additionalProperties":false,"properties":{"affect_projectile":{"title":"Affect Projectile","type":"boolean","default":false,"description":"The projectile that will be affected by this event."},"affect_shooter":{"title":"Affect Shooter","type":"boolean","default":false,"description":"The shooter that will be affected by this event."},"affect_splash_area":{"title":"Affect Splash Area","type":"boolean","default":false,"description":"All entities in the splash area will be affected by this event."},"affect_target":{"title":"Affect Target","type":"boolean","default":false,"description":"The target will be affected by this event."},"event_trigger":{"title":"Event Trigger","description":"The event triggered. Also has an option filters parameter to limit affected targets.","$ref":"#/definitions/CFB"},"splash_area":{"title":"Splash Area","type":"number","default":0.0,"description":"The splash area that will be affected."}}},"douse_fire":{"title":"Douse Fire","type":"boolean","default":false,"description":"If the target is on fire, then douse hte fire."},"freeze_on_hit":{"title":"Freeze On Hit","type":"object","description":"An area of entities that is frozen to block on hits. Has shape of either sphere or cube, snap_to_block boolean ,and size decimal properties.","additionalProperties":false,"properties":{"shape":{"enum":["sphere","cube"],"default":"sphere","description":"The shape of the area that is frozen.","title":"Shape"},"snap_to_block":{"type":"boolean","default":false,"description":"If true, the area will snap to the nearest block.","title":"Snap To Block"},"size":{"type":"number","default":0.0,"description":"The size of the area that is frozen.","title":"Size"}}},"grant_xp":{"title":"Grant XP","type":"object","description":"Grants XP on hit. Has minXP for minimum XP granted, maxXp for maximum, or simply flat xp properties.","additionalProperties":false,"properties":{"minXP":{"title":"Min XP","type":"number","default":0,"description":"The minimum XP granted."},"maxXP":{"title":"Max XP","type":"number","default":0,"description":"The maximum XP granted."}}},"hurt_owner":{"title":"Hurt Owner","type":"object","description":"Determines if the owner of the entity is hurt on hit. Contains decimal owner_damage, knockback boolean, and ignite boolean.","additionalProperties":false,"properties":{"owner_damage":{"title":"Owner Damage","type":"number","default":0,"description":"The amount of damage the owner will take."},"knockback":{"title":"Knockback","type":"boolean","default":false,"description":"If true, the owner will be knocked back."},"ignite":{"title":"Ignite","type":"boolean","default":false,"description":"If true, the owner will be set on fire."}}},"ignite":{"title":"Ignite","type":"boolean","default":false,"description":"Determines if a fire may be started on a flammable target."},"impact_damage":{"title":"Impact Damage","type":"object","description":"Defines the damage that an entity may receive on being hit by this projectile. See the table below for all impact_damage parameters.","additionalProperties":false,"properties":{"catch_fire":{"title":"Catch Fire","type":"boolean","default":false,"description":"Determines if the struck object is set on fire."},"channeling":{"title":"Channeling","type":"boolean","default":true,"description":"Whether lightning can be channeled through hte weapon."},"damage":{"title":"Damage","type":"number","default":1,"description":"The damage dealt on impact."},"destroy_on_hit":{"title":"Destroy On Hit","type":"boolean","default":false,"description":"Projectile is removed on hit."},"destroy_on_hit_requires_damage":{"title":"Destroy On Hit Requires Damage","type":"boolean","default":true,"description":"If true, then the hit must cause damage to destroy the projectile."},"filter":{"title":"Filter","type":"string","default":"not set","description":"The identifier of an entity that can be hit."},"knockback":{"title":"Knockback","type":"boolean","default":true,"description":"If true, the projectile will knock back the entity it hits."},"max_critical_damage":{"title":"Max Critical Damage","type":"integer","description":"Maximum critical damage."},"min_critical_damage":{"title":"Min Critical Damage","type":"integer","default":0,"description":"Minimum critical damage."},"power_multiplier":{"title":"Power Multiplier","type":"number","default":2.0,"description":"How much the base damage is multiplied."},"semi_random_diff_damage":{"title":"Semi Random Diff Damage","type":"boolean","default":false,"description":"If true, damage will be randomized based on damage and speed."},"set_last_hurt_requires_damage":{"title":"Set Last Hurt Requires Damage","type":"boolean","default":false,"description":"If true, then the hit must cause damage to update the last hurt property."}}},"mob_effect":{"title":"Mob Effect","type":"object","description":"The target receives a mob effect. See the table below for all mob_effect parameters.","additionalProperties":false,"properties":{"ambient":{"title":"Ambient","type":"boolean","default":false,"description":"If true, a mob will spawn that is not hostile, like the bat entity in Minecraft."},"amplifier":{"title":"Amplifier","type":"integer","default":1,"description":"The multiplier of the amplification of this effect."},"duration":{"title":"Duration","type":"integer","default":1,"description":"The effect's duration."},"durationeasy":{"title":"Duration Easy","type":"integer","default":0,"description":"The effect's duration on easy mode."},"durationhard":{"title":"Duration Hard","type":"integer","default":800,"description":"The effect's duration on hard mode."},"durationnormal":{"title":"Duration Normal","type":"integer","default":200,"description":"The effect's duration on normal mode."},"effect":{"title":"Effect","type":"string","default":"not set","description":"The identifier of the mob entity to affect."},"visible":{"title":"Visible","type":"boolean","default":false,"description":"Does the entity's look change."}}},"on_fire_time":{"title":"On Fire Time","type":"number","default":0.0,"description":"The amount of time a target will remain on fire."},"particle_on_hit":{"title":"Particle On Hit","type":"object","description":"The particles that spawn on hit. See the table below for all particle_on_hit parameters.","additionalProperties":false,"properties":{"num_particles":{"title":"Num Particles","type":"number","default":6,"description":"The number of particles to spawn."},"on_entity_hit":{"title":"On Entity Hit","type":"boolean","default":false,"description":"If true, spawns particles on an entity hit."},"on_other_hit":{"title":"On Other Hit","type":"boolean","default":false,"description":"If true, spawns particles on any other hit."},"particle_type":{"title":"Particle Type","type":"string","default":"not set","description":"The id of the particle to spawn on hit."}}},"potion_effect":{"title":"Potion Effect","type":"integer","default":-1,"description":"Defines the effect the arrow will apply to the entity it hits."},"remove_on_hit":{"title":"Remove On Hit","type":"object","description":"Removes the projectile.","additionalProperties":true,"properties":{}},"spawn_aoe_cloud":{"title":"Spawn AOE Cloud","type":"object","default":false,"description":"Potion spawns an area of effect cloud. See the table below for all spawn_aoe_cloud parameters.","additionalProperties":false,"properties":{"affect_owner":{"title":"Affect Owner","type":"boolean","default":true,"description":"Determines if the projectile shooter is affected."},"color":{"title":"Color","type":"array","description":"Particle color defined by three rgb values.","$ref":"#/definitions/CFA"},"duration":{"title":"Duration","type":"integer","default":0,"description":"How long the particle emits."},"particle":{"title":"Particle","type":"string","description":"The particle emitter."},"potion":{"title":"Potion","type":"integer","default":-1,"description":"The id of the potion."},"radius":{"title":"Radius","type":"number","default":0,"description":"Defines the affected area."},"radius_on_use":{"title":"Radius On Use","type":"number","default":-1,"description":"Defines the affected area when potion is used."},"reapplication_delay":{"title":"Reapplication Delay","type":"integer","default":0,"description":"Delay before the potion can affect the area again."}}},"spawn_chance":{"title":"Spawn Chance","type":"object","description":"Contains information on the chance of spawning an entity on hit. See parameters below.","additionalProperties":false,"properties":{"first_spawn_count":{"title":"First Spawn Count","type":"integer","default":0,"description":"The amount of new entities spawned."},"first_spawn_percent_chance":{"title":"First Spawn Percent Chance","type":"number","default":0,"description":"The chance that a spawn occurs when a projectile hits the entity."},"first_spawn_chance":{"title":"First Spawn Chance","type":"number","default":8,"description":"The chance that a first spawn occurs when a projectile hits the entity."},"second_spawn_chance":{"title":"Second Spawn Chance","type":"number","default":32,"description":"The chance that a second spawn occurs when a projectile hits the entity."},"second_spawn_count":{"title":"Second Spawn Count","type":"integer","default":0,"description":"The amount of new entities spawned in teh second spawn."},"spawn_baby":{"title":"Spawn Baby","type":"boolean","default":false,"description":"Determines if a baby spawns."},"spawn_definition":{"title":"Spawn Definition","type":"string","default":"not set","description":"The entity that will spawn."}}},"stick_in_ground":{"title":"Stick In Ground","type":"object","description":"Decides if the object sticks in ground and contains shake_time integer parameter to determine how long it will shake."},"teleport_owner":{"title":"Teleport Owner","type":"boolean","default":false,"description":"Determines if the owner is transported on hit."},"thrown_potion_effect":{"title":"Thrown Potion Effect","type":"object","description":"Creates a splash area for effects caused by a thrown potion."}}},"particle":{"type":"string","default":"iconcrack","description":"Particle to use upon collision.","title":"Particle"},"potion_effect":{"type":"integer","default":-1,"description":"Defines the effect the arrow will apply to the entity it hits.","title":"Potion Effect"},"power":{"type":"number","default":1.3,"description":"Determines the velocity of the projectile.","title":"Power"},"reflect_on_hurt":{"type":"boolean","default":false,"description":"If true, this entity will be reflected back when hit.","title":"Reflect On Hurt"},"semi_random_diff_damage":{"type":"boolean","default":false,"description":"If true, damage will be randomized based on damage and speed.","title":"Semi Random Diff Damage"},"shoot_sound":{"$ref":"#/definitions/BAB","default":"","description":"The sound that plays when the projectile is shot.","title":"Shoot Sound"},"shoot_target":{"type":"boolean","default":true,"description":"If true, the projectile will be shot towards the target of the entity firing it.","title":"Shoot Target"},"should_bounce":{"type":"boolean","default":false,"description":"If true, the projectile will bounce upon hit.","title":"Should Bounce"},"splash_potion":{"type":"boolean","default":false,"description":"If true, the projectile will be treated like a splash potion.","title":"Splash Potion"},"splash_range":{"type":"number","default":4,"description":"Radius in blocks of the 'splash' effect.","title":"Splash Range"},"stop_on_hurt":{"title":"Stop On Hurt","type":"boolean","description":"Determines if the projectile stops when the target is hurt."},"uncertainty_base":{"type":"number","default":0,"description":"The base accuracy. Accuracy is determined by the formula uncertaintyBase - difficultyLevel * uncertaintyMultiplier.","title":"Uncertainty Base"},"uncertainty_multiplier":{"type":"number","default":0,"description":"Determines how much difficulty affects accuracy. Accuracy is determined by the formula uncertaintyBase - difficultyLevel * uncertaintyMultiplier.","title":"Uncertainty Multiplier"}},"examples":[{},{"anchor":0,"angle_offset":0,"catch_fire":false,"crit_particle_on_hurt":false,"destroy_on_hurt":false,"filter":"","fire_affected_by_griefing":false,"gravity":0.05,"hit_sound":"","homing":false,"inertia":0.99,"is_dangerous":false,"knockback":true,"lightning":false,"liquid_inertia":0.6,"multiple_targets":true,"offset":[],"on_fire_time":5,"on_hit":{},"particle":"iconcrack","potion_effect":-1,"power":1.3,"reflect_on_hurt":false,"semi_random_diff_damage":false,"shoot_sound":"","shoot_target":true,"should_bounce":false,"splash_potion":false,"splash_range":4,"uncertainty_base":0,"uncertainty_multiplier":0}]},"CFC":{"type":"object","title":"Push Through","additionalProperties":false,"description":"Sets the distance through which the entity can push through.","required":[],"properties":{"value":{"type":"number","default":0.0,"description":"The value of the entity's push-through, in blocks.","title":"Value"}},"examples":[{"value":0.0}]},"CFD":{"additionalProperties":false,"type":"object","title":"Pushable","description":"Defines what can push an entity between other entities and pistons.","required":[],"properties":{"is_pushable":{"type":"boolean","default":true,"description":"Whether the entity can be pushed by other entities.","title":"Is Pushable"},"is_pushable_by_piston":{"type":"boolean","default":true,"description":"Whether the entity can be pushed by pistons safely.","title":"Is Pushable By Piston"}},"examples":[{"is_pushable":true,"is_pushable_by_piston":true}]},"CFE":{"type":"object","title":"Raid Trigger","additionalProperties":false,"description":"Attempts to trigger a raid at the entity's location.","required":[],"properties":{"triggered_event":{"$ref":"#/definitions/CFB","description":"Event to run we attempt to trigger a raid on the village.","title":"Triggered Event"}}},"CFF":{"type":"object","title":"Rail Movement","description":"Defines the entity's movement on the rails. An entity with this component is only allowed to move on the rail.","additionalProperties":false,"required":[],"properties":{"max_speed":{"type":"number","default":0.4,"description":"Maximum speed that this entity will move at when on the rail.","title":"Maximum Speed"}},"examples":[{"max_speed":0.4}]},"CFG":{"description":"Defines the behavior of the entity when the rail gets activated or deactivated.","type":"object","title":"Rail Sensor","additionalProperties":false,"required":[],"properties":{"check_block_types":{"type":"boolean","default":false,"description":"If true, on tick this entity will trigger its on_deactivate behavior.","title":"Check Block Types"},"eject_on_activate":{"type":"boolean","default":true,"description":"If true, this entity will eject all of its riders when it passes over an activated rail.","title":"Eject On Activate"},"eject_on_deactivate":{"type":"boolean","default":false,"description":"If true, this entity will eject all of its riders when it passes over a deactivated rail.","title":"Eject On Deactivate"},"on_activate":{"$ref":"#/definitions/BC","description":"Event to call when the rail is activated.","title":"On Activate"},"on_deactivate":{"$ref":"#/definitions/BC","description":"Event to call when the rail is deactivated.","title":"On Deactivate"},"tick_command_block_on_activate":{"type":"boolean","default":true,"description":"If true, command blocks will start ticking when passing over an activated rail.","title":"Tick Command Block On Activate"},"tick_command_block_on_deactivate":{"type":"boolean","default":false,"description":"If false, command blocks will stop ticking when passing over a deactivated rail.","title":"Tick Command Block On Deactivate"}},"examples":[{"check_block_types":false,"eject_on_activate":true,"eject_on_deactivate":false,"tick_command_block_on_activate":true,"tick_command_block_on_deactivate":false}]},"CFH":{"description":"Defines the ravager's response to their melee attack being blocked.","type":"object","title":"Ravager Blocked","additionalProperties":false,"required":[],"properties":{"knockback_strength":{"type":"number","default":3.0,"description":"The strength with which blocking entities should be knocked back.","title":"Knockback Strength"},"reaction_choices":{"type":"array","description":"A list of weighted responses to the melee attack being blocked.","title":"Reaction Choices","items":{"additionalProperties":false,"type":"object","properties":{"weight":{"type":"integer","title":"Weight","description":"The chance of this reaction being picked.","$comment":"UNDOCUMENTED"},"value":{"title":"Value","description":"An event that runs when this reaction is picked.","$comment":"UNDOCUMENTED","$ref":"#/definitions/CFB"}}}}},"examples":[{"knockback_strength":3,"reaction_choices":[]}]},"CFI_seats_spec":{"additionalProperties":false,"type":"object","properties":{"lock_rider_rotation":{"type":"number","default":181,"description":"Angle in degrees that a rider is allowed to rotate while riding this entity. Omit this property for no limit","title":"Lock Rider Rotation"},"max_rider_count":{"type":"integer","default":0,"description":"Defines the maximum number of riders that can be riding this entity for this seat to be valid.","title":"Max Rider Count"},"min_rider_count":{"type":"integer","default":0,"description":"Defines the minimum number of riders that need to be riding this entity before this seat can be used.","title":"Min Rider Count"},"position":{"$ref":"#/definitions/CFA","default":[0.0,0.0,0.0],"description":"Position of this seat relative to this entity's position.","title":"Position"},"rotate_rider_by":{"$ref":"#/definitions/E","description":"Offset to rotate riders by.","title":"Rotate Rider By"}}},"CFI":{"description":"Determines whether this entity can be ridden. Allows specifying the different seat positions and quantity.","type":"object","title":"Rideable","additionalProperties":false,"properties":{"controlling_seat":{"type":"integer","default":0,"description":"The seat that designates the driver of the entity.","title":"Controlling Seat"},"crouching_skip_interact":{"type":"boolean","default":true,"description":"If true, this entity can't be interacted with if the entity interacting with it is crouching.","title":"Crouching Skip Interact"},"family_types":{"title":"Family Types","description":"List of entities that can ride this entity.","type":"array","items":{"type":"string","title":"Family Type"}},"interact_text":{"type":"string","default":"","description":"The text to display when the player can interact with the entity when playing with Touch-screen controls.","title":"Interact Text"},"passenger_max_width":{"title":"Passenger Max Width","description":"The max width a mob can be to be a passenger. A value of 0 ignores this parameter.","type":"number","default":0.0},"pull_in_entities":{"type":"boolean","default":false,"description":"If true, this entity will pull in entities that are in the correct family_types into any available seats.","title":"Pull In Entities"},"rider_can_interact":{"type":"boolean","default":false,"description":"If true, this entity will be picked when looked at by the rider.","title":"Rider Can Interact"},"seat_count":{"type":"integer","default":1,"description":"The number of entities that can ride this entity at the same time.","title":"Seat Count"},"seats":{"description":"The list of positions and number of riders for each position for entities riding this entity.","title":"Seats","oneOf":[{"type":"object","$ref":"#/definitions/CFI_seats_spec"},{"type":"array","items":{"$ref":"#/definitions/CFI_seats_spec"}}]}},"examples":[{"controlling_seat":0,"crouching_skip_interact":true,"family_types":[],"interact_text":"","pull_in_entities":false,"rider_can_interact":false,"seat_count":1}]},"CFJ":{"type":"object","title":"Scale By Age","additionalProperties":false,"description":"Defines the entity's size interpolation based on the entity's age.","required":[],"properties":{"end_scale":{"type":"number","default":1,"description":"Ending scale of the entity when it's fully grown.","title":"End Scale"},"start_scale":{"type":"number","default":1,"description":"Initial scale of the newborn entity.","title":"Start Scale"}},"examples":[{"end_scale":1,"start_scale":1}]},"CGA":{"type":"object","title":"Scale","additionalProperties":false,"description":"Sets the entity's visual size.","required":[],"properties":{"value":{"type":"number","default":0.0,"description":"The value of the scale. 1.0 means the entity will appear at the scale they are defined in their model. Higher numbers make the entity bigger","title":"Value"}},"examples":[{"value":0.0}]},"CGB":{"description":"fires off scheduled mob events at time of day events.","type":"object","title":"Scheduler","additionalProperties":false,"properties":{"min_delay_secs":{"title":"Minimum Delay Secs","type":"number","default":0,"description":"The minimum the scheduler will be delayed.","minimum":0},"max_delay_secs":{"title":"Maximum Delay Secs","type":"number","default":0,"description":"The maximum the scheduler will be delayed.","minimum":0},"scheduled_events":{"title":"Scheduled Events","type":"array","description":"The list of triggers that fire when the conditions match the given filter criteria. If any filter criteria overlap the first defined event will be picked.","items":{"title":"Scheduled Events","additionalProperties":false,"type":"object","description":"A filter and event pair. The event runs when the filter criteria succeeds","properties":{"filters":{"$ref":"#/definitions/BD"},"event":{"$ref":"#/definitions/CFB"}}}}},"examples":[{"min_delay_secs":0,"max_delay_secs":0,"scheduled_events":[]}]},"CGC":{"description":"Defines a list of items the mob wants to share or pick up. Each item must have the following parameters:","type":"object","title":"Shareables","additionalProperties":false,"properties":{"all_items":{"type":"boolean","default":false,"description":"A bucket for all other items in the game. Note this category is always least priority items.","title":"All Items"},"all_items_max_amount":{"type":"integer","default":-1,"description":"Maximum number of this item the mob will hold.","title":"All Items Maximum Amount"},"all_items_surplus_amount":{"type":"integer","default":-1,"description":"Number of this item considered extra that the entity wants to share.","title":"All Items Surplus Amount"},"all_items_want_amount":{"type":"integer","default":-1,"description":"Number of this item this entity wants to share.","title":"All Items Want Amount"},"items":{"type":"array","description":"List of items that the entity wants to share.","items":{"type":"object","title":"Item","description":"An Item that the entity wants to share.","additionalProperties":false,"properties":{"admire":{"type":"boolean","description":"Mob will admire the item after picking up by looking at it. For this to happen the mob needs to have an Admire component and an Admire goal.","title":"Admire"},"barter":{"type":"boolean","description":"Mob will barter for the item after picking it up. For this to work the mob needs to have a Barter component and a Barter goal.","title":"Barter"},"consume_item":{"type":"boolean","description":"Determines whether the mob will consume the item or not.","title":"Consume Item"},"craft_into":{"type":"string","description":"Defines the item this entity wants to craft with the item defined above. Should be an item name.","title":"Craft Into"},"item":{"type":"string","description":"The name of the item.","$ref":"#/definitions/BA"},"item_aux":{"type":"integer","description":"Aux value for the item.","title":"Item Aux"},"max_amount":{"type":"integer","description":"Maximum number of this item the mob will hold.","title":"Maximum Amount"},"pickup_limit":{"type":"integer","description":"Maximum number of this item the mob will pick up during a single goal tick.","title":"Pickup Limit"},"priority":{"type":"integer","description":"Prioritizes which items the entity prefers. 0 is the highest priority.","title":"Priority"},"stored_in_inventory":{"type":"boolean","description":"Determines whether the mob will try to put the item in its inventory if it has the inventory component and if it can't be equipped.","title":"Stored In Inventory"},"surplus_amount":{"type":"integer","description":"Number of this item considered extra that the entity wants to share.","title":"Surplus Amount"},"want_amount":{"type":"integer","description":"Number of this item this entity wants to have.","title":"Want Amount"},"pickup_only":{"title":"Pickup Only","type":"boolean","description":"Determines whether the mob can only pickup the item and not drop it.","default":false}}}},"singular_pickup":{"type":"boolean","description":"Determines whether the mob can only pickup one item at a time.","title":"Singular Pickup"}},"examples":[{"all_items":false,"all_items_max_amount":-1,"all_items_surplus_amount":-1,"all_items_want_amount":-1,"items":[]}]},"CGD":{"description":"Defines the entity's ranged attack behavior.","$comment":"As of 1.19.60 & out of exp 1.20.10","type":"object","title":"Shooter","additionalProperties":false,"properties":{"aux_val":{"type":"integer","title":"Aux Val","default":-1,"description":"ID of the Potion effect to be applied on hit."},"def":{"title":"Def","type":"string","examples":["minecraft:arrow","minecraft:small_fireball","minecraft:thrown_trident"],"description":"Actor definition to use as projectile for the ranged attack. The actor definition must have the projectile component to be able to be shot as a projectile"},"magic":{"title":"Magic","type":"boolean","default":false,"description":"Sets whether the projectiles being used are flagged as magic. If set, the ranged attack goal will not be used at the same time as other magic goals, such as minecraft:behavior.drink_potion."},"power":{"type":"number","title":"Power","default":0.0,"description":"Velocity in which the projectiles will be shot. A power of 0 will be overwritten by the default projectile throw power."},"projectiles":{"title":"Projectiles","description":"List of projectiles that can be used by the shooter. Projectiles are evaluated in the order of the list; after a projectile is chosen, the rest of the list is ignored.","type":"array","items":{"oneOf":[{"type":"string","description":"Projectiles that can be used by the shooter","title":"Projectile"},{"type":"object","title":"Projectile","description":"A projectile defintion","properties":{"aux_val":{"type":"integer","title":"Aux Val","default":-1,"description":"ID of the Potion effect to be applied on hit."},"def":{"title":"Def","type":"string","examples":["minecraft:arrow","minecraft:small_fireball","minecraft:thrown_trident"],"description":"Actor definition to use as projectile for the ranged attack. The actor definition must have the projectile component to be able to be shot as a projectile"},"filters":{"$ref":"#/definitions/BD"}}}]}},"sound":{"title":"Sound","type":"string","description":"Sound that is played when the shooter shoots a projectile."}},"examples":[{"def":"minecraft:small_fireball"}]},"CGE":{"description":"Defines the entity's `sit` state.","type":"object","title":"Sittable","additionalProperties":false,"required":[],"properties":{"sit_event":{"$ref":"#/definitions/BC","description":"Event to run when the entity enters the `sit` state.","title":"Sit Event"},"stand_event":{"$ref":"#/definitions/BC","description":"Event to run when the entity exits the `sit` state.","title":"Stand Event"}}},"CGF":{"type":"object","title":"Skin Id","additionalProperties":false,"description":"Skin ID value. Can be used to differentiate skins, such as base skins for villagers.","required":[],"properties":{"value":{"type":"integer","default":0,"description":"The ID of the skin. By convention, 0 is the ID of the base skin","title":"Value"}},"examples":[{"value":0}]},"CGG":{"type":"object","title":"Sound Volume","additionalProperties":false,"description":"Sets the entity's base volume for sound effects.","required":[],"properties":{"value":{"type":"number","default":1.0,"description":"The value of the volume the entity uses for sound effects.","title":"Value"}},"examples":[{"value":1.0}]},"CGH_entity_spawn":{"additionalProperties":false,"type":"object","title":"Entity Spawn","properties":{"filters":{"description":"If present, the specified entity will only spawn if the filter evaluates to true.","$ref":"#/definitions/BD"},"max_wait_time":{"type":"integer","default":600,"description":"Maximum amount of time to randomly wait in seconds before another entity is spawned.","title":"Maximum Wait Time"},"min_wait_time":{"type":"integer","default":300,"description":"Minimum amount of time to randomly wait in seconds before another entity is spawned.","title":"Minimum Wait Time"},"num_to_spawn":{"type":"integer","default":1,"description":"The number of entities of this type to spawn each time that this triggers.","title":"Num To Spawn"},"should_leash":{"type":"boolean","default":false,"description":"If true, this the spawned entity will be leashed to the parent.","title":"Should Leash"},"single_use":{"type":"boolean","default":false,"description":"If true, this component will only ever spawn the specified entity once.","title":"Single Use"},"spawn_entity":{"type":"string","default":"","description":"Identifier of the entity to spawn, leave empty to spawn the item defined above instead.","title":"Spawn Entity"},"spawn_event":{"type":"string","default":"minecraft:entity_born","description":"Event to call when the entity is spawned.","title":"Spawn Event"},"spawn_item":{"$ref":"#/definitions/J","default":"egg","description":"Item identifier of the item to spawn.","title":"Spawn Item"},"spawn_method":{"type":"string","default":"born","description":"Method to use to spawn the entity.","title":"Spawn Method"},"spawn_sound":{"$ref":"#/definitions/BAB","default":"plop","description":"Identifier of the sound effect to play when the entity is spawned.","title":"Spawn Sound"}}},"CGH":{"type":"object","description":"Adds a timer after which this entity will spawn another entity or item (similar to vanilla's chicken's egg-laying behavior).","title":"Spawn Entity","additionalProperties":false,"properties":{"entities":{"title":"Entities","description":"The entities to spawn.","oneOf":[{"type":"object","$ref":"#/definitions/CGH_entity_spawn"},{"type":"array","items":{"type":"object","$ref":"#/definitions/CGH_entity_spawn"}}]}}},"CGI":{"type":"object","title":"Spell Effects","additionalProperties":false,"description":"Defines what mob effects to add and remove to the entity when adding this component.","required":[],"properties":{"add_effects":{"type":"array","description":"List of effects to add to this entity after adding this component.","items":{"oneOf":[{"type":"string"},{"type":"object","additionalProperties":false,"properties":{"amplifier":{"type":"integer","title":"Amplifier","description":"The level of the effect, same as used in the /effect command (0 for level I, 1 for level II, etc). Defaults to 0. NOTE: Values can be negative but its not an intentional feature","default":0,"minimum":0},"ambient":{"title":"Ambient","description":"Boolean value that should cause the particles emitted by the entity to be partially transparent. This does not work properly, resulting in this property having no effect. Defaults to false.","default":false,"type":"boolean"},"duration":{"title":"Duration","description":"The amount of time in seconds the effect should last. This allows for fractional numbers. For example, instant effects should be set to 0.05 seconds (one tick).","type":"number","minimum":0},"display_on_screen_animation":{"type":"boolean","title":"Display On Screen Animation","description":"Boolean value. When set to true, applying this effect displays an animated graphic on-screen similar to the totem of undying effect. Obviously, this only works for players. Defaults to false."},"effect":{"type":"string","title":"Effect","description":"The string identifier of the status effect to add. These are the same as used in the /effect command."},"visible":{"type":"boolean","title":"Visible","description":"Boolean value. When set to true, the effect will be visible to the player. Defaults to true."}}}]},"title":"Add Effects"},"remove_effects":{"title":"Remove Effects","description":"List of identifiers of effects to be removed from this entity after adding this component.","oneOf":[{"type":"array","items":{"type":["string"],"title":"Spell Effect ID","description":"identifier of the effect to be removed from this entity after adding this component."}},{"type":"string"}]}},"examples":[{"add_effects":[]}]},"CGJ":{"description":"Defines the entity's strength to carry items.","type":"object","title":"Strength","additionalProperties":false,"properties":{"max":{"type":"integer","default":5,"description":"The maximum strength of this entity.","title":"Maximum"},"value":{"type":"integer","default":1,"description":"The initial value of the strength.","title":"Value"}},"examples":[{"max":5,"value":1}]},"CHA":{"type":"object","title":"Suspect Tracking","additionalProperties":false,"required":[],"properties":{},"description":"Allows this entity to remember suspicious locations."},"CHB":{"type":"object","title":"Tameable","description":"Defines the rules for a mob to be tamed by the player.","required":[],"additionalProperties":false,"properties":{"probability":{"type":"number","default":1,"description":"The chance of taming the entity with each item use between 0.0 and 1.0, where 1.0 is 100%","minimum":0,"maximum":1,"title":"Probability"},"tame_event":{"title":"Tame Event","$ref":"#/definitions/BC","description":"Event to run when this entity becomes tamed."},"tame_items":{"title":"Tame Items","description":"The list of items that can be used to tame this entity.","oneOf":[{"type":"array","items":{"$ref":"#/definitions/BA"}},{"$ref":"#/definitions/BA"}]}},"examples":[{"probability":1}]},"CHC_feed_items":{"type":"object","description":"The list of items that can be used to increase the entity's temper and speed up the taming process.","properties":{"item":{"$ref":"#/definitions/J","description":"Name of the item this entity likes and can be used to increase this entity's temper.","title":"Item"},"temper_mod":{"type":"number","default":0,"description":"The amount of temper this entity gains when fed this item.","title":"Temper Mod"}}},"CHC_auto_reject_items":{"type":"object","description":"The list of items that this entity dislikes and will cause it to get angry if used while untamed.","properties":{"item":{"$ref":"#/definitions/J","description":"Name of the item this entity dislikes and will cause it to get angry if used while untamed."}}},"CHC":{"description":"Allows the Entity to be tamed by mounting it.","type":"object","title":"Tamemount","additionalProperties":false,"properties":{"attempt_temper_mod":{"type":"integer","default":5,"description":"The amount the entity's temper will increase when mounted.","title":"Attempt Temper Mod"},"auto_reject_items":{"title":"Auto Reject Items","description":"The list of items that, if carried while interacting with the entity, will anger it.","oneOf":[{"type":"object","$ref":"#/definitions/CHC_auto_reject_items"},{"type":"array","items":{"$ref":"#/definitions/CHC_auto_reject_items"}}]},"feed_text":{"type":"string","description":"The text that shows in the feeding interact button.","title":"Feed Text"},"feed_items":{"description":"The list of items that can be used to increase the entity's temper and speed up the taming process.","title":"Feed Items","oneOf":[{"type":"object","$ref":"#/definitions/CHC_feed_items"},{"type":"array","items":{"$ref":"#/definitions/CHC_feed_items"}}]},"max_temper":{"type":"integer","default":100,"description":"The maximum value for the entity's random starting temper.","title":"Maximum Temper"},"min_temper":{"type":"integer","default":0,"description":"The minimum value for the entity's random starting temper.","title":"Minimum Temper"},"ride_text":{"type":"string","description":"The text that shows in the riding interact button.","title":"Ride Text"},"tame_event":{"$ref":"#/definitions/BC","description":"Event that triggers when the entity becomes tamed.","title":"Tame Event"}},"examples":[{"attempt_temper_mod":5,"feed_text":"example","max_temper":100,"min_temper":0,"ride_text":"example"}]},"CHD":{"description":"Defines the entity's range within which it can see or sense other entities to target them.","type":"object","title":"Target Nearby Sensor","additionalProperties":false,"required":[],"properties":{"must_see":{"type":"boolean","default":false,"description":"Whether the other entity needs to be visible to trigger `inside` events.","title":"Must See"},"inside_range":{"type":"number","default":1,"description":"Maximum distance in blocks that another entity will be considered in the `inside` range.","title":"Inside Range"},"on_inside_range":{"$ref":"#/definitions/BC","description":"Event to call when an entity gets in the inside range. Can specify `event` for the name of the event and `target` for the target of the event","title":"On Inside Range"},"on_outside_range":{"$ref":"#/definitions/BC","description":"Event to call when an entity gets in the outside range. Can specify `event` for the name of the event and `target` for the target of the event","title":"On Outside Range"},"on_vision_lost_inside_range":{"$ref":"#/definitions/BC","description":"Event to call when an entity exits visual range. Can specify `event` for the name of the event and `target` for the target of the event","title":"On Vision Lost Inside Range"},"outside_range":{"type":"number","default":5,"description":"Maximum distance in blocks that another entity will be considered in the `outside` range.","title":"Outside Range"}},"examples":[{"must_see":false,"inside_range":1,"outside_range":5}]},"CHE":{"description":"Defines an entity's teleporting behavior.","type":"object","title":"Teleport","additionalProperties":false,"required":[],"properties":{"dark_teleport_chance":{"type":"number","default":0.01,"description":"Modifies the chance that the entity will teleport if the entity is in darkness.","title":"Dark Teleport Chance"},"light_teleport_chance":{"type":"number","default":0.01,"description":"Modifies the chance that the entity will teleport if the entity is in daylight.","title":"Light Teleport Chance"},"max_random_teleport_time":{"type":"number","default":20,"description":"Maximum amount of time in seconds between random teleports.","title":"Maximum Random Teleport Time"},"min_random_teleport_time":{"type":"number","default":0,"description":"Minimum amount of time in seconds between random teleports.","title":"Minimum Random Teleport Time"},"random_teleport_cube":{"title":"Random Teleport Cube","description":"Entity will teleport to a random position within the area defined by this cube.","type":"array","default":[32.0,16.0,32.0],"items":[{"type":"number","title":"A"},{"type":"number","title":"B"},{"type":"number","title":"C"}]},"random_teleports":{"type":"boolean","default":true,"description":"If true, the entity will teleport randomly.","title":"Random Teleports"},"target_distance":{"type":"number","default":16.0,"description":"Maximum distance the entity will teleport when chasing a target.","title":"Target Distance"},"target_teleport_chance":{"type":"number","default":1.0,"description":"The chance that the entity will teleport between 0.0 and 1.0. 1.0 means 100%","title":"Target Teleport Chance","minimum":0.0,"maximum":1.0}},"examples":[{"dark_teleport_chance":0.01,"light_teleport_chance":0.01,"max_random_teleport_time":20,"min_random_teleport_time":0,"random_teleport_cube":[],"random_teleports":true,"target_distance":16,"target_teleport_chance":1}]},"CHF":{"description":"Defines if the entity ticks the world and the radius around it to tick.","type":"object","title":"Tick World","additionalProperties":false,"required":[],"properties":{"distance_to_players":{"type":"number","default":128,"description":"The distance at which the closest player has to be before this entity despawns. This option will be ignored if never_despawn is true. Min: 128 blocks.","minimum":128,"title":"Distance To Players"},"never_despawn":{"type":"boolean","default":true,"description":"If true, this entity will not despawn even if players are far away. If false, distance_to_players will be used to determine when to despawn.","title":"Never Despawn"},"radius":{"type":"integer","default":2,"description":"The area around the entity to tick. Default: 2. Allowed range: 2-6.","minimum":2,"maximum":6,"title":"Radius"}},"examples":[{"distance_to_players":128,"never_despawn":true,"radius":2}]},"CHG":{"type":"object","title":"Timer","description":"Adds a timer after which an event will fire.","required":[],"additionalProperties":false,"properties":{"looping":{"type":"boolean","default":true,"description":"If true, the timer will restart every time after it fires.","title":"Looping"},"randomInterval":{"type":"boolean","default":true,"description":"If true, the amount of time on the timer will be random between the Minimum and Maximum values specified in time.","title":"Random Interval"},"time":{"description":"Amount of time in seconds for the timer. Can be specified as a number or a pair of numbers (Minimum and max). Incompatible with random_time_choices.","title":"Time","examples":[1,[1.0,5.0]],"oneOf":[{"type":"array","default":[0.0,0.0],"items":[{"type":"number","title":"Minimum"},{"type":"number","title":"Maximum"}]},{"type":"number","default":0}]},"time_down_event":{"description":"Event to fire when the time on the timer runs out.","title":"Time Down Event","$ref":"#/definitions/BC"},"random_time_choices":{"type":"array","default":[],"description":"This is a list of objects, representing one value in seconds that can be picked before firing the event and an optional weight. Incompatible with time.","title":"Random Time Choices","items":{"title":"Random Time Choices","description":"representing one value in seconds that can be picked before firing the event and an optional weight. Incompatible with time.","type":"object","additionalProperties":false,"properties":{"weight":{"type":"integer","description":"The weight on how likely this section is to trigger.","$comment":"UNDOCUMENTED","title":"Weight"},"value":{"type":"integer","description":"The value in seconds that would be used if this section was picked.","$comment":"UNDOCUMENTED","title":"Value"}}}}},"examples":[{"time":1,"looping":true,"time_down_event":{"event":"example:foo","target":"self"}}]},"CHH":{"description":"Resupplies an entity's trade.","type":"object","title":"Trade Resupply","additionalProperties":false,"properties":{}},"CHI":{"description":"Defines this entity's ability to trade with players.","type":"object","title":"Trade Table","additionalProperties":false,"required":[],"properties":{"convert_trades_economy":{"type":"boolean","default":false,"description":"Determines when the mob transforms, if the trades should be converted when the new mob has a economy_trade_table. When the trades are converted, the mob will generate a new trade list with their new trade table, but then it will try to convert any of the same trades over to have the same enchantments and user data. For example, if the original has a Emerald to Enchanted Iron Sword (Sharpness 1), and the new trade also has an Emerald for Enchanted Iron Sword, then the enchantment will be Sharpness 1.","title":"Convert Trades Economy"},"display_name":{"type":"string","description":"Name to be displayed while trading with this entity.","title":"Display Name"},"new_screen":{"type":"boolean","default":false,"description":"Used to determine if trading with entity opens the new trade screen.","title":"New Screen"},"persist_trades":{"type":"boolean","default":false,"description":"Determines if the trades should persist when the mob transforms. This makes it so that the next time the mob is transformed to something with a trade_table or economy_trade_table, then it keeps their trades.","title":"Persist Trades"},"table":{"type":"string","description":"File path relative to the resource pack root for this entity's trades.","title":"Table"}},"examples":[{"convert_trades_economy":false,"display_name":"example","new_screen":false,"persist_trades":false,"table":"example"}]},"CHJ":{"description":"Defines the entity's trail to carry items.","type":"object","title":"Trail","additionalProperties":false,"properties":{"block_type":{"type":"string","default":"air","description":"The type of block you wish to be spawned by the entity as it move about the world. Solid blocks may not be spawned at an offset of ().","title":"Block Type"},"spawn_filter":{"$ref":"#/definitions/BD","description":"One or more conditions that must be met in order to cause the chosen block type to spawn.","title":"Spawn Filter"},"spawn_offset":{"type":"array","default":[0,0,0],"description":"The distance from the entities current position to spawn the block. Capped at up to 16 blocks away. The X value is left/right(-/+), the Z value is backward/forward(-/+), the Y value is below/above(-/+).","title":"Spawn Offset","items":[{"type":"number","title":"X"},{"type":"number","title":"Y"},{"type":"number","title":"Z"}]}},"examples":[{"block_type":"air","spawn_offset":[0,0,0]}]},"CIA":{"description":"Defines an entity's transformation from the current definition into another","type":"object","title":"Transformation","additionalProperties":false,"properties":{"add":{"type":"object","description":"List of components to add to the entity after the transformation.","title":"Add","additionalProperties":false,"properties":{"component_groups":{"type":"array","description":"Names of component groups to add.","items":{"type":"string"}}}},"begin_transform_sound":{"$ref":"#/definitions/BAB","description":"Sound to play when the transformation starts.","title":"Begin Transform Sound"},"delay":{"description":"Defines the properties of the delay for the transformation.","title":"Delay","oneOf":[{"type":"number"},{"type":"object","properties":{"block_assist_chance":{"type":"number","default":0,"description":"Chance that the entity will look for nearby blocks that can speed up the transformation. Value must be between 0.0 and 1.0"},"block_chance":{"type":"number","default":0,"description":"Chance that, once a block is found, will help speed up the transformation."},"block_max":{"type":"integer","default":0,"description":"Maximum number of blocks the entity will look for to aid in the transformation. If not defined or set to 0, it will be set to the block radius"},"block_radius":{"type":"integer","default":0,"description":"Distance in Blocks that the entity will search for blocks that can help the transformation."},"block_types":{"type":"array","description":"List of blocks that can help the transformation of this entity.","items":{"$ref":"#/definitions/BBG"}},"value":{"type":"number","default":0,"description":"Time in seconds before the entity transforms."}}}]},"drop_equipment":{"type":"boolean","default":false,"description":"Cause the entity to drop all equipment upon transformation.","title":"Drop Equipment"},"drop_inventory":{"type":"boolean","default":false,"description":"Cause the entity to drop all items in inventory upon transformation.","title":"Drop Inventory"},"into":{"type":"string","default":"","description":"Entity Definition that this entity will transform into.","title":"Into"},"keep_level":{"type":"boolean","default":false,"description":"If this entity has trades and has leveled up, it should maintain that level after transformation.","title":"Keep Level"},"keep_owner":{"type":"boolean","default":false,"description":"If this entity is owned by another entity, it should remain owned after transformation.","title":"Keep Owner"},"preserve_equipment":{"type":"boolean","default":false,"description":"Cause the entity to keep equipment after going through transformation.","title":"Preserve Equipment"},"transformation_sound":{"$ref":"#/definitions/BAB","default":"","description":"Sound to play when the entity is done transforming.","title":"Transformation Sound"}},"examples":[{"add":{},"begin_transform_sound":"example","drop_equipment":false,"drop_inventory":false,"into":"","keep_level":false,"keep_owner":false,"preserve_equipment":false,"transformation_sound":""}]},"CIB":{"type":"object","title":"Trust","description":"Allows this entity to trust multiple players.","required":[],"additionalProperties":false,"properties":{}},"CIC":{"type":"object","title":"Trusting","description":"Defines the rules for a mob to trust players.","required":[],"additionalProperties":false,"properties":{"probability":{"type":"number","default":1,"description":"The chance of the entity trusting with each item use between 0.0 and 1.0, where 1.0 is 100%","title":"Probability"},"trust_event":{"$ref":"#/definitions/BC","description":"Event to run when this entity becomes trusting.","title":"Trust Event"},"trust_items":{"title":"Trust Items","type":"array","description":"The list of items that can be used to get the entity to trust players.","items":{"$ref":"#/definitions/BA","title":"Trust Item"}}},"examples":[{"probability":1,"trust_event":"self:trust"},{"probability":1,"trust_items":[],"trust_event":"self:trust"}]},"CID":{"type":"object","title":"Type Family","additionalProperties":false,"description":"Defines the families this entity belongs to.","required":["family"],"examples":[{"family":[]},{"family":["monster"]},{"family":["mob"]},{"family":["animal"]},{"family":["npc"]}],"properties":{"family":{"type":"array","items":{"type":"string","description":"Family name.","title":"Family","examples":["monster","mob","animal","npc"]},"description":"List of family names.","title":"Family"}}},"CIE":{"description":"Defines the speed with which an entity can move through water.","type":"object","title":"Underwater Movement","additionalProperties":false,"required":[],"properties":{"value":{"type":"number","title":"Value","description":"Movement speed of the entity under water."}},"examples":[{"value":0.15}]},"CIF":{"type":"object","title":"Variable Max Auto Step","additionalProperties":false,"description":"Entities with this component will have a maximum auto step height that is different depending on wether they are on a block that prevents jumping. Incompatible with \"runtime_identifier\": \"minecraft:horse\".","required":[],"properties":{"base_value":{"title":"Base Value","type":"number","default":0.5625,"description":"The maximum auto step height when on any other block."},"controlled_value":{"title":"Controlled Value","type":"number","default":0.5625,"description":"The maximum auto step height when on any other block and controlled by the player."},"jump_prevented_value":{"title":"Jump Prevented Value","type":"number","default":0.5625,"description":"The maximum auto step height when on a block that prevents jumping."}},"examples":[{"base_value":0.5625,"controlled_value":0.5625,"jump_prevented_value":0.5625}]},"CIG":{"additionalProperties":false,"type":"object","title":"Variant","description":"Used to differentiate the component group of a variant of an entity from others (e.g. ocelot, villager) Parameters","required":["value"],"properties":{"value":{"type":"integer","default":0,"description":"The ID of the variant. By convention, 0 is the ID of the base entity","title":"Value"}},"examples":[{"value":0},{"value":1},{"value":2},{"value":3},{"value":4},{"value":5},{"value":6},{"value":7},{"value":8},{"value":9}]},"CIH":{"type":"object","title":"Vibration Damper","additionalProperties":false,"required":[],"properties":{},"description":"Vibrations emitted by this entity will be ignored."},"CII":{"type":"object","title":"Vibration Listener","additionalProperties":false,"required":[],"properties":{},"description":"This entity will respond to vibrations."},"CIJ":{"additionalProperties":false,"type":"object","title":"Walk Animation Speed","description":"Sets the speed multiplier for this entity's walk animation speed.","required":[],"properties":{"value":{"type":"number","default":1,"description":"The higher the number, the faster the animation for walking plays. A value of 1.0 means normal speed, while 2.0 means twice as fast","title":"Value"}},"examples":[{"value":1}]},"CJA":{"description":"Sets that this entity wants to become a jockey.","type":"object","title":"Wants Jockey","additionalProperties":false,"properties":{}},"CJB":{"description":"Defines the speed with which an entity can move through water.","type":"object","title":"Water Movement","additionalProperties":false,"required":[],"properties":{"drag_factor":{"type":"number","default":0.8,"description":"Drag factor to determine movement speed when in water.","title":"Drag Factor"}},"examples":[{"drag_factor":0.8}]},"CJD":{"additionalProperties":false,"type":"integer","title":"Priority","minimum":0,"description":"How important this behavior is. Lower priority behaviors will be executed first."},"CJC":{"type":"object","title":"Admire Item","description":"Enables the mob to admire items that have been configured as admirable. Must be used in combination with the admire_item component.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"admire_item_sound":{"title":"Admire Item Sound","$ref":"#/definitions/BAB","description":"The sound event to play when admiring the item."},"on_admire_item_start":{"title":"On Admire Item Start","$ref":"#/definitions/CFB","description":"The event to run when admiring the item."},"on_admire_item_stop":{"title":"On Admire Item Stop","$ref":"#/definitions/CFB","description":"The event to run when no longer admiring the item."},"sound_interval":{"title":"Sound Interval","default":0,"description":"The range of time in seconds to randomly wait before playing the sound again.","oneOf":[{"type":"array","items":[{"type":"number","title":"Maximum"},{"type":"number","title":"Maximum"}]},{"type":"number"},{"type":"object","additionalProperties":false,"properties":{"range_min":{"type":"number"},"range_max":{"type":"number"}}}]}},"examples":[{"admire_item_sound":""}]},"CJE":{"type":"object","title":"Avoid Block","description":"Allows this entity to avoid certain blocks.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"tick_interval":{"type":"integer","title":"Tick Interval","default":1,"description":"Should start tick interval."},"search_range":{"type":"integer","title":"Search Range","description":"Maximum distance to look for a block in xz.","default":0},"search_height":{"type":"integer","title":"Search Height","description":"Maximum distance to look for a block in y.","default":0},"sprint_speed_modifier":{"type":"number","title":"Sprint Speed Modifier","description":"Modifier for sprint speed. 1.0 means keep the regular speed, while higher numbers make the sprint speed faster.","default":1.0},"target_selection_method":{"type":"string","title":"Target Selection Method","description":"Block search method.","enum":["random","nearest"],"default":"nearest"},"target_blocks":{"type":"array","title":"Target Blocks","description":"List of block types this mob avoids.","items":{"title":"Block ID","$ref":"#/definitions/J"}},"avoid_block_sound":{"title":"Avoid Block Sound","description":"The sound event to play when the mob is avoiding a block.","$ref":"#/definitions/BAB"},"walk_speed_modifier":{"type":"number","title":"Walk Speed Modifier","default":1.0,"description":"Modifier for walking speed. 1.0 means keep the regular speed, while higher numbers make the walking speed faster."},"on_escape":{"type":"array","title":"Walk Speed Modifier","description":"Escape trigger.","items":{"$ref":"#/definitions/CFB"}},"sound_interval":{"default":0,"description":"The range of time in seconds to randomly wait before playing the sound again.","title":"Sound Interval","oneOf":[{"type":"array","items":[{"type":"number","title":"Maximum"},{"type":"number","title":"Maximum"}],"default":[3.0,8.0]},{"type":"number"},{"type":"object","additionalProperties":false,"properties":{"range_min":{"type":"number"},"range_max":{"type":"number"}}}]}},"examples":[{"tick_interval":0,"search_range":0,"search_height":0,"sprint_speed_modifier":0.0,"target_selection_method":"example","target_blocks":[],"avoid_block_sound":"example","walk_speed_modifier":0.0,"on_escape":[]}]},"CJG_entity_definition":{"description":"The entity type.","title":"Entity Type","type":"object","additionalProperties":false,"properties":{"filters":{"$ref":"#/definitions/BD"},"cooldown":{"title":"Cooldown","description":"The amount of time in seconds that the mob has to wait before selecting a target of the same type again","default":0.0,"type":"number"},"max_dist":{"type":"number","description":"Maximum distance this mob can be away to be a valid choice.","default":16,"title":"Maximum Dist"},"max_height":{"type":"number","description":"UNDOCUMENTED.","title":"Maximum Height"},"max_flee":{"type":"number","description":"UNDOCUMENTED.","title":"Maximum Height"},"priority":{"type":"number","description":"UNDOCUMENTED.","title":"Priority"},"check_if_outnumbered":{"type":"number","description":"UNDOCUMENTED.","title":"Check If Outnumbered"},"must_see":{"type":"boolean","description":"If true, the mob has to be visible to be a valid choice.","default":false,"title":"Must See"},"must_see_forget_duration":{"type":"number","description":"Determines the amount of time in seconds that this mob will look for a target before forgetting about it and looking for a new one when the target isn't visible any more.","default":3,"title":"Must See Forget Duration"},"reevaluate_description":{"title":"Reevaluate Description","type":"boolean","default":false,"description":"If true, the mob will stop being targeted if it stops meeting any conditions."},"sprint_speed_multiplier":{"type":"number","description":"Multiplier for the running speed. A value of 1.0 means the speed is unchanged","default":16,"title":"Sprint Speed Multiplier"},"walk_speed_multiplier":{"type":"number","description":"Multiplier for the walking speed. A value of 1.0 means the speed is unchanged","default":16,"title":"Walk Speed Multiplier"}}},"CJG":{"title":"Entity Types","oneOf":[{"type":"array","items":{"$ref":"#/definitions/CJG_entity_definition"}},{"$ref":"#/definitions/CJG_entity_definition"}]},"CJF":{"additionalProperties":false,"type":"object","title":"Avoid Mob Type","description":"Allows the entity to run away from other entities that meet the criteria specified.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"avoid_mob_sound":{"title":"Avoid Mob Sound","default":"","description":"The sound event to play when the mob is avoiding another mob.","$ref":"#/definitions/BAB"},"avoid_target_xz":{"title":"Avoid Target XZ","type":"integer","default":16,"description":"The next target position the entity chooses to avoid another entity will be chosen within this XZ Distance."},"avoid_target_y":{"title":"Avoid Target Y","type":"integer","default":7,"description":"The next target position the entity chooses to avoid another entity will be chosen within this Y Distance."},"ignore_visibilty":{"title":"Ignore Visibilty","type":"boolean","default":false,"description":"Whether or not to ignore direct line of sight while this entity is running away from other specified entities."},"max_dist":{"title":"Max Dist","type":"number","default":3.0,"description":"Maximum distance to look for an avoid target for the entity."},"max_flee":{"title":"Max Flee","type":"number","default":10.0,"description":"How many blocks away from its avoid target the entity must be for it to stop fleeing from the avoid target."},"probability_per_strength":{"title":"Probability Per Strength","type":"number","default":1.0,"description":"Percent chance this entity will stop avoiding another entity based on that entity's strength, where 1.0 = 100%."},"remove_target":{"title":"Remove Target","type":"boolean","default":false,"description":"Determine if we should remove target when fleeing or not."},"sprint_distance":{"title":"Sprint Distance","type":"number","default":7.0,"description":"How many blocks within range of its avoid target the entity must be for it to begin sprinting away from the avoid target."},"sprint_speed_multiplier":{"title":"Sprint Speed Multiplier","type":"number","default":1.0,"description":"Multiplier for sprint speed. 1.0 means keep the regular speed, while higher numbers make the sprint speed faster."},"walk_speed_multiplier":{"title":"Walk Speed Multiplier","type":"number","default":1.0,"description":"Multiplier for walking speed. 1.0 means keep the regular speed, while higher numbers make the walking speed faster."},"ignore_visibility":{"type":"boolean","default":false,"description":"If true, visbility between this entity and the mob type will not be checked.","title":"Ignore Visibility"},"entity_types":{"$ref":"#/definitions/CJG","title":"Entity Types","description":"The list of conditions another entity must meet to be a valid target to avoid."},"on_escape_event":{"$ref":"#/definitions/CFB","title":"On Escape Event","description":"Event that is triggered when escaping from a mob."},"sound_interval":{"title":"Sound Interval","default":[3.0,8.0],"description":"The range of time in seconds to randomly wait before playing the sound again.","oneOf":[{"type":"array","items":[{"type":"number","title":"Maximum"},{"type":"number","title":"Maximum"}]},{"type":"number"},{"type":"object","additionalProperties":false,"properties":{"range_min":{"type":"number"},"range_max":{"type":"number"}}}]}},"examples":[{"max_dist":0,"max_flee":0.5,"walk_speed_multiplier":1.0,"sprint_speed_multiplier":1.0,"probability_per_strength":1.0,"ignore_visibility":false,"avoid_mob_sound":"example","remove_target":true}]},"CJH":{"type":"object","title":"Barter","description":"Enables the mob to barter for items that have been configured as barter currency. Must be used in combination with the barter component","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"CJI":{"type":"object","title":"Beg","additionalProperties":false,"description":"Allows this mob to look at and follow the player that holds food they like.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"items":{"type":"array","description":"List of items that this mob likes.","items":{"type":"string","description":"List of items that this mob likes.","title":"Properties","$ref":"#/definitions/J"},"title":"Properties"},"look_distance":{"type":"number","default":8,"description":"Distance in blocks the mob will beg from.","title":"Look Distance"},"look_time":{"description":"The range of time in seconds this mob will stare at the player holding a food they like, begging for it.","$ref":"#/definitions/BBB","default":[2,4],"title":"Look Time"}},"examples":[{"items":[],"look_distance":8}]},"DAA":{"additionalProperties":false,"default":1.0,"description":"Movement speed multiplier of the mob when using this AI Goal.","type":"number","title":"Speed Multiplier"},"CJJ":{"type":"object","title":"Break Door","description":"Allows this mob to break doors.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"}},"additionalProperties":false},"DAB":{"additionalProperties":false,"type":"object","title":"Breed","description":"Allows this mob to breed with other mobs.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"}}},"DAC":{"additionalProperties":false,"type":"object","title":"Celebrate Survive","description":"Allows this entity to celebrate surviving a raid by shooting fireworks.","properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"fireworks_interval":{"title":"Fireworks Interval","$ref":"#/definitions/BBB","description":"Minimum and maximum time between firework (positive, in seconds).","default":[10,20]},"duration":{"title":"Duration","description":"The duration in seconds that the celebration lasts for.","type":"number","default":30.0},"on_celebration_end_event":{"title":"On Celebration End Event","description":"The event to trigger when the goal's duration expires.","$ref":"#/definitions/CFB"}}},"DAD":{"type":"object","title":"Celebrate","description":"Allows this entity to celebrate surviving a raid by making celebration sounds and jumping.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"celebration_sound":{"default":"","description":"The sound event to trigger during the celebration.","title":"Celebration Sound","$ref":"#/definitions/BAB"},"duration":{"type":"number","default":30,"description":"The duration in seconds that the celebration lasts for.","title":"Duration"},"jump_interval":{"default":[1,3.5],"description":"Minimum and maximum time between jumping (positive, in seconds).","title":"Jump Interval","oneOf":[{"type":"array","items":[{"type":"number","title":"Maximum"},{"type":"number","title":"Maximum"}]},{"type":"number"},{"type":"object","additionalProperties":false,"properties":{"range_min":{"type":"number"},"range_max":{"type":"number"}}}]},"on_celebration_end_event":{"$ref":"#/definitions/BAI","description":"The event to trigger when the goal's duration expires.","title":"On Celebration End Event"},"sound_interval":{"default":[2,7],"description":"Minimum and maximum time between sound events (positive, in seconds).","title":"Sound Interval","$ref":"#/definitions/BBB"}},"examples":[{"celebration_sound":"","duration":1}]},"DAE":{"additionalProperties":false,"type":"object","title":"Charge Attack","description":"Allows this entity to damage a target by using a running attack.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"max_distance":{"title":"Max Distance","type":"number","default":3,"description":"A charge attack cannot start if the entity is farther than this distance to the target."},"min_distance":{"title":"Min Distance","type":"number","default":2,"description":"A charge attack cannot start if the entity is closer than this distance to the target."},"success_rate":{"title":"Success Rate","type":"number","default":0.1428,"description":"Percent chance this entity will start a charge attack, if not already attacking (1.0 = 100%)"}}},"DAF":{"type":"object","title":"Charge Held Item","description":"Allows an entity to charge and use their held item.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"items":{"type":"array","title":"Items","description":"The list of items that can be used to charge the held item. This list is required and must have at least one item in it.","items":{"$ref":"#/definitions/J","description":"Items names to be used.","title":"Item ID"}}},"examples":[{"items":[]}]},"DAG":{"type":"object","title":"Circle Around Anchor","additionalProperties":false,"description":"Causes an entity to circle around an anchor point placed near a point or target.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"radius_range":{"$ref":"#/definitions/BBB","default":[5.0,15.0],"description":"Horizontal distance from the anchor point this entity must stay within upon a successful radius adjustment.","title":"Radius Range"},"radius_change_chance":{"type":"integer","default":250,"description":"A random value to determine when to increase the size of the radius up to the maximum. This has a 1/value chance every tick to do so.","title":"Radius Change Chance"},"height_above_target_range":{"$ref":"#/definitions/BBB","default":[0.0,0.0],"description":"The number of blocks above the target that the next anchor point can be set. This value is used only when the entity is tracking a target.","title":"Height Above Target Range"},"height_offset_range":{"$ref":"#/definitions/BBB","default":[0.0,0.0],"description":"The range of height in blocks offset the mob can have from it's anchor point.","title":"Height Offset Range"},"height_change_chance":{"type":"integer","default":350,"description":"A random value to determine when to change the height of the mob from the anchor point. This has a 1/value chance every tick to do so.","title":"Height Change Chance"},"goal_radius":{"type":"number","default":0.5,"description":"Maximum distance from the anchor-point in which this entity considers itself to have reached the anchor point. This is to prevent the entity from bouncing back and forth trying to reach a specific spot.","title":"Goal Radius"},"radius_change":{"type":"number","title":"Radius Change","description":"The number of blocks to increase the current movement radius by, upon successful `radius_adjustment_chance`. If the current radius increases over the range maximum, the current radius will be set back to the range minimum and the entity will change between clockwise and counter-clockwise movement.","default":1.0},"radius_adjustment_chance":{"type":"number","title":"Radius Adjustment Chance","description":"Percent chance to determine how often to increase the size of the current movement radius around the anchor point. 1 = 100%. `radius_change_chance` is deprecated and has been replaced with `radius_adjustment_chance`.","default":0.004},"height_adjustment_chance":{"type":"number","title":"Height Adjustment Chance","description":"Percent chance to determine how often to increase or decrease the current height around the anchor point. 1 = 100%. `height_change_chance` is deprecated and has been replaced with `height_adjustment_chance`.","default":0.002857},"angle_change":{"type":"number","title":"Angle Change","description":"Number of degrees to change this entity's facing by, when the entity selects its next anchor point.","default":15.0}},"examples":[{"speed_multiplier":1.0,"radius_change_chance":250,"height_change_chance":350,"goal_radius":0.5,"radius_change":0.0,"radius_adjustment_chance":0.0,"height_adjustment_chance":0.0,"angle_change":0.0}]},"DAH":{"additionalProperties":false,"type":"object","title":"Controlled By Player","description":"Allows the entity to be controlled by the player using an item in the item_controllable property (required). Also requires the minecraft:movement property, and the minecraft:rideable property. On every tick, the entity will attempt to rotate towards where the player is facing with the control item whilst simultaneously moving forward.","properties":{"priority":{"$ref":"#/definitions/CJD"},"fractional_rotation":{"title":"Fractional Rotation","type":"number","default":0.5,"description":"The entity will attempt to rotate to face where the player is facing each tick. The entity will target this percentage of their difference in their current facing angles each tick (from 0.0 to 1.0 where 1.0 = 100%). This is limited by FractionalRotationLimit. A value of 0.0 will result in the entity no longer turning to where the player is facing."},"fractional_rotation_limit":{"title":"Fractional Rotation Limit","type":"number","default":5.0,"description":"Limits the total degrees the entity can rotate to face where the player is facing on each tick."},"mount_speed_multiplier":{"title":"Mount Speed Multiplier","type":"number","default":1.0,"description":"Speed multiplier of mount when controlled by player."}},"examples":[{"mount_speed_multiplier":1}]},"DBA":{"type":"array","title":"Vector Of 2 Items","description":"An vector of 2 integers.","examples":[[0,0]],"items":[{"type":"integer","description":"The X component.","title":"X","default":0},{"type":"integer","description":"The Y component.","title":"Y","default":0}],"defaultSnippets":[{"label":"New Array 2","body":["^$1","^$2"]}]},"DAJ":{"oneOf":[{"type":"array","$ref":"#/definitions/DBA"},{"title":"Value","type":"integer"}],"examples":[0,[0,10]],"defaultSnippets":[{"label":"New Array 2","body":["^$1","^$2"]}]},"DAI":{"type":"object","title":"Croak","description":"[EXPERIMENTAL BEHAVIOR] Allows the entity to croak at a random time interval with configurable conditions.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"duration":{"title":"Duration","description":"Random range in seconds after which the croaking stops. Can also be a constant.","$ref":"#/definitions/DAJ"},"filters":{"title":"Filters","$ref":"#/definitions/BD","description":"Conditions for the behavior to start and keep running. The interval between runs only starts after passing the filters."},"interval":{"title":"Interval","description":"Random range in seconds between runs of this behavior. Can also be a constant.","$ref":"#/definitions/DAJ"}}},"DBB":{"type":"object","title":"Defend Trusted Target","description":"Allows the mob to target another mob that hurts an entity it trusts.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"aggro_sound":{"title":"Aggro Sound","$ref":"#/definitions/BAB","default":"","description":"Sound to occasionally play while defending."},"attack_interval":{"title":"Attack Interval","type":"integer","default":0,"description":"Time in seconds between attacks."},"must_see":{"title":"Must See","type":"boolean","default":false,"description":"If true, only entities in this mob's viewing range can be selected as targets."},"must_see_forget_duration":{"title":"Must See Forget Duration","type":"number","default":3,"description":"Determines the amount of time in seconds that this mob will look for a target before forgetting about it and looking for a new one when the target isn't visible any more."},"on_defend_start":{"title":"On Defend Start","$ref":"#/definitions/CFB","description":"The event to run when this mob starts to defend the entity it trusts."},"within_radius":{"title":"Within Radius","type":"number","default":0,"description":"Distance in blocks that the target can be within to launch an attack."},"entity_types":{"$ref":"#/definitions/CJG","description":"List of entity types that this mob considers valid targets.","title":"Entity Types"},"sound_chance":{"title":"Sound Chance","type":"number","default":0.05,"description":"Probability that a sound will play.","minimum":0,"maximum":1}},"examples":[{"aggro_sound":"","attack_interval":0,"must_see":false,"must_see_forget_duration":3,"within_radius":0,"entity_types":{},"sound_chance":0.05}]},"DBC":{"additionalProperties":false,"type":"object","title":"Defend Village Target","description":"Allows the entity to stay in a village and defend the village from aggressors. If a player is in bad standing with the village this goal will cause the entity to attack the player regardless of filter conditions.","properties":{"priority":{"$ref":"#/definitions/CJD"},"entity_types":{"title":"Entity Types","$ref":"#/definitions/CJG","description":"List of entity types this mob considers a threat to the village.","$comment":"UNDOCUMENTED"},"must_reach":{"title":"Must Reach","description":"The entity must be able to reach attacker.","type":"boolean"},"attack_chance":{"title":"Attack Chance","description":"The percentage chance that the entity has to attack aggressors of its village, where 1.0 = 100%.","type":"number","default":0.05}},"examples":[{"must_reach":true,"attack_chance":0.0}]},"DBD":{"additionalProperties":false,"type":"object","title":"Delayed Attack","description":"Allows an entity to attack, while also delaying the damage-dealt until a specific time in the attack animation.","properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"attack_duration":{"title":"Attack Duration","type":"number","default":0.75,"description":"The entity's attack animation will play out over this duration (in seconds). Also controls attack cooldown."},"attack_once":{"title":"Attack Once","type":"boolean","default":false,"description":"Allows the entity to use this attack behavior, only once EVER."},"attack_types":{"title":"Attack Types","type":"string","default":"N/A","description":"Defines the entity types this entity will attack."},"can_spread_on_fire":{"title":"Can Spread On Fire","type":"boolean","default":false,"description":"If the entity is on fire, this allows the entity's target to catch on fire after being hi"},"cooldown_time":{"title":"Cooldown Time","type":"number","default":1,"description":"Cooldown time (in seconds) between attacks."},"hit_delay_pct":{"title":"Hit Delay Pct","type":"number","default":0.5,"description":"The percentage into the attack animation to apply the damage of the attack (1.0 = 100%)."},"inner_boundary_time_increase":{"title":"Inner Boundary Time Increase","type":"number","default":0.25,"description":"Time (in seconds) to add to attack path recalculation when the target is beyond the \"path_inner_boundary\"."},"max_dist":{"title":"Max Dist","type":"number","description":"Unused. No effect on \"minecraft:behavior.melee_attack\"."},"max_path_time":{"title":"Max Path Time","type":"number","default":0.55,"description":"Maximum base time (in seconds) to recalculate new attack path to target (before increases applied)."},"melee_fov":{"title":"Melee Fov","type":"number","default":90,"description":"Field of view (in degrees) when using the sensing component to detect an attack target."},"min_path_time":{"title":"Min Path Time","type":"number","default":0.2,"description":"Minimum base time (in seconds) to recalculate new attack path to target (before increases applied)."},"on_attack":{"title":"On Attack","description":"Defines the event to trigger when this entity successfully attacks.","$ref":"#/definitions/BAI"},"outer_boundary_time_increase":{"title":"Outer Boundary Time Increase","type":"number","default":0.5,"description":"Time (in seconds) to add to attack path recalculation when the target is beyond the \"path_outer_boundary\"."},"path_fail_time_increase":{"title":"Path Fail Time Increase","type":"number","default":0.75,"description":"Time (in seconds) to add to attack path recalculation when this entity cannot move along the current path."},"path_inner_boundary":{"title":"Path Inner Boundary","type":"number","default":16,"description":"Distance at which to increase attack path recalculation by \"inner_boundary_tick_increase\"."},"path_outer_boundary":{"title":"Path Outer Boundary","type":"number","default":32,"description":"Distance at which to increase attack path recalculation by \"outer_boundary_tick_increase\"."},"random_stop_interval":{"title":"Random Stop Interval","type":"integer","default":0,"description":"This entity will have a 1 in N chance to stop it's current attack, where N = \"random_stop_interval\"."},"reach_multiplier":{"title":"Reach Multiplier","type":"number","default":2,"description":"Used with the base size of the entity to determine minimum target-distance before trying to deal attack damage."},"require_complete_path":{"title":"Require Complete Path","type":"boolean","default":false,"description":"Toggles (on/off) the need to have a full path from the entity to the target when using this melee attack behavior."},"set_persistent":{"title":"Set Persistent","type":"boolean","default":false,"description":"Allows the actor to be set to persist upon targeting a player."},"target_dist":{"title":"Target Dist","type":"number","description":"Unused. No effect on \"minecraft:behavior.melee_attack\"."},"track_target":{"title":"Track Target","type":"boolean","default":false,"description":"Allows the entity to track the attack target, even if the entity has no sensing."},"x_max_rotation":{"title":"X Max Rotation","type":"number","default":30,"description":"Maximum rotation (in degrees), on the X-axis, this entity can rotate while trying to look at the target."},"y_max_head_rotation":{"title":"Y Max Head Rotation","type":"number","default":30,"description":"Maximum rotation (in degrees), on the Y-axis, this entity can rotate its head while trying to look at the target."}},"examples":[{"attack_duration":1,"attack_once":false,"attack_types":"","hit_delay_pct":1,"random_stop_interval":0,"reach_multiplier":2,"require_complete_path":true,"track_target":false}]},"DBE":{"additionalProperties":false,"type":"object","title":"Dig","description":"[EXPERIMENTAL BEHAVIOR] Activates the `DIGGING` actor flag during the specified duration. Currently only Warden can use the Dig goal","properties":{"priority":{"$ref":"#/definitions/CJD"},"allow_dig_when_named":{"title":"Allow Dig When Named","type":"boolean","default":false,"description":"If true, this behavior can run when this entity is named. Otherwise not."},"digs_in_daylight":{"title":"Digs In Daylight","type":"boolean","default":false,"description":"Indicates that the actor should start digging when it sees daylight."},"duration":{"title":"Duration","type":"number","default":0.0,"description":"Goal duration in seconds."},"idle_time":{"title":"Idle Time","type":"number","description":"The minimum idle time in seconds between the last detected disturbance to the start of digging."},"suspicion_is_disturbance":{"title":"Suspicion Is Disturbance","type":"boolean","default":false,"description":"If true, finding new suspicious locations count as disturbances that may delay the start of this goal."},"vibration_is_disturbance":{"title":"Vibration Is Disturbance","type":"boolean","default":false,"description":"If true, vibrations count as disturbances that may delay the start of this goal."}}},"DBF":{"additionalProperties":false,"type":"object","title":"Door Interact","description":"Allows the mob to open and close doors.","properties":{"priority":{"$ref":"#/definitions/CJD"}}},"DBG":{"additionalProperties":false,"type":"object","title":"Dragonchargeplayer","description":"Allows this entity to attack a player by charging at them. The player is chosen by the \"minecraft:behavior.dragonscanning\". Note: This behavior can only be used by the ender_dragon entity type.","properties":{"priority":{"$ref":"#/definitions/CJD"},"active_speed":{"title":"Active Speed","type":"number","default":1,"description":"The speed this entity moves when this behavior has started or while it's active."},"continue_charge_threshold_time":{"title":"Continue Charge Threshold Time","type":"number","default":0.5,"description":"If the dragon is outside the \"target_zone\" for longer than \"continue_charge_threshold_time\" seconds, the charge is canceled."},"flight_speed":{"title":"Flight Speed","type":"number","default":0.6,"description":"The speed this entity moves while this behavior is not active."},"target_zone":{"title":"Target Zone","$ref":"#/definitions/BBB","default":[10,150],"description":"Minimum and maximum distance, from the target, this entity can use this behavior."},"turn_speed":{"title":"Turn Speed","type":"number","default":0.7,"description":"The speed at which this entity turns while using this behavior."}}},"DBH":{"additionalProperties":false,"type":"object","title":"Dragondeath","description":"Controls the entity's death state and animation. Note: This behavior can only be used by the ender_dragon entity type.","properties":{"priority":{"$ref":"#/definitions/CJD"}}},"DBI":{"additionalProperties":false,"type":"object","title":"Dragonflaming","description":"Allows this entity to use a flame-breath attack. Note: This behavior can only be used by the ender_dragon entity type.","properties":{"priority":{"$ref":"#/definitions/CJD"},"cooldown_time":{"title":"Cooldown Time","type":"number","default":10,"description":"Time (in seconds), after roar, to breath flame."},"flame_time":{"title":"Flame Time","type":"number","default":0.5,"description":"Time (in seconds), after roar, to breath flame."},"ground_flame_count":{"title":"Ground Flame Count","type":"integer","default":4,"description":"Number of ground flame-breath attacks to use before flight-takeoff."},"roar_time":{"title":"Roar Time","type":"number","default":2,"description":"Time (in seconds) to roar, before breathing flame."}}},"DBJ":{"additionalProperties":false,"type":"object","title":"Dragonholdingpattern","description":"Allows the Dragon to fly around in a circle around the center podium. Note: This behavior can only be used by the ender_dragon entity type.","properties":{"priority":{"$ref":"#/definitions/CJD"}}},"DCA":{"additionalProperties":false,"type":"object","title":"Dragonlanding","description":"Allows the Dragon to stop flying and transition into perching mode. Note: This behavior can only be used by the ender_dragon entity type.","properties":{"priority":{"$ref":"#/definitions/CJD"}}},"DCB":{"additionalProperties":false,"type":"object","title":"Dragonscanning","description":"Allows an entity to look around for a player to attack while in perch mode. Note: This behavior can only be used by the ender_dragon entity type.","properties":{"priority":{"$ref":"#/definitions/CJD"}}},"DCC":{"additionalProperties":false,"type":"object","title":"Dragonstrafeplayer","description":"Allows this entity to fly around looking for a player to shoot fireballs at. Note: This behavior can only be used by the ender_dragon entity type.","properties":{"priority":{"$ref":"#/definitions/CJD"},"active_speed":{"title":"Active Speed","type":"number","default":1,"description":"The speed this entity moves when this behavior has started or while it's active."},"fireball_range":{"title":"Fireball Range","type":"number","default":64,"description":"Maximum distance of this entity's fireball attack while strafing."},"flight_speed":{"title":"Flight Speed","type":"number","default":0.6,"description":"The speed this entity moves while this behavior is not active."},"switch_direction_probability":{"title":"Switch Direction Probability","type":"number","default":0.125,"description":"Percent chance to to switch this entity's strafe direction between clockwise and counterclockwise. Switch direction chance occurs each time a new target is chosen (1.0 = 100%)."},"target_in_range_and_in_view_time":{"title":"Target In Range And In View Time","type":"number","default":0.25,"description":"Time (in seconds) the target must be in fireball range, and in view [ie, no solid terrain in-between the target and this entity], before a fireball can be shot."},"target_zone":{"title":"Target Zone","$ref":"#/definitions/BBB","default":[10,150],"description":"Minimum and maximum distance, from the target, this entity can use this behavior."},"turn_speed":{"title":"Turn Speed","type":"number","default":0.7,"description":"The speed at which this entity turns while using this behavior."},"view_angle":{"title":"View Angle","type":"number","default":10,"description":"The target must be within \"view_angle\" degrees of the dragon's current rotation before a fireball can be shot."}}},"DCD":{"additionalProperties":false,"type":"object","title":"Dragontakeoff","description":"Allows an entity to leave perch mode and go back to flying around. Note: This behavior can only be used by the ender_dragon entity type.","properties":{"priority":{"$ref":"#/definitions/CJD"}}},"DCE":{"type":"object","title":"Drink Milk","description":"Allows the mob to drink milk based on specified environment conditions.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"cooldown_seconds":{"title":"Cooldown Seconds","type":"number","default":5.0,"description":"Time (in seconds) that the goal is on cooldown before it can be used again."},"filters":{"title":"Filters","$ref":"#/definitions/BD","description":"Conditions that need to be met for the behavior to start."}},"examples":[{"cooldown_seconds":5.0}]},"DCF":{"type":"object","title":"Drink Potion","description":"Allows the mob to drink potions based on specified environment conditions.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"speed_modifier":{"default":0.0,"description":"Movement speed modifier of the mob when using this AI Goal.","title":"Speed Modifier"},"potions":{"type":"array","description":"A list of potions that this entity can drink.","title":"Potions","items":{"required":["id","chance","filters"],"additionalProperties":false,"type":"object","description":"A potions that this entity can drink.","title":"Potions","properties":{"id":{"type":"integer","default":-1,"description":"The registry ID of the potion to use.","title":"Id"},"chance":{"type":"number","default":1.0,"minimum":0,"maximum":1,"description":"The percent chance (from 0.0 to 1.0) of this potion being selected when searching for a potion to use.","title":"Chance"},"filters":{"description":"The filters to use when determining if this potion can be selected.","$ref":"#/definitions/BD"}}}}},"examples":[{"potions":[]}]},"DCG":{"additionalProperties":false,"description":"Allows the entity to move toward a target, and drop an item near the target. This goal requires a \"minecraft:navigation\" to execute.","title":"Drop Item For","type":"object","properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"entity_types":{"description":"The list of conditions another entity must meet to be a valid target to drop an item for.","title":"Entity Types","$ref":"#/definitions/CJG"},"cooldown":{"title":"Cooldown","type":"number","default":0.2,"description":"Total time that the goal is on cooldown before it can be used again."},"drop_item_chance":{"title":"Drop Item Chance","type":"number","default":1.0,"description":"The percent chance the entity will drop an item when using this goal."},"goal_radius":{"title":"Goal Radius","type":"number","default":0.5,"description":"Distance in blocks within the entity considers it has reached it's target position."},"loot_table":{"title":"Loot Table","type":"string","description":"The loot table that contains the possible loot the entity can drop with this goal.","examples":["loot_tables/"]},"max_head_look_at_height":{"title":"Max Head Look At Height","type":"number","default":10.0,"description":"The maximum height the entities head will look at when dropping the item. The entity will always be looking at its target."},"minimum_teleport_distance":{"title":"Minimum Teleport Distance","type":"number","default":2.0,"description":"If the target position is farther away than this distance on any tick, the entity will teleport to the target position."},"offering_distance":{"title":"Offering Distance","type":"number","default":1.0,"description":"The preferred distance the entity tries to be from the target it is dropping an item for."},"on_drop_attempt":{"title":"On Drop Attempt","$ref":"#/definitions/BAI","description":"The event to trigger when the entity attempts to drop an item."},"search_count":{"title":"Search Count","type":"integer","default":0,"description":"The number of blocks each tick that the entity will check within its search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick."},"search_height":{"title":"Search Height","type":"integer","default":1,"description":"The Height in blocks the entity will search within to find a valid target position."},"search_range":{"title":"Search Range","type":"integer","default":0,"description":"The distance in blocks the entity will search within to find a valid target position."},"seconds_before_pickup":{"title":"Seconds Before Pickup","type":"number","default":0.0,"description":"The numbers of seconds that will pass before the dropped entity can be picked up from the ground."},"target_range":{"title":"Target Range","$ref":"#/definitions/CFA","default":[1,1,1],"description":"The range in blocks within which the entity searches to find a target to drop an item for."},"teleport_offset":{"title":"Teleport Offset","$ref":"#/definitions/CFA","default":[0,1,0],"description":"When the entity teleports, offset the teleport position by this many blocks in the X, Y, and Z coordinate."},"time_of_day_range":{"title":"Time Of Day Range","$ref":"#/definitions/BBB","default":[0,1],"description":"The valid times of day that this goal can be used. For reference: noon is 0.0, sunset is 0.25, midnight is 0.5, and sunrise is 0.75, and back to noon for 1.0."}},"examples":[{"cooldown":0.0,"drop_item_chance":0.0,"goal_radius":0.5,"loot_table":"example","max_dist":0,"minimum_teleport_distance":0.0,"max_head_look_at_height":0.0,"offering_distance":0.0,"seconds_before_pickup":0.0,"search_count":1,"search_height":1,"search_range":0,"target_range":[],"teleport_offset":[],"time_of_day_range":[]}]},"DCH":{"type":"object","title":"Eat Block","description":"Allows the entity to consume a block, replace the eaten block with another block, and trigger an event as a result.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"on_eat":{"title":"On Eat","$ref":"#/definitions/BAI","description":"The event to trigger when the block eating animation has completed."},"success_chance":{"title":"Succes Chance","$ref":"#/definitions/E","default":0.02,"description":"A molang expression defining the success chance the entity has to consume a block."},"time_until_eat":{"title":"Time Until Eat","type":"number","default":1.8,"description":"The amount of time (in seconds) it takes for the block to be eaten upon a successful eat attempt."},"eat_and_replace_block_pairs":{"title":"Eat And Replace Block Pairs","type":"array","description":"A collection of pairs of blocks; the first (\"eat_block\")is the block the entity should eat, the second (\"replace_block\") is the block that should replace the eaten block.","items":{"type":"object","title":"Eat And Replace Block Pair","description":"The block to eat and the block to replace it with.","$comment":"UNDOCUMENTED","properties":{"eat_block":{"type":"string","title":"Block","description":"The block to eat.","$comment":"UNDOCUMENTED","$ref":"#/definitions/BBG"},"replace_block":{"type":"string","title":"Replace Block","description":"The block to replace the eaten block with.","$comment":"UNDOCUMENTED","$ref":"#/definitions/BBG"}}}}},"examples":[{"time_until_eat":0.0,"eat_and_replace_block_pairs":[{"eat_block":"minecraft:grass","replace_block":"minecraft:dirt"}]}]},"DCI":{"type":"object","title":"Eat Carried Item","description":"If the mob is carrying a food item, the mob will eat it and the effects will be applied to the mob.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"delay_before_eating":{"type":"number","description":"Time in seconds the mob should wait before eating the item.","title":"Delay Before Eating"}},"examples":[{"delay_before_eating":0.0}]},"DCJ":{"type":"object","title":"Eat Mob","description":"[EXPERIMENTAL BEHAVIOR] Allows the entity to eat a specified Mob.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"eat_animation_time":{"title":"Eat Animation Time","type":"number","default":1000000,"description":"Sets the time in seconds the eat animation should play for."},"eat_mob_sound":{"title":"Eat Mob Sound","$ref":"#/definitions/BAB","default":"","description":"Sets the sound that should play when eating a mob."},"loot_table":{"title":"Loot Table","type":"string","default":"","description":"The loot table for loot to be dropped when eating a mob."},"pull_in_force":{"title":"Pull In Force","type":"number","default":1000000,"description":"Sets the force which the mob-to-be-eaten is pulled towards the eating mob."},"reach_mob_distance":{"title":"Reach Mob Distance","type":"number","default":1000000,"description":"Sets the desired distance to be reached before eating the mob."},"run_speed":{"title":"Run Speed","type":"number","default":1000000,"description":"Sets the entity's speed when running toward the target."}}},"DDA":{"type":"object","title":"Enderman Leave Block","additionalProperties":false,"description":"Allows the enderman to drop a block they are carrying. Can only be used by Endermen.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"DDB":{"type":"object","title":"Enderman Take Block","description":"Allows the enderman to take a block and carry it around. Can only be used by Endermen.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"DDC":{"type":"object","title":"Equip Item","description":"The entity puts on the desired equipment.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"DDD":{"type":"object","title":"Explore Outskirts","description":"Allows the entity to first travel to a random point on the outskirts of the village, and then explore random points within a small distance. This goal requires \"minecraft:dweller\" and \"minecraft:navigation\" to execute.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"dist_from_boundary":{"title":"Dist From Boundary","default":[5,0,5],"description":"The distance from the boundary the villager must be within in to explore the outskirts.","$ref":"#/definitions/CFA"},"explore_dist":{"title":"Explore Dist","type":"number","default":5.0,"description":"Total distance in blocks the the entity will explore beyond the village bounds when choosing its travel point."},"max_travel_time":{"title":"Max Travel Time","type":"number","default":60.0,"description":"This is the maximum amount of time an entity will attempt to reach it's travel point on the outskirts of the village before the goal exits."},"max_wait_time":{"title":"Max Wait Time","type":"number","default":0.0,"description":"The wait time in seconds between choosing new explore points will be chosen on a random interval between this value and the minimum wait time. This value is also the total amount of time the entity will explore random points before the goal stops."},"min_dist_from_target":{"title":"Min Dist From Target","type":"number","default":2.2,"description":"The entity must be within this distance for it to consider it has successfully reached its target."},"min_perimeter":{"title":"Min Perimeter","type":"number","default":1.0,"description":"The minimum perimeter of the village required to run this goal."},"min_wait_time":{"title":"Min Wait Time","type":"number","default":3.0,"description":"The wait time in seconds between choosing new explore points will be chosen on a random interval between this value and the maximum wait time."},"next_xz":{"title":"Next XZ","type":"integer","default":5,"description":"A new explore point will randomly be chosen within this XZ distance of the current target position when navigation has finished and the wait timer has elapsed."},"next_y":{"title":"Next Y","type":"integer","default":3,"description":"A new explore point will randomly be chosen within this Y distance of the current target position when navigation has finished and the wait timer has elapsed."},"timer_ratio":{"title":"Timer Ratio","type":"number","default":2.0,"description":"Each new explore point will be chosen on a random interval between the minimum and the maximum wait time, divided by this value. This does not apply to the first explore point chosen when the goal runs."}},"examples":[{"explore_dist":5,"wait_time":0,"next_xz":0,"next_y":0,"min_wait_time":0.0,"max_wait_time":0.0,"max_travel_time":0.0,"min_perimeter":0.0,"min_dist_from_target":0.0,"timer_ratio":0.0,"dist_from_boundary":[]}]},"DDE":{"type":"object","title":"Fertilize Farm Block","description":"Allows the mob to search within an area for a growable crop block. If found, the mob will use any available fertilizer in their inventory on the crop. This goal will not execute if the mob does not have a fertilizer item in its inventory.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"goal_radius":{"title":"Goal Radius","type":"number","default":1.5,"description":"Distance in blocks within the mob considers it has reached it's target position."},"max_fertilizer_usage":{"title":"Maximum Fertilizer Usage","type":"integer","default":1,"description":"The maximum number of times the mob will use fertilzer on the target block."},"search_cooldown_max_seconds":{"title":"Search Cooldown Maximum Seconds","type":"number","default":8.0,"description":"The maximum amount of time in seconds that the goal can take before searching again. The time is chosen between 0 and this number."},"search_count":{"title":"Search Count","type":"integer","default":9,"description":"The number of randomly selected blocks each tick that the mob will check within its search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick."},"search_height":{"title":"Search Height","type":"integer","default":1,"description":"The Height in blocks the mob will search within to find a valid target position."},"search_range":{"title":"Search Range","type":"integer","default":1,"description":"The distance in blocks the mob will search within to find a valid target position."}},"examples":[{"cooldown_time":0}]},"DDF":{"type":"object","title":"Find Cover","description":"Allows the mob to seek shade.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"cooldown_time":{"type":"number","default":0,"description":"Time in seconds the mob has to wait before using the goal again.","title":"Cooldown Time"}},"examples":[{"cooldown_time":0}]},"DDG":{"additionalProperties":false,"description":"Allows the mob to look around for another mob to ride atop it.","title":"Find Mount","type":"object","properties":{"priority":{"$ref":"#/definitions/CJD"},"avoid_water":{"title":"Avoid Water","type":"boolean","default":false,"description":"If true, the mob will not go into water blocks when going towards a mount."},"mount_distance":{"type":"number","title":"Mount Distance","default":-1,"description":"This is the distance the mob needs to be, in blocks, from the desired mount to mount it. If the value is below 0, the mob will use its default attack distance"},"start_delay":{"title":"Start Delay","type":"integer","default":0,"description":"Time the mob will wait before starting to move towards the mount."},"target_needed":{"title":"Target Needed","type":"boolean","default":false,"description":"If true, the mob will only look for a mount if it has a target."},"within_radius":{"title":"Within Radius","type":"number","default":0,"description":"Distance in blocks within which the mob will look for a mount."},"max_failed_attempts":{"title":"Maximum Failed Attempts","type":"integer","description":"The number of failed attempts to make before this goal is no longer used.","$comment":"UNDOCUMENTED"}},"examples":[{"avoid_water":false,"mount_distance":-1,"start_delay":0,"target_needed":false,"within_radius":0,"max_failed_attempts":0}]},"DDH":{"type":"object","title":"Find Underwater Treasure","description":"Allows the mob to move towards the nearest underwater ruin or shipwreck.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"search_range":{"type":"integer","default":0,"description":"The range that the mob will search for a treasure chest within a ruin or shipwreck to move towards.","title":"Search Range"},"stop_distance":{"type":"number","default":2.0,"description":"The distance the mob will move before stopping.","title":"Stop Distance"}},"examples":[{"search_range":0,"stop_distance":2.0}]},"DDI":{"type":"object","title":"Flee Sun","description":"Allows the mob to run away from direct sunlight and seek shade.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"}}},"DDJ":{"type":"object","title":"Float Wander","description":"Allows the mob to float around like the Ghast.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"xz_dist":{"type":"integer","default":10,"description":"Distance in blocks on ground that the mob will look for a new spot to move to. Must be at least 1","title":"Xz Dist"},"y_dist":{"type":"integer","default":7,"description":"Distance in blocks that the mob will look up or down for a new spot to move to. Must be at least 1","title":"Y Dist"},"y_offset":{"type":"number","default":0.0,"description":"Height in blocks to add to the selected target position.","title":"Y Offset"},"must_reach":{"type":"boolean","default":false,"description":"If true, the point has to be reachable to be a valid target.","title":"Must Reach"},"random_reselect":{"type":"boolean","default":false,"description":"If true, the mob will randomly pick a new point while moving to the previously selected one.","title":"Random Reselect"},"float_duration":{"$ref":"#/definitions/BBB","default":[0.0,0.0],"description":"Range of time in seconds the mob will float around before landing and choosing to do something else.","title":"Float Duration"}},"examples":[{"xz_dist":10,"y_dist":7,"y_offset":0.0,"must_reach":false,"random_reselect":false}]},"DEA":{"type":"object","title":"Float","description":"Allows the mob to stay afloat while swimming.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"DEB":{"type":"object","title":"Follow Caravan","description":"Allows the mob to follow mobs that are in a caravan.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"entity_types":{"$ref":"#/definitions/CJG","description":"List of entity types that this mob can follow in a caravan.","title":"Entity Types"},"entity_count":{"type":"integer","description":"Number of entities that can be in the caravan.","default":1,"title":"Entity Count"}},"examples":[{"entity_count":1}]},"DEC":{"type":"object","title":"Follow Mob","description":"Allows the mob to follow other mobs.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"search_range":{"type":"integer","default":0,"description":"The distance in blocks it will look for a mob to follow.","title":"Search Range"},"stop_distance":{"type":"number","default":2,"description":"The distance in blocks this mob stops from the mob it is following.","title":"Stop Distance"}},"examples":[{"search_range":0,"stop_distance":2}]},"DED":{"type":"object","title":"Follow Owner","description":"Allows the mob to follow the player that owns them.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"can_teleport":{"title":"Can Teleport","type":"boolean","default":true,"description":"Specify if the mob can teleport to the player if it is too far away."},"ignore_vibration":{"title":"Ignore Vibration","type":"boolean","default":true,"description":"Specify if the mob will follow the owner if it has heard a vibration lately."},"max_distance":{"title":"Max Distance","type":"number","default":60.0,"description":"The maximum distance in blocks this mob can be from its owner to start following, only used when canTeleport is false."},"start_distance":{"title":"Start Distance","type":"number","default":10.0,"description":"The distance in blocks that the owner can be away from this mob before it starts following it."},"stop_distance":{"title":"Stop Distance","type":"number","default":2.0,"description":"The distance in blocks this mob will stop from its owner while following it."}},"examples":[{"start_distance":10,"stop_distance":2}]},"DEE":{"type":"object","title":"Follow Parent","description":"Allows the mob to follow their parent around.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"}}},"DEF":{"type":"object","title":"Follow Target Captain","description":"Allows mob to move towards its current target captain.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"follow_distance":{"type":"number","default":0,"description":"Defines the distance in blocks the mob will stay from its target while following.","title":"Follow Distance"},"within_radius":{"type":"number","default":0,"description":"Defines the maximum distance in blocks a mob can get from its target captain before giving up trying to follow it.","title":"Within Radius"}},"examples":[{"follow_distance":0,"within_radius":0}]},"DEG":{"type":"object","title":"Go And Give Items To Noteblock","description":"[EXPERIMENTAL BEHAVIOR] The entity will attempt to toss the items from its inventory to a nearby recently played noteblock.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"listen_time":{"title":"Listen Time","type":"integer","default":0.0,"description":"Sets the time an entity should continue delivering items to a noteblock after hearing it."},"on_item_throw":{"title":"On Item Throw","description":"Event(s) to run when this mob throws items.","oneOf":[{"$ref":"#/definitions/BAI"},{"type":"array","items":{"$ref":"#/definitions/BAI"}}]},"reach_block_distance":{"title":"Reach Block Distance","type":"number","default":3.0,"description":"Sets the desired distance to be reached before throwing the items towards the block."},"run_speed":{"title":"Run Speed","type":"number","default":1.0,"description":"Sets the entity's speed when running toward the block."},"throw_force":{"title":"Throw Force","type":"number","default":0.2,"description":"Sets the throw force."},"throw_sound":{"title":"Throw Sound","$ref":"#/definitions/BAB","default":"","description":"Sound to play when this mob throws an item."},"vertical_throw_mul":{"title":"Vertical Throw Mul","type":"number","default":1.5,"description":"Sets the vertical throw multiplier that is applied on top of the throw force in the vertical direction."}}},"DEH":{"type":"object","title":"Go And Give Items To Owner","description":"[EXPERIMENTAL BEHAVIOR] The entity will attempt to toss the items from its inventory to its owner.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"on_item_throw":{"title":"On Item Throw","description":"Event(s) to run when this mob throws items.","oneOf":[{"$ref":"#/definitions/BAI"},{"type":"array","items":{"$ref":"#/definitions/BAI"}}]},"reach_mob_distance":{"title":"Reach Mob Distance","type":"number","default":3.0,"description":"Sets the desired distance to be reached before giving items to owner."},"run_speed":{"title":"Run Speed","type":"number","default":1.0,"description":"Sets the entity's speed when running toward the owner."},"throw_force":{"title":"Throw Force","type":"number","default":0.2,"description":"Sets the throw force."},"throw_sound":{"title":"Throw Sound","$ref":"#/definitions/BAB","default":"item_thrown","description":"Sound to play when this mob throws an item."},"vertical_throw_mul":{"title":"Vertical Throw Mul","type":"number","default":1.5,"description":"Sets the vertical throw multiplier that is applied on top of the throw force in the vertical direction."}}},"DEI":{"additionalProperties":false,"description":"Allows the mob to move back to the position they were spawned.","title":"Go Home","type":"object","properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"goal_radius":{"type":"number","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot","title":"Goal Radius"},"interval":{"type":"integer","default":120,"description":"A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal","title":"Interval"},"on_home":{"description":"Event(s) to run when this mob gets home.","title":"On Home","type":"array","items":{"$ref":"#/definitions/BAI"}},"on_failed":{"title":"On Failed","description":"Event(s) to run when this goal fails.","type":"array","items":{"$ref":"#/definitions/CFB"}},"calculate_new_path_radius":{"title":"Calculate New Path Radius","type":"number","default":2.0,"description":"Distance in blocks that the mob is considered close enough to the end of the current path. A new path will then be calculated to continue toward home."}},"examples":[{"goal_radius":0.5,"interval":120}]},"DEJ":{"type":"object","title":"Guardian Attack","description":"Allows this entity to use a laser beam attack. Can only be used by Guardians and Elder Guardians.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"elder_extra_magic_damage":{"title":"Elder Extra Magic Damage","type":"integer","default":2,"description":"Amount of additional damage dealt from an elder guardian's magic attack."},"hard_mode_extra_magic_damage":{"title":"Hard Mode Extra Magic Damage","type":"integer","default":2,"description":"In hard difficulty, amount of additional damage dealt from a guardian's magic attack."},"magic_damage":{"title":"Magic Damage","type":"integer","default":1,"description":"Amount of damage dealt from a guardian's magic attack. Magic attack damage is added to the guardian's base attack damage."},"min_distance":{"title":"Min Distance","type":"number","default":3,"description":"Guardian attack behavior stops if the target is closer than this distance (doesn't apply to elders)."},"sound_delay_time":{"title":"Sound Delay Time","type":"number","default":0.5,"description":"Time (in seconds) to wait after starting an attack before playing the guardian attack sound."},"x_max_rotation":{"title":"X Max Rotation","type":"number","default":90,"description":"Maximum rotation (in degrees), on the X-axis, this entity can rotate while trying to look at the target."},"y_max_head_rotation":{"title":"Y Max Head Rotation","type":"number","default":90,"description":"Maximum rotation (in degrees), on the Y-axis, this entity can rotate its head while trying to look at the target."}}},"DFA":{"type":"object","title":"Harvest Farm Block","description":"Allows the entity to search within an area for farmland with air above it. If found, the entity will replace the air block by planting a seed item from its inventory on the farmland block. This goal requires \"minecraft:inventory\" and \"minecraft:navigation\" to execute. This goal will not execute if the entity does not have an item in its inventory.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"max_seconds_before_search":{"title":"Maximum Seconds Before Search","type":"number","default":1.0,"description":"The maximum amount of time in seconds that the goal can take before searching for the first harvest block. The time is chosen between 0 and this number."},"search_cooldown_max_seconds":{"title":"Search Cooldown Maximum Seconds","type":"number","default":8.0,"description":"The maximum amount of time in seconds that the goal can take before searching again, after failing to find a a harvest block already. The time is chosen between 0 and this number."},"search_count":{"title":"Search Count","type":"integer","default":0,"description":"The number of randomly selected blocks each tick that the entity will check within its search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick."},"search_height":{"title":"Search Height","type":"integer","default":1,"description":"The height in blocks the entity will search within to find a valid target position."},"search_range":{"title":"Search Range","type":"integer","default":16,"description":"The distance in blocks the entity will search within to find a valid target position."},"seconds_until_new_task":{"title":"Seconds Until New Task","type":"number","default":0.5,"description":"The amount of time in seconds that the goal will cooldown after a successful reap/sow, before it can start again."}},"examples":[{"max_seconds_before_search":0.0,"search_cooldown_max_seconds":0.0,"seconds_until_new_task":0.0}]},"DFB":{"type":"object","title":"Hide","additionalProperties":false,"description":"Allows a mob with the hide component to attempt to move to - and hide at - an owned or nearby POI.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"duration":{"type":"number","default":1,"description":"Amount of time in seconds that the mob reacts.","title":"Duration"},"poi_type":{"type":"string","default":"","description":"Defines what POI type to hide at.","title":"Point Of Interest Type","examples":["bed"]},"timeout_cooldown":{"type":"number","default":8,"description":"The cooldown time in seconds before the goal can be reused after a internal failure or timeout condition.","title":"Timeout Cooldown"}},"examples":[{"duration":1,"poi_type":"","timeout_cooldown":8}]},"DFC":{"type":"object","title":"Hold Ground","description":"The mob freezes and looks at the mob they are targeting.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"broadcast":{"type":"boolean","default":false,"description":"Whether to broadcast out the mob's target to other mobs of the same type.","title":"Broadcast"},"broadcast_range":{"type":"number","default":0.0,"description":"Range in blocks for how far to broadcast.","title":"Broadcast Range"},"min_radius":{"type":"number","default":10.0,"description":"Minimum distance the target must be for the mob to run this goal.","title":"Minimum Radius"},"within_radius_event":{"$ref":"#/definitions/CFB","description":"Event to run when target is within the radius. This event is broadcasted if broadcast is true.","title":"Within Radius Event"}},"examples":[{"broadcast":false,"broadcast_range":0.0,"min_radius":10.0}]},"DFD":{"type":"object","title":"Hurt By Target","additionalProperties":false,"description":"Allows the mob to target another mob that hurts them.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"entity_types":{"$ref":"#/definitions/CJG","description":"List of entity types that this mob can target if they hurt their owner.","title":"Entity Types"},"alert_same_type":{"type":"boolean","default":false,"description":"If true, nearby mobs of the same type will be alerted about the damage.","title":"Alert Same Type"},"hurt_owner":{"type":"boolean","default":false,"description":"If true, the mob will hurt its owner and other mobs with the same owner as itself.","title":"Hurt Owner"}},"examples":[{"alert_same_type":false,"hurt_owner":false}]},"DFE":{"type":"object","title":"Inspect Bookshelf","additionalProperties":false,"description":"Allows the mob to inspect bookshelves.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"goal_radius":{"type":"number","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot","title":"Goal Radius"},"search_count":{"type":"integer","default":10,"description":"The number of blocks each tick that the mob will check within it's search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick","title":"Search Count"},"search_height":{"type":"integer","default":1,"description":"The height that the mob will search for bookshelves.","title":"Search Height"},"search_range":{"type":"integer","default":0,"description":"Distance in blocks the mob will look for books to inspect.","title":"Search Range"}},"examples":[{"goal_radius":0.5,"search_count":10,"search_height":1,"search_range":0}]},"DFF":{"type":"object","title":"Inspect Bookshelf","additionalProperties":false,"description":"Allows the mob to inspect bookshelves.","required":[],"properties":{"goal_radius":{"title":"Goal Radius","type":"number","default":1.5,"description":"Distance in blocks within the entity considers it has reached its target position."},"priority":{"title":"Priority","type":"integer","description":"The higher the priority, the sooner this behavior will be executed as a goal."},"speed_multiplier":{"title":"Speed Multiplier","type":"number","default":1,"description":"Movement speed multiplier."}}},"DFG":{"type":"object","title":"Jump To Block","description":"Allows an entity to jump to another random block.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"cooldown_range":{"title":"Cooldown Range","$ref":"#/definitions/BCF","default":[10,20],"description":"Minimum and maximum cooldown time-range (positive, in seconds) between each attempted jump."},"forbidden_blocks":{"title":"Forbidden Blocks","type":"array","description":"Blocks that the mob can't jump to.","items":{"$ref":"#/definitions/J"}},"max_velocity":{"title":"Max Velocity","type":"number","default":1.5,"description":"The maximum velocity with which the mob can jump."},"minimum_distance":{"title":"Minimum Distance","type":"integer","default":2,"description":"The minimum distance (in blocks) from the mob to a block, in order to consider jumping to it."},"minimum_path_length":{"title":"Minimum Path Length","type":"integer","default":5,"description":"The minimum length (in blocks) of the mobs path to a block, in order to consider jumping to it."},"preferred_blocks":{"title":"Preferred Blocks","type":"array","description":"Blocks that the mob prefers jumping to.","items":{"$ref":"#/definitions/J"}},"preferred_blocks_chance":{"title":"Preferred Blocks Chance","type":"number","default":1.0,"description":"Chance (between 0.0 and 1.0) that the mob will jump to a preferred block, if in range. Only matters if preferred blocks are defined."},"scale_factor":{"title":"Scale Factor","type":"number","default":0.7,"description":"The scalefactor of the bounding box of the mob while it is jumping."},"search_height":{"title":"Search Height","type":"integer","default":10,"description":"The height (in blocks, in range [2, 15]) of the search box, centered around the mob."},"search_width":{"title":"Search Width","type":"integer","default":8,"description":"The width (in blocks, in range [2, 15]) of the search box, centered around the mob."}},"examples":[{"search_width":8,"search_height":10,"minimum_path_length":5,"minimum_distance":5,"scale_factor":0.7,"cooldown_range":[]}]},"DFH":{"description":"Allows the mob to perform a damaging knockback that affects all nearby entities.","type":"object","title":"Knockback Roar","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"attack_time":{"title":"Attack Time","type":"number","default":0.5,"description":"The delay after which the knockback occurs (in seconds)."},"cooldown_time":{"title":"Cooldown Time","type":"number","default":0,"description":"Time in seconds the mob has to wait before using the goal again."},"damage_filters":{"$ref":"#/definitions/BD","description":"The list of conditions another entity must meet to be a valid target to apply damage to.","title":"Damage Filters"},"duration":{"type":"number","default":1,"description":"The duration of the roar (in seconds).","title":"Duration"},"knockback_damage":{"type":"integer","default":6,"description":"The damage dealt by the knockback roar.","title":"Knockback Damage"},"knockback_strength":{"type":"integer","default":4,"description":"The strength of the knockback.","title":"Knockback Strength"},"knockback_filters":{"$ref":"#/definitions/BD","description":"The list of conditions another entity must meet to be a valid target to apply knockback to.","title":"Knockback Filters"},"knockback_horizontal_strength":{"type":"integer","default":4,"description":"The strength of the horizontal knockback.","title":"Knockback Horizontal Strength"},"knockback_range":{"type":"integer","default":4,"description":"The radius (in blocks) of the knockback effect.","title":"Knockback Range"},"knockback_vertical_strength":{"type":"integer","default":4,"description":"The strength of the vertical knockback.","title":"Knockback Vertical Strength"},"knockback_height_cap":{"title":"Knockback Height Cap","type":"number","default":0.4,"description":"The maximum height for vertical knockback."},"track_target":{"type":"boolean","default":false,"description":"If true, this mob will chase after the target as long as it's a valid target.","title":"Track Target"},"on_roar_end":{"$ref":"#/definitions/CFB","description":"Event that is triggered when the roar ends.","title":"On Roar End"}},"examples":[{"attack_time":0.5,"cooldown_time":0,"duration":1,"knockback_damage":6,"knockback_horizontal_strength":4,"knockback_range":4,"knockback_vertical_strength":4,"track_target":false,"knockback_strength":4}]},"DFI":{"description":"Allows mobs to lay down at times.","type":"object","title":"Lay Down","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"interval":{"type":"integer","default":120,"description":"A random value to determine at what intervals something can occur. This has a 1/interval chance to choose this goal","title":"Interval"},"random_stop_interval":{"type":"integer","default":120,"description":"A random value in which the goal can use to pull out of the behavior. This is a 1/interval chance to play the sound","title":"Random Stop Interval"}},"examples":[{"interval":120,"random_stop_interval":120}]},"DFJ":{"description":"Allows the mob to lay an egg block on a sand block if the mob is pregnant.","type":"object","title":"Lay Egg","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"allow_laying_from_below":{"title":"Allow Laying From Below","type":"boolean","default":false,"description":"[EXPERIMENTAL] Allows the mob to lay its eggs from below the target if it can't get there. This is useful if the target block is water with air above, since mobs may not be able to get to the air block above water."},"egg_type":{"title":"Egg Type","$ref":"#/definitions/J","default":"minecraft:turtle_egg","description":"[EXPERIMENTAL] Block type for the egg to lay. If this is a turtle egg, the number of eggs in the block is randomly set."},"goal_radius":{"title":"Goal Radius","type":"number","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the \"wiggle room\" to stop the AI from bouncing back and forth trying to reach a specific spot"},"lay_egg_sound":{"title":"Lay Egg Sound","$ref":"#/definitions/BAB","default":"lay_egg","description":"[EXPERIMENTAL] Sound event name for laying egg. Defaulted to lay_egg which is used for Turtles."},"lay_seconds":{"title":"Lay Seconds","type":"number","default":10.0,"description":"[EXPERIMENTAL] Duration of the laying egg process in seconds."},"on_lay":{"title":"On Lay","$ref":"#/definitions/BAI","description":"Event to run when this mob lays the egg."},"search_height":{"title":"Search Height","type":"integer","default":1,"description":"Height in blocks the mob will look for a target block to move towards."},"search_range":{"title":"Search Range","type":"integer","default":0,"description":"The distance in blocks it will look for a target block to move towards."},"target_blocks":{"title":"Target Blocks","type":"array","default":["minecraft:sand"],"items":{"title":"Block ID","$ref":"#/definitions/J"},"description":"[EXPERIMENTAL] Blocks that the mob can lay its eggs on top of."},"target_materials_above_block":{"title":"Target Materials Above Block","type":"array","default":["Air"],"enum":["Air","Any","Lava","Water"],"description":"[EXPERIMENTAL] Types of materials that can exist above the target block. Valid types are Air, Water, and Lava."},"use_default_animation":{"title":"Use Default Animation","type":"boolean","default":true,"description":"[EXPERIMENTAL] Specifies if the default lay-egg animation should be played when the egg is placed or not."}},"examples":[{"goal_radius":0.5,"search_height":1,"search_range":0}]},"DGA":{"description":"Allows monsters to jump at and attack their target. Can only be used by hostile mobs.","type":"object","title":"Leap At Target","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"must_be_on_ground":{"type":"boolean","default":true,"description":"If true, the mob will only jump at its target if its on the ground. Setting it to false will allow it to jump even if its already in the air","title":"Must Be On Ground"},"set_persistent":{"type":"boolean","default":false,"description":"Allows the actor to be set to persist upon targeting a player.","title":"Set Persistent"},"yd":{"type":"number","default":0.0,"description":"The height in blocks the mob jumps when leaping at its target.","title":"Yd"},"target_dist":{"type":"number","default":0.3,"description":"Distance in blocks the mob jumps when leaping at its target.","title":"Target Dist"}},"examples":[{"must_be_on_ground":true,"set_persistent":false,"yd":0,"target_dist":0}]},"DGB":{"description":"Allows the mob to look at nearby entities.","type":"object","title":"Look At Entity","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"look_distance":{"type":"number","default":8.0,"description":"The distance in blocks from which the entity will look at.","title":"Look Distance"},"probability":{"type":"number","default":0.02,"description":"The probability of looking at the target. A value of 1.00 is 100%","title":"Probability"},"look_time":{"$ref":"#/definitions/BBB","default":[2,4],"description":"Time range to look at the entity.","title":"Look Time"},"angle_of_view_vertical":{"type":"integer","default":360,"description":"The angle in degrees that the mob can see in the X-axis (left-right).","title":"Angle Of View Vertical"},"angle_of_view_horizontal":{"type":"integer","default":360,"description":"The angle in degrees that the mob can see in the Y-axis (up-down).","title":"Angle Of View Horizontal"},"filters":{"description":"Filter to determine the conditions for this mob to look at the entity.","$ref":"#/definitions/BD"}},"examples":[{"look_distance":8.0,"probability":0.02,"angle_of_view_vertical":360,"angle_of_view_horizontal":360}]},"DGC":{"type":"object","title":"Look At Player","description":"Allows the mob to look at the player when the player is nearby.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"angle_of_view_vertical":{"title":"Angle Of View Vertical","type":"integer","default":360,"description":"The angle in degrees that the mob can see in the X-axis (left-right)."},"angle_of_view_horizontal":{"title":"Angle Of View Horizontal","type":"integer","default":360,"description":"The angle in degrees that the mob can see in the Y-axis (up-down)."},"look_distance":{"title":"Look Distance","type":"number","default":8.0,"description":"The distance in blocks from which the entity will look at."},"probability":{"title":"Probability","type":"number","default":0.02,"minimum":0,"description":"The probability of looking at the target. A value of 1.00 is 100%"},"look_time":{"title":"Look Time","type":"array","default":[2,4],"description":"Time range to look at the entity.","items":[{"type":"number","title":"Minimum","description":"The minimum amount of time to look."},{"type":"number","title":"Maximum","description":"The maximum amount of time to look."}]},"target_distance":{"title":"Target Distance","type":"number","default":6.0,"description":"The distance in blocks from which the entity will choose a target."}},"examples":[{"angle_of_view_vertical":360,"angle_of_view_horizontal":360,"look_distance":8.0,"probability":0.02,"look_time":[],"target_distance":6.0}]},"DGD":{"type":"object","title":"Look At Target","description":"Allows the mob to look at the entity they are targetting.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"look_distance":{"type":"number","default":8.0,"description":"The distance in blocks from which the entity will look at.","title":"Look Distance"},"probability":{"type":"number","default":0.02,"description":"The probability of looking at the target. A value of 1.00 is 100%","title":"Probability"},"look_time":{"$ref":"#/definitions/BBB","default":[2,4],"description":"Time range to look at the entity.","title":"Look Time"},"angle_of_view_vertical":{"type":"integer","default":360,"description":"The angle in degrees that the mob can see in the X-axis (left-right).","title":"Angle Of View Vertical"},"angle_of_view_horizontal":{"type":"integer","default":360,"description":"The angle in degrees that the mob can see in the Y-axis (up-down).","title":"Angle Of View Horizontal"}},"examples":[{"look_distance":8.0,"probability":0.02,"angle_of_view_vertical":360,"angle_of_view_horizontal":360}]},"DGE":{"type":"object","title":"Look At Trading Player","additionalProperties":false,"description":"Allows the mob to look at the player they are trading with.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"look_distance":{"type":"number","default":8.0,"description":"The distance in blocks from which the entity will look at.","title":"Look Distance"},"probability":{"type":"number","default":0.02,"description":"The probability of looking at the target. A value of 1.00 is 100%","title":"Probability"},"look_time":{"$ref":"#/definitions/BBB","default":[2,4],"description":"Time range to look at the entity.","title":"Look Time"},"angle_of_view_vertical":{"type":"integer","default":360,"description":"The angle in degrees that the mob can see in the X-axis (left-right).","title":"Angle Of View Vertical"},"angle_of_view_horizontal":{"type":"integer","default":360,"description":"The angle in degrees that the mob can see in the Y-axis (up-down).","title":"Angle Of View Horizontal"}},"examples":[{"look_distance":8.0,"probability":0.02,"angle_of_view_vertical":360,"angle_of_view_horizontal":360}]},"DGF":{"description":"Allows the villager to look for a mate to spawn other villagers with. Can only be used by Villagers.","type":"object","title":"Make Love","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"DGG":{"type":"object","title":"Melee Attack","description":"Allows the mob to use close combat melee attacks.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"attack_once":{"title":"Attack Once","type":"boolean","default":false,"description":"Allows the entity to use this attack behavior, only once EVER."},"attack_types":{"title":"Attack Types","type":"string","default":"N/A","description":"Defines the entity types this entity will attack."},"can_spread_on_fire":{"title":"Can Spread On Fire","type":"boolean","default":false,"description":"If the entity is on fire, this allows the entity's target to catch on fire after being hi"},"cooldown_time":{"title":"Cooldown Time","type":"number","default":1,"description":"Cooldown time (in seconds) between attacks."},"inner_boundary_time_increase":{"title":"Inner Boundary Time Increase","type":"number","default":0.25,"description":"Time (in seconds) to add to attack path recalculation when the target is beyond the \"path_inner_boundary\"."},"max_dist":{"title":"Max Dist","type":"number","description":"Unused. No effect on \"minecraft:behavior.melee_attack\"."},"max_path_time":{"title":"Max Path Time","type":"number","default":0.55,"description":"Maximum base time (in seconds) to recalculate new attack path to target (before increases applied)."},"melee_fov":{"title":"Melee Fov","type":"number","default":90,"description":"Field of view (in degrees) when using the sensing component to detect an attack target."},"min_path_time":{"title":"Min Path Time","type":"number","default":0.2,"description":"Minimum base time (in seconds) to recalculate new attack path to target (before increases applied)."},"on_attack":{"title":"On Attack","$ref":"#/definitions/BAI","description":"Defines the event to trigger when this entity successfully attacks."},"on_kill":{"title":"On Kill","$ref":"#/definitions/BAI","description":"Defines the event to trigger when this entity successfully kills."},"outer_boundary_time_increase":{"title":"Outer Boundary Time Increase","type":"number","default":0.5,"description":"Time (in seconds) to add to attack path recalculation when the target is beyond the \"path_outer_boundary\"."},"path_fail_time_increase":{"title":"Path Fail Time Increase","type":"number","default":0.75,"description":"Time (in seconds) to add to attack path recalculation when this entity cannot move along the current path."},"path_inner_boundary":{"title":"Path Inner Boundary","type":"number","default":16,"description":"Distance at which to increase attack path recalculation by \"inner_boundary_tick_increase\"."},"path_outer_boundary":{"title":"Path Outer Boundary","type":"number","default":32,"description":"Distance at which to increase attack path recalculation by \"outer_boundary_tick_increase\"."},"random_stop_interval":{"title":"Random Stop Interval","type":"integer","default":0,"description":"This entity will have a 1 in N chance to stop it's current attack, where N = \"random_stop_interval\"."},"reach_multiplier":{"title":"Reach Multiplier","type":"number","default":2,"description":"Used with the base size of the entity to determine minimum target-distance before trying to deal attack damage."},"require_complete_path":{"title":"Require Complete Path","type":"boolean","default":false,"description":"Toggles (on/off) the need to have a full path from the entity to the target when using this melee attack behavior."},"set_persistent":{"title":"Set Persistent","type":"boolean","default":false,"description":"Allows the actor to be set to persist upon targeting a player."},"target_dist":{"title":"Target Dist","type":"number","description":"Unused. No effect on \"minecraft:behavior.melee_attack\"."},"track_target":{"title":"Track Target","type":"boolean","default":false,"description":"Allows the entity to track the attack target, even if the entity has no sensing."},"x_max_rotation":{"title":"X Max Rotation","type":"number","default":30,"description":"Maximum rotation (in degrees), on the X-axis, this entity can rotate while trying to look at the target."},"y_max_head_rotation":{"title":"Y Max Head Rotation","type":"number","default":30,"description":"Maximum rotation (in degrees), on the Y-axis, this entity can rotate its head while trying to look at the target."}},"examples":[{"melee_fov":90.0,"track_target":false,"attack_types":"example","random_stop_interval":0,"reach_multiplier":2.0,"attack_once":false,"require_complete_path":false,"cooldown_time":0.0}]},"DGH":{"type":"object","title":"Melee Box Attack","description":"Permits an entity to deal damage through a melee attack with reach calculations based on bounding boxes.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"attack_once":{"title":"Attack Once","type":"boolean","default":false,"description":"Allows the entity to use this attack behavior, only once EVER."},"attack_types":{"title":"Attack Types","type":"string","default":"N/A","description":"Defines the entity types this entity will attack."},"can_spread_on_fire":{"title":"Can Spread On Fire","type":"boolean","default":false,"description":"If the entity is on fire, this allows the entity's target to catch on fire after being hi"},"cooldown_time":{"title":"Cooldown Time","type":"number","default":1,"description":"Cooldown time (in seconds) between attacks."},"horizontal_reach":{"title":"Horizontal Reach","type":"number","default":0.8,"description":"The attack reach of the entity will be a box with the size of the entity's bounds increased by this value in all horizontal directions."},"inner_boundary_time_increase":{"title":"Inner Boundary Time Increase","type":"number","default":0.25,"description":"Time (in seconds) to add to attack path recalculation when the target is beyond the \"path_inner_boundary\"."},"max_dist":{"title":"Max Dist","type":"number","description":"Unused. No effect on \"minecraft:behavior.melee_attack\"."},"max_path_time":{"title":"Max Path Time","type":"number","default":0.55,"description":"Maximum base time (in seconds) to recalculate new attack path to target (before increases applied)."},"melee_fov":{"title":"Melee Fov","type":"number","default":90,"description":"Field of view (in degrees) when using the sensing component to detect an attack target."},"min_path_time":{"title":"Min Path Time","type":"number","default":0.2,"description":"Minimum base time (in seconds) to recalculate new attack path to target (before increases applied)."},"on_attack":{"title":"On Attack","$ref":"#/definitions/BAI","description":"Defines the event to trigger when this entity successfully attacks."},"outer_boundary_time_increase":{"title":"Outer Boundary Time Increase","type":"number","default":0.5,"description":"Time (in seconds) to add to attack path recalculation when the target is beyond the \"path_outer_boundary\"."},"path_fail_time_increase":{"title":"Path Fail Time Increase","type":"number","default":0.75,"description":"Time (in seconds) to add to attack path recalculation when this entity cannot move along the current path."},"path_inner_boundary":{"title":"Path Inner Boundary","type":"number","default":16,"description":"Distance at which to increase attack path recalculation by \"inner_boundary_tick_increase\"."},"path_outer_boundary":{"title":"Path Outer Boundary","type":"number","default":32,"description":"Distance at which to increase attack path recalculation by \"outer_boundary_tick_increase\"."},"random_stop_interval":{"title":"Random Stop Interval","type":"integer","default":0,"description":"This entity will have a 1 in N chance to stop it's current attack, where N = \"random_stop_interval\"."},"reach_multiplier":{"title":"Reach Multiplier","type":"number","default":2,"description":"Used with the base size of the entity to determine minimum target-distance before trying to deal attack damage."},"require_complete_path":{"title":"Require Complete Path","type":"boolean","default":false,"description":"Toggles (on/off) the need to have a full path from the entity to the target when using this melee attack behavior."},"set_persistent":{"title":"Set Persistent","type":"boolean","default":false,"description":"Allows the actor to be set to persist upon targeting a player."},"target_dist":{"title":"Target Dist","type":"number","description":"Unused. No effect on \"minecraft:behavior.melee_attack\"."},"track_target":{"title":"Track Target","type":"boolean","default":false,"description":"Allows the entity to track the attack target, even if the entity has no sensing."},"x_max_rotation":{"title":"X Max Rotation","type":"number","default":30,"description":"Maximum rotation (in degrees), on the X-axis, this entity can rotate while trying to look at the target."},"y_max_head_rotation":{"title":"Y Max Head Rotation","type":"number","default":30,"description":"Maximum rotation (in degrees), on the Y-axis, this entity can rotate its head while trying to look at the target."}},"examples":[{"melee_fov":90.0,"track_target":false,"attack_types":"example","random_stop_interval":0,"reach_multiplier":2.0,"attack_once":false,"require_complete_path":false,"cooldown_time":0.0}]},"DGI":{"description":"Allows an entity to go to the village bell and mingle with other entities.","type":"object","title":"Mingle","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"cooldown_time":{"type":"number","default":0,"description":"Time in seconds the mob has to wait before using the goal again.","title":"Cooldown Time"},"duration":{"type":"number","default":1,"description":"Amount of time in seconds that the entity will chat with another entity.","title":"Duration"},"mingle_distance":{"type":"number","default":2.0,"description":"The distance from its partner that this entity will mingle. If the entity type is not the same as the entity, this value needs to be identical on both entities.","title":"Mingle Distance"},"mingle_partner_type":{"description":"The entity type that this entity is allowed to mingle with.","title":"Mingle Partner Type","oneOf":[{"type":"array","items":{"description":"The entity type that this entity is allowed to mingle with.","type":"string"}},{"type":"string"}]}},"examples":[{"cooldown_time":0,"duration":1,"mingle_distance":2.0}]},"DGJ":{"type":"object","title":"Mount Pathing","description":"Allows the mob to move around on its own while mounted seeking a target to attack.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"target_dist":{"type":"number","default":0.0,"description":"The distance at which this mob wants to be away from its target.","title":"Target Dist"},"track_target":{"type":"boolean","default":false,"description":"If true, this mob will chase after the target as long as it's a valid target.","title":"Track Target"}},"examples":[{"target_dist":0.0,"track_target":false}]},"DHA":{"description":"Can only be used by Villagers. Allows them to seek shelter indoors.","type":"object","title":"Move Indoors","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"timeout_cooldown":{"type":"number","default":8,"description":"The cooldown time in seconds before the goal can be reused after pathfinding fails.","title":"Timeout Cooldown"}},"examples":[{"timeout_cooldown":8}]},"DHB":{"additionalProperties":false,"type":"object","title":"Move Outdoors","$comment":"UNDOCUMENTED","description":"Forces the entity to move `outside`, whatever that means.","properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"goal_radius":{"title":"Goal Radius","type":"number","default":0.5,"description":"The radius away from the target block to count as reaching the goal."},"search_count":{"title":"Search Count","type":"integer","default":0.0,"description":"The amount of times to try finding a random outdoors position before failing."},"search_height":{"title":"Search Height","type":"integer","default":0.0,"description":"The y range to search for an outdoors position for."},"search_range":{"title":"Search Range","type":"integer","default":0.0,"description":"The x and z range to search for an outdoors position for."},"timeout_cooldown":{"title":"Timeout Cooldown","type":"number","default":8000000,"description":"The cooldown time in seconds before the goal can be reused after pathfinding fails."}}},"DHC":{"type":"object","title":"Move Through Village","description":"Can only be used by Villagers. Allows the villagers to create paths around the village.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"only_at_night":{"type":"boolean","default":false,"description":"If true, the mob will only move through the village during night time.","title":"Only At Night"}},"examples":[{"only_at_night":false}]},"DHD":{"type":"object","title":"Move To Block","additionalProperties":false,"description":"Allows mob to move towards a block.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"goal_radius":{"title":"Goal Radius","type":"number","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the \"wiggle room\" to stop the AI from bouncing back and forth trying to reach a specific spot"},"on_stay_completed":{"title":"On Stay Completed","description":"Event to run on completing a stay of stay_duration at the block.","oneOf":[{"type":"array","items":{"$ref":"#/definitions/BAI"}},{"$ref":"#/definitions/BAI"}]},"on_reach":{"title":"On Reach","description":"Event to run on block reached.","oneOf":[{"type":"array","items":{"$ref":"#/definitions/BAI"}},{"$ref":"#/definitions/BAI"}]},"start_chance":{"title":"Start Chance","type":"number","default":1.0,"description":"Chance to start the behavior (applied after each random tick_interval)."},"search_range":{"title":"Search Range","type":"integer","default":0,"description":"The distance in blocks that the mob will look for the block."},"search_height":{"title":"Search Height","type":"integer","default":1,"description":"The height in blocks that the mob will look for the block."},"stay_duration":{"title":"Stay Duration","type":"number","default":0.0,"description":"Number of ticks needed to complete a stay at the block."},"target_selection_method":{"title":"Target Selection Method","type":"string","default":"nearest","description":"Kind of block to find fitting the specification. Valid values are \"random\" and \"nearest\".","enum":["random","nearest"]},"target_offset":{"title":"Target Offset","type":"array","default":[0,0,0],"description":"Offset to add to the selected target position.","items":[{"type":"number","title":"X"},{"type":"number","title":"Y"},{"type":"number","title":"Z"}]},"target_blocks":{"type":"array","title":"Target Blocks","description":"Block types to move to.","items":{"$ref":"#/definitions/J"}},"target_block_filters":{"title":"Target Block Filters","description":"Filters to apply on the target blocks. Target blocks are only valid if the filters are true.","$comment":"UNDOCUMENTED","$ref":"#/definitions/BD"},"tick_interval":{"title":"Tick Interval","type":"integer","default":20,"description":"Average interval in ticks to try to run this behavior."}},"examples":[{"start_chance":1,"search_range":32,"goal_radius":3,"stay_duration":2,"target_blocks":["minecraft:chest"]}]},"DHE":{"description":"Allows the mob to move back onto land when in water.","type":"object","title":"Move To Land","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"goal_radius":{"type":"number","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot","title":"Goal Radius"},"search_count":{"type":"integer","default":10,"description":"The number of blocks each tick that the mob will check within it's search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick","title":"Search Count"},"search_height":{"type":"integer","default":1,"description":"Height in blocks the mob will look for land to move towards.","title":"Search Height"},"search_range":{"type":"integer","default":0,"description":"The distance in blocks it will look for land to move towards.","title":"Search Range"}},"examples":[{"goal_radius":0.5,"search_count":10,"search_height":1,"search_range":0}]},"DHF":{"type":"object","title":"Move To Lava","description":"Allows the mob to move back into lava when on land.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"goal_radius":{"type":"number","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot","title":"Goal Radius"},"search_count":{"type":"integer","default":10,"description":"The number of blocks each tick that the mob will check within it's search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick","title":"Search Count"},"search_height":{"type":"integer","default":1,"description":"Height in blocks the mob will look for lava to move towards.","title":"Search Height"},"search_range":{"type":"integer","default":0,"description":"The distance in blocks it will look for lava to move towards.","title":"Search Range"}},"examples":[{"goal_radius":0.5,"search_count":10,"search_height":1,"search_range":0}]},"DHG":{"type":"object","title":"Move To Liquid","description":"Allows the mob to move into a liquid when on land.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"goal_radius":{"type":"number","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot","title":"Goal Radius"},"search_count":{"type":"integer","default":10,"description":"The number of blocks each tick that the mob will check within it's search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick","title":"Search Count"},"search_height":{"type":"integer","default":1,"description":"Height in blocks the mob will look for lava to move towards.","title":"Search Height"},"search_range":{"type":"integer","default":0,"description":"The distance in blocks it will look for lava to move towards.","title":"Search Range"},"material_type":{"title":"Material Type","description":"The material type of the liquid block to find. Valid values are 'Any', 'Water', and 'Lava'.","default":"Any","enum":["Air","Any","Lava","Water"],"type":"string"}},"examples":[{"goal_radius":0.5,"search_count":10,"search_height":1,"search_range":0,"material_type":"example"}]},"DHH":{"type":"object","title":"Move To Poi","additionalProperties":false,"description":"Allows the mob to move to a POI if able to.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"poi_type":{"type":"string","description":"Tells the goal what POI type it should be looking for.","title":"Point Of Interest Type","enum":["bed","jobsite","meeting_area"]}},"examples":[{"poi_type":"example"}]},"DHI":{"type":"object","title":"Move To Random Block","description":"Allows mob to move towards a random block.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"block_distance":{"type":"number","default":16,"description":"Defines the distance from the mob, in blocks, that the block to move to will be chosen.","title":"Block Distance"},"within_radius":{"type":"number","default":0,"description":"Defines the distance in blocks the mob has to be from the block for the movement to be finished.","title":"Within Radius"}},"examples":[{"block_distance":16,"within_radius":0}]},"DHJ":{"type":"object","title":"Move To Village","additionalProperties":false,"description":"Allows the mob to move into a random location within a village.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"cooldown_time":{"type":"number","default":0,"description":"Time in seconds the mob has to wait before using the goal again.","title":"Cooldown Time"},"goal_radius":{"type":"number","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot","title":"Goal Radius"},"search_range":{"type":"integer","default":0,"description":"The distance in blocks to search for villages. If <= 0, find the closest village regardless of distance.","title":"Search Range"}},"examples":[{"cooldown_time":0,"goal_radius":0.5,"search_range":0}]},"DIA":{"type":"object","title":"Move To Water","additionalProperties":false,"description":"Allows the mob to move back into water when on land.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"search_range":{"type":"integer","default":0,"description":"The distance in blocks it will look for water to move towards.","title":"Search Range"},"search_height":{"type":"integer","default":1,"description":"Height in blocks the mob will look for water to move towards.","title":"Search Height"},"search_count":{"type":"integer","default":10,"description":"The number of blocks each tick that the mob will check within it's search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick","title":"Search Count"},"goal_radius":{"type":"number","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot","title":"Goal Radius"}},"examples":[{"search_range":0,"search_height":1,"search_count":10,"goal_radius":0.5}]},"DIB":{"type":"object","title":"Move Towards Dwelling Restriction","additionalProperties":false,"description":"Allows mobs with the dweller component to move toward their Village area that the mob should be restricted to.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"}}},"DIC":{"type":"object","title":"Move Towards Home Restriction","description":"Allows mobs with the home component to move toward their pre-defined area that the mob should be restricted to.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"}}},"DID":{"type":"object","title":"Move Towards Restriction","additionalProperties":false,"description":"Allows Guardians, Iron Golems and Villagers to move within their pre-defined area that the mob should be restricted to. Other mobs don't have a restriction defined.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"control_flags":{"type":"array","items":{"type":"string","enum":["move","look"],"description":"UNDOCUMENTED: control flags.","title":"Control Flags"},"description":"UNDOCUMENTED: control flags.","title":"Control Flags"}},"examples":[{"control_flags":[]}]},"DIE":{"type":"object","title":"Move Towards Target","additionalProperties":false,"description":"Allows mob to move towards its current target.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"within_radius":{"type":"number","default":0.0,"description":"Defines the radius in blocks that the mob tries to be from the target. A value of 0 means it tries to occupy the same block as the target","title":"Within Radius"}},"examples":[{"within_radius":0.0}]},"DIF":{"type":"object","title":"Nap","description":"Allows mobs to occassionally stop and take a nap under certain conditions.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"cooldown_max":{"title":"Cooldown Max","type":"number","default":0,"description":"Maximum time in seconds the mob has to wait before using the goal again."},"cooldown_min":{"title":"Cooldown Min","type":"number","default":0,"description":"Minimum time in seconds the mob has to wait before using the goal again."},"mob_detect_dist":{"title":"Mob Detect Dist","type":"number","default":6,"description":"The block distance in x and z that will be checked for mobs that this mob detects."},"mob_detect_height":{"title":"Mob Detect Height","type":"number","default":6,"description":"The block distance in y that will be checked for mobs that this mob detects."},"can_nap_filters":{"title":"Can Nap Filters","$ref":"#/definitions/BD","description":"The filters that need to be met for the nap to take place.","$comment":"UNDOCUMENTED"},"wake_mob_exceptions":{"title":"Wake Mob Exceptions","$ref":"#/definitions/BD","description":"Filters that can trigger the entity to wake up from it nap.","$comment":"UNDOCUMENTED"}},"examples":[{"cooldown_max":0,"cooldown_min":0,"mob_detect_dist":6,"mob_detect_height":6}]},"DIG_entity_type":{"type":"object","description":"A entity type.","properties":{"filters":{"$ref":"#/definitions/BD","description":"Conditions that make this target a valid type.","title":"Filters"},"max_dist":{"type":"number","default":16,"description":"To be a valid target choice, the target type cannot be farther away from this entity than `max_dist`.","title":"Maximum Dist"},"must_see":{"type":"boolean","default":false,"description":"Determines if target-validity requires this entity to be in range only, or both in range and in sight.","title":"Must See"},"must_see_forget_duration":{"type":"boolean","default":3,"description":"Time (in seconds) the target must not be seen by this entity to become invalid. Used only if `must_see` is true.","title":"Must See Forget Duration"}}},"DIG":{"type":"object","title":"Nearest Attackable Target","description":"Allows an entity to attack the closest target within a given subset of specific target types.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"entity_types":{"$ref":"#/definitions/CJG","description":"Filters which types of targets are valid for this entity","title":"Entity Types"},"attack_interval":{"type":"integer","default":0,"description":"Time range (in seconds) between searching for an attack target, range is in (0, `attack_interval`]. Only used if `attack_interval` is greater than 0, otherwise `scan_interval` is used.","title":"Attack Interval"},"attack_interval_min":{"type":"number","default":0,"description":"Alias for `attack_interval`; provides the same functionality as `attack_interval`.","title":"Attack Interval Min"},"attack_owner":{"type":"boolean","default":false,"description":"If true, this entity can attack its owner.","title":"Attack Owner"},"must_reach":{"type":"boolean","default":false,"description":"If true, this entity requires a path to the target.","title":"Must Reach"},"must_see":{"type":"boolean","default":false,"description":"Determines if target-validity requires this entity to be in range only, or both in range and in sight.","title":"Must See"},"must_see_forget_duration":{"type":"number","default":3,"description":"Time (in seconds) the target must not be seen by this entity to become invalid. Used only if `must_see` is true.","title":"Must See Forget Duration"},"persist_time":{"type":"number","default":0,"description":"Time (in seconds) this entity can continue attacking the target after the target is no longer valid.","title":"Persist Time"},"reselect_targets":{"type":"boolean","default":false,"description":"Allows the attacking entity to update the nearest target, otherwise a target is only reselected after each `scan_interval` or `attack_interval`.","title":"Reselect Targets"},"scan_interval":{"type":"integer","default":10,"description":"If `attack_interval` is 0 or isn't declared, then between attacks: scanning for a new target occurs every amount of ticks equal to `scan_interval`, minimum value is 1. Values under 10 can affect performance.","title":"Scan Interval"},"set_persistent":{"type":"boolean","default":false,"description":"Allows the actor to be set to persist upon targeting a player.","title":"Set Persistent"},"target_invisible_multiplier":{"type":"number","default":0.7,"description":"Multiplied with the target's armor coverage percentage to modify `max_dist` when detecting an invisible target.","title":"Target Invisible Multiplier"},"target_search_height":{"type":"number","default":-1,"description":"Maximum vertical target-search distance, if it's greater than the target type's `max_dist`. A negative value defaults to `entity_types` greatest `max_dist`.","title":"Target Search Height"},"target_sneak_visibility_multiplier":{"type":"number","default":0.8,"description":"Multiplied with the target type's `max_dist` when trying to detect a sneaking target.","title":"Target Sneak Visibility Multiplier"},"within_radius":{"type":"number","default":0,"description":"Maximum distance this entity can be from the target when following it, otherwise the target becomes invalid. This value is only used if the entity doesn't declare `minecraft:follow_range`.","title":"Within Radius"}},"examples":[{"attack_interval":0,"attack_interval_min":0,"attack_owner":false,"must_reach":false,"must_see":false,"must_see_forget_duration":3,"persist_time":0,"reselect_targets":false,"scan_interval":10,"set_persistent":false,"target_invisible_multiplier":0.7,"target_search_height":-1,"target_sneak_visibility_multiplier":0.8,"within_radius":0}]},"DIH":{"type":"object","title":"Nearest Prioritized Attackable Target","description":"Allows the mob to check for and pursue the nearest valid target.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"entity_types":{"$ref":"#/definitions/CJG","description":"List of entity types that this mob considers valid targets","title":"Entity Types"},"attack_interval":{"type":"integer","default":0,"description":"Time in seconds before selecting a target.","title":"Attack Interval"},"cooldown":{"title":"Cooldown","description":"The amount of time in seconds that the mob has to wait before selecting a target of the same type again","default":0.0,"type":"number"},"must_reach":{"type":"boolean","default":false,"description":"If true, only entities that this mob can path to can be selected as targets.","title":"Must Reach"},"must_see":{"type":"boolean","default":false,"description":"If true, only entities in this mob's viewing range can be selected as targets.","title":"Must See"},"must_see_forget_duration":{"type":"number","default":3,"description":"Determines the amount of time in seconds that this mob will look for a target before forgetting about it and looking for a new one when the target isn't visible any more.","title":"Must See Forget Duration"},"persist_time":{"type":"number","default":0.0,"description":"Time in seconds for a valid target to stay targeted when it becomes and invalid target.","title":"Persist Time"},"reselect_targets":{"type":"boolean","default":false,"description":"If true, the target will change to the current closest entity whenever a different entity is closer.","title":"Reselect Targets"},"reevaluate_description":{"title":"Reevaluate Description","type":"boolean","default":false,"description":"If true, the mob will stop being targeted if it stops meeting any conditions."},"scan_interval":{"type":"integer","default":10,"description":"How many ticks to wait between scanning for a target.","title":"Scan Interval"},"set_persistent":{"type":"boolean","default":false,"description":"Allows the actor to be set to persist upon targeting a player.","title":"Set Persistent"},"target_search_height":{"type":"number","default":-1.0,"description":"Height in blocks to search for a target mob. -1.0f means the height does not matter.","title":"Target Search Height"},"within_radius":{"type":"number","default":0,"description":"Distance in blocks that the target can be within to launch an attack.","title":"Within Radius"}},"examples":[{"attack_interval":0,"must_reach":false,"must_see":false,"must_see_forget_duration":3,"persist_time":0.0,"reselect_targets":false,"scan_interval":10,"set_persistent":false,"target_search_height":-1.0,"within_radius":0}]},"DII":{"additionalProperties":false,"description":"Allows an entity to sit in place, similar to the ocelot entity animation pose.","type":"object","title":"Ocelot Sit On Block","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"}}},"DIJ":{"type":"object","title":"Ocelotattack","additionalProperties":false,"description":"Can only be used by the Ocelot. Allows it to perform the sneak and pounce attack.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"cooldown_time":{"title":"Cooldown Time","type":"number","default":1,"description":"Time (in seconds) between attacks."},"max_distance":{"title":"Max Distance","type":"number","default":15,"description":"Max distance from the target, this entity will use this attack behavior."},"max_sneak_range":{"title":"Max Sneak Range","type":"number","default":15,"description":"Max distance from the target, this entity starts sneaking."},"max_sprint_range":{"title":"Max Sprint Range","type":"number","default":4,"description":"Max distance from the target, this entity starts sprinting (sprinting takes priority over sneaking)."},"reach_multiplier":{"title":"Reach Multiplier","type":"number","default":2,"description":"Used with the base size of the entity to determine minimum target-distance before trying to deal attack damage."},"sneak_speed_multiplier":{"title":"Sneak Speed Multiplier","type":"number","default":0.6,"description":"Modifies the attacking entity's movement speed while sneaking."},"sprint_speed_multiplier":{"title":"Sprint Speed Multiplier","type":"number","default":1.33,"description":"Modifies the attacking entity's movement speed while sprinting."},"walk_speed_multiplier":{"title":"Walk Speed Multiplier","type":"number","default":0.8,"description":"Modifies the attacking entity's movement speed when not sneaking or sprinting, but still within attack range."},"x_max_rotation":{"title":"X Max Rotation","type":"number","default":30,"description":"Maximum rotation (in degrees), on the X-axis, this entity can rotate while trying to look at the target."},"y_max_head_rotation":{"title":"Y Max Head Rotation","type":"number","default":30,"description":"Maximum rotation (in degrees), on the Y-axis, this entity can rotate its head while trying to look at the target."}},"examples":[{"walk_speed_multiplier":1.0,"sprint_speed_multiplier":1.0,"sneak_speed_multiplier":1.0,"cooldown_time":0.0,"x_max_rotation":0.0,"y_max_head_rotation":0.0,"max_distance":0.0,"max_sneak_range":0.0,"max_sprint_range":0.0,"reach_multiplier":0.0}]},"DJA":{"type":"object","title":"Offer Flower","additionalProperties":false,"description":"Allows the mob to offer the player a flower like the Iron Golem does.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"chance_to_start":{"title":"Chance To Start","type":"number","default":0.0,"description":"Percent chance that the mob will start this goal from 0.0 to 1.0 (where 1.0 = 100%)."},"filters":{"title":"Filters","$ref":"#/definitions/BD","description":"Conditions that need to be met for the behavior to start."},"max_head_rotation_y":{"title":"Max Head Rotation Y","type":"number","default":30,"description":"Maximum rotation (in degrees), on the Y-axis, this entity can rotate its head while trying to look at the target."},"max_offer_flower_duration":{"title":"Max Offer Flower Duration","type":"number","default":20.0,"description":"The max amount of time (in seconds) that the mob will offer the flower for before exiting the Goal."},"max_rotation_x":{"title":"Max Rotation X","type":"number","default":30,"description":"Maximum rotation (in degrees), on the X-axis, this entity can rotate while trying to look at the target."},"search_area":{"title":"Search Area","default":[6,2,6],"description":"The dimensions of the AABB used to search for a potential mob to offer flower to.","$ref":"#/definitions/CFA"}}},"DJB":{"type":"object","title":"Open Door","additionalProperties":false,"description":"Allows the mob to open doors. Requires the mob to be able to path through doors, otherwise the mob won't even want to try opening them.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"close_door_after":{"type":"boolean","default":true,"description":"If true, the mob will close the door after opening it and going through it.","title":"Close Door After"}},"examples":[{"close_door_after":true}]},"DJC":{"type":"object","title":"Owner Hurt By Target","additionalProperties":false,"description":"Allows the mob to target another mob that hurts their owner.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"entity_types":{"$ref":"#/definitions/CJG","description":"List of entity types that this mob can target if they hurt their owner.","title":"Entity Types"}}},"DJD":{"type":"object","title":"Owner Hurt Target","additionalProperties":false,"description":"Allows the mob to target a mob that is hurt by their owner.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"entity_types":{"$ref":"#/definitions/CJG","description":"List of entity types that this entity can target if the potential target is hurt by this mob's owner.","title":"Entity TYpes"}}},"DJE":{"description":"Allows the mob to enter the panic state, which makes it run around and away from the damage source that made it enter this state.","type":"object","title":"Panic","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"damage_sources":{"title":"Damage Sources","type":"array","items":{"$ref":"#/definitions/DA"},"default":[["all"]],"description":"The list of Entity Damage Sources that will cause this mob to panic."},"force":{"title":"Force","type":"boolean","default":false,"description":"If true, this mob will not stop panicking until it can't move anymore or the goal is removed from it."},"ignore_mob_damage":{"title":"Ignore Mob Damage","type":"boolean","default":false,"description":"If true, the mob will not panic in response to damage from other mobs. This overrides the damage types in `damage_sources`"},"prefer_water":{"title":"Prefer Water","type":"boolean","default":false,"description":"If true, the mob will prefer water over land."},"panic_sound":{"title":"Panic Sound","$ref":"#/definitions/BAB","description":"The sound event to play when this mob is in panic."},"sound_interval":{"title":"Sound Interval","type":"object","description":"The range of time in seconds to randomly wait before playing the sound again.","properties":{"range_min":{"type":"number","description":"The minimum time in seconds before the `panic_sound` plays.","title":"Range Minimum"},"range_max":{"type":"number","description":"The maximum time in seconds before the `panic_sound` plays.","title":"Range Maximum"}},"additionalProperties":false}},"examples":[{"damage_sources":[],"force":false,"ignore_mob_damage":false,"prefer_water":false,"panic_sound":"example","sound_interval":{}}]},"DJF":{"description":"Allows the mob to peek out. This is what the shulker uses to look out of its shell.","type":"object","title":"Peek","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"DJG":{"description":"Allows the mob to be tempted by food they like.","type":"object","title":"Pet Sleep With Owner","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"goal_radius":{"title":"Goal Radius","type":"number","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the \"wiggle room\" to stop the AI from bouncing back and forth trying to reach a specific spot"},"search_height":{"title":"Search Height","type":"integer","default":1,"description":"Height in blocks from the owner the pet can be to sleep with owner."},"search_radius":{"title":"Search Radius","type":"integer","default":10,"description":"The radius that the mob will search for an owner to curl up with."},"search_range":{"title":"Search Range","type":"integer","default":10,"description":"The range that the mob will search for an owner to curl up with."}},"examples":[{"goal_radius":0.5,"search_height":1,"search_range":0,"search_radius":0}]},"DJH":{"description":"Allows the mob to pick up items on the ground.","additionalProperties":false,"type":"object","title":"Pickup Items","properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"can_pickup_any_item":{"type":"boolean","default":false,"description":"If true, the mob can pickup any item.","title":"Can Pickup Any Item"},"can_pickup_to_hand_or_equipment":{"type":"boolean","default":true,"description":"If true, the mob can pickup items to its hand or armor slots.","title":"Can Pickup To Hand Or Equipment"},"cooldown_after_being_attacked":{"type":"number","default":20.0,"description":"Amount of time an offended entity needs before being willing to pick up items.","title":"Cooldown After Being Attacked"},"excluded_items":{"title":"Excluded Items","description":"List of items this mob will not pick up.","type":"array","items":{"title":"Excluded Item","$ref":"#/definitions/J"}},"goal_radius":{"type":"number","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot.","title":"Goal Radius"},"max_dist":{"type":"number","default":0.0,"description":"Maximum distance this mob will look for items to pick up.","title":"Maximum Dist"},"search_height":{"title":"Search Height","type":"number","default":0,"description":"Height in blocks the mob will look for items to pick up.","$comment":"UNDOCUMENTED"},"pickup_based_on_chance":{"type":"boolean","default":false,"description":"If true, depending on the difficulty, there is a random chance that the mob may not be able to pickup items.","title":"Pickup Based On Chance"},"pickup_same_items_as_in_hand":{"type":"boolean","default":false,"description":"If true, the mob will pickup the same item as the item in its hand.","title":"Pickup Same Items As In Hand","$comment":"UNDOCUMENTED"},"track_target":{"type":"boolean","default":false,"description":"If true, this mob will chase after the target as long as it's a valid target.","title":"Track Target"}},"examples":[{"can_pickup_any_item":false,"can_pickup_to_hand_or_equipment":true,"cooldown_after_being_attacked":true,"excluded_items":[],"goal_radius":0.5,"max_dist":0,"pickup_based_on_chance":false,"track_target":false}]},"DJI":{"description":"Allows the mob to play dead when attacked by other entities. When playing dead, other entities will not target this mob.","type":"object","title":"Play Dead","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"apply_regeneration":{"title":"Apply Regeneration","type":"boolean","default":true,"description":"Whether the mob will receive the regeneration effect while playing dead."},"duration":{"title":"Duration","type":"number","default":1.0,"description":"The amount of time the mob will remain playing dead (in seconds)."},"filters":{"title":"Filters","description":"The list of other triggers that are required for the mob to activate play dead.","$ref":"#/definitions/BD"},"force_below_health":{"title":"Force Below Health","type":"integer","default":0,"description":"The amount of health at which damage will cause the mob to play dead."},"random_start_chance":{"title":"Random Start Chance","type":"number","default":1.0,"description":"The likelihood of this goal starting upon taking damage."},"random_damage_range":{"title":"Random Damage Range","description":"The range of damage that may cause the goal to start depending on randomness. Damage taken below the min will never cause the goal to start. Damage taken above the max will always cause the goal to start.","type":"array","items":[{"title":"Minimum","description":"Minimum.","type":"integer","minimum":0},{"title":"Maximum","description":"Maximum.","type":"integer","minimum":0}]},"damage_sources":{"title":"Damage Sources","description":"The list of Entity Damage Sources that will cause this mob to play dead.","default":["all"],"oneOf":[{"type":"string","$ref":"#/definitions/DA"},{"type":"array","items":{"title":"Damage Source","$ref":"#/definitions/DA"}}]}},"examples":[{"duration":0.0,"force_below_health":0.0,"random_start_chance":0.0,"random_damage_range":[],"apply_regeneration":true}]},"DJJ":{"description":"Allows the mob to play with other baby villagers. This can only be used by Villagers.","type":"object","title":"Play","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"chance_to_start":{"title":"Chance To Start","type":"number","default":0.0,"description":"Percent chance that the mob will start this goal, from 0 to 1."},"follow_distance":{"title":"Follow Distance","type":"integer","default":2,"description":"The distance (in blocks) that the mob tries to be in range of the friend it's following."},"friend_search_area":{"title":"Friend Search Area","default":[6,3,6],"$ref":"#/definitions/CFA","description":"The dimensions of the AABB used to search for a potential friend to play with."},"friend_types":{"title":"Friend Types","type":"array","description":"The entity type(s) to consider when searching for a potential friend to play with.","items":{"filters":{"title":"Filters","description":"UNDOCUMENTATED","$ref":"#/definitions/BD"}}},"max_play_duration_seconds":{"title":"Max Play Duration Seconds","type":"number","default":50.0,"description":"The max amount of seconds that the mob will play for before exiting the Goal."},"random_pos_search_height":{"title":"Random Pos Search Height","type":"integer","default":3,"description":"The height (in blocks) that the mob will search within to find a random position position to move to. Must be at least 1."},"random_pos_search_range":{"title":"Random Pos Search Range","type":"integer","default":16,"description":"The distance (in blocks) on ground that the mob will search within to find a random position to move to. Must be at least 1."}}},"EAA":{"description":"Allows the mob to be ridden by the player after being tamed.","type":"object","title":"Player Ride Tamed","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"EAB":{"description":"Allows the mob to eat/raid crops out of farms until they are full.","additionalProperties":false,"type":"object","title":"Raid Garden","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"blocks":{"title":"Blocks","type":"array","description":"Blocks that the mob is looking for to eat.","items":{"type":"string","title":"Block Id","description":"A block identifier.","$ref":"#/definitions/BCC"}},"eat_delay":{"title":"Eat Delay","type":"integer","default":2,"description":"Time in seconds between each time it eats."},"full_delay":{"title":"Full Delay","type":"integer","default":100,"description":"Amount of time in seconds before this mob wants to eat again."},"initial_eat_delay":{"title":"Initial Eat Delay","type":"integer","default":0,"description":"Time in seconds before starting to eat/raid once it arrives at it."},"goal_radius":{"type":"number","title":"Goal Radius","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot"},"max_to_eat":{"title":"Maximum To Eat","type":"integer","default":6,"description":"Maximum number of things this entity wants to eat."},"search_range":{"title":"Search Range","type":"integer","default":0,"description":"Distance in blocks the mob will look for crops to eat."},"search_height":{"title":"Search Height","type":"integer","default":0,"description":"Height in blocks the mob will look for crops to eat."}},"examples":[{"blocks":[],"eat_delay":2,"full_delay":100,"initial_eat_delay":0,"goal_radius":0.5,"max_to_eat":6,"search_range":0,"search_height":0}]},"EAC":{"description":"Allows the mob to search for a random target and, if a direct path exists between the mob and the target, it will perform a charge. If the attack hits, the target will be knocked back based on the mob's speed.","type":"object","title":"Ram Attack","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"baby_knockback_modifier":{"title":"Baby Knockback Modifier","type":"number","default":0.333333,"description":"The modifier to knockback that babies have."},"cooldown_range":{"title":"Cooldown Range","$ref":"#/definitions/BBB","default":[10,20],"description":"Minimum and maximum cooldown time-range (positive, in seconds) between each attempted ram attack."},"knockback_force":{"title":"Knockback Force","type":"number","default":5.0,"description":"The force of the knockback of the ram attack."},"knockback_height":{"title":"Knockback Height","type":"number","default":0.1,"description":"The height of the knockback of the ram attack."},"min_ram_distance":{"title":"Min Ram Distance","type":"number","default":0.0,"description":"The minimum distance at which the mob can start a ram attack."},"on_start":{"title":"On Start","$ref":"#/definitions/BAI","description":"The event to trigger when attacking."},"pre_ram_sound":{"title":"Pre Ram Sound","$ref":"#/definitions/BAB","default":"","description":"The sound to play when an entity is about to perform a ram attack."},"ram_distance":{"title":"Ram Distance","type":"number","default":0.0,"description":"The distance at which the mob start to run with ram speed."},"ram_impact_sound":{"title":"Ram Impact Sound","$ref":"#/definitions/BAB","default":"","description":"The sound to play when an entity is impacting on a ram attack."},"ram_speed":{"title":"Ram Speed","type":"number","default":2.0,"description":"Sets the entity's speed when charging toward the target."},"run_speed":{"title":"Run Speed","type":"number","default":1.0,"description":"Sets the entity's speed when running toward the target."},"trigger":{"description":"The event to trigger when attacking.","title":"Trigger","$ref":"#/definitions/BAI"}},"examples":[{"baby_knockback_modifier":4,"cooldown_range":[],"knockback_force":5,"knockback_height":0.1,"min_ram_distance":4,"pre_ram_sound":"example","ram_distance":7,"ram_impact_sound":"example","ram_speed":2,"run_speed":1}]},"EAD":{"description":"Allows the mob to randomly break surface of the water.","type":"object","title":"Random Breach","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"cooldown_time":{"type":"number","default":0,"description":"Time in seconds the mob has to wait before using the goal again.","title":"Cooldown Time"},"interval":{"type":"integer","default":120,"description":"A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal","title":"Interval"},"xz_dist":{"type":"integer","default":10,"description":"Distance in blocks on ground that the mob will look for a new spot to move to. Must be at least 1","title":"XZ Distance"},"y_dist":{"type":"integer","default":7,"description":"Distance in blocks that the mob will look up or down for a new spot to move to. Must be at least 1","title":"Y Distance"}},"examples":[{"cooldown_time":0,"interval":120,"xz_dist":10,"y_dist":7}]},"EAE":{"description":"Allows a mob to randomly fly around.","type":"object","title":"Random Fly","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"avoid_damage_blocks":{"type":"boolean","description":"If true, the mob will avoid blocks that cause damage.","$comment":"UNDOCUMENTED","title":"Avoid Damage Blocks"},"can_land_on_trees":{"type":"boolean","default":true,"description":"If true, the mob can stop flying and land on a tree instead of the ground.","title":"Can Land On Trees"},"xz_dist":{"type":"integer","default":10,"description":"Distance in blocks on ground that the mob will look for a new spot to move to. Must be at least 1","title":"Xz Dist"},"y_dist":{"type":"integer","default":7,"description":"Distance in blocks that the mob will look up or down for a new spot to move to. Must be at least 1","title":"Y Dist"},"y_offset":{"type":"integer","description":"Height in blocks to add to the selected target position.","$comment":"UNDOCUMENTED","title":"Y Offset"}},"examples":[{"avoid_damage_blocks":true,"can_land_on_trees":true,"xz_dist":10,"y_dist":7,"y_offset":0}]},"EAF":{"description":"Allows the mob to hover around randomly, close to the surface.","type":"object","title":"Random Hover","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"hover_height":{"title":"Hover Height","type":"array","description":"The height above the surface which the mob will try to maintain.","items":[{"type":"number"},{"type":"number"}]},"interval":{"type":"integer","default":120,"description":"A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal","title":"Interval"},"xz_dist":{"type":"integer","default":10,"description":"Distance in blocks on ground that the mob will look for a new spot to move to. Must be at least 1","title":"Xz Dist"},"y_dist":{"type":"integer","default":7,"description":"Distance in blocks that the mob will look up or down for a new spot to move to. Must be at least 1","title":"Y Dist"},"y_offset":{"type":"number","default":0,"description":"Height in blocks to add to the selected target position.","title":"Y Offset"}},"examples":[{"hover_height":[],"interval":120,"xz_dist":10,"y_dist":7,"y_offset":0}]},"EAG":{"description":"Allows the mob to randomly sit and look around for a duration. Note: Must have a sitting animation set up to use this.","type":"object","title":"Random Look Around And Sit","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"continue_if_leashed":{"title":"Continue If Leashed","type":"boolean","default":false,"description":"If the goal should continue to be used as long as the mob is leashed."},"continue_sitting_on_reload":{"title":"Continue Sitting On Reload","type":"boolean","default":false,"description":"The mob will stay sitting on reload."},"max_angle_of_view_horizontal":{"title":"Max Angle Of View Horizontal","type":"number","default":30.0,"description":"The rightmost angle a mob can look at on the horizontal plane with respect to its initial facing direction."},"max_look_count":{"title":"Max Look Count","type":"integer","default":2,"description":"The max amount of unique looks a mob will have while looking around."},"max_look_time":{"title":"Max Look Time","type":"integer","default":40,"description":"The max amount of time (in ticks) a mob will stay looking at a direction while looking around."},"min_angle_of_view_horizontal":{"title":"Min Angle Of View Horizontal","type":"number","default":-30.0,"description":"The leftmost angle a mob can look at on the horizontal plane with respect to its initial facing direction."},"min_look_count":{"title":"Min Look Count","type":"integer","default":1,"description":"The min amount of unique looks a mob will have while looking around."},"min_look_time":{"title":"Min Look Time","type":"integer","default":20,"description":"The min amount of time (in ticks) a mob will stay looking at a direction while looking around."},"probability":{"title":"Probability","type":"number","default":0.02,"description":"The probability of randomly looking around/sitting."},"random_look_around_cooldown":{"title":"Random Look Around Cooldown","type":"integer","default":0,"description":"The cooldown in seconds before the goal can be used again."}},"examples":[{"max_look_count":2,"max_look_time":40,"min_look_count":1,"min_look_time":20,"probability":0.02}]},"EAH":{"additionalProperties":false,"description":"Allows the mob to randomly look around.","type":"object","title":"Random Look Around","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"look_time":{"title":"Look Time","$ref":"#/definitions/BCF","description":"The range of time in seconds the mob will stay looking in a random direction before looking elsewhere"},"max_angle_of_view_horizontal":{"title":"Max Angle Of View Horizontal","type":"integer","default":30,"description":"The rightmost angle a mob can look at on the horizontal plane with respect to its initial facing direction."},"min_angle_of_view_horizontal":{"title":"Min Angle Of View Horizontal","type":"integer","default":-30,"description":"The leftmost angle a mob can look at on the horizontal plane with respect to its initial facing direction."}},"examples":[{"look_distance":0.0}]},"EAI":{"additionalProperties":false,"description":"Allows this entity to locate a random target block that it can path find to. Once found, the entity will move towards it and dig up an item.","type":"object","title":"Random Look Around","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"cooldown_range":{"title":"Cooldown Range","default":[0.0,0.0],"description":"Goal cooldown range in seconds.","$ref":"#/definitions/BCF"},"digging_duration_range":{"title":"Digging Duration Range","$ref":"#/definitions/BCF","default":[0.0,0.0],"description":"Digging duration in seconds."},"find_valid_position_retries":{"title":"Find Valid Position Retries","type":"number","default":0.0,"description":"Amount of retries to find a valid target position within search range."},"goal_radius":{"title":"Goal Radius","type":"number","default":1500000,"description":"Distance in blocks within the entity to considers it has reached it's target position."},"item_table":{"title":"Item Table","type":"string","default":"","description":"File path relative to the resource pack root for items to spawn list (loot table format)."},"on_digging_start":{"title":"On Digging Start","$ref":"#/definitions/BAI","description":"Event to run when the goal ends searching has begins digging."},"on_fail_during_digging":{"title":"On Fail During Digging","$ref":"#/definitions/BAI","description":"Event to run when the goal failed while in digging state."},"on_fail_during_searching":{"title":"On Fail During Searching","$ref":"#/definitions/BAI","description":"Event to run when the goal failed while in searching state."},"on_item_found":{"title":"On Item Found","$ref":"#/definitions/BAI","description":"Event to run when the goal find a item."},"on_searching_start":{"title":"On Searching Start","$ref":"#/definitions/BAI","description":"Event to run when the goal starts searching."},"on_success":{"title":"On Success","$ref":"#/definitions/BAI","description":"Event to run when searching and digging has ended."},"search_range_xz":{"title":"Search Range XZ","type":"number","default":0.0,"description":"Width and length of the volume around the entity used to find a valid target position"},"search_range_y":{"title":"Search Range Y","type":"number","default":0.0,"description":"Height of the volume around the entity used to find a valid target position"},"spawn_item_after_seconds":{"title":"Spawn Item After Seconds","type":"number","default":0.0,"description":"Digging duration before spawning item in seconds."},"spawn_item_pos_offset":{"title":"Spawn Item Pos Offset","type":"number","default":0.0,"description":"Distance to offset the item's spawn location in the direction the mob is facing."},"target_blocks":{"title":"Target Blocks","type":"array","description":"List of target block types the goal will look to dig on. Overrides the default list.","items":{"$ref":"#/definitions/BCC"}},"target_dig_position_offset":{"title":"Target Dig Position Offset","type":"number","default":2250000,"description":"Dig target position offset from the feet position of the mob in their facing direction."}}},"EAJ":{"type":"object","title":"Random Sitting","description":"Allows the mob to randomly sit for a duration.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"cooldown":{"type":"number","default":0,"description":"Time in seconds the mob has to wait before using the goal again.","title":"Cooldown"},"cooldown_time":{"type":"number","default":0,"description":"Time in seconds the mob has to wait before using the goal again.","title":"Cooldown Time"},"min_sit_time":{"type":"number","default":10,"description":"The minimum amount of time in seconds before the mob can stand back up.","title":"Minimum Sit Time"},"start_chance":{"type":"number","default":0.1,"description":"This is the chance that the mob will start this goal, from 0 to 1.","title":"Start Chance"},"stop_chance":{"type":"number","default":0.3,"description":"This is the chance that the mob will stop this goal, from 0 to 1.","title":"Stop Chance"}},"examples":[{"cooldown":0,"cooldown_time":0,"min_sit_time":10,"start_chance":0.1,"stop_chance":0.3}]},"EBA":{"description":"Allows a mob to randomly stroll around.","type":"object","title":"Random Stroll","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"interval":{"type":"integer","default":120,"description":"A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal","title":"Interval"},"xz_dist":{"type":"integer","default":10,"description":"Distance in blocks on ground that the mob will look for a new spot to move to. Must be at least 1","title":"XZ Distance"},"y_dist":{"type":"integer","default":7,"description":"Distance in blocks that the mob will look up or down for a new spot to move to. Must be at least 1","title":"Y Distance"}},"additionalProperties":false,"examples":[{"interval":120,"xz_dist":10,"y_dist":7}]},"EBB":{"type":"object","title":"Random Swim","description":"Allows an entity to randomly move through water.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"avoid_surface":{"type":"boolean","default":true,"description":"If true, the mob will avoid surface water blocks by swimming below them.","title":"Avoid Surface"},"interval":{"type":"integer","default":120,"description":"A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal","title":"Interval"},"xz_dist":{"type":"integer","default":10,"description":"Distance in blocks on ground that the mob will look for a new spot to move to. Must be at least 1","title":"XZ Distance"},"y_dist":{"type":"integer","default":7,"description":"Distance in blocks that the mob will look up or down for a new spot to move to. Must be at least 1","title":"Y Distance"}},"additionalProperties":false,"examples":[{"avoid_surface":true,"interval":120,"xz_dist":10,"y_dist":7}]},"EBC":{"description":"Allows the mob to use ranged attacks like shooting arrows.","type":"object","title":"Ranged Attack","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"attack_interval":{"title":"Attack Interval","type":"number","default":0,"description":"Alternative to \"attack_interval_min\" & \"attack_interval_max\". Consistent reload-time (in seconds), when not using a charged shot. Does not scale with target-distance."},"attack_interval_max":{"title":"Attack Interval Max","type":"number","default":0,"description":"Maximum bound for reload-time range (in seconds), when not using a charged shot. Reload-time range scales with target-distance."},"attack_interval_min":{"title":"Attack Interval Min","type":"number","default":0,"description":"Minimum bound for reload-time range (in seconds), when not using a charged shot. Reload-time range scales with target-distance."},"attack_radius":{"title":"Attack Radius","type":"number","default":0,"description":"Minimum distance to target before this entity will attempt to shoot."},"attack_radius_min":{"title":"Attack Radius Min","type":"number","default":0,"description":"Minimum distance the target can be for this mob to fire. If the target is closer, this mob will move first before firing"},"burst_interval":{"title":"Burst Interval","type":"number","default":0,"description":"Time (in seconds) between each individual shot when firing a burst of shots from a charged up attack."},"burst_shots":{"title":"Burst Shots","type":"integer","default":1,"description":"Number of shots fired every time the attacking entity uses a charged up attack."},"charge_charged_trigger":{"title":"Charge Charged Trigger","type":"number","default":0,"description":"Time (in seconds, then add \"charge_shoot_trigger\"), before a charged up attack is done charging. Charge-time decays while target is not in sight."},"charge_shoot_trigger":{"title":"Charge Shoot Trigger","type":"number","default":0,"description":"Amount of time (in seconds, then doubled) a charged shot must be charging before reloading burst shots. Charge-time decays while target is not in sight."},"ranged_fov":{"title":"Ranged Fov","type":"number","default":90,"description":"Field of view (in degrees) when using sensing to detect a target for attack."},"set_persistent":{"title":"Set Persistent","type":"boolean","default":false,"description":"Allows the actor to be set to persist upon targeting a player."},"swing":{"title":"Swing","type":"boolean","default":false,"description":"If a swing animation (using variable.attack_time) exists, this causes the actor to swing their arm(s) upon firing the ranged attack."},"target_in_sight_time":{"title":"Target In Sight Time","type":"number","default":1,"description":"Minimum amount of time (in seconds) the attacking entity needs to see the target before moving toward it."},"x_max_rotation":{"title":"X Max Rotation","type":"number","default":30,"description":"Maximum rotation (in degrees), on the X-axis, this entity can rotate while trying to look at the target."},"y_max_head_rotation":{"title":"Y Max Head Rotation","type":"number","default":30,"description":"Maximum rotation (in degrees), on the Y-axis, this entity can rotate its head while trying to look at the target."}},"examples":[{"attack_interval":0,"attack_interval_max":0,"attack_interval_min":0,"attack_radius":0,"burst_interval":0,"burst_shots":1,"charge_charged_trigger":0,"charge_shoot_trigger":0,"ranged_fov":90,"target_in_sight_time":0.0,"attack_radius_min":0.0}]},"EBD":{"description":"Allows the villager to stop so another villager can breed with it. Can only be used by a Villager.","type":"object","title":"Receive Love","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"EBE":{"description":"Allows the mob to stay indoors during night time.","type":"object","title":"Restrict Open Door","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"EBF":{"description":"Allows the mob to automatically start avoiding the sun when its a clear day out.","type":"object","title":"Restrict Sun","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"EBG":{"description":"Allows the mob to stay at a certain level when in liquid.","type":"object","title":"Rise To Liquid Level","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"liquid_y_offset":{"type":"number","title":"Liquid Y Offset","description":"Vertical offset from the liquid."},"rise_delta":{"type":"number","title":"Rise Delta","description":"Displacement for how much the entity will move up in the vertical axis."},"sink_delta":{"type":"number","title":"Sink Delta","description":"Displacement for how much the entity will move down in the vertical axis."}},"examples":[{"liquid_y_offset":0.0,"rise_delta":0.0,"sink_delta":0.0}]},"EBH":{"additionalProperties":false,"type":"object","title":"Roar","description":"[EXPERIMENTAL BEHAVIOR] Plays the provided sound and activates the `ROARING` actor flag during the specified duration","properties":{"priority":{"$ref":"#/definitions/CJD"},"duration":{"title":"Duration","type":"number","default":0.0,"description":"Goal duration in seconds."}}},"EBI":{"description":"This allows the mob to roll forward.","type":"object","title":"Roll","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"probability":{"type":"number","minimum":0,"description":"The probability that the mob will use the goal.","title":"Probability"}},"examples":[{"probability":0.0}]},"EBJ":{"description":"Allows the mob to run around aimlessly.","type":"object","title":"Run Around Like Crazy","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"}}},"ECA":{"description":"Allows the a mob to become scared when the weather outside is thundering.","type":"object","title":"Scared","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"sound_interval":{"type":"integer","default":0,"description":"The interval in which a sound will play when active in a 1/delay chance to kick off.","title":"Sound Interval"}},"examples":[{"sound_interval":0}]},"ECB_sequence":{"type":"array","description":"List of events to send.","items":{"type":"object","additionalProperties":false,"properties":{"base_delay":{"type":"number","default":0,"description":"Amount of time in seconds before starting this step."},"event":{"type":"string","default":"","description":"The event to send to the entity."},"sound_event":{"$ref":"#/definitions/BAB","default":"","description":"The sound event to play when this step happens."}}}},"ECB":{"description":"Allows the mob to send an event to another mob.","type":"object","title":"Send Event","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"cast_duration":{"type":"number","description":"Time in seconds for the entire event sending process.","title":"Cast Duration"},"look_at_target":{"title":"Look At Target","type":"boolean","default":true,"description":"If true, the mob will face the entity it sends an event to."},"event_choices":{"type":"array","title":"Event Choices","description":"List of spells for the mob to use.","$comment":"UNDOCUMENTED","items":{"type":"object","additionalProperties":false,"title":"Event Choice","description":"A spell that the mob can cast.","$comment":"UNDOCUMENTED","properties":{"min_activation_range":{"type":"number","title":"Minimum Activation Range","description":"The minimum distance in blocks the target must be for this spell to be cast.","$comment":"UNDOCUMENTED","minimum":0},"max_activation_range":{"type":"number","title":"Maxmimum Activation Range","description":"The maxmimum distance in blocks the target must be for this spell to be cast.","$comment":"UNDOCUMENTED","minimum":0},"cooldown_time":{"type":"number","title":"Cooldown Time","description":"Time in seconds before the mob can use this spell again.","$comment":"UNDOCUMENTED"},"cast_duration":{"type":"number","title":"Cast Duration","description":"Time in seconds the spell casting will take.","$comment":"UNDOCUMENTED"},"filters":{"$ref":"#/definitions/BD"},"particle_color":{"type":"string","format":"color-hex","title":"Particle Color","description":"The color of the particles for this spell.","$comment":"UNDOCUMENTED"},"weight":{"type":"integer","title":"Weight","description":"The weight of this spell. Controls how likely this spell will be picked","$comment":"UNDOCUMENTED"},"start_sound_event":{"$ref":"#/definitions/BAB","title":"Start Sound Event","description":"The sound event to play when using this spell.","$comment":"UNDOCUMENTED"},"sequence":{"$ref":"#/definitions/ECB_sequence"}}}},"sequence":{"$ref":"#/definitions/ECB_sequence","description":"List of steps for the spell.","$comment":"UNDOCUMENTED","title":"Sequence"}},"examples":[{"cast_duration":0.0,"event_choices":[]}]},"ECC":{"description":"Allows the mob to give items it has to others.","type":"object","title":"Share Items","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"entity_types":{"$ref":"#/definitions/CJG","description":"List of entities this mob will share items with.","title":"Entity Types"},"goal_radius":{"type":"number","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot","title":"Goal Radius"},"max_dist":{"type":"number","default":0,"description":"Maximum distance in blocks this mob will look for entities to share items with.","title":"Maximum Distance"}},"examples":[{"goal_radius":0.5,"max_dist":0}]},"ECD":{"description":"Allows the mob to go into stone blocks like Silverfish do. Currently it can only be used by Silverfish.","type":"object","title":"Silverfish Merge With Stone","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"ECE":{"description":"Allows the mob to alert mobs in nearby blocks to come out. Currently it can only be used by Silverfish.","type":"object","title":"Silverfish Wake Up Friends","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"ECF":{"description":"Allows Equine mobs to be Horse Traps and be triggered like them, spawning a lightning bolt and a bunch of horses when a player is nearby. Can only be used by Horses, Mules, Donkeys and Skeleton Horses.","type":"object","title":"Skeleton Horse Trap","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"duration":{"type":"number","default":1,"description":"Amount of time in seconds the trap exists. After this amount of time is elapsed, the trap is removed from the world if it hasn't been activated","title":"Duration"},"within_radius":{"type":"number","default":0,"description":"Distance in blocks that the player has to be within to trigger the horse trap.","title":"Within Radius"}},"examples":[{"duration":1,"within_radius":0}]},"ECG":{"additionalProperties":false,"description":"Allows mobs that own a bed to in a village to move to and sleep in it.","type":"object","title":"Sleep","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"can_sleep_while_riding":{"title":"Can Sleep While Riding","type":"boolean","default":false,"description":"If true, the mob will be able to use the sleep goal if riding something."},"cooldown_time":{"title":"Cooldown Time","type":"number","default":0.0,"description":"Time in seconds the mob has to wait before using the goal again."},"sleep_collider_height":{"title":"Sleep Collider Height","type":"number","default":1.0,"description":"The height of the mob's collider while sleeping."},"sleep_collider_width":{"title":"Sleep Collider Width","type":"number","default":1.0,"description":"The width of the mob's collider while sleeping."},"sleep_y_offset":{"title":"Sleep Y Offset","type":"number","default":1.0,"description":"The y offset of the mob's collider while sleeping."},"timeout_cooldown":{"title":"Timeout Cooldown","type":"number","default":8.0,"description":"The cooldown time in seconds before the goal can be reused after a internal failure or timeout condition."}},"examples":[{"cooldown_time":0,"goal_radius":0,"sleep_collider_height":1,"sleep_collider_width":1,"sleep_y_offset":1,"timeout_cooldown":8}]},"ECH":{"additionalProperties":false,"description":"Can only be used by Slimes and Magma Cubes. Allows the mob to use a melee attack like the slime's.","type":"object","title":"Slime Attack","properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"set_persistent":{"title":"Set Persistent","type":"boolean","default":false,"description":"Allows the actor to be set to persist upon targeting a player."},"x_max_rotation":{"title":"X Max Rotation","type":"number","default":10,"description":"Maximum rotation (in degrees), on the X-axis, this entity can rotate while trying to look at the target."},"y_max_rotation":{"title":"Y Max Rotation","type":"number","default":10,"description":"Maximum rotation (in degrees), on the Y-axis, this entity can rotate while trying to look at the target."}},"examples":[{"set_persistent":false}]},"ECI":{"additionalProperties":false,"description":"Allow slimes to float in water / lava. Can only be used by Slime and Magma Cubes.","type":"object","title":"Slime Float","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"jump_chance_percentage":{"type":"number","title":"Jump Chance Percentage","default":0.8,"description":"Percent chance a slime or magma cube has to jump while in water / lava."}},"examples":[{"jump_chance_percentage":0.0}]},"ECJ":{"additionalProperties":false,"description":"Can only be used by Slimes and Magma Cubes. Allows the mob to continuously jump around like a slime.","type":"object","title":"Slime Keep On Jumping","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"}}},"EDA":{"additionalProperties":false,"description":"Can only be used by Slimes and Magma Cubes. Allows the mob to move in random directions like a slime.","type":"object","title":"Slime Random Direction","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"add_random_time_range":{"title":"Add Random Time Range","type":"integer","default":3,"description":"Additional time (in whole seconds), chosen randomly in the range of [0, \"add_random_time_range\"], to add to \"min_change_direction_time\"."},"min_change_direction_time":{"title":"Min Change Direction Time","type":"number","default":2,"description":"Constant minimum time (in seconds) to wait before choosing a new direction."},"turn_range":{"title":"Turn Range","type":"integer","default":360,"description":"Maximum rotation angle range (in degrees) when randomly choosing a new direction."}},"examples":[{"add_random_time_range":0.0,"turn_range":0.0,"min_change_direction_time":0.0}]},"EDB":{"additionalProperties":false,"description":"Allows the mob to take a load off and snack on food that it found nearby.","type":"object","title":"Snacking","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"items":{"title":"Items","description":"Items that we are interested in snacking on.","oneOf":[{"type":"array","items":{"$ref":"#/definitions/J","title":"Item"}},{"$ref":"#/definitions/J"}]},"snacking_cooldown":{"type":"number","default":7.5,"description":"The cooldown time in seconds before the mob is able to snack again.","title":"Snacking Cooldown"},"snacking_cooldown_min":{"type":"number","default":0.5,"description":"The minimum time in seconds before the mob is able to snack again.","title":"Snacking Cooldown Minimum"},"snacking_stop_chance":{"type":"number","description":"This is the chance that the mob will stop snacking, from 0 to 1.","title":"Snacking Stop Chance"}},"examples":[{"snacking_cooldown":7.5,"snacking_cooldown_min":0.5,"snacking_stop_chance":0.0}]},"EDC":{"additionalProperties":false,"description":"Allows the mob to stop and sneeze possibly startling nearby mobs and dropping an item.","type":"object","title":"Sneeze","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"cooldown_time":{"type":"number","default":0,"description":"Time in seconds the mob has to wait before using the goal again.","title":"Cooldown Time"},"drop_item_chance":{"type":"number","default":1,"description":"The probability that the mob will drop an item when it sneezes.","title":"Drop Item Chance"},"entity_types":{"$ref":"#/definitions/CJG","description":"List of entity types this mob will startle (cause to jump) when it sneezes.","title":"Entity Types"},"loot_table":{"type":"string","default":"loot_tables/empty.json","description":"Loot table to select dropped items from.","title":"Loot Table","pattern":"^loot_tables/.*.json$"},"prepare_sound":{"$ref":"#/definitions/BAB","default":"","description":"Sound to play when the sneeze is about to happen.","title":"Prepare Sound"},"prepare_time":{"type":"number","default":1,"description":"The time in seconds that the mob takes to prepare to sneeze (while the prepare_sound is playing).","title":"Prepare Time"},"probability":{"type":"number","default":0.02,"minimum":0,"maximum":1,"description":"The probability of sneezing. A value of 1.00 is 100%","title":"Probability"},"sound":{"$ref":"#/definitions/BAB","default":"","description":"Sound to play when the sneeze occurs.","title":"Sound"},"within_radius":{"type":"number","default":0,"description":"Distance in blocks that mobs will be startled.","title":"Within Radius"}},"examples":[{"cooldown_time":0,"drop_item_chance":1,"loot_table":"loot_tables/empty.json","prepare_sound":"","prepare_time":1,"probability":0.02,"sound":"","within_radius":0}]},"EDD":{"additionalProperties":false,"type":"object","title":"Sonic Boom","description":"[EXPERIMENTAL BEHAVIOR] Plays the provided sounds and activates the `SONIC BOOM` actor flag during the specified duration","properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"attack_cooldown":{"title":"Attack Cooldown","type":"number","default":5.0,"description":"Cooldown in seconds required after using this attack until the entity can use sonic boom again."},"attack_damage":{"title":"Attack Damage","type":"number","default":30.0,"description":"Attack damage of the sonic boom."},"attack_range_horizontal":{"title":"Attack Range Horizontal","type":"number","default":15.0,"description":"Horizontal range (in blocks) at which the sonic boom can damage the target."},"attack_range_vertical":{"title":"Attack Range Vertical","type":"number","default":20.0,"description":"Vertical range (in blocks) at which the sonic boom can damage the target."},"attack_sound":{"title":"Attack Sound","$ref":"#/definitions/BAB","default":"","description":"Sound event for the attack."},"charge_sound":{"title":"Charge Sound","$ref":"#/definitions/BAB","default":"","description":"Sound event for the charge up."},"duration":{"title":"Duration","type":"number","default":3.0,"description":"Goal duration in seconds."},"duration_until_attack_sound":{"title":"Duration Until Attack Sound","type":"number","default":1.7,"description":"Duration in seconds until the attack sound is played."},"knockback_height_cap":{"title":"Knockback Height Cap","type":"number","default":0.0,"description":"Height cap of the attack knockback's vertical delta."},"knockback_horizontal_strength":{"title":"Knockback Horizontal Strength","type":"number","default":0.0,"description":"Horizontal strength of the attack's knockback applied to the attack target."},"knockback_vertical_strength":{"title":"Knockback Vertical Strength","type":"number","default":0.0,"description":"Vertical strength of the attack's knockback applied to the attack target."}}},"EDE":{"description":"Allows an entity to dive underwater.","type":"object","title":"Squid Dive","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"EDF":{"description":"Allows the squid to swim away. Can only be used by the Squid.","type":"object","title":"Squid Flee","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"EDG":{"description":"Allows the squid to swim in place idly. Can only be used by the Squid.","type":"object","title":"Squid Idle","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"EDH":{"description":"Allows the squid to move away from ground blocks and back to water. Can only be used by the Squid.","type":"object","title":"Squid Move Away From Ground","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"EDI":{"description":"Allows the squid to stick to the ground when outside water. Can only be used by the Squid.","type":"object","title":"Squid Out Of Water","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"EDJ":{"description":"Allows an entity to stalk a specific target. Once within range of the target, the entity will then leap at the target and deal damage based upon its attack attribute.","type":"object","title":"Stalk And Pounce On Target","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"interest_time":{"type":"number","default":2,"description":"The amount of time the mob will be interested before pouncing. This happens when the mob is within range of pouncing","title":"Interest Time"},"leap_distance":{"type":"number","default":0.8,"description":"The distance in blocks the mob jumps in the direction of its target.","title":"Leap Distance"},"leap_height":{"type":"number","default":0.9,"description":"The height in blocks the mob jumps when leaping at its target.","title":"Leap Height"},"max_stalk_dist":{"type":"number","default":10,"description":"The maximum distance away a target can be before the mob gives up on stalking.","title":"Maximum Stalk Dist"},"pounce_max_dist":{"type":"number","default":5,"description":"The maximum distance away from the target in blocks to begin pouncing at the target.","title":"Pounce Maximum Dist"},"set_persistent":{"type":"boolean","default":false,"description":"Allows the actor to be set to persist upon targeting a player.","title":"Set Persistent"},"stalk_speed":{"type":"number","default":1.2,"description":"The movement speed in which you stalk your target.","title":"Stalk Speed"},"strike_dist":{"type":"number","default":2,"description":"The Maximum distance away from the target when landing from the pounce that will still result in damaging the target.","title":"Strike Dist"},"stuck_time":{"type":"number","default":2,"description":"The amount of time the mob will be stuck if they fail and land on a block they can be stuck on.","title":"Stuck Time"},"leap_dist":{"type":"number","description":"The distance in blocks the mob jumps in the direction of their target.","$comment":"UNDOCUMENTED","title":"Leap Dist"},"stuck_blocks":{"$ref":"#/definitions/BD","description":"Filters to apply on the block the mob lands on to determine if it is valid for getting stuck.","$comment":"UNDOCUMENTED","title":"Stuck Block"}},"examples":[{"interest_time":2,"leap_distance":0.8,"leap_height":0.9,"max_stalk_dist":10,"pounce_max_dist":5,"set_persistent":false,"stalk_speed":1.2,"strike_dist":2,"stuck_time":2,"leap_dist":0.0}]},"EEA":{"type":"object","title":"Stay Near Noteblock","description":"[EXPERIMENTAL BEHAVIOR] The entity will attempt to toss the items from its inventory to a nearby recently played noteblock.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"listen_time":{"title":"Listen Time","type":"integer","default":0.0,"description":"Sets the time an entity should stay near a noteblock after hearing it."},"speed":{"title":"Speed","type":"number","default":1.0,"description":"Sets the entity's speed when moving toward the block."},"start_distance":{"title":"Start Distance","type":"number","default":10.0,"description":"Sets the distance the entity needs to be away from the block to attempt to start the goal."},"stop_distance":{"title":"Stop Distance","type":"number","default":2.0,"description":"Sets the distance from the block the entity will attempt to reach."}}},"EEB":{"description":"Allows the mob to stay put while it is in a sitting state instead of doing something else.","type":"object","title":"Stay While Sitting","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"EEC":{"description":"Allows the mob to use the polar bear's melee attack.","type":"object","title":"Stomp Attack","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"attack_once":{"title":"Attack Once","type":"boolean","default":false,"description":"Allows the entity to use this attack behavior, only once EVER."},"attack_types":{"title":"Attack Types","type":"string","default":"N/A","description":"Defines the entity types this entity will attack."},"can_spread_on_fire":{"title":"Can Spread On Fire","type":"boolean","default":false,"description":"If the entity is on fire, this allows the entity's target to catch on fire after being hi"},"cooldown_time":{"title":"Cooldown Time","type":"number","default":1,"description":"Cooldown time (in seconds) between attacks."},"inner_boundary_time_increase":{"title":"Inner Boundary Time Increase","type":"number","default":0.25,"description":"Time (in seconds) to add to attack path recalculation when the target is beyond the \"path_inner_boundary\"."},"max_dist":{"title":"Max Dist","type":"number","description":"Unused. No effect on \"minecraft:behavior.melee_attack\"."},"max_path_time":{"title":"Max Path Time","type":"number","default":0.55,"description":"Maximum base time (in seconds) to recalculate new attack path to target (before increases applied)."},"melee_fov":{"title":"Melee Fov","type":"number","default":90,"description":"Field of view (in degrees) when using the sensing component to detect an attack target."},"min_path_time":{"title":"Min Path Time","type":"number","default":0.2,"description":"Minimum base time (in seconds) to recalculate new attack path to target (before increases applied)."},"no_damage_range_multiplier":{"title":"No Damage Range Multiplier","type":"number","default":2,"description":"Multiplied with the final AoE damage range to determine a no damage range. The stomp attack will go on cooldown if target is in this no damage range."},"on_attack":{"title":"On Attack","$ref":"#/definitions/BAI","description":"Defines the event to trigger when this entity successfully attacks."},"outer_boundary_time_increase":{"title":"Outer Boundary Time Increase","type":"number","default":0.5,"description":"Time (in seconds) to add to attack path recalculation when the target is beyond the \"path_outer_boundary\"."},"path_fail_time_increase":{"title":"Path Fail Time Increase","type":"number","default":0.75,"description":"Time (in seconds) to add to attack path recalculation when this entity cannot move along the current path."},"path_inner_boundary":{"title":"Path Inner Boundary","type":"number","default":16,"description":"Distance at which to increase attack path recalculation by \"inner_boundary_tick_increase\"."},"path_outer_boundary":{"title":"Path Outer Boundary","type":"number","default":32,"description":"Distance at which to increase attack path recalculation by \"outer_boundary_tick_increase\"."},"random_stop_interval":{"title":"Random Stop Interval","type":"integer","default":0,"description":"This entity will have a 1 in N chance to stop it's current attack, where N = \"random_stop_interval\"."},"reach_multiplier":{"title":"Reach Multiplier","type":"number","default":2,"description":"Used with the base size of the entity to determine minimum target-distance before trying to deal attack damage."},"require_complete_path":{"title":"Require Complete Path","type":"boolean","default":false,"description":"Toggles (on/off) the need to have a full path from the entity to the target when using this melee attack behavior."},"set_persistent":{"title":"Set Persistent","type":"boolean","default":false,"description":"Allows the actor to be set to persist upon targeting a player."},"stomp_range_multiplier":{"title":"Stomp Range Multiplier","type":"number","default":2,"description":"Multiplied with the base size of the entity to determine stomp AoE damage range."},"target_dist":{"title":"Target Dist","type":"number","description":"Unused. No effect on \"minecraft:behavior.melee_attack\"."},"track_target":{"title":"Track Target","type":"boolean","default":false,"description":"Allows the entity to track the attack target, even if the entity has no sensing."},"x_max_rotation":{"title":"X Max Rotation","type":"number","default":30,"description":"Maximum rotation (in degrees), on the X-axis, this entity can rotate while trying to look at the target."},"y_max_head_rotation":{"title":"Y Max Head Rotation","type":"number","default":30,"description":"Maximum rotation (in degrees), on the Y-axis, this entity can rotate its head while trying to look at the target."}},"examples":[{"attack_once":false,"attack_types":"","probability":0.02,"random_stop_interval":0,"reach_multiplier":2,"require_complete_path":false,"track_target":false,"stomp_range_multiplier":0.0,"no_damage_range_multiplier":0.0}]},"EED":{"description":"Allows this mob to stomp turtle eggs.","type":"object","title":"Stomp Turtle Egg","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"goal_radius":{"type":"number","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot","title":"Goal Radius"},"interval":{"type":"integer","default":120,"description":"A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal","title":"Interval"},"search_count":{"type":"integer","default":10,"description":"The number of blocks each tick that the mob will check within it's search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick","title":"Search Count"},"search_height":{"type":"integer","default":1,"description":"Height in blocks the mob will look for turtle eggs to move towards.","title":"Search Height"},"search_range":{"type":"integer","default":0,"description":"The distance in blocks it will look for turtle eggs to move towards.","title":"Search Range"}},"examples":[{"goal_radius":0.5,"interval":120,"search_count":10,"search_height":1,"search_range":0}]},"EEE":{"description":"Allows the mob to move into a random location within a village within the search range.","type":"object","title":"Stroll Towards Village","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"cooldown_time":{"type":"number","default":0,"description":"Time in seconds the mob has to wait before using the goal again.","title":"Cooldown Time"},"goal_radius":{"type":"number","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot","title":"Goal Radius"},"search_range":{"type":"integer","default":0,"description":"The distance in blocks to search for points inside villages. If <= 0, find the closest village regardless of distance.","title":"Search Range"},"speed_multiplier":{"type":"number","default":1,"description":"Movement speed multiplier of the mob when using this AI Goal.","title":"Speed Multiplier"},"start_chance":{"type":"number","default":0.1,"description":"This is the chance that the mob will start this goal, from 0 to 1.","title":"Start Chance"}},"examples":[{"cooldown_time":0,"goal_radius":0.5,"search_range":0,"speed_multiplier":1,"start_chance":0.1}]},"EEF":{"description":"Allows the mob to attack the player by summoning other entities.","title":"Summon Entity","type":"object","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"summon_choices":{"type":"array","description":"List of spells for the mob to use to summon entities.","title":"Summon Choices","items":{"type":"object","additionalProperties":false,"properties":{"cast_duration":{"type":"number","description":"Time in seconds the spell casting will take.","title":"Cast Duration"},"cooldown_time":{"type":"number","default":0,"description":"Time in seconds the mob has to wait before using the spell again.","title":"Cooldown Time"},"do_casting":{"type":"boolean","default":true,"description":"If true, the mob will do the casting animations and render spell particles.","title":"Do Casting"},"filters":{"$ref":"#/definitions/BD"},"max_activation_range":{"type":"number","default":-1,"description":"Upper bound of the activation distance in blocks for this spell.","title":"Maximum Activation Range"},"min_activation_range":{"type":"number","default":1,"description":"Lower bound of the activation distance in blocks for this spell.","title":"Minimum Activation Range"},"particle_color":{"description":"The color of the particles for this spell.","title":"Particle Color","oneOf":[{"type":"integer","default":0},{"type":"string","format":"color-hex"}]},"sequence":{"type":"array","description":"List of steps for the spell.","title":"Sequence","items":{"type":"object","additionalProperties":false,"title":"Sequence","properties":{"delay":{"type":"number","default":0,"description":"Amount of time in seconds to wait before this step starts.","title":"Delay"},"delay_per_summon":{"type":"number","default":0,"title":"Delay Per Summon","description":"Amount of time in seconds before each entity is summoned in this step."},"entity_lifespan":{"type":"number","title":"Entity Lifespan","default":-1,"description":"Amount of time in seconds that the spawned entity will be alive for. A value of -1.0 means it will remain alive for as long as it can"},"base_delay":{"type":"number","default":0,"description":"Amount of time in seconds to wait before this step starts.","title":"Base Delay"},"entity_type":{"type":"string","description":"The entity type of the entities we will spawn in this step.","title":"Entity Type"},"num_entities_spawned":{"type":"integer","default":1,"description":"Number of entities that will be spawned in this step.","title":"Number Entities Spawned"},"shape":{"type":"string","default":"line","description":"The base shape of this step. Valid values are circle and line","enum":["line","circle"],"title":"Shape"},"size":{"type":"number","default":1,"description":"The base size of the entity.","title":"Size"},"sound_event":{"$ref":"#/definitions/BAB","description":"The sound event to play for this step.","title":"Sound Event"},"summon_cap":{"type":"integer","default":0,"description":"Maximum number of summoned entities at any given time.","title":"Summon Cap"},"summon_cap_radius":{"type":"number","default":0,"description":"Maximum radius where the summon entities can spawn.","title":"Summon Cap Radius"},"target":{"type":"string","default":"self","description":"The target of the spell. This is where the spell will start (line will start here, circle will be centered here)","title":"Target"}}}},"start_sound_event":{"$ref":"#/definitions/BAB","description":"The sound event to play when using this spell.","title":"Start Sound Event"},"weight":{"type":"number","title":"Weight","default":0,"description":"The weight of this spell. Controls how likely the mob is to choose this spell when casting one"}}}}},"examples":[{"summon_choices":[]}]},"EEG":{"description":"Allows the creeper to swell up when a player is nearby. It can only be used by Creepers.","title":"Swell","type":"object","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"start_distance":{"type":"number","default":10,"description":"This mob starts swelling when a target is at least this many blocks away.","title":"Start Distance"},"stop_distance":{"type":"number","default":2,"description":"This mob stops swelling when a target has moved away at least this many blocks.","title":"Stop Distance"}},"examples":[{"start_distance":10,"stop_distance":2}]},"EEH":{"description":"Allows the entity go idle, if swimming. Entity must be in water.","type":"object","title":"Swim Idle","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"idle_time":{"type":"number","title":"Idle Time","default":5,"description":"Amount of time (in seconds) to stay idle."},"success_rate":{"type":"number","title":"Succes Rate","default":0.1,"description":"Percent chance this entity will go idle, 1.0 = 100%."}},"examples":[{"idle_time":0.0,"success_rate":0.0}]},"EEI":{"description":"Has the fish swim around when they can't pathfind.","type":"object","title":"Swim Wander","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"interval":{"title":"Interval","type":"number","default":0.00833,"description":"Percent chance to start wandering, when not path-finding. 1 = 100%"},"look_ahead":{"title":"Look Ahead","type":"number","default":5,"description":"Distance to look ahead for obstacle avoidance, while wandering."},"wander_time":{"title":"Wander Time","type":"number","default":5,"description":"Amount of time (in seconds) to wander after wandering behavior was successfully started."}},"examples":[{"interval":0.0,"look_ahead":0.0,"wander_time":0.0}]},"EEJ":{"type":"object","title":"Swim With Entity","description":"Allows the entity follow another entity. Both entities must be swimming and in water.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"success_rate":{"title":"Success Rate","type":"number","default":0.1,"description":"Percent chance to start following another entity, if not already doing so. 1.0 = 100%"},"chance_to_stop":{"title":"Chance To Stop","type":"number","default":0.0333,"description":"Percent chance to stop following the current entity, if they're riding another entity or they're not swimming. 1.0 = 100%"},"state_check_interval":{"title":"State Check Interval","type":"number","default":0.5,"description":"Time (in seconds) between checks to determine if this entity should catch up to the entity being followed or match the direction of the entity being followed."},"catch_up_threshold":{"title":"Catch Up Threshold","type":"number","default":12,"description":"Distance, from the entity being followed, at which this entity will speed up to reach that entity."},"match_direction_threshold":{"title":"Match Direction Threshold","type":"number","default":2,"description":"Distance, from the entity being followed, at which this entity will try to match that entity's direction."},"catch_up_multiplier":{"title":"Catch Up Multiplier","type":"number","default":2.5,"description":"The multiplier this entity's speed is modified by when matching another entity's direction."},"search_range":{"title":"Search Range","type":"number","default":20,"description":"Radius around this entity to search for another entity to follow."},"stop_distance":{"title":"Stop Distance","type":"number","default":5,"description":"Distance, from the entity being followed, at which this entity will stop following that entity."},"entity_types":{"$ref":"#/definitions/CJG","title":"Entity Types","description":"Filters which determine what entites are valid to follow."}},"examples":[{"success_rate":0.1,"chance_to_stop":0.0333,"state_check_interval":0.5,"catch_up_threshold":12,"match_direction_threshold":2,"catch_up_multiplier":2.5,"search_range":20,"stop_distance":5}]},"EFA":{"description":"Allows the mob to move to attack a target. The goal ends if it has a horizontal collision or gets hit. Built to be used with flying mobs.","type":"object","title":"Swoop Attack","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"damage_reach":{"title":"Damage Reach","type":"number","default":0.2,"description":"Added to the base size of the entity, to determine the target's maximum allowable distance, when trying to deal attack damage."},"delay_range":{"$ref":"#/definitions/BBB","default":[[10.0,20.0]],"description":"Minimum and maximum cooldown time-range (in seconds) between each attempted swoop attack.","title":"Delay Range"}},"examples":[{"damage_reach":0.2,"delay_range":[10.0,20.0]}]},"EFB":{"description":"Can only be used by Villagers. Allows the mob to accept flowers from Iron Golems.","type":"object","title":"Take Flower","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"filters":{"title":"Filters","$ref":"#/definitions/BD","description":"Conditions that need to be met for the behavior to start."},"max_head_rotation_y":{"title":"Max Head Rotation Y","type":"number","default":30,"description":"Maximum rotation (in degrees), on the Y-axis, this entity can rotate its head while trying to look at the target."},"max_rotation_x":{"title":"Max Rotation X","type":"number","default":30,"description":"Maximum rotation (in degrees), on the X-axis, this entity can rotate while trying to look at the target."},"max_wait_time":{"title":"Max Wait Time","type":"number","default":20.0,"description":"The maximum amount of time (in seconds) for the mob to randomly wait for before taking the flower."},"min_distance_to_target":{"title":"Min Distance To Target","type":"number","default":2.0,"description":"Minimum distance (in blocks) for the entity to be considered having reached its target."},"min_wait_time":{"title":"Min Wait Time","type":"number","default":4.0,"description":"The minimum amount of time (in seconds) for the mob to randomly wait for before taking the flower."},"search_area":{"title":"Search Area","default":[6,2,6],"description":"The dimensions of the AABB used to search for a potential mob to take a flower from.","$ref":"#/definitions/CFA"}}},"EFC":{"description":"Allows an entity to select a valid target entity that pushed it.","type":"object","title":"Target When Pushed","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"entity_types":{"title":"Entity Types","$ref":"#/definitions/CJG","description":"The list of conditions the other entity must meet to be a valid target."},"percent_chance":{"title":"Percent Chance","type":"number","default":5.0,"description":"Probability that the entity will target the entity that pushed it."}},"examples":[{"percent_chance":5.0,"entity_types":[]}]},"EFD":{"description":"Allows an entity to be tempted by a set item.","type":"object","title":"Tempt","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"can_get_scared":{"type":"boolean","default":false,"description":"If true, the mob can stop being tempted if the player moves too fast while close to this mob.","title":"Can Get Scared"},"can_tempt_while_ridden":{"type":"boolean","default":false,"title":"Can Tempt While Ridden","description":"If true, the mob can be tempted even if it has a passenger (i.e. if being ridden)."},"can_tempt_vertically":{"type":"boolean","default":false,"title":"Can Tempt Vertically","description":"If true, vertical distance to the player will be considered when tempting."},"items":{"type":"array","title":"Items","description":"List of items this mob is tempted by.","items":{"$ref":"#/definitions/J"}},"sound_interval":{"description":"Range of random ticks to wait between tempt sounds.","title":"Sound Interval","oneOf":[{"type":"number","minimum":0},{"items":[{"type":"integer","minimum":0,"title":"Minimum"},{"type":"integer","minimum":0,"title":"Maximum"}]}]},"tempt_sound":{"$ref":"#/definitions/BAB","description":"Sound to play while the mob is being tempted.","title":"Tempt Sound"},"within_radius":{"type":"number","default":0,"description":"Distance in blocks this mob can get tempted by a player holding an item they like.","title":"Within Radius"}},"examples":[{"can_get_scared":false,"can_tempt_while_ridden":true,"can_tempt_vertically":true,"items":[],"within_radius":0}]},"EFE":{"title":"Timer Flag","description":"Fires an event when this behavior starts, then waits for a duration before stopping. When stopping due to that timeout or due to being interrupted by another behavior, fires another event. query.timer_flag_ will return 1.0 on both the client and server when this behavior is running, and 0.0 otherwise.","type":"object","additionalProperties":false,"properties":{"cooldown_range":{"title":"Cooldown Range","$ref":"#/definitions/BCF","default":[10.0,10.0],"description":"Goal cooldown range in seconds."},"duration_range":{"title":"Duration Range","$ref":"#/definitions/BCF","default":[2.0,2.0],"description":"Goal duration range in seconds."},"on_end":{"title":"On End","$ref":"#/definitions/BAI","description":"Event to run when the goal ends."},"on_start":{"title":"On Start","$ref":"#/definitions/BAI","description":"Event to run when the goal starts."}}},"EFF":{"description":"Allows the mob to look at a player that is holding a tradable item.","type":"object","title":"Trade Interest","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"carried_item_switch_time":{"type":"number","default":2,"description":"The Maximum time in seconds that the trader will hold an item before attempting to switch for a different item that takes the same trade.","title":"Carried Item Switch Time"},"cooldown":{"type":"number","default":2,"description":"The time in seconds before the trader can use this goal again.","title":"Cooldown"},"interest_time":{"type":"number","default":45,"description":"The Maximum time in seconds that the trader will be interested with showing it's trade items.","title":"Interest_time"},"remove_item_time":{"type":"number","default":1,"description":"The Maximum time in seconds that the trader will wait when you no longer have items to trade.","title":"Remove Item Time"},"within_radius":{"type":"number","default":0,"description":"Distance in blocks this mob can be interested by a player holding an item they like.","title":"Within Radius"}},"examples":[{"carried_item_switch_time":2,"cooldown":2,"interest_time":45,"remove_item_time":1,"within_radius":0}]},"EFG":{"description":"Allows the player to trade with this mob.","type":"object","title":"Trade With Player","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"EFH":{"description":"Allows the mob to target the same entity its owner is targeting.","additionalProperties":false,"type":"object","title":"Vex Copy Owner Target","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"entity_types":{"$ref":"#/definitions/CJG","description":"List of entities this mob can copy the owner from.","title":"Entity Types"}}},"EFI":{"description":"Allows the mob to move around randomly like the Vex.","additionalProperties":false,"type":"object","title":"Vex Random Move","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"entity_types":{"$ref":"#/definitions/CJG","description":"List of entities this mob can copy the owner from.","title":"Entity Types"}}},"EFJ":{"description":"Allows the wither to launch random attacks. Can only be used by the Wither Boss.","additionalProperties":false,"type":"object","title":"Wither Random Attack Pos Goal","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"}}},"EGA":{"description":"Allows the wither to focus its attacks on whichever mob has dealt the most damage to it. Can only be used by the Wither Boss.","additionalProperties":false,"type":"object","title":"Wither Target Highest Damage","required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"entity_types":{"$ref":"#/definitions/CJG","description":"List of entity types the wither takes into account to find who dealt the most damage to it.","title":"Entity Types"}}},"EGB":{"type":"object","title":"Work","description":"Allows the NPC to use the POI.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"active_time":{"title":"Active Time","type":"integer","default":0,"description":"The amount of ticks the NPC will stay in their the work location.","exclusiveMinimum":0},"can_work_in_rain":{"title":"Can Work In Rain","type":"boolean","default":false,"description":"If true, this entity can work when their jobsite POI is being rained on."},"goal_cooldown":{"title":"Goal Cooldown","type":"integer","default":0,"description":"The amount of ticks the goal will be on cooldown before it can be used again."},"on_arrival":{"title":"On Arrival","$ref":"#/definitions/BAI","description":"Event to run when the mob reaches their jobsite."},"sound_delay_max":{"title":"Sound Delay Max","type":"integer","default":0,"description":"The max interval in which a sound will play."},"sound_delay_min":{"title":"Sound Delay Min","type":"integer","default":0,"description":"The min interval in which a sound will play."},"work_in_rain_tolerance":{"title":"Work In Rain Tolerance","type":"integer","default":-1,"description":"If \"can_work_in_rain\" is false, this is the maximum number of ticks left in the goal where rain will not interrupt the goal"}},"examples":[{"active_time":0,"can_work_in_rain":false,"goal_cooldown":0,"sound_delay_max":0,"sound_delay_min":0,"work_in_rain_tolerance":-1}]},"EGC":{"description":"Allows the NPC to use the composter POI to convert excess seeds into bone meal.","type":"object","title":"Work Composter","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJD"},"speed_multiplier":{"$ref":"#/definitions/DAA"},"active_time":{"title":"Active Time","type":"integer","default":0,"description":"The amount of ticks the NPC will stay in their the work location."},"block_interaction_max":{"title":"Block Interaction Max","type":"integer","default":1,"description":"The maximum number of times the mob will interact with the composter."},"can_empty_composter":{"title":"Can Empty Composter","type":"boolean","default":true,"description":"Determines whether the mob can empty a full composter."},"can_fill_composter":{"title":"Can Fill Composter","type":"boolean","default":true,"description":"Determines whether the mob can add items to a composter given that it is not full."},"can_work_in_rain":{"title":"Can Work In Rain","type":"boolean","default":false,"description":"If true, this entity can work when their jobsite POI is being rained on."},"goal_cooldown":{"title":"Goal Cooldown","type":"integer","default":0,"description":"The amount of ticks the goal will be on cooldown before it can be used again."},"items_per_use_max":{"title":"Items Per Use Max","type":"integer","default":20,"description":"The maximum number of items which can be added to the composter per block interaction."},"min_item_count":{"title":"Min Item Count","type":"integer","default":10,"description":"Limits the amount of each compostable item the mob can use. Any amount held over this number will be composted if possible"},"on_arrival":{"title":"On Arrival","$ref":"#/definitions/BAI","description":"Event to run when the mob reaches their jobsite."},"sound_delay_max":{"title":"Sound Delay Max","type":"integer","description":"Unused."},"sound_delay_min":{"title":"Sound Delay Min","type":"integer","description":"Unused."},"use_block_max":{"title":"Use Block Max","type":"integer","default":200,"description":"The maximum interval in which the mob will interact with the composter."},"use_block_min":{"title":"Use Block Min","type":"integer","default":100,"description":"The minimum interval in which the mob will interact with the composter."},"work_in_rain_tolerance":{"title":"Work In Rain Tolerance","type":"integer","default":-1,"description":"If \"can_work_in_rain\" is false, this is the maximum number of ticks left in the goal where rain will not interrupt the goal"}},"examples":[{}]},"F":{"additionalProperties":false,"type":"object","title":"Components","description":"A collection of components.","required":[],"properties":{"minecraft:addrider":{"$ref":"#/definitions/G"},"minecraft:admire_item":{"$ref":"#/definitions/H"},"minecraft:ageable":{"$ref":"#/definitions/I"},"minecraft:ambient_sound_interval":{"$ref":"#/definitions/BAA"},"minecraft:anger_level":{"$ref":"#/definitions/BAC"},"minecraft:angry":{"$ref":"#/definitions/BAD"},"minecraft:annotation.break_door":{"$ref":"#/definitions/BAE"},"minecraft:annotation.open_door":{"$ref":"#/definitions/BAF"},"minecraft:area_attack":{"$ref":"#/definitions/BAG"},"minecraft:attack_cooldown":{"$ref":"#/definitions/BAH"},"minecraft:attack_damage":{"$ref":"#/definitions/BAJ"},"minecraft:attack":{"$ref":"#/definitions/BBA"},"minecraft:balloonable":{"$ref":"#/definitions/BBC"},"minecraft:barter":{"$ref":"#/definitions/BBD"},"minecraft:block_climber":{"$ref":"#/definitions/BBE"},"minecraft:block_sensor":{"$ref":"#/definitions/BBF"},"minecraft:boostable":{"$ref":"#/definitions/BBH"},"minecraft:boss":{"$ref":"#/definitions/BBI"},"minecraft:break_blocks":{"$ref":"#/definitions/BBJ"},"minecraft:breathable":{"$ref":"#/definitions/BCB"},"minecraft:breedable":{"$ref":"#/definitions/BCD"},"minecraft:bribeable":{"$ref":"#/definitions/BCG"},"minecraft:buoyant":{"$ref":"#/definitions/BCH"},"minecraft:burns_in_daylight":{"$ref":"#/definitions/BCI"},"minecraft:can_climb":{"$ref":"#/definitions/BCJ"},"minecraft:can_fly":{"$ref":"#/definitions/BDA"},"minecraft:can_join_raid":{"$ref":"#/definitions/BDB"},"minecraft:can_power_jump":{"$ref":"#/definitions/BDC"},"minecraft:celebrate_hunt":{"$ref":"#/definitions/BDD"},"minecraft:collision_box":{"$ref":"#/definitions/BDE"},"minecraft:color":{"$ref":"#/definitions/BDF"},"minecraft:color2":{"$ref":"#/definitions/BDG"},"minecraft:combat_regeneration":{"$ref":"#/definitions/BDH"},"minecraft:conditional_bandwidth_optimization":{"$ref":"#/definitions/BDI"},"minecraft:custom_hit_test":{"$ref":"#/definitions/BDJ"},"minecraft:damage_over_time":{"$ref":"#/definitions/BEA"},"minecraft:damage_sensor":{"$ref":"#/definitions/BEB"},"minecraft:dash":{"$ref":"#/definitions/BEC"},"minecraft:default_look_angle":{"$ref":"#/definitions/BED"},"minecraft:despawn":{"$ref":"#/definitions/BEE"},"minecraft:drying_out_timer":{"$ref":"#/definitions/BEF"},"minecraft:dweller":{"$ref":"#/definitions/BEG"},"minecraft:economy_trade_table":{"$ref":"#/definitions/BEH"},"minecraft:entity_sensor":{"$ref":"#/definitions/BEI"},"minecraft:environment_sensor":{"$ref":"#/definitions/BEJ"},"minecraft:equip_item":{"$ref":"#/definitions/BFA"},"minecraft:equipment":{"$ref":"#/definitions/BFB"},"minecraft:equippable":{"$ref":"#/definitions/BFD"},"minecraft:exhaustion_values":{"$ref":"#/definitions/BFE"},"minecraft:experience_reward":{"$ref":"#/definitions/BFF"},"minecraft:explode":{"$ref":"#/definitions/BFG"},"minecraft:fall_damage":{"$ref":"#/definitions/BFH"},"minecraft:fire_immune":{"$ref":"#/definitions/BFI"},"minecraft:floats_in_liquid":{"$ref":"#/definitions/BFJ"},"minecraft:flocking":{"$ref":"#/definitions/BGA"},"minecraft:flying_speed":{"$ref":"#/definitions/BGB"},"minecraft:follow_range":{"$ref":"#/definitions/BGC"},"minecraft:friction_modifier":{"$ref":"#/definitions/BGD"},"minecraft:game_event_movement_tracking":{"$ref":"#/definitions/BGE"},"minecraft:genetics":{"$ref":"#/definitions/BGF"},"minecraft:giveable":{"$ref":"#/definitions/BGG"},"minecraft:ground_offset":{"$ref":"#/definitions/BGH"},"minecraft:group_size":{"$ref":"#/definitions/BGI"},"minecraft:grows_crop":{"$ref":"#/definitions/BGJ"},"minecraft:healable":{"$ref":"#/definitions/BHA"},"minecraft:health":{"$ref":"#/definitions/BHB"},"minecraft:heartbeat":{"$ref":"#/definitions/BHC"},"minecraft:hide":{"$ref":"#/definitions/BHD"},"minecraft:home":{"$ref":"#/definitions/BHE"},"minecraft:horse.jump_strength":{"$ref":"#/definitions/BHF"},"minecraft:hurt_on_condition":{"$ref":"#/definitions/BHG"},"minecraft:hurt_when_wet":{"$ref":"#/definitions/BHH"},"minecraft:input_ground_controlled":{"$ref":"#/definitions/BHI"},"minecraft:inside_block_notifier":{"$ref":"#/definitions/BHJ"},"minecraft:insomnia":{"$ref":"#/definitions/BIB"},"minecraft:instant_despawn":{"$ref":"#/definitions/BIC"},"minecraft:interact":{"$ref":"#/definitions/BID"},"minecraft:inventory":{"$ref":"#/definitions/BIE"},"minecraft:is_baby":{"$ref":"#/definitions/BIF"},"minecraft:is_charged":{"$ref":"#/definitions/BIG"},"minecraft:is_chested":{"$ref":"#/definitions/BIH"},"minecraft:is_dyeable":{"$ref":"#/definitions/BII"},"minecraft:is_hidden_when_invisible":{"$ref":"#/definitions/BIJ"},"minecraft:is_ignited":{"$ref":"#/definitions/BJA"},"minecraft:is_illager_captain":{"$ref":"#/definitions/BJB"},"minecraft:is_saddled":{"$ref":"#/definitions/BJC"},"minecraft:is_shaking":{"$ref":"#/definitions/BJD"},"minecraft:is_sheared":{"$ref":"#/definitions/BJE"},"minecraft:is_stackable":{"$ref":"#/definitions/BJF"},"minecraft:is_stunned":{"$ref":"#/definitions/BJG"},"minecraft:is_tamed":{"$ref":"#/definitions/BJH"},"minecraft:item_controllable":{"$ref":"#/definitions/BJI"},"minecraft:item_hopper":{"$ref":"#/definitions/BJJ"},"minecraft:jump.dynamic":{"$ref":"#/definitions/CAA"},"minecraft:jump.static":{"$ref":"#/definitions/CAB"},"minecraft:knockback_resistance":{"$ref":"#/definitions/CAC"},"minecraft:lava_movement":{"$ref":"#/definitions/CAD"},"minecraft:leashable":{"$ref":"#/definitions/CAE"},"minecraft:lookat":{"$ref":"#/definitions/CAF"},"minecraft:loot":{"$ref":"#/definitions/CAG"},"minecraft:managed_wandering_trader":{"$ref":"#/definitions/CAH"},"minecraft:mark_variant":{"$ref":"#/definitions/CAI"},"minecraft:mob_effect":{"$ref":"#/definitions/CAJ"},"minecraft:movement_sound_distance_offset":{"$ref":"#/definitions/CBA"},"minecraft:movement.amphibious":{"$ref":"#/definitions/CBB"},"minecraft:movement.basic":{"$ref":"#/definitions/CBC"},"minecraft:movement.fly":{"$ref":"#/definitions/CBD"},"minecraft:movement.generic":{"$ref":"#/definitions/CBE"},"minecraft:movement.glide":{"$ref":"#/definitions/CBF"},"minecraft:movement.hover":{"$ref":"#/definitions/CBG"},"minecraft:movement.jump":{"$ref":"#/definitions/CBH"},"minecraft:movement.skip":{"$ref":"#/definitions/CBI"},"minecraft:movement.sway":{"$ref":"#/definitions/CBJ"},"minecraft:movement":{"$ref":"#/definitions/CCA"},"minecraft:nameable":{"$ref":"#/definitions/CCB"},"minecraft:navigation.climb":{"$ref":"#/definitions/CCC"},"minecraft:navigation.float":{"$ref":"#/definitions/CCD"},"minecraft:navigation.fly":{"$ref":"#/definitions/CCE"},"minecraft:navigation.generic":{"$ref":"#/definitions/CCF"},"minecraft:navigation.hover":{"$ref":"#/definitions/CCG"},"minecraft:navigation.swim":{"$ref":"#/definitions/CCH"},"minecraft:navigation.walk":{"$ref":"#/definitions/CCI"},"minecraft:npc":{"$ref":"#/definitions/CCJ"},"minecraft:on_death":{"$ref":"#/definitions/CDA"},"minecraft:on_friendly_anger":{"$ref":"#/definitions/CDB"},"minecraft:on_hurt_by_player":{"$ref":"#/definitions/CDC"},"minecraft:on_hurt":{"$ref":"#/definitions/CDD"},"minecraft:on_ignite":{"$ref":"#/definitions/CDE"},"minecraft:on_start_landing":{"$ref":"#/definitions/CDF"},"minecraft:on_start_takeoff":{"$ref":"#/definitions/CDG"},"minecraft:on_target_acquired":{"$ref":"#/definitions/CDH"},"minecraft:on_target_escape":{"$ref":"#/definitions/CDI"},"minecraft:on_wake_with_owner":{"$ref":"#/definitions/CDJ"},"minecraft:out_of_control":{"$ref":"#/definitions/CEA"},"minecraft:peek":{"$ref":"#/definitions/CEB"},"minecraft:persistent":{"$ref":"#/definitions/CEC"},"minecraft:physics":{"$ref":"#/definitions/CED"},"minecraft:player.exhaustion":{"$ref":"#/definitions/CEE"},"minecraft:player.experience":{"$ref":"#/definitions/CEF"},"minecraft:player.level":{"$ref":"#/definitions/CEG"},"minecraft:player.saturation":{"$ref":"#/definitions/CEH"},"minecraft:preferred_path":{"$ref":"#/definitions/CEI"},"minecraft:projectile":{"$ref":"#/definitions/CEJ"},"minecraft:push_through":{"$ref":"#/definitions/CFC"},"minecraft:pushable":{"$ref":"#/definitions/CFD"},"minecraft:raid_trigger":{"$ref":"#/definitions/CFE"},"minecraft:rail_movement":{"$ref":"#/definitions/CFF"},"minecraft:rail_sensor":{"$ref":"#/definitions/CFG"},"minecraft:ravager_blocked":{"$ref":"#/definitions/CFH"},"minecraft:rideable":{"$ref":"#/definitions/CFI"},"minecraft:scale_by_age":{"$ref":"#/definitions/CFJ"},"minecraft:scale":{"$ref":"#/definitions/CGA"},"minecraft:scheduler":{"$ref":"#/definitions/CGB"},"minecraft:shareables":{"$ref":"#/definitions/CGC"},"minecraft:shooter":{"$ref":"#/definitions/CGD"},"minecraft:sittable":{"$ref":"#/definitions/CGE"},"minecraft:skin_id":{"$ref":"#/definitions/CGF"},"minecraft:sound_volume":{"$ref":"#/definitions/CGG"},"minecraft:spawn_entity":{"$ref":"#/definitions/CGH"},"minecraft:spell_effects":{"$ref":"#/definitions/CGI"},"minecraft:strength":{"$ref":"#/definitions/CGJ"},"minecraft:suspect_tracking":{"$ref":"#/definitions/CHA"},"minecraft:tameable":{"$ref":"#/definitions/CHB"},"minecraft:tamemount":{"$ref":"#/definitions/CHC"},"minecraft:target_nearby_sensor":{"$ref":"#/definitions/CHD"},"minecraft:teleport":{"$ref":"#/definitions/CHE"},"minecraft:tick_world":{"$ref":"#/definitions/CHF"},"minecraft:timer":{"$ref":"#/definitions/CHG"},"minecraft:trade_resupply":{"$ref":"#/definitions/CHH"},"minecraft:trade_table":{"$ref":"#/definitions/CHI"},"minecraft:trail":{"$ref":"#/definitions/CHJ"},"minecraft:transformation":{"$ref":"#/definitions/CIA"},"minecraft:trust":{"$ref":"#/definitions/CIB"},"minecraft:trusting":{"$ref":"#/definitions/CIC"},"minecraft:type_family":{"$ref":"#/definitions/CID"},"minecraft:underwater_movement":{"$ref":"#/definitions/CIE"},"minecraft:variable_max_auto_step":{"$ref":"#/definitions/CIF"},"minecraft:variant":{"$ref":"#/definitions/CIG"},"minecraft:vibration_damper":{"$ref":"#/definitions/CIH"},"minecraft:vibration_listener":{"$ref":"#/definitions/CII"},"minecraft:walk_animation_speed":{"$ref":"#/definitions/CIJ"},"minecraft:wants_jockey":{"$ref":"#/definitions/CJA"},"minecraft:water_movement":{"$ref":"#/definitions/CJB"},"minecraft:behavior.admire_item":{"$ref":"#/definitions/CJC"},"minecraft:behavior.avoid_block":{"$ref":"#/definitions/CJE"},"minecraft:behavior.avoid_mob_type":{"$ref":"#/definitions/CJF"},"minecraft:behavior.barter":{"$ref":"#/definitions/CJH"},"minecraft:behavior.beg":{"$ref":"#/definitions/CJI"},"minecraft:behavior.break_door":{"$ref":"#/definitions/CJJ"},"minecraft:behavior.breed":{"$ref":"#/definitions/DAB"},"minecraft:behavior.celebrate_survive":{"$ref":"#/definitions/DAC"},"minecraft:behavior.celebrate":{"$ref":"#/definitions/DAD"},"minecraft:behavior.charge_attack":{"$ref":"#/definitions/DAE"},"minecraft:behavior.charge_held_item":{"$ref":"#/definitions/DAF"},"minecraft:behavior.circle_around_anchor":{"$ref":"#/definitions/DAG"},"minecraft:behavior.controlled_by_player":{"$ref":"#/definitions/DAH"},"minecraft:behavior.croak":{"$ref":"#/definitions/DAI"},"minecraft:behavior.defend_trusted_target":{"$ref":"#/definitions/DBB"},"minecraft:behavior.defend_village_target":{"$ref":"#/definitions/DBC"},"minecraft:behavior.delayed_attack":{"$ref":"#/definitions/DBD"},"minecraft:behavior.dig":{"$ref":"#/definitions/DBE"},"minecraft:behavior.door_interact":{"$ref":"#/definitions/DBF"},"minecraft:behavior.dragonchargeplayer":{"$ref":"#/definitions/DBG"},"minecraft:behavior.dragondeath":{"$ref":"#/definitions/DBH"},"minecraft:behavior.dragonflaming":{"$ref":"#/definitions/DBI"},"minecraft:behavior.dragonholdingpattern":{"$ref":"#/definitions/DBJ"},"minecraft:behavior.dragonlanding":{"$ref":"#/definitions/DCA"},"minecraft:behavior.dragonscanning":{"$ref":"#/definitions/DCB"},"minecraft:behavior.dragonstrafeplayer":{"$ref":"#/definitions/DCC"},"minecraft:behavior.dragontakeoff":{"$ref":"#/definitions/DCD"},"minecraft:behavior.drink_milk":{"$ref":"#/definitions/DCE"},"minecraft:behavior.drink_potion":{"$ref":"#/definitions/DCF"},"minecraft:behavior.drop_item_for":{"$ref":"#/definitions/DCG"},"minecraft:behavior.eat_block":{"$ref":"#/definitions/DCH"},"minecraft:behavior.eat_carried_item":{"$ref":"#/definitions/DCI"},"minecraft:behavior.eat_mob":{"$ref":"#/definitions/DCJ"},"minecraft:behavior.emerge":{"$ref":"#/definitions/DCJ"},"minecraft:behavior.enderman_leave_block":{"$ref":"#/definitions/DDA"},"minecraft:behavior.enderman_take_block":{"$ref":"#/definitions/DDB"},"minecraft:behavior.equip_item":{"$ref":"#/definitions/DDC"},"minecraft:behavior.explore_outskirts":{"$ref":"#/definitions/DDD"},"minecraft:behavior.fertilize_farm_block":{"$ref":"#/definitions/DDE"},"minecraft:behavior.find_cover":{"$ref":"#/definitions/DDF"},"minecraft:behavior.find_mount":{"$ref":"#/definitions/DDG"},"minecraft:behavior.find_underwater_treasure":{"$ref":"#/definitions/DDH"},"minecraft:behavior.flee_sun":{"$ref":"#/definitions/DDI"},"minecraft:behavior.float_wander":{"$ref":"#/definitions/DDJ"},"minecraft:behavior.float":{"$ref":"#/definitions/DEA"},"minecraft:behavior.follow_caravan":{"$ref":"#/definitions/DEB"},"minecraft:behavior.follow_mob":{"$ref":"#/definitions/DEC"},"minecraft:behavior.follow_owner":{"$ref":"#/definitions/DED"},"minecraft:behavior.follow_parent":{"$ref":"#/definitions/DEE"},"minecraft:behavior.follow_target_captain":{"$ref":"#/definitions/DEF"},"minecraft:behavior.go_and_give_items_to_noteblock":{"$ref":"#/definitions/DEG"},"minecraft:behavior.go_and_give_items_to_owner":{"$ref":"#/definitions/DEH"},"minecraft:behavior.go_home":{"$ref":"#/definitions/DEI"},"minecraft:behavior.guardian_attack":{"$ref":"#/definitions/DEJ"},"minecraft:behavior.harvest_farm_block":{"$ref":"#/definitions/DFA"},"minecraft:behavior.hide":{"$ref":"#/definitions/DFB"},"minecraft:behavior.hold_ground":{"$ref":"#/definitions/DFC"},"minecraft:behavior.hurt_by_target":{"$ref":"#/definitions/DFD"},"minecraft:behavior.inspect_bookshelf":{"$ref":"#/definitions/DFE"},"minecraft:behavior.investigate_suspicious_location":{"$ref":"#/definitions/DFF"},"minecraft:behavior.jump_to_block":{"$ref":"#/definitions/DFG"},"minecraft:behavior.knockback_roar":{"$ref":"#/definitions/DFH"},"minecraft:behavior.lay_down":{"$ref":"#/definitions/DFI"},"minecraft:behavior.lay_egg":{"$ref":"#/definitions/DFJ"},"minecraft:behavior.leap_at_target":{"$ref":"#/definitions/DGA"},"minecraft:behavior.look_at_entity":{"$ref":"#/definitions/DGB"},"minecraft:behavior.look_at_player":{"$ref":"#/definitions/DGC"},"minecraft:behavior.look_at_target":{"$ref":"#/definitions/DGD"},"minecraft:behavior.look_at_trading_player":{"$ref":"#/definitions/DGE"},"minecraft:behavior.make_love":{"$ref":"#/definitions/DGF"},"minecraft:behavior.melee_attack":{"$ref":"#/definitions/DGG"},"minecraft:behavior.melee_box_attack":{"$ref":"#/definitions/DGH"},"minecraft:behavior.mingle":{"$ref":"#/definitions/DGI"},"minecraft:behavior.mount_pathing":{"$ref":"#/definitions/DGJ"},"minecraft:behavior.move_indoors":{"$ref":"#/definitions/DHA"},"minecraft:behavior.move_outdoors":{"$ref":"#/definitions/DHB"},"minecraft:behavior.move_through_village":{"$ref":"#/definitions/DHC"},"minecraft:behavior.move_to_block":{"$ref":"#/definitions/DHD"},"minecraft:behavior.move_to_land":{"$ref":"#/definitions/DHE"},"minecraft:behavior.move_to_lava":{"$ref":"#/definitions/DHF"},"minecraft:behavior.move_to_liquid":{"$ref":"#/definitions/DHG"},"minecraft:behavior.move_to_poi":{"$ref":"#/definitions/DHH"},"minecraft:behavior.move_to_random_block":{"$ref":"#/definitions/DHI"},"minecraft:behavior.move_to_village":{"$ref":"#/definitions/DHJ"},"minecraft:behavior.move_to_water":{"$ref":"#/definitions/DIA"},"minecraft:behavior.move_towards_dwelling_restriction":{"$ref":"#/definitions/DIB"},"minecraft:behavior.move_towards_home_restriction":{"$ref":"#/definitions/DIC"},"minecraft:behavior.move_towards_restriction":{"$ref":"#/definitions/DID"},"minecraft:behavior.move_towards_target":{"$ref":"#/definitions/DIE"},"minecraft:behavior.nap":{"$ref":"#/definitions/DIF"},"minecraft:behavior.nearest_attackable_target":{"$ref":"#/definitions/DIG"},"minecraft:behavior.nearest_prioritized_attackable_target":{"$ref":"#/definitions/DIH"},"minecraft:behavior.ocelot_sit_on_block":{"$ref":"#/definitions/DII"},"minecraft:behavior.ocelotattack":{"$ref":"#/definitions/DIJ"},"minecraft:behavior.offer_flower":{"$ref":"#/definitions/DJA"},"minecraft:behavior.open_door":{"$ref":"#/definitions/DJB"},"minecraft:behavior.owner_hurt_by_target":{"$ref":"#/definitions/DJC"},"minecraft:behavior.owner_hurt_target":{"$ref":"#/definitions/DJD"},"minecraft:behavior.panic":{"$ref":"#/definitions/DJE"},"minecraft:behavior.peek":{"$ref":"#/definitions/DJF"},"minecraft:behavior.pet_sleep_with_owner":{"$ref":"#/definitions/DJG"},"minecraft:behavior.pickup_items":{"$ref":"#/definitions/DJH"},"minecraft:behavior.play_dead":{"$ref":"#/definitions/DJI"},"minecraft:behavior.play":{"$ref":"#/definitions/DJJ"},"minecraft:behavior.player_ride_tamed":{"$ref":"#/definitions/EAA"},"minecraft:behavior.raid_garden":{"$ref":"#/definitions/EAB"},"minecraft:behavior.ram_attack":{"$ref":"#/definitions/EAC"},"minecraft:behavior.random_breach":{"$ref":"#/definitions/EAD"},"minecraft:behavior.random_fly":{"$ref":"#/definitions/EAE"},"minecraft:behavior.random_hover":{"$ref":"#/definitions/EAF"},"minecraft:behavior.random_look_around_and_sit":{"$ref":"#/definitions/EAG"},"minecraft:behavior.random_look_around":{"$ref":"#/definitions/EAH"},"minecraft:behavior.random_search_and_dig":{"$ref":"#/definitions/EAI"},"minecraft:behavior.random_sitting":{"$ref":"#/definitions/EAJ"},"minecraft:behavior.random_stroll":{"$ref":"#/definitions/EBA"},"minecraft:behavior.random_swim":{"$ref":"#/definitions/EBB"},"minecraft:behavior.ranged_attack":{"$ref":"#/definitions/EBC"},"minecraft:behavior.receive_love":{"$ref":"#/definitions/EBD"},"minecraft:behavior.restrict_open_door":{"$ref":"#/definitions/EBE"},"minecraft:behavior.restrict_sun":{"$ref":"#/definitions/EBF"},"minecraft:behavior.rise_to_liquid_level":{"$ref":"#/definitions/EBG"},"minecraft:behavior.roar":{"$ref":"#/definitions/EBH"},"minecraft:behavior.roll":{"$ref":"#/definitions/EBI"},"minecraft:behavior.run_around_like_crazy":{"$ref":"#/definitions/EBJ"},"minecraft:behavior.scared":{"$ref":"#/definitions/ECA"},"minecraft:behavior.send_event":{"$ref":"#/definitions/ECB"},"minecraft:behavior.share_items":{"$ref":"#/definitions/ECC"},"minecraft:behavior.silverfish_merge_with_stone":{"$ref":"#/definitions/ECD"},"minecraft:behavior.silverfish_wake_up_friends":{"$ref":"#/definitions/ECE"},"minecraft:behavior.skeleton_horse_trap":{"$ref":"#/definitions/ECF"},"minecraft:behavior.sleep":{"$ref":"#/definitions/ECG"},"minecraft:behavior.slime_attack":{"$ref":"#/definitions/ECH"},"minecraft:behavior.slime_float":{"$ref":"#/definitions/ECI"},"minecraft:behavior.slime_keep_on_jumping":{"$ref":"#/definitions/ECJ"},"minecraft:behavior.slime_random_direction":{"$ref":"#/definitions/EDA"},"minecraft:behavior.snacking":{"$ref":"#/definitions/EDB"},"minecraft:behavior.sneeze":{"$ref":"#/definitions/EDC"},"minecraft:behavior.sonic_boom":{"$ref":"#/definitions/EDD"},"minecraft:behavior.squid_dive":{"$ref":"#/definitions/EDE"},"minecraft:behavior.squid_flee":{"$ref":"#/definitions/EDF"},"minecraft:behavior.squid_idle":{"$ref":"#/definitions/EDG"},"minecraft:behavior.squid_move_away_from_ground":{"$ref":"#/definitions/EDH"},"minecraft:behavior.squid_out_of_water":{"$ref":"#/definitions/EDI"},"minecraft:behavior.stalk_and_pounce_on_target":{"$ref":"#/definitions/EDJ"},"minecraft:behavior.stay_near_noteblock":{"$ref":"#/definitions/EEA"},"minecraft:behavior.stay_while_sitting":{"$ref":"#/definitions/EEB"},"minecraft:behavior.stomp_attack":{"$ref":"#/definitions/EEC"},"minecraft:behavior.stomp_turtle_egg":{"$ref":"#/definitions/EED"},"minecraft:behavior.stroll_towards_village":{"$ref":"#/definitions/EEE"},"minecraft:behavior.summon_entity":{"$ref":"#/definitions/EEF"},"minecraft:behavior.swell":{"$ref":"#/definitions/EEG"},"minecraft:behavior.swim_idle":{"$ref":"#/definitions/EEH"},"minecraft:behavior.swim_wander":{"$ref":"#/definitions/EEI"},"minecraft:behavior.swim_with_entity":{"$ref":"#/definitions/EEJ"},"minecraft:behavior.swoop_attack":{"$ref":"#/definitions/EFA"},"minecraft:behavior.take_flower":{"$ref":"#/definitions/EFB"},"minecraft:behavior.target_when_pushed":{"$ref":"#/definitions/EFC"},"minecraft:behavior.tempt":{"$ref":"#/definitions/EFD"},"minecraft:behavior.timer_flag_1":{"$ref":"#/definitions/EFE"},"minecraft:behavior.timer_flag_2":{"$ref":"#/definitions/EFE"},"minecraft:behavior.timer_flag_3":{"$ref":"#/definitions/EFE"},"minecraft:behavior.trade_interest":{"$ref":"#/definitions/EFF"},"minecraft:behavior.trade_with_player":{"$ref":"#/definitions/EFG"},"minecraft:behavior.vex_copy_owner_target":{"$ref":"#/definitions/EFH"},"minecraft:behavior.vex_random_move":{"$ref":"#/definitions/EFI"},"minecraft:behavior.wither_random_attack_pos_goal":{"$ref":"#/definitions/EFJ"},"minecraft:behavior.wither_target_highest_damage":{"$ref":"#/definitions/EGA"},"minecraft:behavior.work":{"$ref":"#/definitions/EGB"},"minecraft:behavior.work_composter":{"$ref":"#/definitions/EGC"}}},"EGD_addremove":{"additionalProperties":false,"title":"Add Or Remove","description":"The components groups to add or remove.","type":"object","examples":[{"component_groups":["self:variant1"]}],"properties":{"component_groups":{"title":"Component Groups","description":"The components groups to add or remove.","type":"array","items":{"type":"string","description":"A reference to a component group.","title":"Component Groups"}}}},"EGD_event_base":{"additionalProperties":false,"type":"object","examples":[{},{"add":{"component_groups":[]}},{"remove":{"component_groups":[]}}],"defaultSnippets":[{"label":"New Add Event","body":{"add":{"component_groups":["$1"]}}},{"label":"New Remove Event","body":{"remove":{"component_groups":["$1"]}}},{"label":"New Random Event","body":{"randomize":[{"add":{"component_groups":["$1"]},"weight":1},{"add":{"component_groups":["$2"]},"weight":1}]}},{"label":"New Sequence Events","body":{"sequence":[{"add":{"component_groups":["$1"]}},{"add":{"component_groups":["$2"]}}]}}],"properties":{"filters":{"$ref":"#/definitions/BD"},"trigger":{"description":"Triggers additional events.","$comment":"UNDOCUMENTED","title":"Trigger","$ref":"#/definitions/BAI"},"add":{"$ref":"#/definitions/EGD_addremove","description":"What gets added when the event gets triggered.","title":"Add"},"remove":{"$ref":"#/definitions/EGD_addremove","description":"What gets removed when the event gets triggered.","title":"Remove"},"randomize":{"type":"array","description":"Randomly selects one of the following items based upon their weight and the total weights.","title":"Randomize","items":{"description":"Randomly selects one of the following items based upon their weight and the total weights.","title":"Randomize","examples":[{"add":{"component_groups":["foo:example"]},"weight":1}],"properties":{"add":{"$ref":"#/definitions/EGD_addremove","description":"What gets added when the event gets triggered.","title":"Add"},"remove":{"$ref":"#/definitions/EGD_addremove","description":"What gets removed when the event gets triggered.","title":"Remove"},"trigger":{"description":"Triggers additional events.","$comment":"UNDOCUMENTED","title":"Trigger","$ref":"#/definitions/BAI"},"weight":{"type":"number","default":1,"minimum":1,"description":"The weight on how likely this section is to trigger.","$comment":"UNDOCUMENTED","title":"Weight"}}}},"sequence":{"type":"array","description":"A series of filters and components to be added.","title":"Sequences","items":{"description":"Filters and components to be added.","title":"Sequence","type":"object","properties":{"add":{"$ref":"#/definitions/EGD_addremove","description":"What gets added when the event gets triggered.","title":"Add"},"remove":{"$ref":"#/definitions/EGD_addremove","description":"What gets removed when the event gets triggered.","title":"Remove"},"trigger":{"description":"Triggers additional events.","$comment":"UNDOCUMENTED","title":"Trigger","$ref":"#/definitions/BAI"},"filters":{"$ref":"#/definitions/BD"}}}},"emit_vibration":{"title":"Emit Vibration","description":"UNDOCUMENTED","type":"object","properties":{"vibration":{"enum":["shear","entity_act","entity_interact"]}},"examples":[{"vibration":"shear"},{"vibration":"entity_act"},{"vibration":"entity_interact"}]},"set_property":{"title":"Set Property","description":"Sets a property on the entity.","type":"object","additionalProperties":{"title":"Property","type":["string","number","integer","boolean"],"description":"The value to set the property to.","examples":[false,0,0.0,"math.random(0, 10)"]},"examples":[{"example:property":false},{"example:property":0},{"example:property":0.0},{"example:property":"one"},{"example:property":"math.random(0, 10)"}]},"queue_command":{"description":"Queues a command to be executed.","properties":{"command":{"title":"Command","description":"The command to execute.","oneOf":[{"type":"string","pattern":"^[^/].*$","examples":["say Hello World"]},{"type":"array","items":{"type":"string","description":"The command to execute.","examples":["say Hello World"],"pattern":"^[^/].*$"}}]}}}}},"EGD":{"type":"object","title":"Events","description":"Events for entities.","additionalProperties":{"$ref":"#/definitions/EGD_event_base"},"properties":{"minecraft:entity_transformed":{"description":"Event called on an entity that transforms into another entity.","$ref":"#/definitions/EGD_event_base","title":"Entity Transformed"},"minecraft:entity_born":{"description":"Event called on an entity that is spawned through two entities breeding.","$ref":"#/definitions/EGD_event_base","title":"Entity Born"},"minecraft:entity_spawned":{"description":"Event called on an entity that is placed in the level.","$ref":"#/definitions/EGD_event_base","title":"Entity Spawned"},"minecraft:on_prime":{"description":"Event called on an entity whose fuse is lit and is ready to explode.","$ref":"#/definitions/EGD_event_base","title":"On Prime"}}},"B":{"title":"Entity","required":["description"],"dependencies":{"component_groups":["events"]},"additionalProperties":false,"type":"object","properties":{"description":{"required":["identifier"],"title":"Description","description":"The description of the this entity.","properties":{"animations":{"title":"Animations","description":"Sets the mapping of internal animation / animation controllers references to actual animations. This is a JSON Object of name/animation pairs","type":"object","additionalProperties":{"title":"Animation / Controller","description":"The name of the animation controller / animation.","type":"string","examples":["animation.","controller."]}},"identifier":{"$ref":"#/definitions/C","description":"Sets the identifier for this entity's description.","title":"Identifier"},"is_spawnable":{"type":"boolean","title":"Is Spawnable","description":"Sets whether or not this entity has a spawn egg in the creative ui.","default":false},"is_summonable":{"type":"boolean","title":"Is Summonable Property","description":"Sets whether or not we can summon this entity using commands such as /summon.","default":true},"is_experimental":{"type":"boolean","title":"Is Experimental","description":"Sets whether or not this entity is experimental. Experimental entities are only enabled when the experimental toggle is enabled.","default":false},"properties":{"title":"Experimental","description":"Experimental","type":"object","additionalProperties":{"type":"object","required":["type"],"properties":{"type":{"title":"Type","description":"The type of the property.","enum":["bool","int","float","enum"]},"client_sync":{"title":"Client Sync","description":"Sets whether or not the property is synced to the client.","type":"boolean","default":false}},"oneOf":[{"properties":{"type":{"const":"bool"},"default":{"title":"Default","description":"The default value of the property.","$ref":"#/definitions/D"}}},{"properties":{"type":{"const":"int"},"default":{"title":"Default","description":"The default value of the property.","$ref":"#/definitions/E"},"range":{"title":"Range","description":"The range of the property.","type":"array","items":[{"title":"Min","type":"integer","description":"The minimum value of the property."},{"title":"Max","type":"integer","description":"The minimum value of the property."}]}}},{"properties":{"type":{"const":"float"},"default":{"title":"Default","description":"The default value of the property.","$ref":"#/definitions/E"},"range":{"title":"Range","description":"The range of the property.","type":"array","items":[{"title":"Min","type":"number","description":"The minimum value of the property."},{"title":"Max","type":"number","description":"The minimum value of the property."}]}}},{"properties":{"type":{"const":"enum"},"default":{"type":"string"},"client_sync":{"title":"Client Sync","description":"Sets whether or not the property is synced to the client.","type":"boolean","default":false},"values":{"title":"Values","description":"The values of the property.","type":"array","minItems":1,"items":{"type":"string"}}}}]}},"runtime_identifier":{"type":"string","title":"Runtime Identifier","description":"Sets the name for the Vanilla Minecraft identifier this entity will use to build itself from.","examples":["minecraft:"]},"scripts":{"type":"object","title":"Scripts","description":"Sets the mapping of internal animation controller references to actual animation controller. This is a JSON Array of name/animation-controller pairs","properties":{"animate":{"type":"array","title":"Animate","description":"Tells minecraft to run which animation / animation controllers and under what conditions.","items":{"oneOf":[{"type":"string","title":"Animation","description":"The name of an animation controller referenced in animations."},{"type":"object","title":"Conditional Animation","description":"A conditional statement to run the animation under a specified condition.","$comment":"UNDOCUMENTED","additionalProperties":{"type":"string","title":"Animation"}}]}}}}}},"component_groups":{"title":"Component Groups","description":"Each group when add / remove the default components.","uniqueItems":true,"type":"object","propertyNames":{"examples":["self:"]},"additionalProperties":{"$ref":"#/definitions/F","uniqueItems":true,"description":"The components that are added as the foundation of the entity.","title":"Component"}},"components":{"$ref":"#/definitions/F","uniqueItems":true,"description":"The components that are added as the foundation of the entity.","title":"Component"},"events":{"$ref":"#/definitions/EGD","uniqueItems":true,"description":"The events that the entity can run, these add or remove components_groups.","title":"Events"}}}}} \ No newline at end of file diff --git a/behavior/items/items.json b/behavior/items/items.json index 024d8c11..a5fc99ad 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":{"title":"Armor","description":"The armor item component determines the amount of protection you have in your armor item.","type":"object","additionalProperties":false,"required":["protection","texture_type"],"properties":{"protection":{"type":"integer","description":"How much protection does the armor item have.","title":"Protection","minimum":0},"texture_type":{"type":"string","default":"gold","description":"Texture Type to apply for the armor. Note that Horse armor is restricted to leather, iron, gold, or diamond.","title":"Texture Type","enum":["gold","none","leather","chain","iron","diamond","elytra","turtle","netherite"]}},"examples":[{"protection":5,"texture_type":"diamond"}]},"E_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/F"}}},"F":{"type":"string","title":"Molang","description":"Molang definition.","format":"molang","examples":["query.variant","(1.0)","query.","variable.=;"],"defaultSnippets":[{"label":"New Molang","body":"$1"}]},"E":{"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/E_use_on_item"}}}},"G":{"title":"Cooldown","description":"Cool down time for a component. After you use an item it becomes unusable for the duration specified by the `cool down time` setting in this component.","type":"object","additionalProperties":false,"required":["category","duration"],"properties":{"category":{"type":"string","description":"The type of cool down for this item.","title":"Category"},"duration":{"description":"The duration of time this item will spend cooling down before becoming usable again.","title":"Duration","type":"number"}},"examples":[{"category":"attack","duration":0.2}]},"H":{"title":"Digger","description":"Digger item. Component put on items that dig.","type":"object","additionalProperties":false,"required":["destroy_speeds"],"properties":{"use_efficiency":{"title":"Use Efficiency","type":"boolean","description":"Toggles if the item will be used efficiently.","default":false},"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"}}}}]}}}},"on_dig":{"type":"string","title":"On Dig","description":"Trigger for when you dig a block that isn't listed in destroy_speeds."}}},"I":{"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"}]},"J":{"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":"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"}},"examples":[{"damage_chance":{"min":10,"max":50},"max_durability":36}]},"BA":{"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":["black","red","green","brown","blue","purple","cyan","silver","gray","pink","lime","yellow","lightblue","magenta","orange","white"]}}},"BB":{"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"}}}},"BC":{"additionalProperties":false,"required":["texture"],"type":"boolean","title":"Foil","description":"Foil or glint."},"BD":{"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":"Event","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"target":{"type":"string","title":"Target","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","enum":["self"]}}},"is_meat":{"title":"Is Meat","description":"If true, this food item is considered meat.","type":"boolean","default":false}},"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.","oneOf":[{"type":"number"},{"type":"string","enum":["poor","low"]}]},"using_converts_to":{"title":"Using Converts To","description":"When used, convert the *this* item to the one specified by `using_converts_to`.","type":"string"},"effects":{"title":"Effects","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"array","items":{"title":"Effect","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"name":{"title":"Name","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"string"},"duration":{"type":"integer","default":0,"minimum":0,"description":"The duration of the effect.","$comment":"UNDOCUMENTED"},"amplifier":{"type":"integer","default":0,"minimum":0,"description":"The amplifier of the effect.","$comment":"UNDOCUMENTED"}}}}},"BE":{"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}]},"BF":{"additionalProperties":false,"required":["texture"],"type":"boolean","title":"Hand Equipped","description":"Is this a hand equipped item."},"BG":{"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."}},"examples":[{"texture":"stick"}]},"BH":{"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","maximum":1.0}},"examples":[{"protection":0.5}]},"BI":{"additionalProperties":false,"type":"integer","title":"Max Damage","description":"Maximum Damage.","$comment":"UNDOCUMENTED","minimum":0},"BJ":{"additionalProperties":false,"required":["texture"],"type":"integer","title":"Max Stack Size","description":"Maximum stack size.","minimum":0},"CA":{"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_on":{"title":"On Use On","description":"Event trigger for when the item is used.","type":"object","additionalProperties":false,"properties":{"event":{"type":"string","title":"Event","description":"Event trigger for when the item is used."},"target":{"type":"string","title":"Target","description":"Event target (block).","$comment":"UNDOCUMENTED","enum":["block"]}}}},"Examples":[{"on_use_on":"minecraft:entity_primed"}]},"CB":{"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":"Event","description":"Event trigger for when the item is used."},"target":{"type":"string","title":"Target","description":"Event Target.","enum":["self"]}}}},"examples":[{"on_use":"minecraft:entity_transformed"}]},"CC":{"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"}]},"CD_offset_spec":{"type":"object","title":"Offset","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","additionalProperties":false,"properties":{"first_person":{"title":"First Person","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","$ref":"#/definitions/CD_mode"},"thrid_person":{"title":"Thrid Person","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","$ref":"#/definitions/CD_mode"}}},"CD_mode":{"type":"object","title":"Mode","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","additionalProperties":false,"properties":{"position":{"title":"Position","description":"The position transformation.","$ref":"#/definitions/CD_vec3"},"rotation":{"title":"Rotation","description":"The rotation transformation.","$ref":"#/definitions/CD_vec3"},"scale":{"title":"Scale","description":"The scale transformation.","$ref":"#/definitions/CD_vec3"}}},"CD_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"}]},"CD":{"title":"Render Offsets","description":"Render offsets component: optional values can be given to offset the way the item is rendered. Depreciated in json formats 1.20.10 and higher","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"}},"examples":[{"main_hand":[0,0,0],"off_hand":[0,0.5,0]}]},"CF":{"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"}]},"CE":{"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":"Repar Item","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/CF"}}}}}},"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"},"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}]},"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"}},"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}]},"CI":{"additionalProperties":false,"required":["texture"],"type":"integer","title":"Use Duration","description":"How long to use before item is done being used."},"CJ":{"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":"Event","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"target":{"type":"string","title":"Target","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":"Event","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"target":{"type":"string","title":"Target","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":"Event","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"target":{"type":"string","title":"Target","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","enum":["self"]}}},"examples":[{"on_hit_block":"my_event:block_hit","on_hurt_entity":"my_event:ouch","on_not_hurt_entity":"my_event:panic"}]},"DA":{"title":"Wearable","description":"Wearable item component.","type":"object","additionalProperties":false,"properties":{"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"]}}},"DB_event_base":{"title":"Event","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"$ref":"#/definitions/DB_event_functions","properties":{"sequence":{"title":"Sequence","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"array","items":{"title":"Sequence","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","$ref":"#/definitions/DB_event_functions"}},"randomize":{"title":"Randomize","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"array","items":{"title":"Randomize","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","$ref":"#/definitions/DB_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"]}}}}},"DB_event_functions":{"title":"Event","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","properties":{"add_mob_effect":{"$ref":"#/definitions/DC"},"damage":{"$ref":"#/definitions/DD"},"decrement_stack":{"$ref":"#/definitions/DE"},"remove_mob_effect":{"$ref":"#/definitions/DF"},"shoot":{"$ref":"#/definitions/DG"},"swing":{"$ref":"#/definitions/DH"},"teleport":{"$ref":"#/definitions/DI"},"transform_item":{"$ref":"#/definitions/DJ"}}},"DC":{"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"}}},"DD":{"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"}}},"DE":{"title":"Decrement Stack","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false},"DF":{"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"]}}},"DG":{"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"}}},"DH":{"title":"Swing","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false},"DI":{"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"}]}}},"DJ":{"title":"Transform Item","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"transform":{"title":"Transform","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"string"}}},"DB":{"title":"Events","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","properties":{"on_consume":{"$ref":"#/definitions/DB_event_base"}},"additionalProperties":{"$ref":"#/definitions/DB_event_base"}},"B":{"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/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":{"type":"string","title":"Group","maxLength":256,"description":"The Creative Group that that includes the specified item. The group name is limited to 256 characters.","examples":["itemGroup.name.blaze"]},"category":{"type":"string","title":"Category","description":"The Creative Category that includes the specified item.","examples":["equipment"]},"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:armor":{"$ref":"#/definitions/D"},"minecraft:block_placer":{"$ref":"#/definitions/E"},"minecraft:cooldown":{"$ref":"#/definitions/G"},"minecraft:digger":{"$ref":"#/definitions/H"},"minecraft:display_name":{"$ref":"#/definitions/I"},"minecraft:durability":{"$ref":"#/definitions/J"},"minecraft:dye_powder":{"$ref":"#/definitions/BA"},"minecraft:entity_placer":{"$ref":"#/definitions/BB"},"minecraft:foil":{"$ref":"#/definitions/BC"},"minecraft:food":{"$ref":"#/definitions/BD"},"minecraft:fuel":{"$ref":"#/definitions/BE"},"minecraft:hand_equipped":{"$ref":"#/definitions/BF"},"minecraft:icon":{"$ref":"#/definitions/BG"},"minecraft:knockback_resistance":{"$ref":"#/definitions/BH"},"minecraft:max_damage":{"$ref":"#/definitions/BI"},"minecraft:max_stack_size":{"$ref":"#/definitions/BJ"},"minecraft:on_use_on":{"$ref":"#/definitions/CA"},"minecraft:on_use":{"$ref":"#/definitions/CB"},"minecraft:projectile":{"$ref":"#/definitions/CC"},"minecraft:render_offsets":{"$ref":"#/definitions/CD"},"minecraft:repairable":{"$ref":"#/definitions/CE"},"minecraft:shooter":{"$ref":"#/definitions/CG"},"minecraft:stacked_by_data":{"$ref":"#/definitions/BH"},"minecraft:throwable":{"$ref":"#/definitions/CH"},"minecraft:use_duration":{"$ref":"#/definitions/CI"},"minecraft:weapon":{"$ref":"#/definitions/CJ"},"minecraft:wearable":{"$ref":"#/definitions/DA"}}},"events":{"$ref":"#/definitions/DB"}}}}} \ 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":{"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}]},"E_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/F"}}},"F":{"type":"string","title":"Molang","description":"Molang definition.","format":"molang","examples":["query.variant","(1.0)","query.","variable.=;"],"defaultSnippets":[{"label":"New Molang","body":"$1"}]},"E":{"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/E_use_on_item"}}}},"G":{"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}]},"H":{"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}]},"I":{"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}]},"J":{"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"}}}}]}}}}}},"BA":{"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"}]},"BB":{"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}]},"BC":{"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}}},"BD":{"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"}}}},"BE":{"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"}}},"BF":{"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}]},"BG":{"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}]},"BH":{"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}]},"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":{"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."}},"examples":[{"texture":"stick"}]},"BJ":{"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}]},"CA":{"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}]},"CB":{"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"}]},"CC":{"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"}}},"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","(1.0)","query.","variable.=;"],"defaultSnippets":[{"label":"New Molang","body":"$1"}]},"CD":{"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/CE"}}}}}},"CF":{"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}]},"CG":{"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}]},"CH":{"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}]},"CI":{"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"}]}}}},"CJ":{"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}]},"DA":{"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"]}}},"DB":{"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}}},"DC":{"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"]}}},"DD_event_base":{"title":"Event","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"$ref":"#/definitions/DD_event_functions","properties":{"sequence":{"title":"Sequence","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"array","items":{"title":"Sequence","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","$ref":"#/definitions/DD_event_functions"}},"randomize":{"title":"Randomize","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"array","items":{"title":"Randomize","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","$ref":"#/definitions/DD_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"]}}}}},"DD_event_functions":{"title":"Event","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","properties":{"add_mob_effect":{"$ref":"#/definitions/DE"},"damage":{"$ref":"#/definitions/DF"},"decrement_stack":{"$ref":"#/definitions/DG"},"remove_mob_effect":{"$ref":"#/definitions/DH"},"shoot":{"$ref":"#/definitions/DI"},"swing":{"$ref":"#/definitions/DJ"},"teleport":{"$ref":"#/definitions/EA"},"transform_item":{"$ref":"#/definitions/EB"}}},"DE":{"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"}}},"DF":{"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"}}},"DG":{"title":"Decrement Stack","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false},"DH":{"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"]}}},"DI":{"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"}}},"DJ":{"title":"Swing","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false},"EA":{"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"}]}}},"EB":{"title":"Transform Item","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"transform":{"title":"Transform","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"string"}}},"DD":{"title":"Events","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","properties":{"on_consume":{"$ref":"#/definitions/DD_event_base"}},"additionalProperties":{"$ref":"#/definitions/DD_event_base"}},"B":{"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/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":{"type":"string","title":"Group","maxLength":256,"description":"The Creative Group that that includes the specified item. The group name is limited to 256 characters.","examples":["itemGroup.name.blaze"]},"category":{"type":"string","title":"Category","description":"The Creative Category that includes the specified item.","examples":["equipment"]},"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/D"},"minecraft:block_placer":{"$ref":"#/definitions/E"},"minecraft:can_destroy_in_creative":{"$ref":"#/definitions/G"},"minecraft:cooldown":{"$ref":"#/definitions/H"},"minecraft:damage":{"$ref":"#/definitions/I"},"minecraft:digger":{"$ref":"#/definitions/J"},"minecraft:display_name":{"$ref":"#/definitions/BA"},"minecraft:durability":{"$ref":"#/definitions/BB"},"minecraft:enchantable":{"$ref":"#/definitions/BC"},"minecraft:entity_placer":{"$ref":"#/definitions/BD"},"minecraft:food":{"$ref":"#/definitions/BE"},"minecraft:fuel":{"$ref":"#/definitions/BF"},"minecraft:glint":{"$ref":"#/definitions/BG"},"minecraft:hand_equipped":{"$ref":"#/definitions/BH"},"minecraft:icon":{"$ref":"#/definitions/BI"},"minecraft:liquid_clipped":{"$ref":"#/definitions/BJ"},"minecraft:max_stack_size":{"$ref":"#/definitions/CA"},"minecraft:projectile":{"$ref":"#/definitions/CB"},"minecraft:record":{"$ref":"#/definitions/CC"},"minecraft:repairable":{"$ref":"#/definitions/CD"},"minecraft:shooter":{"$ref":"#/definitions/CF"},"minecraft:should_despawn":{"$ref":"#/definitions/CG"},"minecraft:stacked_by_data":{"$ref":"#/definitions/CH"},"minecraft:tags":{"$ref":"#/definitions/CI"},"minecraft:throwable":{"$ref":"#/definitions/CJ"},"minecraft:use_animation":{"$ref":"#/definitions/DA"},"minecraft:use_modifiers":{"$ref":"#/definitions/DB"},"minecraft:wearable":{"$ref":"#/definitions/DC"}}},"events":{"$ref":"#/definitions/DD"}}}}} \ No newline at end of file