-
Notifications
You must be signed in to change notification settings - Fork 29
/
entities.json
1 lines (1 loc) · 510 KB
/
entities.json
1
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.behavior.entities","defaultSnippets":[{"label":"New entity","body":{"format_version":"${1:1.20.80}","minecraft:entity":{"description":{"identifier":"$2:${3:${TM_FILENAME/[\\.].*//}}","is_spawnable":"^{4:true}","is_summonable":"^{5:true}","is_experimental":"^{6:false}"},"components":"^{$7}"}}}],"examples":[{"format_version":"1.20.80","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.81","examples":["1.20.81","1.20.40","1.19.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":["(1.0)","(0.0)"],"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":["(1.0)","(0.0)"],"defaultSnippets":[{"label":"New Molang","body":"$1"}]},"H":{"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."}}}]},"G":{"description":"Specifies the initial value of a specific attribute for an entity when spawned.","type":"object","title":"Attribute","additionalProperties":false,"required":[],"properties":{"min":{"type":"number","description":"The minimum starting health an entity has.","title":"Minimum","minimum":0},"max":{"type":"number","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","$ref":"#/definitions/H"}},"examples":[{"value":1,"max":1}]},"I":{"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"}]},"J":{"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}]},"BB_object_item_descriptor":{"title":"Item Descriptor","description":"An object that describes an item.","type":"object","additionalProperties":false,"properties":{"item":{"oneOf":[{"type":"string","$ref":"#/definitions/BC"},{"type":"object","$ref":"#/definitions/BB_object_item_descriptor"}]},"tags":{"type":"string","$ref":"#/definitions/BD","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"}]},"BC":{"description":"A minecraft item identifier.","pattern":"^[0-9a-zA-Z:_\\-\\.]+$","title":"Item Identifier","type":"string","defaultSnippets":[{"label":"New Identifier","body":"$1:$2"}]},"BD":{"type":"string","title":"Molang","description":"Molang definition.","format":"molang","examples":["query.variant","(1.0)","query.","variable.=;"],"defaultSnippets":[{"label":"New Molang","body":"$1"}]},"BB":{"anyOf":[{"$ref":"#/definitions/BC"},{"$ref":"#/definitions/BB_object_item_descriptor"},{"type":"object","properties":{"item":{"oneOf":[{"type":"string","$ref":"#/definitions/BC"},{"type":"object","$ref":"#/definitions/BB_object_item_descriptor"}]}}}]},"BF_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/BF_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/BF_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/BF_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/BF_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/BF_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/BF_groups_spec"}},"allOf":[{"if":{"properties":{"test":{"const":"actor_health"}}},"then":{"$ref":"#/definitions/BG"}},{"if":{"properties":{"test":{"const":"all_slots_empty"}}},"then":{"$ref":"#/definitions/BJ"}},{"if":{"properties":{"test":{"const":"any_slots_empty"}}},"then":{"$ref":"#/definitions/CB"}},{"if":{"properties":{"test":{"const":"bool_property"}}},"then":{"$ref":"#/definitions/CC"}},{"if":{"properties":{"test":{"const":"clock_time"}}},"then":{"$ref":"#/definitions/CD"}},{"if":{"properties":{"test":{"const":"distance_to_nearest_player"}}},"then":{"$ref":"#/definitions/CE"}},{"if":{"properties":{"test":{"const":"enum_property"}}},"then":{"$ref":"#/definitions/CF"}},{"if":{"properties":{"test":{"const":"float_property"}}},"then":{"$ref":"#/definitions/CG"}},{"if":{"properties":{"test":{"const":"has_ability"}}},"then":{"$ref":"#/definitions/CH"}},{"if":{"properties":{"test":{"const":"has_biome_tag"}}},"then":{"$ref":"#/definitions/CI"}},{"if":{"properties":{"test":{"const":"has_component"}}},"then":{"$ref":"#/definitions/DB"}},{"if":{"properties":{"test":{"const":"has_container_open"}}},"then":{"$ref":"#/definitions/DC"}},{"if":{"properties":{"test":{"const":"has_damage"}}},"then":{"$ref":"#/definitions/DD"}},{"if":{"properties":{"test":{"const":"has_equipment"}}},"then":{"$ref":"#/definitions/DE"}},{"if":{"properties":{"test":{"const":"has_damaged_equipment"}}},"then":{"$ref":"#/definitions/DF"}},{"if":{"properties":{"test":{"const":"has_mob_effect"}}},"then":{"$ref":"#/definitions/DG"}},{"if":{"properties":{"test":{"const":"has_nametag"}}},"then":{"$ref":"#/definitions/DI"}},{"if":{"properties":{"test":{"const":"has_property"}}},"then":{"$ref":"#/definitions/DJ"}},{"if":{"properties":{"test":{"const":"has_ranged_weapon"}}},"then":{"$ref":"#/definitions/EA"}},{"if":{"properties":{"test":{"const":"has_silk_touch"}}},"then":{"$ref":"#/definitions/EB"}},{"if":{"properties":{"test":{"const":"has_tag"}}},"then":{"$ref":"#/definitions/EC"}},{"if":{"properties":{"test":{"const":"has_target"}}},"then":{"$ref":"#/definitions/ED"}},{"if":{"properties":{"test":{"const":"has_trade_supply"}}},"then":{"$ref":"#/definitions/EE"}},{"if":{"properties":{"test":{"const":"hourly_clock_time"}}},"then":{"$ref":"#/definitions/EF"}},{"if":{"properties":{"test":{"const":"in_block"}}},"then":{"$ref":"#/definitions/EG"}},{"if":{"properties":{"test":{"const":"in_caravan"}}},"then":{"$ref":"#/definitions/EH"}},{"if":{"properties":{"test":{"const":"in_clouds"}}},"then":{"$ref":"#/definitions/EI"}},{"if":{"properties":{"test":{"const":"in_contact_with_water"}}},"then":{"$ref":"#/definitions/EJ"}},{"if":{"properties":{"test":{"const":"in_lava"}}},"then":{"$ref":"#/definitions/FA"}},{"if":{"properties":{"test":{"const":"in_nether"}}},"then":{"$ref":"#/definitions/FB"}},{"if":{"properties":{"test":{"const":"in_overworld"}}},"then":{"$ref":"#/definitions/FC"}},{"if":{"properties":{"test":{"const":"in_water_or_rain"}}},"then":{"$ref":"#/definitions/FD"}},{"if":{"properties":{"test":{"const":"in_water"}}},"then":{"$ref":"#/definitions/FE"}},{"if":{"properties":{"test":{"const":"inactivity_timer"}}},"then":{"$ref":"#/definitions/FF"}},{"if":{"properties":{"test":{"const":"int_property"}}},"then":{"$ref":"#/definitions/FG"}},{"if":{"properties":{"test":{"const":"is_altitude"}}},"then":{"$ref":"#/definitions/FH"}},{"if":{"properties":{"test":{"const":"is_avoiding_mobs"}}},"then":{"$ref":"#/definitions/FI"}},{"if":{"properties":{"test":{"const":"is_biome"}}},"then":{"$ref":"#/definitions/FJ"}},{"if":{"properties":{"test":{"const":"is_block"}}},"then":{"$ref":"#/definitions/GA"}},{"if":{"properties":{"test":{"const":"is_brightness"}}},"then":{"$ref":"#/definitions/GB"}},{"if":{"properties":{"test":{"const":"is_climbing"}}},"then":{"$ref":"#/definitions/GC"}},{"if":{"properties":{"test":{"const":"is_color"}}},"then":{"$ref":"#/definitions/GD"}},{"if":{"properties":{"test":{"const":"is_daytime"}}},"then":{"$ref":"#/definitions/GE"}},{"if":{"properties":{"test":{"const":"is_difficulty"}}},"then":{"$ref":"#/definitions/GF"}},{"if":{"properties":{"test":{"const":"is_family"}}},"then":{"$ref":"#/definitions/GG"}},{"if":{"properties":{"test":{"const":"is_game_rule"}}},"then":{"$ref":"#/definitions/GH"}},{"if":{"properties":{"test":{"const":"is_humid"}}},"then":{"$ref":"#/definitions/GI"}},{"if":{"properties":{"test":{"const":"is_immobile"}}},"then":{"$ref":"#/definitions/GJ"}},{"if":{"properties":{"test":{"const":"is_in_village"}}},"then":{"$ref":"#/definitions/HA"}},{"if":{"properties":{"test":{"const":"is_leashed_to"}}},"then":{"$ref":"#/definitions/HB"}},{"if":{"properties":{"test":{"const":"is_leashed"}}},"then":{"$ref":"#/definitions/HC"}},{"if":{"properties":{"test":{"const":"is_mark_variant"}}},"then":{"$ref":"#/definitions/HD"}},{"if":{"properties":{"test":{"const":"is_missing_health"}}},"then":{"$ref":"#/definitions/HE"}},{"if":{"properties":{"test":{"const":"is_moving"}}},"then":{"$ref":"#/definitions/HF"}},{"if":{"properties":{"test":{"const":"is_navigating"}}},"then":{"$ref":"#/definitions/HF"}},{"if":{"properties":{"test":{"const":"is_owner"}}},"then":{"$ref":"#/definitions/HG"}},{"if":{"properties":{"test":{"const":"is_persistent"}}},"then":{"$ref":"#/definitions/HH"}},{"if":{"properties":{"test":{"const":"is_riding"}}},"then":{"$ref":"#/definitions/HI"}},{"if":{"properties":{"test":{"const":"is_skin_id"}}},"then":{"$ref":"#/definitions/HJ"}},{"if":{"properties":{"test":{"const":"is_sleeping"}}},"then":{"$ref":"#/definitions/IA"}},{"if":{"properties":{"test":{"const":"is_sneak_held"}}},"then":{"$ref":"#/definitions/IB"}},{"if":{"properties":{"test":{"const":"is_sneaking"}}},"then":{"$ref":"#/definitions/IC"}},{"if":{"properties":{"test":{"const":"is_snow_covered"}}},"then":{"$ref":"#/definitions/ID"}},{"if":{"properties":{"test":{"const":"is_sitting"}}},"then":{"$ref":"#/definitions/IE"}},{"if":{"properties":{"test":{"const":"is_target"}}},"then":{"$ref":"#/definitions/IF"}},{"if":{"properties":{"test":{"const":"is_temperature_type"}}},"then":{"$ref":"#/definitions/IG"}},{"if":{"properties":{"test":{"const":"is_temperature_value"}}},"then":{"$ref":"#/definitions/IH"}},{"if":{"properties":{"test":{"const":"is_underground"}}},"then":{"$ref":"#/definitions/II"}},{"if":{"properties":{"test":{"const":"is_underwater"}}},"then":{"$ref":"#/definitions/IJ"}},{"if":{"properties":{"test":{"const":"is_variant"}}},"then":{"$ref":"#/definitions/JA"}},{"if":{"properties":{"test":{"const":"is_visible"}}},"then":{"$ref":"#/definitions/JB"}},{"if":{"properties":{"test":{"const":"is_waterlogged"}}},"then":{"$ref":"#/definitions/JC"}},{"if":{"properties":{"test":{"const":"light_level"}}},"then":{"$ref":"#/definitions/JD"}},{"if":{"properties":{"test":{"const":"moon_intensity"}}},"then":{"$ref":"#/definitions/JE"}},{"if":{"properties":{"test":{"const":"moon_phase"}}},"then":{"$ref":"#/definitions/JF"}},{"if":{"properties":{"test":{"const":"on_ground"}}},"then":{"$ref":"#/definitions/JG"}},{"if":{"properties":{"test":{"const":"on_ladder"}}},"then":{"$ref":"#/definitions/JH"}},{"if":{"properties":{"test":{"const":"random_chance"}}},"then":{"$ref":"#/definitions/JI"}},{"if":{"properties":{"test":{"const":"rider_count"}}},"then":{"$ref":"#/definitions/JJ"}},{"if":{"properties":{"test":{"const":"surface_mob"}}},"then":{"$ref":"#/definitions/BAA"}},{"if":{"properties":{"test":{"const":"taking_fire_damage"}}},"then":{"$ref":"#/definitions/BAB"}},{"if":{"properties":{"test":{"const":"target_distance"}}},"then":{"$ref":"#/definitions/BAC"}},{"if":{"properties":{"test":{"const":"owner_distance"}}},"then":{"$ref":"#/definitions/BAD"}},{"if":{"properties":{"test":{"const":"trusts"}}},"then":{"$ref":"#/definitions/BAE"}},{"if":{"properties":{"test":{"const":"weather_at_position"}}},"then":{"$ref":"#/definitions/BAF"}},{"if":{"properties":{"test":{"const":"weather"}}},"then":{"$ref":"#/definitions/BAG"}},{"not":{"properties":{"test":{"const":"is_weather"}},"$comment":"DEPRECATED"}}]}]},"BF_groups_spec":{"oneOf":[{"type":"array","items":{"$ref":"#/definitions/BF_groups_spec"}},{"type":"object","$ref":"#/definitions/BF_filters_spec"}]},"BH":{"title":"Operator","type":"string","description":"The comparison to apply with `value`.","default":"equals","enum":["!=","<","<=","<>","=","==",">",">=","equals","not"]},"BI":{"title":"Subject","type":"string","description":"The subject of this filter test.","default":"self","enum":["block","other","parent","player","self","target","damager"]},"BG":{"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/BH","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BI","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]}}},"CA":{"title":"Equipment Location","type":"string","description":"The equipment location to test.","default":"self","enum":["any","armor","feet","hand","head","inventory","leg","torse"]},"BJ":{"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/BH","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BI","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/CA"}}},"CB":{"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/BH","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BI","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/CA"}}},"CC":{"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/BH","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BI","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"boolean","default":true,"title":"Value","description":"true or false."}}},"CD":{"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/BH","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BI","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]}}},"CE":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"type":"number","description":"(Required) A floating point value.","title":"Value"}}},"CF":{"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/BH","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BI","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"string","title":"Value","description":"(Required) A string value."}}},"CG":{"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/BH","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BI","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"number","title":"Value","description":"(Required) A floating point value."}}},"CH":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"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"}]},"CJ":{"title":"Biome Tag","description":"An in game biome's tags","enum":["animal","bamboo","bee_habitat","birch","caves","cold","deep","edge","frozen","hills","ice","lukewarm","mega","monster","mountain","mountains","mutated","nether","netherwart_forest","no_legacy_worldgen","ocean","overworld","overworld_generation","plateau","rare","roofed","shore","spawn_endermen","spawn_few_piglins","spawn_few_zombified_piglins","spawn_ghast","spawn_magma_cubes","spawn_many_magma_cubes","spawn_piglin","spawn_zombified_piglin","stone","swamp","warm"]},"DA":{"title":"Biome","description":"An in game biome","enum":["bamboo_jungle","bamboo_jungle_hills","basalt_deltas","beach","birch_forest","birch_forest_hills","birch_forest_hills_mutated","birch_forest_mutated","cherry_grove","cold_beach","cold_ocean","cold_taiga","cold_taiga_hills","cold_taiga_mutated","crimson_forest","deep_cold_ocean","deep_frozen_ocean","deep_lukewarm_ocean","deep_ocean","deep_warm_ocean","deep_dark","desert","desert_hills","desert_mutated","dripstone_caves","extreme_hills","extreme_hills_edge","extreme_hills_mutated","extreme_hills_plus_trees","extreme_hills_plus_trees_mutated","flower_forest","forest","forest_hills","frozen_ocean","frozen_peaks","frozen_river","grove","hell","ice_mountains","ice_plains","ice_plains_spikes","jagged_peaks","jungle","jungle_edge","jungle_edge_mutated","jungle_hills","jungle_mutated","legacy_frozen_ocean","lukewarm_ocean","lush_caves","mangrove_swamp","meadow","mega_taiga","mega_taiga_hills","mesa","mesa_bryce","mesa_plateau","mesa_plateau_mutated","mesa_plateau_stone","mesa_plateau_stone_mutated","mushroom_island","mushroom_island_shore","ocean","plains","redwood_taiga_hills_mutated","redwood_taiga_mutated","river","roofed_forest","roofed_forest_mutated","savanna","savanna_mutated","savanna_plateau","savanna_plateau_mutated","snowy_slopes","soulsand_valley","stone_beach","stony_peaks","sunflower_plains","swampland","swampland_mutated","taiga","taiga_hills","taiga_mutated","the_end","warm_ocean","warped_forest"]},"CI":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"description":"The tag to look for.","title":"Value","anyOf":[{"$ref":"#/definitions/CJ"},{"$ref":"#/definitions/DA"}]}}},"DB":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"type":"string","description":"(Required) The component name to look for.","title":"Value"}},"examples":[{"test":"has_component","value":"minecraft:explode"}]},"DC":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"description":"(Optional) true or false.","title":"Value","type":"boolean","default":true}},"examples":[{"test":"has_container_open","value":true}]},"DD":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"type":"string","description":"The Damage type to test.","title":"Value","enum":["anvil","attack","block_explosion","contact","drowning","entity_explosion","fall","falling_block","fatal","fire","fire_tick","fly_into_wall","lava","magic","none","override","piston","projectile","self_destruct","sonic_boom","stalactite","stalagmite","starve","suffocation","thorns","void","wither"]}}},"DE":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"description":"The item name to look for.","type":"string","$ref":"#/definitions/BC","title":"Value"}},"examples":[{"test":"has_equipment","value":"example"}]},"DF":{"type":"object","title":"Has Damaged Equipment","description":"Tests for the presence of a damaged named item in the designated slot of the subject entity.","required":["value"],"properties":{"test":{"type":"string","const":"has_damaged_equipment","description":"Tests for the presence of a damaged 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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"description":"The item name to look for.","type":"string","$ref":"#/definitions/BC","title":"Value"}},"examples":[{"test":"has_damaged_equipment","value":"example"}]},"DH":{"type":"string","title":"Effect","description":"A mob effect","enum":["absorption","bad_omen","blindness","conduit_power","darkness","fatal_poison","fire_resistance","haste","health_boost","hunger","infested","instant_damage","instant_health","invisibility","jump_boost","levitation","mining_fatigue","nausea","night_vision","oozing","poison","raid_omen","regeneration","resistance","saturation","slow_falling","slowness","speed","strength","trial_omen","village_hero","water_breathing","weakness","weaving","wind_charged","wither"]},"DG":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"$ref":"#/definitions/DH","description":"The specified mob effect.","title":"Value"}},"examples":[{"test":"has_mob_effect","value":"bad_omen"}]},"DI":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"description":"The namtag to look for","type":"boolean","title":"Value"}},"examples":[{"test":"has_nametag","value":false},{"test":"has_nametag","value":true}]},"DJ":{"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/BH","description":"(Optionall) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BI","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."}}},"EA":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"has_ranged_weapon","value":true}]},"EB":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"has_silk_touch","subject":"other","value":true}]},"EC":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"type":"string","description":"The tag as a string.","pattern":"[a-zA-Z0-9_]+","title":"Value"}},"examples":[{"test":"has_tag","value":"example"}]},"ED":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"has_target","value":true}]},"EE":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"has_trade_supply","value":true}]},"EF":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"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}]},"EG":{"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/BH","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BI","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"}]},"EH":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_caravan","value":true}]},"EI":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_clouds","value":true}]},"EJ":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"title":"Value","description":"(Optional) true or false.","type":"boolean","default":true}},"examples":[{"test":"in_contact_with_water","value":true}]},"FA":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_lava","value":true}]},"FB":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"in_nether","value":true}]},"FC":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"in_overworld","value":true},{"test":"in_overworld"}]},"FD":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_water_or_rain","value":true}]},"FE":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_water","value":true}]},"FF":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"description":"The Family name to look for.","type":"integer","title":"Value"}},"examples":[{"test":"inactivity_timer","value":0}]},"FG":{"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/BH","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BI","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"integer","title":"Value","description":"(Required) A integer value."}}},"FH":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"type":"integer","description":"The altitude value to compare with.","minimum":0,"title":"Value"}},"examples":[{"test":"example","value":0}]},"FI":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"example","value":true}]},"FJ":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"description":"The biome type to test.","$ref":"#/definitions/DA","title":"Value"}}},"GA":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"description":"The Family name to look for.","type":"string","title":"Value"}},"examples":[{"test":"is_block","subject":"block","value":"minecraft:sweet_berry_bush"}]},"GB":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"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}]},"GC":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_climbing","value":true}]},"GD":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"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"}]},"GE":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_daytime","value":true}]},"GF":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"description":"The game's difficulty level to test.","type":"string","enum":["easy","hard","normal","peaceful"],"title":"Value"}},"examples":[{"test":"is_difficulty","value":"easy"}]},"GG":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"description":"The Family name to look for.","type":"string","title":"Value"}},"examples":[{"test":"is_family","value":"monster"}]},"GH":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"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}]},"GI":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_humid","value":true}]},"GJ":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_immobile","value":true}]},"HA":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_in_village","value":true}]},"HB":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"is_leashed_to","value":true}]},"HC":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_leashed","value":true}]},"HD":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"type":"integer","description":"The altitude value to compare with.","title":"Value"}},"examples":[{"test":"is_mark_variant","value":0}]},"HE":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"is_missing_health","value":true}]},"HF":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_moving","value":true}]},"HG":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_owner","value":true}]},"HH":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"is_persistent","value":true}]},"HI":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_riding","value":true}]},"HJ":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"type":"integer","description":"The altitude value to compare with.","title":"Value"}},"examples":[{"test":"is_skin_id","value":0}]},"IA":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"is_sleeping","value":true}]},"IB":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_sneak_held","value":true}]},"IC":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_sneaking","value":true}]},"ID":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_snow_covered","value":true}]},"IE":{"type":"object","title":"Is Sitting","description":"Returns true if the subject entity is sitting","properties":{"test":{"type":"string","title":"Test Property","description":"Returns true if the subject entity is sitting."},"operator":{"$ref":"#/definitions/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_sitting","value":true}]},"IF":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_target","value":true}]},"IG":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"description":"The Biome temperature catagory to test.","type":"string","enum":["cold","mild","ocean","warm"],"title":"Value"}},"examples":[{"test":"is_temperature_type","value":"cold"}]},"IH":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"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}]},"II":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_underground","value":true}]},"IJ":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_underwater","value":true}]},"JA":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"type":"integer","description":"The altitude value to compare with.","title":"Value"}},"examples":[{"test":"is_variant","value":0}]},"JB":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_visible","value":true}]},"JC":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"description":"true or false.","type":"boolean","title":"Value"}},"examples":[{"test":"light_level","value":0}]},"JD":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"description":"An integer value.","type":"integer","title":"Value","minimum":0,"maximum":16}},"examples":[{"test":"light_level","value":0}]},"JE":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"description":"A floating point value.","type":"number","minimum":0,"maximum":1,"title":"Value"}},"examples":[{"test":"moon_intensity","value":0.0}]},"JF":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"type":"integer","description":"An integer value.","minimum":0,"maximum":7,"title":"Value"}},"examples":[{"test":"moon_phase","value":0}]},"JG":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"on_ground","value":true}]},"JH":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"on_ladder","value":true}]},"JI":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"description":"An integer value.","type":"integer","title":"Value"}},"examples":[{"test":"random_chance","value":0}]},"JJ":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"description":"An integer value.","type":"integer","title":"Value"}},"examples":[{"test":"rider_count","value":0}]},"BAA":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"surface_mob","value":true}]},"BAB":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"taking_fire_damage","value":true},{"test":"taking_fire_damage"}]},"BAC":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"description":"(Required) A floating point value.","type":"number","default":true,"title":"Value"}}},"BAD":{"type":"object","title":"Owner Distance","description":"Tests the distance between the subject and its owner. Returns false if there is no owner.","required":["value"],"properties":{"test":{"type":"string","title":"Test","description":"The test property."},"operator":{"$ref":"#/definitions/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"description":"(Required) A floating point value.","type":"number","default":true,"title":"Value"}}},"BAE":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"trusts","value":true}]},"BAF":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"description":"The Family name to look for.","type":"string","title":"Value","examples":["thunderstorm"]}},"examples":[{"test":"weather_at_position","value":"thunderstorm"}]},"BAG":{"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/BH"},"subject":{"$ref":"#/definitions/BI"},"value":{"description":"The Family name to look for.","type":"string","title":"Value","examples":["clear","thunderstorm"]}},"examples":[{"test":"weather","value":"clear"}]},"BF":{"title":"Filters","$ref":"#/definitions/BF_groups_spec","examples":[{"test":"is_family","subject":"other","value":"example"},{"test":"has_tag","value":"example"},[]]},"BE":{"title":"Event","description":"Minecraft behavior event.","examples":[{"event":"example:foo","target":"self"}],"type":"object","additionalProperties":false,"properties":{"filters":{"$ref":"#/definitions/BF"},"event":{"type":"string","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"]}}},"BA":{"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/BB"}},{"type":"string","$ref":"#/definitions/BB"}],"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/BC"},{"type":"object","properties":{"growth":{"type":"number"},"item":{"$ref":"#/definitions/BB"}}}]}},{"type":"string","$ref":"#/definitions/BC"}],"title":"Feed Items"},"grow_up":{"$ref":"#/definitions/BE","description":"Event to run when this entity grows up.","title":"Grow Up"},"transform_to_item":{"$ref":"#/definitions/BB","title":"Transform To Item","description":"The feed item used will transform to this item upon successful interaction. Format: itemName:auxValue"},"interact_filters":{"$ref":"#/definitions/BF","title":"Interact Filters","description":"List of conditions to meet so that the entity can be fed."}},"examples":[{"duration":1200,"transform_to_item":"example"}]},"BAH":{"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":{"type":"string","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}]},"BAI":{"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/BF","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":[]},"BBA":{"type":"string","title":"Sound Event","description":"Reference to a sound definition in \"sound_definitions.json\".","examples":["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.hoglin.converted_to_zombified","mob.husk.convert_to_drowned","mob.husk.convert_to_frog","mob.pig.death","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"]},"BAJ":{"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/BF","description":"Conditions that make this entry in the list valid."},"filters":{"$ref":"#/definitions/BF","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/BE","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/BBA","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}]},"BBB":{"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"}]},"BBC":{"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":{}},"BBE":{"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","fire","fire_tick","fireworks","fly_into_wall","freezing","lava","lightning","magic","magma","none","override","piston","projectile","ram_attack","self_destruct","sonic_boom","soul_campfire","stalactite","stalagmite","starve","suffocation","temperature","thorns","void","wither"]},"BBD":{"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/BBE","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/BF","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"}]},"BBG_trigger":{"type":"object","title":"Trigger","additionalProperties":false,"properties":{"event":{"type":"string","description":"The event to run when the conditions for this trigger are met.","title":"Event"},"filters":{"$ref":"#/definitions/BF","description":"The list of conditions for this trigger to execute."},"target":{"$ref":"#/definitions/BI","description":"The target of the event.","title":"Target"}}},"BBG":{"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","$ref":"#/definitions/BBG_trigger"},{"type":"array","items":{"$ref":"#/definitions/BBG_trigger"}}]},"BBF":{"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/BBG","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"}]}}},"BBH":{"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/H","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","$ref":"#/definitions/DH","description":"Identifier of the status ailment to apply to an entity attacked by this entity's melee attack.","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}]},"BBI":{"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}]},"BBJ":{"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}]},"BCA":{"title":"Block Climber","type":"object","additionalProperties":false,"description":"Allows the player to detect and manuever on the scaffolding block.","properties":{}},"BCC":{"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"}]},"BCB":{"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/BCC","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/BF"},"examples":[{"test":"has_silk_touch","subject":"other","value":false}]}},"examples":[{"sensor_radius":0,"on_break":[]}]},"BCD":{"type":"object","title":"Body Rotation Blocked","description":"When set, the entity will no longer visually rotate their body to match their facing direction.","additionalProperties":false,"properties":{},"examples":[{}]},"BCE":{"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/BB","default":"","description":"Name of the item that can be used to boost.","title":"Item"},"replace_item":{"$ref":"#/definitions/BB","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":[]}]},"BCF":{"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}]},"BCH":{"type":"string","title":"Block Name","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"BCG":{"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/BCH"}}},"examples":[{"breakable_blocks":[]}]},"BCJ":{"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/BCC"},{"title":"Block Reference","description":"","type":"object","additionalProperties":false,"properties":{"name":{"type":"string","$ref":"#/definitions/BCC"},"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/BD","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')"]}}}]},"BCI":{"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/BCJ"},"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/BCJ"},"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":[]}]},"BDA_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/BE","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"}}},"BDA_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/BCJ","title":"Blocks"}},{"description":"A block type required nearby for the entity to breed.","type":"string","$ref":"#/definitions/BCJ","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"},"BDB":{"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"]}]},"BDA":{"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/BB","title":"Breed Item"}},{"type":"string","$ref":"#/definitions/BB"}]},"breeds_with":{"description":"The list of entity definitions that this entity can breed with.","title":"Breeds With","oneOf":[{"type":"object","$ref":"#/definitions/BDA_breeds_with_spec"},{"uniqueItems":true,"type":"array","items":{"type":"object","$ref":"#/definitions/BDA_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/BDA_enviroment_requirements"},{"type":"array","items":{"$ref":"#/definitions/BDA_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/BF","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/BDB","description":"Range used to determine random extra variant."},"random_variant_mutation_interval":{"title":"Random Variant Mutation Interval","default":0,"$ref":"#/definitions/BDB","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"}]},"BDC":{"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/BB","title":"Bribe Items"},"title":"Bribe Items"}},"examples":[{"bribe_cooldown":2,"bribe_items":[]}]},"BDD":{"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/BCJ"}},"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}]},"BDE":{"title":"Burns In Daylight","additionalProperties":false,"description":"Specifies if/how a mob burns in daylight.","required":[],"properties":{},"oneOf":[{"type":"boolean"},{"type":"object"}]},"BDF":{"type":"object","title":"Can Climb","additionalProperties":false,"description":"Allows this entity to climb up ladders.","required":[],"properties":{}},"BDG":{"title":"Can Fly","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":[],"anyOf":[{"type":"object","additionalProperties":false},{"type":"boolean","default":false}],"examples":[true,false]},"BDH":{"title":"Can Join Raid","additionalProperties":false,"description":"Sets that this entity can join a raid.","type":"object","required":[],"properties":{}},"BDI":{"type":"object","title":"Can Power Jump","additionalProperties":false,"description":"Allows the entity to power jump like the horse does in vanilla.","required":[],"properties":{}},"BDJ":{"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/BF","description":"The list of conditions that target of hunt must satisfy to initiate celebration.","title":"Celeberation Targets"},"celebrate_sound":{"$ref":"#/definitions/BBA","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}]},"BEA":{"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}]},"BEB":{"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}]},"BEC":{"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}]},"BED":{"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}]},"BEE":{"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/BF"}}}}},"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":{}}]},"BEF":{"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]}]}]},"BEG":{"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}]},"BEH_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/BBE"},"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":{"anyOf":[{"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"},{"default":"yes","title":"Deals Damage","enum":["yes","no","no_but_side_effects_apply"],"description":"Defines how received damage affects the entity:\n- 'yes', received damage is applied to the entity.\n- 'no', received damage is not applied to the entity.\n- 'no_but_side_effects_apply', received damage is not applied to the entity, but the side effects of the attack are. This means that the attacker's weapon loses durability, enchantment side effects are applied, and so on."}]},"on_damage":{"type":"object","description":"Specifies filters for entity definitions and events.","title":"On Damage","$ref":"#/definitions/BBG"},"on_damage_sound_event":{"$ref":"#/definitions/BBA","description":"Defines what sound to play, if any, when the on_damage filters are met.","title":"On Damage Sound Event"}}},"BEH":{"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/BEH_triggers"}},{"type":"object","$ref":"#/definitions/BEH_triggers"}]}}},"BEI":{"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}]},"BEJ":{"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}]},"BFA":{"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/BF","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}]},"BFB":{"type":"object","title":"Dimension Bound","additionalProperties":false,"description":"Restricts entities from moving between dimensions when using Minecraft portals, keeping them bound to their current dimension.","required":[],"properties":{}},"BFC":{"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/BE","description":"Event to fire when the drying out time runs out.","title":"Dried Out Event"},"recover_after_dried_out_event":{"$ref":"#/definitions/BE","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/BE","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}]},"BFD":{"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}]},"BFE":{"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","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}]},"BFF_sensor_element":{"type":"object","title":"Entity Sensor","additionalProperties":false,"properties":{"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},"event_filters":{"$ref":"#/definitions/BF"},"event":{"title":"Event","description":"event.","type":"string"},"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"},"range":{"description":"The maximum distance another entity can be from this and have the filters checked against it.","title":"Range","anyOf":[{"$ref":"#/definitions/BDB"},{"default":10,"type":"number"}]},"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"}},"examples":[{"maximum_count":-1,"minimum_count":1,"require_all":false,"sensor_range":10,"event":"example"}]},"BFF":{"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/BFF_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/BFF_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"}}}]},"BFG":{"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","$ref":"#/definitions/BBG"}}},"BFH":{"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":{"$ref":"#/definitions/BB","description":"Item that the entity should not equip.","title":"Excluded Items"}}}},"BFJ":{"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"}]},"BFI":{"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/BFJ"}},"examples":[{"slot_drop_chance":[]}]},"BGA":{"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/BB","title":"Accepted Items"}},"item":{"$ref":"#/definitions/BB","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/BE","description":"Event to trigger when this entity is equipped with this item.","title":"On Equip"},"on_unequip":{"$ref":"#/definitions/BE","description":"Event to trigger when this item is removed from this entity.","title":"On Unequip"}}}}},"examples":[{"slots":[]}]},"BGB":{"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}]},"BGC":{"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}]},"BGD":{"type":"object","title":"Explode","additionalProperties":false,"description":"Defines how the entity explodes.","properties":{"allow_underwater":{"title":"Allow Underwater","description":"If true, the explosion will affect blocks and entities under water.","type":"boolean","default":false},"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"},"damage_scaling":{"title":"Damage Scaling","description":"A scale factor applied to the explosion's damage to entities. A value of 0 prevents the explosion from dealing any damage. Negative values cause the explosion to heal entities instead.","type":"number","default":1.0},"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"},"knockback_scaling":{"title":"Knockback Scaling","description":"A scale factor applied to the knockback force caused by the explosion.","type":"number","default":1.0},"max_resistance":{"type":"number","description":"A blocks explosion resistance will be capped at this value when an explosion occurs.","title":"Maximum Resistance"},"negates_fall_damage":{"title":"Negates Fall Damage","description":"Defines whether the explosion should apply fall damage negation to Players above the point of collision.","type":"boolean","default":false},"particle_effect":{"title":"Particle Effect","description":"The name of the particle effect to use.","enum":["explosion","wind_burst","breeze_wind_burst"],"default":"explosion"},"power":{"type":"number","default":3,"description":"The radius of the explosion in blocks and the amount of damage the explosion deals.","title":"Power"},"sound_effect":{"title":"Sound Effect","description":"The name of the sound effect played when the explosion triggers.","type":"string","default":"explode"},"toggles_blocks":{"title":"Toggles Blocks","description":"If true, the explosion will toggle blocks in the explosion radius.","type":"boolean","default":false}},"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}]},"BGE":{"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}]},"BGF":{"title":"Fire Immune","additionalProperties":false,"description":"Sets that this entity doesn't take damage from fire.","type":"object","required":[],"properties":{}},"BGG":{"description":"Sets that this entity can float in liquid blocks.","type":"object","title":"Floats In Liquid","additionalProperties":false,"required":[],"properties":{}},"BGH":{"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}]},"BGI":{"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}]},"BGJ":{"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}]},"BHA":{"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."}}},"BHB_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"}}}]},"BHB":{"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/BHB_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/BE","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/BHB_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/BHB_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":[]}]},"BHC":{"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/BB","title":"Properties"}},"on_give":{"$ref":"#/definitions/BE","description":"Event to fire when the correct item is given.","title":"On Give"}}}},"examples":[{"triggers":{}}]},"BHD":{"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}]},"BHE":{"type":"object","title":"Group Size","description":"Keeps track of entity group size in the given radius.","additionalProperties":false,"properties":{"filters":{"$ref":"#/definitions/BF","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}]},"BHF":{"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}]},"BHG_effect":{"type":"object","properties":{"name":{"title":"Name","description":"Effect name.","$ref":"#/definitions/DH","type":"string"},"duration":{"type":"integer","default":0,"minimum":0,"description":"The duration of the effect."},"amplifier":{"type":"integer","default":0,"minimum":0,"description":"The amplifier of the effect."}}},"BHG":{"description":"Defines the interactions with this entity for healing it.","type":"object","title":"Healable","additionalProperties":false,"required":[],"properties":{"filters":{"$ref":"#/definitions/BF"},"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/BF","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/BB","description":"Item that can be used to heal this entity.","title":"Item"},"effects":{"oneOf":[{"$ref":"#/definitions/BHG_effect"},{"type":"array","items":{"$ref":"#/definitions/BHG_effect"}}]}}}}},"examples":[{"force_use":false,"items":[]}]},"BHH":{"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":[{}]},"BHI":{"type":"object","title":"Hide","description":"Compels an entity to move to and hide at their owned POI or the closest nearby.","additionalProperties":false,"properties":{}},"BHJ":{"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/BC"}},"restriction_type":{"title":"Restriction Type","description":"Defines how the the entity will be restricted to its home position. The possible values are:\n- 'none', which poses no restriction.\n- 'random_movement', which restricts randomized movement to be around the home position.\n- [Beta] 'all_movement', which restricts any kind of movement to be around the home position. However, entities that somehow got too far away from their home will always be able to move closer to it, if prompted to do so.","enum":["none","random_movement","all_movement"],"default":"none"}},"examples":[{"restriction_radius":-1,"home_block_list":[]}]},"BIA":{"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"}]}}},"BIB":{"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/BF"},"cause":{"type":"string","title":"Cause","description":"Damage cause.","$ref":"#/definitions/BBE"},"damage_per_tick":{"type":"integer","title":"Damage Per Tick","description":"Amount of damage done each tick that the conditions are met."}}}}},"examples":[{"damage_conditions":[]}]},"BIC":{"type":"object","title":"Hurt When Wet","additionalProperties":false,"required":[],"properties":{},"description":"Specifies if an actor is hurt when wet."},"BID":{"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":{}},"BIF":{"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"}]}}}},"BIE":{"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/BIF"},"entered_block_event":{"title":"Entered Block Event","description":"Event to run when this mob enters a valid block.","$comment":"UNDOCUMENTED","$ref":"#/definitions/BE"},"exited_block_event":{"title":"Exited Block Event","description":"Event to run when this mob leaves a valid block.","$comment":"UNDOCUMENTED","$ref":"#/definitions/BE"}}}}},"examples":[{"block_list":[]}]},"BIG":{"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}]},"BIH":{"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}]},"BII_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/BFJ","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","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/BBG","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/BBA","description":"List of sounds to play when the interaction occurs."},"spawn_entities":{"title":"Spawn Entities","type":"string","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/BFJ","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":"string","examples":["slot.armor.head","slot.armor.chest","slot.armor.legs","slot.armor.feet"],"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":"string","description":"The entity's equipment slot to equip the item to, if any, upon successful interaction.","examples":["slot.armor.head","slot.armor.chest","slot.armor.legs","slot.armor.feet"]},"repair_entity_item":{"title":"Repair Entity Item","type":"object","description":"Allows to repair one of the entity's items.","properties":{"amount":{"title":"Amount","description":"How much of the item durability should be restored upon interaction.","type":"integer","minimum":0},"slot":{"title":"Slot","description":"The entity's slot containing the item to be repaired.","type":"string","examples":["slot.armor.head","slot.armor.chest","slot.armor.legs","slot.armor.feet"]}}}}},"BII":{"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/BII_interaction_spec"},{"type":"array","items":{"$ref":"#/definitions/BII_interaction_spec"}}]}}},"BIJ":{"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}]},"BJA":{"description":"Sets that this entity is a baby.","type":"object","title":"Is Baby","additionalProperties":false,"required":[],"properties":{}},"BJB":{"description":"Sets that this entity is charged.","type":"object","title":"Is Charged","additionalProperties":false,"required":[],"properties":{}},"BJC":{"description":"Sets that this entity is currently carrying a chest.","type":"object","title":"Is Chested","additionalProperties":false,"required":[],"properties":{}},"BJD":{"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"}]},"BJE":{"type":"object","title":"Is Hidden When Invisible","additionalProperties":false,"description":"Sets that this entity can hide from hostile mobs while invisible."},"BJF":{"description":"Sets that this entity is currently on fire.","type":"object","title":"Is Ignited","additionalProperties":false,"required":[],"properties":{}},"BJG":{"description":"Sets that this entity is an illager captain.","type":"object","title":"Is Illager Captain","additionalProperties":false,"required":[],"properties":{}},"BJH":{"description":"Sets that this entity is currently is_pregnant","type":"object","title":"Is Pregnant","additionalProperties":false,"required":[],"properties":{}},"BJI":{"description":"Sets that this entity is currently saddled.","type":"object","title":"Is Saddled","additionalProperties":false,"required":[],"properties":{}},"BJJ":{"description":"Sets that this entity is currently shaking.","type":"object","title":"Is Shaking","additionalProperties":false,"required":[],"properties":{}},"CAA":{"description":"Sets that this entity is currently sheared.","type":"object","title":"Is Sheared","additionalProperties":false,"required":[],"properties":{}},"CAB":{"description":"Sets that this entity can be stacked.","type":"object","title":"Is Stackable","additionalProperties":false,"properties":{"value":{"title":"Value","description":"UNDOCUMENTED.","type":"boolean"}}},"CAC":{"description":"Sets that this entity is currently stunned.","type":"object","title":"Is Stunned","additionalProperties":false,"required":[],"properties":{}},"CAD":{"description":"Sets that this entity is currently tamed.","type":"object","title":"Is Tamed","additionalProperties":false,"required":[],"properties":{}},"CAE":{"description":"Defines 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"}}},"CAF":{"type":"object","title":"Item Hopper","additionalProperties":false,"required":[],"properties":{},"description":"Determines that this entity is an item hopper."},"CAG":{"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":{}},"CAH":{"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}]},"CAI":{"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/BE","description":"Event to call when this entity is leashed.","title":"On Leash"},"on_unleash":{"$ref":"#/definitions/BE","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}]},"CAJ":{"description":"Defines the behavior when another entity looks at this entity.","type":"object","title":"Looked At","additionalProperties":false,"properties":{"field_of_view":{"type":"number","default":26,"description":"[Beta] Defines, in degrees, the width of the field of view for entities looking at the owner entity. If 'scale_fov_by_distance' is set to true, this value corresponds to the field of view at a distance of one block between the entities.","title":"Field Of View"},"filters":{"$ref":"#/definitions/BF","description":"Defines the entities that can trigger this component.","title":"Filters"},"find_players_only":{"title":"Find Players Only","description":"[Beta] Limits the search to only the nearest Player that meets the specified \"filters\" rather than all nearby entities.","type":"boolean","default":false},"line_of_sight_obstruction_type":{"title":"Line Of Sight Obstruction Type","description":"[Beta] Defines the type of block shape used to check for line of sight obstructions.","type":"string","enum":["outline","collision","collision_for_camera"],"default":"collision"},"look_at_locations":{"title":"Look At Locations","description":"[Beta] A list of locations on the owner entity towards which line of sight checks are performed. At least one location must be unobstructed for the entity to be considered as looked at.","type":"array","minItems":1,"uniqueItems":true,"items":{"enum":["head","body","feet"]}},"looked_at_cooldown":{"$ref":"#/definitions/H","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"},"looked_at_event":{"description":"The event identifier to run when the entities specified in filters look at this entity.","title":"Looked At Event","$ref":"#/definitions/BE"},"not_looked_at_event":{"description":"[Beta] Defines the event to trigger when no entity is found looking at the owner entity.","title":"Not Looked At Event","$ref":"#/definitions/BE"},"scale_fov_by_distance":{"title":"Scale Fov By Distance","description":"[Beta] When true, the field of view narrows as the distance between the owner entity and the entity looking at it increases. This ensures that the width of the view cone remains somewhat constant towards the owner entity position, regardless of distance.","type":"boolean","default":false},"search_radius":{"type":"number","default":10,"description":"Maximum distance this entity will look for another entity looking at it.","title":"Search Radius"},"set_target":{"title":"Set Target","description":"Defines if and how the owner entity will set entities that are looking at it as its combat targets. Valid values:\n- \"never\", looking entities are never set as targets, but events are emitted.\n- \"once_and_stop_scanning\", the first detected looking entity is set as target. Scanning and event emission is suspended if and until the owner entity has a target.\n- [Beta] \"once_and_keep_scanning\", the first detected looking entity is set as target. Scanning and event emission continues.","type":"string","default":"once_and_stop_scanning","enum":["never","once_and_stop_scanning","once_and_keep_scanning"]}},"examples":[{"search_radius":10,"set_target":true}]},"CBA":{"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"}}},"CBB":{"type":"object","title":"Managed Wandering Trader","additionalProperties":false,"required":[],"properties":{},"description":"This component is used to implement part of the Wandering Trader behavior."},"CBC":{"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}]},"CBD":{"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/BF","title":"Entity Filter","description":"Filter to use for conditions."},"mob_effect":{"title":"Mob Effect","$ref":"#/definitions/DH","description":"The mob effect that is applied to entities that enter this entities effect range."}}},"CBE":{"type":"object","title":"Mob Effect Immunity","description":"Entities with this component will have an immunity to the provided mob effects.","additionalProperties":false,"properties":{"mob_effects":{"title":"Mob Effects","description":"List of names of effects the entity is immune to.","type":"array","uniqueItems":true,"minItems":1,"items":{"$ref":"#/definitions/DH"}}}},"CBF":{"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}]},"CBG":{"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}]},"CBH":{"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}]},"CBI":{"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}]},"CBJ":{"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}]},"CCA":{"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}]},"CCB":{"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}]},"CCC":{"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}]},"CCD":{"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}]},"CCE":{"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}]},"CCF_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","description":"List of special names that will cause the events defined in `on_named` to fire.","title":"Name Filter"},"on_named":{"$ref":"#/definitions/BE","description":"Event to be called when this entity acquires the name specified in `name_filter'.","title":"On Named"}}},"CCF":{"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/BBG","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/CCF_name_action"}},{"type":"object","$ref":"#/definitions/CCF_name_action"}]}},"examples":[{"allow_name_tag_renaming":true,"always_show":false}]},"CCG":{"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/BCJ"}},"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 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/BCJ"}},"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 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/BCJ"}},"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}]},"CCJ":{"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/BCJ"}},"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}]},"CDA":{"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/BCJ"}},"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}]},"CDB":{"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/BCJ"}},"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}]},"CDC":{"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/BCJ"}},"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}]},"CDD_rangeXYZ":{"type":"array","items":[{"type":"number","title":"X"},{"type":"number","title":"Y"},{"type":"number","title":"Z"}]},"CDD":{"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/CDD_rangeXYZ","title":"Translate","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"scale":{"$ref":"#/definitions/CDD_rangeXYZ","title":"Scale","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"}}},"picker_offsets":{"type":"object","title":"Picker Offsets","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","additionalProperties":false,"properties":{"translate":{"$ref":"#/definitions/CDD_rangeXYZ","title":"Translate","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"scale":{"$ref":"#/definitions/CDD_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":{}}]},"CDE":{"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/BBG"},"CDF":{"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/BBG"},"CDG":{"description":"Adds a trigger to call when this entity is attacked by the player.","title":"On Hurt By Player","$ref":"#/definitions/BBG"},"CDH":{"description":"Adds a trigger to call when this entity takes damage.","title":"On Hurt","$ref":"#/definitions/BBG"},"CDI":{"description":"Adds a trigger to call when this entity is set on fire.","title":"On Ignite","$ref":"#/definitions/BBG"},"CDJ":{"description":"Only usable by the Ender Dragon. Adds a trigger to call when this entity lands.","title":"On Start Landing","$ref":"#/definitions/BBG"},"CEA":{"description":"Only usable by the Ender Dragon. Adds a trigger to call when this entity starts flying.","title":"On Start Takeoff","$ref":"#/definitions/BBG"},"CEB":{"description":"Adds a trigger to call when this entity finds a target.","title":"On Target Acquired","$ref":"#/definitions/BBG"},"CEC":{"description":"Adds a trigger to call when this entity loses the target it currently has.","title":"On Target Escape","$ref":"#/definitions/BBG"},"CED":{"description":"Adds a trigger to call when this pet's owner awakes after sleeping with the pet.","title":"On Wake With Owner","$ref":"#/definitions/BBG"},"CEE":{"type":"object","title":"Out Of Control","additionalProperties":false,"description":"defines the entity's `out of control` state.","required":[],"properties":{}},"CEF":{"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/BE","description":"Event to call when the entity is done peeking.","title":"On Close"},"on_open":{"$ref":"#/definitions/BE","description":"Event to call when the entity starts peeking.","title":"On Open"},"on_target_open":{"$ref":"#/definitions/BE","description":"Event to call when the entity's target entity starts peeking.","title":"On Target Open"}}},"CEG":{"description":"Defines whether an entity should be persistent in the game world.","type":"object","title":"Persistent","additionalProperties":false,"required":[],"properties":{}},"CEH":{"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}]},"CEI":{"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}]},"CEJ":{"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}]},"CFA":{"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}]},"CFB":{"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}]},"CFC":{"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/BCJ"}}}}}},"examples":[{"default_block_cost":0,"jump_cost":0,"max_fall_blocks":3,"preferred_path_blocks":[]}]},"CFE":{"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"]}]},"CFF":{"title":"Event","description":"Minecraft behavior event.","examples":["example:foo",{"event":"example:foo","target":"self"}],"defaultSnippets":[{"label":"New Event","body":"^\"$1\""}],"oneOf":[{"type":"string","description":"The event to fire."},{"type":"object","properties":{"event":{"type":"string","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"]}}}]},"CFD":{"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","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_nearest_passenger":{"type":"boolean","default":false,"title":"Hit Nearest Passenger","description":"If true, when hitting a vehicle, and there's at least one passenger in the vehicle, the damage will be dealt to the passenger closest to the projectile impact point. If there are no passengers, this setting does nothing."},"ignored_entities":{"title":"Ignored Entities","description":"[EXPERIMENTAL] An array of strings defining the types of entities that this entity does not collide with.","type":"array","minItems":1,"items":{"type":"string"}},"hit_ground_sound":{"$ref":"#/definitions/BBA","default":"","description":"The sound that plays when the projectile hits the ground.","title":"Hit Ground Sound"},"hit_sound":{"$ref":"#/definitions/BBA","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/CFE"},"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/CFF"},"splash_area":{"title":"Splash Area","type":"number","default":0.0,"description":"The splash area that will be affected."}}},"douse_fire":{"title":"Douse Fire","description":"If the target is on fire, then douse the fire.","type":"boolean","default":false},"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","description":"Determines if the struck object is set on fire.","type":"boolean","default":false},"channeling":{"title":"Channeling","type":"boolean","default":true,"description":"Whether lightning can be channeled through hte weapon."},"damage":{"title":"Damage","description":"The damage dealt on impact.","oneOf":[{"type":"number","default":1},{"type":"array","items":[{"type":"number","title":"Min"},{"type":"number","title":"Max"}]}]},"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."},"should_bounce":{"title":"Should Bounce","description":"If true, the projectile will bounce","type":"boolean","default":false}}},"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","$ref":"#/definitions/DH","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/CFE"},"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","description":"Determines if the owner is transported on hit.","type":"boolean","default":false},"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_immunity":{"type":"number","default":0,"description":"During the specified time, in seconds, the projectile cannot be reflected by hitting it","title":"Reflect Immunity"},"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/BBA","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}]},"CFG":{"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}]},"CFH":{"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}]},"CFI":{"type":"object","title":"Raid Trigger","additionalProperties":false,"description":"Attempts to trigger a raid at the entity's location.","required":[],"properties":{"triggered_event":{"$ref":"#/definitions/CFF","description":"Event to run we attempt to trigger a raid on the village.","title":"Triggered Event"}}},"CFJ":{"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}]},"CGA":{"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/BE","description":"Event to call when the rail is activated.","title":"On Activate"},"on_deactivate":{"$ref":"#/definitions/BE","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}]},"CGB":{"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/CFF"}}}}},"examples":[{"knockback_strength":3,"reaction_choices":[]}]},"CGC_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/CFE","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"}}},"CGC":{"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/CGC_seats_spec"},{"type":"array","items":{"$ref":"#/definitions/CGC_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}]},"CGD":{"type":"object","title":"Reflect Projectiles","description":"[EXPERIMENTAL] Allows an entity to reflect projectiles.","additionalProperties":false,"properties":{"azimuth_angle":{"title":"Azimuth Angle","description":"A Molang expression defining the angle in degrees to add to the projectile's y axis rotation.","default":0,"anyOf":[{"type":"string"},{"type":"number"}]},"elevation_angle":{"title":"Elevation Angle","description":"A Molang expression defining the angle in degrees to add to the projectile's x axis rotation.","default":0,"anyOf":[{"type":"string"},{"type":"number"}]},"reflected_projectiles":{"title":"Reflected Projectiles","description":"An array of strings defining the types of projectiles that are reflected when they hit the entity.","type":"array","uniqueItems":true,"items":{"type":"string"}},"reflection_scale":{"title":"Refelction Scale","description":"A Molang expression defining the velocity scaling of the reflected projectile. Values below 1 decrease the projectile's velocity, and values above 1 increase it.","default":1,"anyOf":[{"type":"string"},{"type":"number"}]},"reflection_sound":{"title":"Reflection Sound","description":"A string defining the name of the sound event to be played when a projectile is reflected. \"reflect\" unless specified.","default":"reflect","type":"string"}},"examples":[{"reflected_projectiles":["xp_bottle","thrown_trident","shulker_bullet","dragon_fireball","arrow","snowball","egg","fireball","splash_potion","ender_pearl","wither_skull","wither_skull_dangerous","small_fireball","lingering_potion","llama_spit","fireworks_rocket","fishing_hook"],"azimuth_angle":"180.0 + Math.random(-20.0, 20.0)","reflection_scale":"0.5"}]},"CGE":{"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}]},"CGF":{"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}]},"CGG":{"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/BF"},"event":{"$ref":"#/definitions/CFF"}}}}},"examples":[{"min_delay_secs":0,"max_delay_secs":0,"scheduled_events":[]}]},"CGH":{"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/BC"},"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":[]}]},"CGI":{"description":"Defines the entity's ranged attack behavior.","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","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/BF"}}}]}},"sound":{"title":"Sound","type":"string","description":"Sound that is played when the shooter shoots a projectile."}},"examples":[{"def":"minecraft:small_fireball"}]},"CGJ":{"description":"Defines the entity's `sit` state.","type":"object","title":"Sittable","additionalProperties":false,"required":[],"properties":{"sit_event":{"$ref":"#/definitions/BE","description":"Event to run when the entity enters the `sit` state.","title":"Sit Event"},"stand_event":{"$ref":"#/definitions/BE","description":"Event to run when the entity exits the `sit` state.","title":"Stand Event"}}},"CHA":{"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}]},"CHB":{"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}]},"CHC_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/BF"},"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","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/BB","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/BBA","default":"plop","description":"Identifier of the sound effect to play when the entity is spawned.","title":"Spawn Sound"},"spawn_item_event":{"description":"Event to call on this entity when the item is spawned.","title":"Spawn Item Event","$ref":"#/definitions/BE"}}},"CHC":{"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/CHC_entity_spawn"},{"type":"array","items":{"type":"object","$ref":"#/definitions/CHC_entity_spawn"}}]}}},"CHD":{"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":[{"$ref":"#/definitions/DH"},{"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":{"$ref":"#/definitions/DH","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":[]}]},"CHE":{"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}]},"CHF":{"type":"object","title":"Suspect Tracking","additionalProperties":false,"required":[],"properties":{},"description":"Allows this entity to remember suspicious locations."},"CHG":{"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/BE","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/BC"}},{"$ref":"#/definitions/BC"}]}},"examples":[{"probability":1}]},"CHH_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/BB","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"}}},"CHH_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/BB","description":"Name of the item this entity dislikes and will cause it to get angry if used while untamed."}}},"CHH":{"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/CHH_auto_reject_items"},{"type":"array","items":{"$ref":"#/definitions/CHH_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/CHH_feed_items"},{"type":"array","items":{"$ref":"#/definitions/CHH_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/BE","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"}]},"CHI":{"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/BE","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/BE","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/BE","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}]},"CHJ":{"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}]},"CIA":{"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}]},"CIB":{"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/BE"},"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"}}]},"CIC":{"description":"Resupplies an entity's trade.","type":"object","title":"Trade Resupply","additionalProperties":false,"properties":{}},"CID":{"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"}]},"CIE":{"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/BF","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]}]},"CIF":{"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/BBA","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/BCC"}},"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","examples":["minecraft:drowned<minecraft:as_baby>","minecraft:drowned"]},"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/BBA","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":""}]},"CIG":{"type":"object","title":"Transient","additionalProperties":false,"description":"An entity with this component will NEVER persist, and forever disappear when unloaded.","required":[],"properties":{}},"CIH":{"type":"object","title":"Trust","description":"Allows this entity to trust multiple players.","required":[],"additionalProperties":false,"properties":{}},"CII":{"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/BE","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/BC","title":"Trust Item"}}},"examples":[{"probability":1,"trust_event":"self:trust"},{"probability":1,"trust_items":[],"trust_event":"self:trust"}]},"CIJ":{"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"}}},"CJA":{"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}]},"CJB":{"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}]},"CJC":{"type":"object","title":"Vibration Damper","additionalProperties":false,"required":[],"properties":{},"description":"Vibrations emitted by this entity will be ignored."},"CJD":{"type":"object","title":"Vibration Listener","additionalProperties":false,"required":[],"properties":{},"description":"This entity will respond to vibrations."},"CJE":{"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}]},"CJF":{"description":"Sets that this entity wants to become a jockey.","type":"object","title":"Wants Jockey","additionalProperties":false,"properties":{}},"CJG":{"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}]},"CJI":{"additionalProperties":false,"type":"integer","title":"Priority","minimum":0,"description":"How important this behavior is. Lower priority behaviors will be executed first."},"CJH":{"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/CJI"},"admire_item_sound":{"title":"Admire Item Sound","$ref":"#/definitions/BBA","description":"The sound event to play when admiring the item."},"on_admire_item_start":{"title":"On Admire Item Start","$ref":"#/definitions/CFF","description":"The event to run when admiring the item."},"on_admire_item_stop":{"title":"On Admire Item Stop","$ref":"#/definitions/CFF","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":""}]},"CJJ":{"type":"object","title":"Avoid Block","description":"Allows this entity to avoid certain blocks.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJI"},"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/BB"}},"avoid_block_sound":{"title":"Avoid Block Sound","description":"The sound event to play when the mob is avoiding a block.","$ref":"#/definitions/BBA"},"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/CFF"}},"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":[]}]},"DAB_entity_definition":{"description":"The entity type.","title":"Entity Type","type":"object","additionalProperties":false,"properties":{"filters":{"$ref":"#/definitions/BF"},"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"},"within_default":{"type":"number","description":"UNDOCUMENTED.","title":"Within Default"},"check_if_outnumbered":{"type":"boolean","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"}}},"DAB":{"title":"Entity Types","oneOf":[{"type":"array","items":{"$ref":"#/definitions/DAB_entity_definition"}},{"$ref":"#/definitions/DAB_entity_definition"}]},"DAA":{"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/CJI"},"avoid_mob_sound":{"title":"Avoid Mob Sound","default":"","description":"The sound event to play when the mob is avoiding another mob.","$ref":"#/definitions/BBA"},"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/DAB","title":"Entity Types","description":"The list of conditions another entity must meet to be a valid target to avoid."},"on_escape_event":{"$ref":"#/definitions/CFF","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}]},"DAC":{"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/CJI"}}},"DAD":{"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/CJI"},"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/BB"},"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/H","default":[2,4],"title":"Look Time"}},"examples":[{"items":[],"look_distance":8}]},"DAF":{"additionalProperties":false,"default":1.0,"description":"Movement speed multiplier of the mob when using this AI Goal.","type":"number","title":"Speed Multiplier"},"DAE":{"type":"object","title":"Break Door","description":"Allows this mob to break doors.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"}},"additionalProperties":false},"DAG":{"additionalProperties":false,"type":"object","title":"Breed","description":"Allows this mob to breed with other mobs.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"}}},"DAH":{"additionalProperties":false,"type":"object","title":"Celebrate Survive","description":"Allows this entity to celebrate surviving a raid by shooting fireworks.","properties":{"priority":{"$ref":"#/definitions/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"fireworks_interval":{"title":"Fireworks Interval","$ref":"#/definitions/H","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/CFF"}}},"DAI":{"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/CJI"},"celebration_sound":{"description":"The sound event to trigger during the celebration.","title":"Celebration Sound","$ref":"#/definitions/BBA"},"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/BBG","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/H"}},"examples":[{"celebration_sound":"","duration":1}]},"DAJ":{"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/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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%)"}}},"DBA":{"type":"object","title":"Charge Held Item","description":"Allows an entity to charge and use their held item.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"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/BB","description":"Items names to be used.","title":"Item ID"}}},"examples":[{"items":[]}]},"DBB":{"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/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"radius_range":{"$ref":"#/definitions/H","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/H","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/H","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}]},"DBC":{"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/CJI"},"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}]},"DBE":{"oneOf":[{"type":"array","$ref":"#/definitions/BDB"},{"title":"Value","type":"number"}],"examples":[0,[0,10]],"defaultSnippets":[{"label":"New Array 2","body":["^$1","^$2"]}]},"DBG":{"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"]}]},"DBF":{"oneOf":[{"type":"array","$ref":"#/definitions/DBG"},{"title":"Value","type":"integer"}],"examples":[0,[0,10]],"defaultSnippets":[{"label":"New Array 2","body":["^$1","^$2"]}]},"DBD":{"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/CJI"},"duration":{"title":"Duration","description":"Random range in seconds after which the croaking stops. Can also be a constant.","$ref":"#/definitions/DBE"},"filters":{"title":"Filters","$ref":"#/definitions/BF","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/DBF"}}},"DBH":{"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/CJI"},"aggro_sound":{"title":"Aggro Sound","$ref":"#/definitions/BBA","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/CFF","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/DAB","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}]},"DBI":{"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/CJI"},"entity_types":{"title":"Entity Types","$ref":"#/definitions/DAB","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}]},"DBJ":{"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/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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/BBG"},"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":1.5,"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":true,"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}]},"DCA":{"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/CJI"},"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."},"on_start":{"title":"On Start","$ref":"#/definitions/BBG","description":"The event to run when the goal start"}}},"DCB":{"additionalProperties":false,"type":"object","title":"Door Interact","description":"Allows the mob to open and close doors.","properties":{"priority":{"$ref":"#/definitions/CJI"}}},"DCC":{"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/CJI"},"active_speed":{"title":"Active Speed","type":"number","default":3,"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/H","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."}}},"DCD":{"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/CJI"}}},"DCE":{"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/CJI"},"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."}}},"DCF":{"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/CJI"}}},"DCG":{"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/CJI"}}},"DCH":{"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/CJI"}}},"DCI":{"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/CJI"},"active_speed":{"title":"Active Speed","type":"number","default":3,"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/H","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."}}},"DCJ":{"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/CJI"}}},"DDA":{"type":"object","title":"Drink Milk","description":"Allows the mob to drink milk based on specified environment conditions.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJI"},"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/BF","description":"Conditions that need to be met for the behavior to start."}},"examples":[{"cooldown_seconds":5.0}]},"DDB":{"type":"object","title":"Drink Potion","description":"Allows the mob to drink potions based on specified environment conditions.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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/BF"}}}}},"examples":[{"potions":[]}]},"DDC":{"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/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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/DAB"},"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."},"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/BBG","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/CFE","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/CFE","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/H","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":[]}]},"DDD":{"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/CJI"},"on_eat":{"title":"On Eat","$ref":"#/definitions/BBG","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/BCC"},"replace_block":{"type":"string","title":"Replace Block","description":"The block to replace the eaten block with.","$comment":"UNDOCUMENTED","$ref":"#/definitions/BCC"}}}}},"examples":[{"time_until_eat":0.0,"eat_and_replace_block_pairs":[{"eat_block":"minecraft:grass","replace_block":"minecraft:dirt"}]}]},"DDE":{"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/CJI"},"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}]},"DDF":{"type":"object","title":"Eat Mob","description":"[EXPERIMENTAL BEHAVIOR] Allows the entity to eat a specified Mob.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"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/BBA","description":"Sets the sound that should play when eating a mob."},"loot_table":{"title":"Loot Table","type":"string","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."}}},"DDG":{"type":"object","title":"Emerge","description":"Activates the `EMERGING` actor flag during the specified duration and triggers `on_done` at the end","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"cooldown_time":{"title":"Cooldown Time","type":"number","default":0.5,"description":"Time in seconds the mob has to wait before using the goal again."},"duration":{"title":"Duration","type":"number","default":5.0,"description":"Goal duration in seconds."},"on_done":{"title":"On Done","$ref":"#/definitions/BBG","description":"Trigger to be executed when the goal execution is about to end."}}},"DDH":{"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/CJI"}}},"DDI":{"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/CJI"}}},"DDJ":{"type":"object","title":"Equip Item","description":"The entity puts on the desired equipment.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJI"}}},"DEA":{"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/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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/CFE"},"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":[]}]},"DEB":{"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/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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}]},"DEC":{"type":"object","title":"Find Cover","description":"Allows the mob to seek shade.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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}]},"DED":{"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/CJI"},"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}]},"DEE":{"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/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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}]},"DEF":{"description":"Allows an entity to attack by firing a shot with a delay. Anchor and offset parameters of this component overrides the anchor and offset from projectile component.","type":"object","title":"Fire At Target","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"attack_cooldown":{"title":"Attack Cooldown","type":"number","default":0.5,"description":"The cooldown time in seconds before this goal can be used again."},"attack_range":{"title":"Attack Range","$ref":"#/definitions/CFE","description":"Target needs to be within this range for the attack to happen."},"owner_anchor":{"title":"Owner Anchor","type":"integer","default":2,"description":"Entity anchor for the projectile spawn location."},"owner_offset":{"title":"Owner Offset","description":"Offset vector from the owner_anchor.","$ref":"#/definitions/CFE"},"target_anchor":{"title":"Target Anchor","type":"integer","default":2,"description":"Entity anchor for projectile target."},"target_offset":{"title":"Target Offset","description":"Offset vector from the target_anchor.","$ref":"#/definitions/CFE"},"post_shoot_delay":{"title":"Post Shoot Delay","type":"number","default":0.2,"description":"Time in seconds between firing the projectile and ending the goal."},"pre_shoot_delay":{"title":"Pre Shoot Delay","type":"number","default":0.75,"description":"Time in seconds before firing the projectile."},"projectile_def":{"title":"Projectile Definition","type":"string","description":"Actor definition to use as projectile for the ranged attack. The actor must be a projectile."},"ranged_fov":{"title":"Ranged Fov","type":"number","default":90,"minimum":0,"maximum":360,"description":"Field of view (in degrees) when using sensing to detect a target for attack."},"max_head_rotation_x":{"title":"Max Head Rotation X","type":"number","default":30,"minimum":0,"maximum":360,"description":"Maximum head rotation (in degrees), on the X-axis, that this entity can apply while trying to look at the target."},"max_head_rotation_y":{"title":"Max Head Rotation Y","type":"number","default":30,"minimum":0,"maximum":360,"description":"Maximum head rotation (in degrees), on the Y-axis, that this entity can apply while trying to look at the target."},"filters":{"title":"Filters","description":"Conditions that need to be met for the behavior to start.","$ref":"#/definitions/BF"}}},"DEG":{"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/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"}}},"DEH":{"type":"object","title":"Float Wander","description":"Allows the mob to float around like the Ghast.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"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/H","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}]},"DEI":{"type":"object","title":"Float","description":"Allows the mob to stay afloat while swimming.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"sink_with_passengers":{"title":"Sink With Passengers","description":"If true, the mob will keep sinking as long as it has passengers.","type":"boolean","default":false}}},"DEJ":{"type":"object","title":"Follow Caravan","description":"Allows the mob to follow mobs that are in a caravan.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"entity_types":{"$ref":"#/definitions/DAB","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}]},"DFA":{"type":"object","title":"Follow Mob","description":"Allows the mob to follow other mobs.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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}]},"DFB":{"type":"object","title":"Follow Owner","description":"Allows the mob to follow the player that owns them.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"post_teleport_distance":{"title":"Post Teleport Distance","description":"Defines how far (in blocks) the entity will be from its owner after teleporting. If not specified, it defaults to \"stop_distance\" + 1, allowing the entity to seamlessly resume navigation.","type":"number","minimum":3},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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}]},"DFC":{"type":"object","title":"Follow Parent","description":"Allows the mob to follow their parent around.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"}}},"DFD":{"type":"object","title":"Follow Target Captain","description":"Allows mob to move towards its current target captain.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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}]},"DFE":{"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/CJI"},"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.","$ref":"#/definitions/BBG"},"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/BBA","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."}}},"DFF":{"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/CJI"},"on_item_throw":{"title":"On Item Throw","description":"Event(s) to run when this mob throws items.","$ref":"#/definitions/BBG"},"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/BBA","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."}}},"DFG":{"additionalProperties":false,"description":"Allows the mob to move back to the position they were spawned.","title":"Go Home","type":"object","properties":{"priority":{"$ref":"#/definitions/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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","$ref":"#/definitions/BBG"},"on_failed":{"title":"On Failed","description":"Event(s) to run when this goal fails.","type":"array","items":{"$ref":"#/definitions/CFF"}},"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}]},"DFH":{"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/CJI"},"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."}}},"DFI":{"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/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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}]},"DFJ":{"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/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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}]},"DGA":{"type":"object","title":"Hold Ground","description":"The mob freezes and looks at the mob they are targeting.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJI"},"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/CFF","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}]},"DGB":{"type":"object","title":"Hurt By Target","additionalProperties":false,"description":"Allows the mob to target another mob that hurts them.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"entity_types":{"$ref":"#/definitions/DAB","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}]},"DGC":{"type":"object","title":"Inspect Bookshelf","additionalProperties":false,"description":"Allows the mob to inspect bookshelves.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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}]},"DGD":{"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."}}},"DGE":{"type":"object","title":"Jump Around Target","additionalProperties":false,"description":"Allows an entity to jump around a target.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"check_collision":{"title":"Check Collision","type":"boolean","default":false,"description":"Enables collision checks when calculating the jump. Setting check_collision to true may affect performance and should be used with care."},"entity_bounding_box_scale":{"title":"Entity Bounding Box Scale","default":0.7,"description":"Scaling temporarily applied to the entity's AABB bounds when jumping. A smaller bounding box reduces the risk of collisions during the jump. When check_collision is true it also increases the chance of being able to jump when close to obstacles."},"jump_angles":{"title":"Jump Angles","type":"array","default":[40.0,55.0,60.0,75.0,80.0],"items":{"type":"number"},"description":"The jump angles in float degrees that are allowed when performing the jump. The order in which the angles are chosen is randomized."},"jump_cooldown_duration":{"title":"Jump Cooldown Duration","type":"number","default":0.5,"description":"The time in seconds to spend in cooldown before this goal can be used again."},"jump_cooldown_when_hurt_duration":{"title":"Jump Cooldown When Hurt Duration","type":"number","default":0.1,"description":"The time in seconds to spend in cooldown after being hurt before this goal can be used again."},"landing_distance_from_target":{"title":"Vertical Search Distance","description":"The range deciding how close to and how far away from the target the landing position can be when jumping.","$ref":"#/definitions/BDB"},"landing_position_spread_degrees":{"title":"Landing Position Spread Degrees","type":"integer","default":90,"minimum":0,"maximum":360,"description":"This angle (in degrees) is used for controlling the spread when picking a landing position behind the target. A zero spread angle means the landing position will be straight behind the target with no variance. A 90 degree spread angle means the landing position can be up to 45 degrees to the left and to the right of the position straight behind the target's view direction."},"last_hurt_duration":{"title":"Last Hurt Duration","type":"number","default":2.0,"description":"If the entity was hurt within these last seconds, the jump_cooldown_when_hurt_duration will be used instead of jump_cooldown_duration."},"line_of_sight_obstruction_height_ignore":{"title":"Line Of Sight Obstruction Height Ignore","type":"integer","default":4,"description":"If the entity's line of sight towards its target is obstructed by an obstacle with a height below this number, the obstacle will be ignored, and the goal will try to find a valid landing position."},"max_jump_velocity":{"title":"Max Jump Velocity","type":"number","default":1.4,"description":"Maximum velocity a jump can be performed at."},"prepare_jump_duration":{"title":"Prepare Jump Duration","type":"number","default":0.5,"description":"The time in seconds to spend preparing for the jump."},"required_vertical_space":{"title":"Require Vertical Space","type":"integer","default":4,"description":"The number of blocks above the entity's head that has to be air for this goal to be usable."},"snap_to_surface_block_range":{"title":"Snap To Surface Block Range","type":"integer","default":10,"description":"The number of blocks above and below from the jump target position that will be checked to find a surface to land on."},"valid_distance_to_target":{"title":"Valid Distance To Target","description":"Target needs to be within this range for the jump to happen.","$ref":"#/definitions/BDB"},"filters":{"title":"Filters","description":"Conditions that need to be met for the behavior to start.","$ref":"#/definitions/BF"}}},"DGF":{"type":"object","title":"Jump To Block","description":"Allows an entity to jump to another random block.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"cooldown_range":{"title":"Cooldown Range","$ref":"#/definitions/BDB","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/BB"}},"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/BB"}},"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":[]}]},"DGG":{"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/CJI"},"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/BF","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/BF","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/CFF","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}]},"DGH":{"description":"Allows mobs to lay down at times.","type":"object","title":"Lay Down","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"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}]},"DGI":{"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/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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/BB","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/BBA","default":"lay_egg","description":"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":"Duration of the laying egg process in seconds."},"on_lay":{"title":"On Lay","$ref":"#/definitions/BBG","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/BB"},"description":"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":"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":"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}]},"DGJ":{"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/CJI"},"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}]},"DHA":{"description":"Allows the mob to look at nearby entities.","type":"object","title":"Look At Entity","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"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/H","default":[2,4],"description":"Time range to look at the nearest 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/BF"}},"examples":[{"look_distance":8.0,"probability":0.02,"angle_of_view_vertical":360,"angle_of_view_horizontal":360}]},"DHB":{"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/CJI"},"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 nearest player.","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}]},"DHC":{"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/CJI"},"look_distance":{"type":"number","default":8.0,"description":"The distance in blocks from which the entity will look at this mob's current target.","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/H","default":[2,4],"description":"Time range to look at this mob's current target.","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}]},"DHD":{"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/CJI"},"look_distance":{"type":"number","default":8.0,"description":"The distance in blocks from which the entity will look at the player this mob is trading with.","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/H","default":[2,4],"description":"Time range to look at the player this mob is trading with.","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}]},"DHE":{"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/CJI"}}},"DHF":{"type":"object","title":"Melee Attack","description":"Allows the mob to use close combat melee attacks.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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/BBG","description":"Defines the event to trigger when this entity successfully attacks."},"on_kill":{"title":"On Kill","$ref":"#/definitions/BBG","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}]},"DHG":{"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/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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/BBG","description":"Defines the event to trigger when this entity successfully attacks."},"on_kill":{"title":"On Kill","$ref":"#/definitions/BBG","description":"[UNDOCUMENTED] Defines the event to trigger when this entity successfully kills a target."},"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}]},"DHH":{"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/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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}]},"DHI":{"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/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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}]},"DHJ":{"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/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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}]},"DIA":{"additionalProperties":false,"type":"object","title":"Move Outdoors","$comment":"UNDOCUMENTED","description":"Forces the entity to move `outside`, whatever that means.","properties":{"priority":{"$ref":"#/definitions/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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."}}},"DIB":{"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/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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}]},"DIC":{"type":"object","title":"Move To Block","additionalProperties":false,"description":"Allows mob to move towards a block.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"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.","$ref":"#/definitions/BBG"},"on_reach":{"title":"On Reach","description":"Event to run on block reached.","$ref":"#/definitions/BBG"},"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/BB"}},"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/BF"},"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"]}]},"DID":{"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/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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}]},"DIE":{"type":"object","title":"Move To Lava","description":"Allows the mob to move back into lava when on land.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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}]},"DIF":{"type":"object","title":"Move To Liquid","description":"Allows the mob to move into a liquid when on land.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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"}]},"DIG":{"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/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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"}]},"DIH":{"type":"object","title":"Move To Random Block","description":"Allows mob to move towards a random block.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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}]},"DII":{"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/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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}]},"DIJ":{"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/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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}]},"DJA":{"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/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"}}},"DJB":{"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/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"}}},"DJC":{"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/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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":[]}]},"DJD":{"type":"object","title":"Move Towards Target","additionalProperties":false,"description":"Allows mob to move towards its current target.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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}]},"DJE":{"type":"object","title":"Nap","description":"Allows mobs to occassionally stop and take a nap under certain conditions.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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/BF","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/BF","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}]},"DJF_entity_type":{"type":"object","description":"A entity type.","properties":{"filters":{"$ref":"#/definitions/BF","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"}}},"DJF":{"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/CJI"},"entity_types":{"$ref":"#/definitions/DAB","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}]},"DJG":{"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/CJI"},"entity_types":{"$ref":"#/definitions/DAB","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}]},"DJH":{"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/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"}}},"DJI":{"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/CJI"},"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}]},"DJJ":{"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/CJI"},"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/BF","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/CFE"}}},"EAA":{"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/CJI"},"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}]},"EAB":{"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/CJI"},"entity_types":{"$ref":"#/definitions/DAB","description":"List of entity types that this mob can target if they hurt their owner.","title":"Entity Types"}}},"EAC":{"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/CJI"},"entity_types":{"$ref":"#/definitions/DAB","description":"List of entity types that this entity can target if the potential target is hurt by this mob's owner.","title":"Entity TYpes"}}},"EAD":{"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/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"damage_sources":{"title":"Damage Sources","type":"array","items":{"$ref":"#/definitions/BBE"},"default":["campfire","entity_attack","entity_explosion","fire","fire_tick","fireworks","freezing","lava","lightning","magic","magma","projectile","ram_attack","sonic_boom","soul_campfire","temperature","wither"],"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/BBA","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":{}}]},"EAE":{"description":"Allows the mob to be tempted by food they like.","type":"object","title":"Pet Sleep With Owner","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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}]},"EAF":{"description":"Allows the mob to pick up items on the ground.","additionalProperties":false,"type":"object","title":"Pickup Items","properties":{"priority":{"$ref":"#/definitions/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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/BB"}},"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}]},"EAG":{"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/CJI"},"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/BF"},"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/BBE"},{"type":"array","items":{"title":"Damage Source","$ref":"#/definitions/BBE"}}]}},"examples":[{"duration":0.0,"force_below_health":0.0,"random_start_chance":0.0,"random_damage_range":[],"apply_regeneration":true}]},"EAH":{"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/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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/CFE","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/BF"}}},"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."}}},"EAI":{"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/CJI"}}},"EAJ":{"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/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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/BCJ"}},"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}]},"EBA":{"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/CJI"},"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/H","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/BBG","description":"The event to trigger when attacking."},"pre_ram_sound":{"title":"Pre Ram Sound","$ref":"#/definitions/BBA","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/BBA","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/BBG"}},"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}]},"EBB":{"description":"Allows the mob to randomly break surface of the water.","type":"object","title":"Random Breach","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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}]},"EBC":{"description":"Allows a mob to randomly fly around.","type":"object","title":"Random Fly","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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}]},"EBD":{"description":"Allows the mob to hover around randomly, close to the surface.","type":"object","title":"Random Hover","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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}]},"EBE":{"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/CJI"},"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}]},"EBF":{"additionalProperties":false,"description":"Allows the mob to randomly look around.","type":"object","title":"Random Look Around","required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"angle_of_view_horizontal":{"title":"Angle Of View Horizontal","type":"integer","default":360,"description":"The angle in degrees that an entity can see in the Y-axis (up-down)."},"angle_of_view_vertical":{"title":"Angle Of View Vertical","type":"integer","default":360,"description":"The angle in degrees that an entity can see in the X-axis (left-right)."},"look_distance":{"title":"Look Distance","type":"number","default":8.0,"description":"The distance in blocks from which the entity will look at."},"look_time":{"title":"Look Time","$ref":"#/definitions/BDB","description":"The range of time in seconds the mob will stay looking in a random direction before looking elsewhere"},"probability":{"title":"Probability","type":"number","default":0.2,"description":"The probability of looking at the target. A value of 1.00 is 100%."}},"examples":[{"look_distance":0.0},{"priority":2,"max_look_count":4,"min_look_count":1,"max_look_time":60,"min_look_time":5,"probability":0.35}]},"EBG":{"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/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"cooldown_range":{"title":"Cooldown Range","default":[0.0,0.0],"description":"Goal cooldown range in seconds.","anyOf":[{"$ref":"#/definitions/BDB"},{"type":"number","minimum":0}]},"digging_duration_range":{"title":"Digging Duration Range","$ref":"#/definitions/BDB","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","description":"File path relative to the behavior pack root for items to spawn list (loot table format)."},"on_digging_start":{"title":"On Digging Start","$ref":"#/definitions/BBG","description":"Event to run when the goal ends searching has begins digging."},"on_fail_during_digging":{"title":"On Fail During Digging","$ref":"#/definitions/BBG","description":"Event to run when the goal failed while in digging state."},"on_fail_during_searching":{"title":"On Fail During Searching","$ref":"#/definitions/BBG","description":"Event to run when the goal failed while in searching state."},"on_item_found":{"title":"On Item Found","$ref":"#/definitions/BBG","description":"Event to run when the goal find a item."},"on_searching_start":{"title":"On Searching Start","$ref":"#/definitions/BBG","description":"Event to run when the goal starts searching."},"on_success":{"title":"On Success","$ref":"#/definitions/BBG","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/BCJ"}},"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."}}},"EBH":{"type":"object","title":"Random Sitting","description":"Allows the mob to randomly sit for a duration.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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}]},"EBI":{"description":"Allows a mob to randomly stroll around.","type":"object","title":"Random Stroll","required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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}]},"EBJ":{"type":"object","title":"Random Swim","description":"Allows an entity to randomly move through water.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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}]},"ECA":{"description":"Allows the mob to use ranged attacks like shooting arrows.","type":"object","title":"Ranged Attack","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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}]},"ECB":{"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/CJI"}}},"ECC":{"description":"Allows the mob to stay indoors during night time.","type":"object","title":"Restrict Open Door","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"}}},"ECD":{"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/CJI"}}},"ECE":{"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/CJI"},"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}]},"ECF":{"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/CJI"},"duration":{"title":"Duration","type":"number","default":0.0,"description":"Goal duration in seconds."}}},"ECG":{"description":"This allows the mob to roll forward.","type":"object","title":"Roll","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"probability":{"type":"number","minimum":0,"description":"The probability that the mob will use the goal.","title":"Probability"}},"examples":[{"probability":0.0}]},"ECH":{"description":"Allows the mob to run around aimlessly.","type":"object","title":"Run Around Like Crazy","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"}}},"ECI":{"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/CJI"},"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}]},"ECJ_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/BBA","default":"","description":"The sound event to play when this step happens."}}}},"ECJ":{"description":"Allows the mob to send an event to another mob.","type":"object","title":"Send Event","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJI"},"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/BF"},"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/BBA","title":"Start Sound Event","description":"The sound event to play when using this spell.","$comment":"UNDOCUMENTED"},"sequence":{"$ref":"#/definitions/ECJ_sequence"}}}},"sequence":{"$ref":"#/definitions/ECJ_sequence","description":"List of steps for the spell.","$comment":"UNDOCUMENTED","title":"Sequence"}},"examples":[{"cast_duration":0.0,"event_choices":[]}]},"EDA":{"description":"Allows the mob to give items it has to others.","type":"object","title":"Share Items","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"entity_types":{"$ref":"#/definitions/DAB","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}]},"EDB":{"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/CJI"}}},"EDC":{"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/CJI"}}},"EDD":{"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/CJI"},"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}]},"EDE":{"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/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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."},"goal_radius":{"title":"Goal Radius","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","default":0.5,"type":"number"}},"examples":[{"cooldown_time":0,"goal_radius":0,"sleep_collider_height":1,"sleep_collider_width":1,"sleep_y_offset":1,"timeout_cooldown":8}]},"EDF":{"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/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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}]},"EDG":{"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/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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}]},"EDH":{"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/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"}}},"EDI":{"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/CJI"},"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}]},"EDJ":{"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/CJI"},"items":{"title":"Items","description":"Items that we are interested in snacking on.","oneOf":[{"type":"array","items":{"$ref":"#/definitions/BB","title":"Item"}},{"$ref":"#/definitions/BB"}]},"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}]},"EEA":{"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/CJI"},"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/DAB","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/BBA","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/BBA","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}]},"EEB":{"additionalProperties":false,"type":"object","title":"Sniff","description":"Sniff compels this entity to detect the nearest player within \"sniffing_radius\" and update its minecraft:suspect_tracking component state.","properties":{"priority":{"$ref":"#/definitions/CJI"},"cooldown_range":{"title":"Cooldown Range","$ref":"#/definitions/BDB","default":[3.0,10.0],"description":"Cooldown range between sniffs in seconds."},"duration":{"title":"Duration","type":"number","default":1.0,"description":"Sniffing duration in seconds"},"sniffing_radius":{"title":"Sniffing Radius","type":"number","default":5.0,"description":"Mob detection radius."},"suspicion_radius_horizontal":{"title":"Suspicion Radius Horizontal","type":"number","default":3.0,"description":"Mob suspicion horizontal radius. When a player is within this radius horizontally, the anger level towards that player is increased."},"suspicion_radius_vertical":{"title":"Suspicion Radius Vertical","type":"number","default":3.0,"description":"Mob suspicion vertical radius. When a player is within this radius vertically, the anger level towards that player is increased."}}},"EEC":{"additionalProperties":false,"type":"object","title":"Sonic Boom","description":"Plays the provided sounds and activates the `SONIC BOOM` actor flag during the specified duration","properties":{"priority":{"$ref":"#/definitions/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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/BBA","default":"","description":"Sound event for the attack."},"charge_sound":{"title":"Charge Sound","$ref":"#/definitions/BBA","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."}}},"EED":{"description":"Allows an entity to dive underwater.","type":"object","title":"Squid Dive","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"}}},"EEE":{"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/CJI"}}},"EEF":{"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/CJI"}}},"EEG":{"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/CJI"}}},"EEH":{"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/CJI"}}},"EEI":{"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/CJI"},"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/BF","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}]},"EEJ":{"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/CJI"},"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."}}},"EFA":{"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/CJI"}}},"EFB":{"description":"Allows the mob to use the polar bear's melee attack.","type":"object","title":"Stomp Attack","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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/BBG","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}]},"EFC":{"description":"Allows this mob to stomp turtle eggs.","type":"object","title":"Stomp Turtle Egg","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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}]},"EFD":{"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/CJI"},"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}]},"EFE":{"description":"Allows the mob to attack the player by summoning other entities.","title":"Summon Entity","type":"object","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"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/BF"},"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/BBA","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/BBA","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":[]}]},"EFF":{"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/CJI"},"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}]},"EFG":{"description":"Allows the entity go idle, if swimming. Entity must be in water.","type":"object","title":"Swim Idle","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJI"},"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}]},"EFH":{"description":"Allows the mob to try to move to air once it is close to running out of its total breathable supply.","type":"object","title":"Swim Up For Breath","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJI"},"material_type":{"title":"Idle Time","enum":["water","lava","any"],"description":"The material the mob is traveling in. An air block will only be considered valid to move to with a block of this material below it.","default":"water"},"search_height":{"type":"integer","title":"Search Height","default":16,"description":"The height (in blocks) above the mob's current position that it will search for a valid air block to move to. If a valid block cannot be found, the mob will move to the position this many blocks above it."},"search_radius":{"type":"integer","title":"Search Radius","default":4,"description":"The radius (in blocks) around the mob's current position that it will search for a valid air block to move to."},"speed_mod":{"type":"number","title":"Speed Mod","default":1.4,"description":"Movement speed multiplier of the mob when using this Goal."}}},"EFI":{"description":"Has the fish swim around when they can't pathfind.","type":"object","title":"Swim Wander","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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}]},"EFJ":{"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/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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/DAB","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}]},"EGA":{"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/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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/H","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]}]},"EGB":{"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/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"filters":{"title":"Filters","$ref":"#/definitions/BF","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/CFE"}}},"EGC":{"type":"object","title":"Teleport To Owner","description":"Allows an entity to teleport to its owner.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"cooldown":{"title":"Cooldown","description":"The time in seconds that must pass for the entity to be able to try to teleport again.","type":"number","minimum":1.0},"filters":{"title":"Filters","description":"Conditions to be satisfied for the entity to teleport to its owner.","$ref":"#/definitions/BF"}}},"EGD":{"type":"object","title":"Move Around Target","additionalProperties":false,"description":"Allows an entity to move around a target. If the entity is too close (i.e. closer than destination range min and height difference limit) it will try to move away from its target. If the entity is too far away from its target it will try to move closer to a random position within the destination range. A randomized amount of those positions will be behind the target, and the spread can be tweaked with 'destination_pos_search_spread_degrees'.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"destination_pos_search_spread_degrees":{"title":"Desitnation Pos Search Spread Degrees","type":"number","default":90.0,"minimum":0,"maximum":360,"description":"This angle (in degrees) is used for controlling the spread when picking a destination position behind the target. A zero spread angle means the destination position will be straight behind the target with no variance. A 90 degree spread angle means the destination position can be up to 45 degrees to the left and to the right of the position straight behind the target's view direction."},"destination_position_range":{"title":"Desitnation Position Range","default":[4.0,8.0],"description":"The range of distances from the target entity within which the goal should look for a position to move the owner entity to.","$ref":"#/definitions/BDB"},"height_difference_limit":{"title":"Height Difference Limit","type":"number","default":10.0,"description":"Distance in height (in blocks) between the owner entity and the target has to be less than this value when owner checks if it is too close and should move away from the target. This value needs to be bigger than zero for the move away logic to trigger."},"horizontal_search_distance":{"title":"Horizontal Search Distance","type":"integer","default":5,"description":"Horizontal search distance (in blocks) when searching for a position to move away from target."},"movement_speed":{"title":"Movement Speed","type":"number","default":0.6,"description":"The speed with which the entity should move to its target position."},"vertical_search_distance":{"title":"Vertical Search Distance","type":"integer","default":5,"description":"Number of ticks needed to complete a stay at the block."},"filters":{"title":"Filters","description":"Conditions that need to be met for the behavior to start.","$ref":"#/definitions/BF"}}},"EGE":{"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/CJI"},"entity_types":{"title":"Entity Types","$ref":"#/definitions/DAB","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":[]}]},"EGF":{"description":"Allows an entity to be tempted by a set item.","type":"object","title":"Tempt","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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/BB"}},"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/BBA","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}]},"EGG":{"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_<n> will return 1.0 on both the client and server when this behavior is running, and 0.0 otherwise.","type":"object","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJI"},"cooldown_range":{"title":"Cooldown Range","anyOf":[{"type":"number","minimum":0},{"$ref":"#/definitions/BDB","default":[10.0,10.0]}],"description":"Goal cooldown range in seconds."},"duration_range":{"title":"Duration Range","anyOf":[{"type":"number","minimum":0},{"$ref":"#/definitions/BDB","default":[2.0,2.0]}],"description":"Goal duration range in seconds."},"control_flags":{"type":"array","uniqueItems":true,"minItems":1,"maxItems":2,"items":{"enum":["move","look"]},"title":"Control Flags","description":"UNDOCUMENTED"},"on_end":{"title":"On End","$ref":"#/definitions/BBG","description":"Event to run when the goal ends."},"on_start":{"title":"On Start","$ref":"#/definitions/BBG","description":"Event to run when the goal starts."}}},"EGH":{"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/CJI"},"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}]},"EGI":{"description":"Allows the player to trade with this mob.","type":"object","title":"Trade With Player","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"filters":{"title":"Filters","$ref":"#/definitions/BF","description":"Conditions that need to be met for the behavior to start."}}},"EGJ":{"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/CJI"},"entity_types":{"$ref":"#/definitions/DAB","description":"List of entities this mob can copy the owner from.","title":"Entity Types"}}},"EHA":{"description":"Allows the mob to move around randomly like the Vex.","additionalProperties":false,"type":"object","title":"Vex Random Move","required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"entity_types":{"$ref":"#/definitions/DAB","description":"List of entities this mob can copy the owner from.","title":"Entity Types"}}},"EHB":{"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/CJI"}}},"EHC":{"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/CJI"},"entity_types":{"$ref":"#/definitions/DAB","description":"List of entity types the wither takes into account to find who dealt the most damage to it.","title":"Entity Types"}}},"EHD":{"type":"object","title":"Work","description":"Allows the NPC to use the POI.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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/BBG","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}]},"EHE":{"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/CJI"},"speed_multiplier":{"$ref":"#/definitions/DAF"},"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/BBG","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:absorption":{"$ref":"#/definitions/G"},"minecraft:addrider":{"$ref":"#/definitions/I"},"minecraft:admire_item":{"$ref":"#/definitions/J"},"minecraft:ageable":{"$ref":"#/definitions/BA"},"minecraft:ambient_sound_interval":{"$ref":"#/definitions/BAH"},"minecraft:anger_level":{"$ref":"#/definitions/BAI"},"minecraft:angry":{"$ref":"#/definitions/BAJ"},"minecraft:annotation.break_door":{"$ref":"#/definitions/BBB"},"minecraft:annotation.open_door":{"$ref":"#/definitions/BBC"},"minecraft:area_attack":{"$ref":"#/definitions/BBD"},"minecraft:attack_cooldown":{"$ref":"#/definitions/BBF"},"minecraft:attack_damage":{"$ref":"#/definitions/G"},"minecraft:attack":{"$ref":"#/definitions/BBH"},"minecraft:balloonable":{"$ref":"#/definitions/BBI"},"minecraft:barter":{"$ref":"#/definitions/BBJ"},"minecraft:block_climber":{"$ref":"#/definitions/BCA"},"minecraft:block_sensor":{"$ref":"#/definitions/BCB"},"minecraft:body_rotation_blocked":{"$ref":"#/definitions/BCD"},"minecraft:boostable":{"$ref":"#/definitions/BCE"},"minecraft:boss":{"$ref":"#/definitions/BCF"},"minecraft:break_blocks":{"$ref":"#/definitions/BCG"},"minecraft:breathable":{"$ref":"#/definitions/BCI"},"minecraft:breedable":{"$ref":"#/definitions/BDA"},"minecraft:bribeable":{"$ref":"#/definitions/BDC"},"minecraft:buoyant":{"$ref":"#/definitions/BDD"},"minecraft:burns_in_daylight":{"$ref":"#/definitions/BDE"},"minecraft:can_climb":{"$ref":"#/definitions/BDF"},"minecraft:can_fly":{"$ref":"#/definitions/BDG"},"minecraft:can_join_raid":{"$ref":"#/definitions/BDH"},"minecraft:can_power_jump":{"$ref":"#/definitions/BDI"},"minecraft:celebrate_hunt":{"$ref":"#/definitions/BDJ"},"minecraft:collision_box":{"$ref":"#/definitions/BEA"},"minecraft:color":{"$ref":"#/definitions/BEB"},"minecraft:color2":{"$ref":"#/definitions/BEC"},"minecraft:combat_regeneration":{"$ref":"#/definitions/BED"},"minecraft:conditional_bandwidth_optimization":{"$ref":"#/definitions/BEE"},"minecraft:custom_hit_test":{"$ref":"#/definitions/BEF"},"minecraft:damage_over_time":{"$ref":"#/definitions/BEG"},"minecraft:damage_sensor":{"$ref":"#/definitions/BEH"},"minecraft:dash":{"$ref":"#/definitions/BEI"},"minecraft:default_look_angle":{"$ref":"#/definitions/BEJ"},"minecraft:despawn":{"$ref":"#/definitions/BFA"},"minecraft:dimension_bound":{"$ref":"#/definitions/BFB"},"minecraft:drying_out_timer":{"$ref":"#/definitions/BFC"},"minecraft:dweller":{"$ref":"#/definitions/BFD"},"minecraft:economy_trade_table":{"$ref":"#/definitions/BFE"},"minecraft:entity_sensor":{"$ref":"#/definitions/BFF"},"minecraft:environment_sensor":{"$ref":"#/definitions/BFG"},"minecraft:equip_item":{"$ref":"#/definitions/BFH"},"minecraft:equipment":{"$ref":"#/definitions/BFI"},"minecraft:equippable":{"$ref":"#/definitions/BGA"},"minecraft:exhaustion_values":{"$ref":"#/definitions/BGB"},"minecraft:experience_reward":{"$ref":"#/definitions/BGC"},"minecraft:explode":{"$ref":"#/definitions/BGD"},"minecraft:fall_damage":{"$ref":"#/definitions/BGE"},"minecraft:fire_immune":{"$ref":"#/definitions/BGF"},"minecraft:floats_in_liquid":{"$ref":"#/definitions/BGG"},"minecraft:flocking":{"$ref":"#/definitions/BGH"},"minecraft:flying_speed":{"$ref":"#/definitions/BGI"},"minecraft:follow_range":{"$ref":"#/definitions/G"},"minecraft:friction_modifier":{"$ref":"#/definitions/BGJ"},"minecraft:game_event_movement_tracking":{"$ref":"#/definitions/BHA"},"minecraft:genetics":{"$ref":"#/definitions/BHB"},"minecraft:giveable":{"$ref":"#/definitions/BHC"},"minecraft:ground_offset":{"$ref":"#/definitions/BHD"},"minecraft:group_size":{"$ref":"#/definitions/BHE"},"minecraft:grows_crop":{"$ref":"#/definitions/BHF"},"minecraft:healable":{"$ref":"#/definitions/BHG"},"minecraft:health":{"$ref":"#/definitions/G"},"minecraft:heartbeat":{"$ref":"#/definitions/BHH"},"minecraft:hide":{"$ref":"#/definitions/BHI"},"minecraft:home":{"$ref":"#/definitions/BHJ"},"minecraft:horse.jump_strength":{"$ref":"#/definitions/BIA"},"minecraft:hurt_on_condition":{"$ref":"#/definitions/BIB"},"minecraft:hurt_when_wet":{"$ref":"#/definitions/BIC"},"minecraft:input_ground_controlled":{"$ref":"#/definitions/BID"},"minecraft:inside_block_notifier":{"$ref":"#/definitions/BIE"},"minecraft:insomnia":{"$ref":"#/definitions/BIG"},"minecraft:instant_despawn":{"$ref":"#/definitions/BIH"},"minecraft:interact":{"$ref":"#/definitions/BII"},"minecraft:inventory":{"$ref":"#/definitions/BIJ"},"minecraft:is_baby":{"$ref":"#/definitions/BJA"},"minecraft:is_charged":{"$ref":"#/definitions/BJB"},"minecraft:is_chested":{"$ref":"#/definitions/BJC"},"minecraft:is_dyeable":{"$ref":"#/definitions/BJD"},"minecraft:is_hidden_when_invisible":{"$ref":"#/definitions/BJE"},"minecraft:is_ignited":{"$ref":"#/definitions/BJF"},"minecraft:is_illager_captain":{"$ref":"#/definitions/BJG"},"minecraft:is_pregnant":{"$ref":"#/definitions/BJH"},"minecraft:is_saddled":{"$ref":"#/definitions/BJI"},"minecraft:is_shaking":{"$ref":"#/definitions/BJJ"},"minecraft:is_sheared":{"$ref":"#/definitions/CAA"},"minecraft:is_stackable":{"$ref":"#/definitions/CAB"},"minecraft:is_stunned":{"$ref":"#/definitions/CAC"},"minecraft:is_tamed":{"$ref":"#/definitions/CAD"},"minecraft:item_controllable":{"$ref":"#/definitions/CAE"},"minecraft:item_hopper":{"$ref":"#/definitions/CAF"},"minecraft:jump.dynamic":{"$ref":"#/definitions/CAG"},"minecraft:jump.static":{"$ref":"#/definitions/CAH"},"minecraft:knockback_resistance":{"$ref":"#/definitions/G"},"minecraft:lava_movement":{"$ref":"#/definitions/G"},"minecraft:leashable":{"$ref":"#/definitions/CAI"},"minecraft:looked_at":{"$ref":"#/definitions/CAJ"},"minecraft:loot":{"$ref":"#/definitions/CBA"},"minecraft:luck":{"$ref":"#/definitions/G"},"minecraft:managed_wandering_trader":{"$ref":"#/definitions/CBB"},"minecraft:mark_variant":{"$ref":"#/definitions/CBC"},"minecraft:mob_effect":{"$ref":"#/definitions/CBD"},"minecraft:mob_effect_immunity":{"$ref":"#/definitions/CBE"},"minecraft:movement_sound_distance_offset":{"$ref":"#/definitions/CBF"},"minecraft:movement.amphibious":{"$ref":"#/definitions/CBG"},"minecraft:movement.basic":{"$ref":"#/definitions/CBH"},"minecraft:movement.fly":{"$ref":"#/definitions/CBI"},"minecraft:movement.generic":{"$ref":"#/definitions/CBJ"},"minecraft:movement.glide":{"$ref":"#/definitions/CCA"},"minecraft:movement.hover":{"$ref":"#/definitions/CCB"},"minecraft:movement.jump":{"$ref":"#/definitions/CCC"},"minecraft:movement.skip":{"$ref":"#/definitions/CCD"},"minecraft:movement.sway":{"$ref":"#/definitions/CCE"},"minecraft:movement":{"$ref":"#/definitions/G"},"minecraft:nameable":{"$ref":"#/definitions/CCF"},"minecraft:navigation.climb":{"$ref":"#/definitions/CCG"},"minecraft:navigation.float":{"$ref":"#/definitions/CCH"},"minecraft:navigation.fly":{"$ref":"#/definitions/CCI"},"minecraft:navigation.generic":{"$ref":"#/definitions/CCJ"},"minecraft:navigation.hover":{"$ref":"#/definitions/CDA"},"minecraft:navigation.swim":{"$ref":"#/definitions/CDB"},"minecraft:navigation.walk":{"$ref":"#/definitions/CDC"},"minecraft:npc":{"$ref":"#/definitions/CDD"},"minecraft:on_death":{"$ref":"#/definitions/CDE"},"minecraft:on_friendly_anger":{"$ref":"#/definitions/CDF"},"minecraft:on_hurt_by_player":{"$ref":"#/definitions/CDG"},"minecraft:on_hurt":{"$ref":"#/definitions/CDH"},"minecraft:on_ignite":{"$ref":"#/definitions/CDI"},"minecraft:on_start_landing":{"$ref":"#/definitions/CDJ"},"minecraft:on_start_takeoff":{"$ref":"#/definitions/CEA"},"minecraft:on_target_acquired":{"$ref":"#/definitions/CEB"},"minecraft:on_target_escape":{"$ref":"#/definitions/CEC"},"minecraft:on_wake_with_owner":{"$ref":"#/definitions/CED"},"minecraft:out_of_control":{"$ref":"#/definitions/CEE"},"minecraft:peek":{"$ref":"#/definitions/CEF"},"minecraft:persistent":{"$ref":"#/definitions/CEG"},"minecraft:physics":{"$ref":"#/definitions/CEH"},"minecraft:player.exhaustion":{"$ref":"#/definitions/CEI"},"minecraft:player.experience":{"$ref":"#/definitions/CEJ"},"minecraft:player.level":{"$ref":"#/definitions/CFA"},"minecraft:player.saturation":{"$ref":"#/definitions/CFB"},"minecraft:preferred_path":{"$ref":"#/definitions/CFC"},"minecraft:projectile":{"$ref":"#/definitions/CFD"},"minecraft:push_through":{"$ref":"#/definitions/CFG"},"minecraft:pushable":{"$ref":"#/definitions/CFH"},"minecraft:raid_trigger":{"$ref":"#/definitions/CFI"},"minecraft:rail_movement":{"$ref":"#/definitions/CFJ"},"minecraft:rail_sensor":{"$ref":"#/definitions/CGA"},"minecraft:ravager_blocked":{"$ref":"#/definitions/CGB"},"minecraft:rideable":{"$ref":"#/definitions/CGC"},"minecraft:reflect_projectiles":{"$ref":"#/definitions/CGD"},"minecraft:scale_by_age":{"$ref":"#/definitions/CGE"},"minecraft:scale":{"$ref":"#/definitions/CGF"},"minecraft:scheduler":{"$ref":"#/definitions/CGG"},"minecraft:shareables":{"$ref":"#/definitions/CGH"},"minecraft:shooter":{"$ref":"#/definitions/CGI"},"minecraft:sittable":{"$ref":"#/definitions/CGJ"},"minecraft:skin_id":{"$ref":"#/definitions/CHA"},"minecraft:sound_volume":{"$ref":"#/definitions/CHB"},"minecraft:spawn_entity":{"$ref":"#/definitions/CHC"},"minecraft:spell_effects":{"$ref":"#/definitions/CHD"},"minecraft:strength":{"$ref":"#/definitions/CHE"},"minecraft:suspect_tracking":{"$ref":"#/definitions/CHF"},"minecraft:tameable":{"$ref":"#/definitions/CHG"},"minecraft:tamemount":{"$ref":"#/definitions/CHH"},"minecraft:target_nearby_sensor":{"$ref":"#/definitions/CHI"},"minecraft:teleport":{"$ref":"#/definitions/CHJ"},"minecraft:tick_world":{"$ref":"#/definitions/CIA"},"minecraft:timer":{"$ref":"#/definitions/CIB"},"minecraft:trade_resupply":{"$ref":"#/definitions/CIC"},"minecraft:trade_table":{"$ref":"#/definitions/CID"},"minecraft:trail":{"$ref":"#/definitions/CIE"},"minecraft:transformation":{"$ref":"#/definitions/CIF"},"minecraft:transient":{"$ref":"#/definitions/CIG"},"minecraft:trust":{"$ref":"#/definitions/CIH"},"minecraft:trusting":{"$ref":"#/definitions/CII"},"minecraft:type_family":{"$ref":"#/definitions/CIJ"},"minecraft:underwater_movement":{"$ref":"#/definitions/G"},"minecraft:variable_max_auto_step":{"$ref":"#/definitions/CJA"},"minecraft:variant":{"$ref":"#/definitions/CJB"},"minecraft:vibration_damper":{"$ref":"#/definitions/CJC"},"minecraft:vibration_listener":{"$ref":"#/definitions/CJD"},"minecraft:walk_animation_speed":{"$ref":"#/definitions/CJE"},"minecraft:wants_jockey":{"$ref":"#/definitions/CJF"},"minecraft:water_movement":{"$ref":"#/definitions/CJG"},"minecraft:behavior.admire_item":{"$ref":"#/definitions/CJH"},"minecraft:behavior.avoid_block":{"$ref":"#/definitions/CJJ"},"minecraft:behavior.avoid_mob_type":{"$ref":"#/definitions/DAA"},"minecraft:behavior.barter":{"$ref":"#/definitions/DAC"},"minecraft:behavior.beg":{"$ref":"#/definitions/DAD"},"minecraft:behavior.break_door":{"$ref":"#/definitions/DAE"},"minecraft:behavior.breed":{"$ref":"#/definitions/DAG"},"minecraft:behavior.celebrate_survive":{"$ref":"#/definitions/DAH"},"minecraft:behavior.celebrate":{"$ref":"#/definitions/DAI"},"minecraft:behavior.charge_attack":{"$ref":"#/definitions/DAJ"},"minecraft:behavior.charge_held_item":{"$ref":"#/definitions/DBA"},"minecraft:behavior.circle_around_anchor":{"$ref":"#/definitions/DBB"},"minecraft:behavior.controlled_by_player":{"$ref":"#/definitions/DBC"},"minecraft:behavior.croak":{"$ref":"#/definitions/DBD"},"minecraft:behavior.defend_trusted_target":{"$ref":"#/definitions/DBH"},"minecraft:behavior.defend_village_target":{"$ref":"#/definitions/DBI"},"minecraft:behavior.delayed_attack":{"$ref":"#/definitions/DBJ"},"minecraft:behavior.dig":{"$ref":"#/definitions/DCA"},"minecraft:behavior.door_interact":{"$ref":"#/definitions/DCB"},"minecraft:behavior.dragonchargeplayer":{"$ref":"#/definitions/DCC"},"minecraft:behavior.dragondeath":{"$ref":"#/definitions/DCD"},"minecraft:behavior.dragonflaming":{"$ref":"#/definitions/DCE"},"minecraft:behavior.dragonholdingpattern":{"$ref":"#/definitions/DCF"},"minecraft:behavior.dragonlanding":{"$ref":"#/definitions/DCG"},"minecraft:behavior.dragonscanning":{"$ref":"#/definitions/DCH"},"minecraft:behavior.dragonstrafeplayer":{"$ref":"#/definitions/DCI"},"minecraft:behavior.dragontakeoff":{"$ref":"#/definitions/DCJ"},"minecraft:behavior.drink_milk":{"$ref":"#/definitions/DDA"},"minecraft:behavior.drink_potion":{"$ref":"#/definitions/DDB"},"minecraft:behavior.drop_item_for":{"$ref":"#/definitions/DDC"},"minecraft:behavior.eat_block":{"$ref":"#/definitions/DDD"},"minecraft:behavior.eat_carried_item":{"$ref":"#/definitions/DDE"},"minecraft:behavior.eat_mob":{"$ref":"#/definitions/DDF"},"minecraft:behavior.emerge":{"$ref":"#/definitions/DDG"},"minecraft:behavior.enderman_leave_block":{"$ref":"#/definitions/DDH"},"minecraft:behavior.enderman_take_block":{"$ref":"#/definitions/DDI"},"minecraft:behavior.equip_item":{"$ref":"#/definitions/DDJ"},"minecraft:behavior.explore_outskirts":{"$ref":"#/definitions/DEA"},"minecraft:behavior.fertilize_farm_block":{"$ref":"#/definitions/DEB"},"minecraft:behavior.find_cover":{"$ref":"#/definitions/DEC"},"minecraft:behavior.find_mount":{"$ref":"#/definitions/DED"},"minecraft:behavior.find_underwater_treasure":{"$ref":"#/definitions/DEE"},"minecraft:behavior.fire_at_target":{"$ref":"#/definitions/DEF"},"minecraft:behavior.flee_sun":{"$ref":"#/definitions/DEG"},"minecraft:behavior.float_wander":{"$ref":"#/definitions/DEH"},"minecraft:behavior.float":{"$ref":"#/definitions/DEI"},"minecraft:behavior.follow_caravan":{"$ref":"#/definitions/DEJ"},"minecraft:behavior.follow_mob":{"$ref":"#/definitions/DFA"},"minecraft:behavior.follow_owner":{"$ref":"#/definitions/DFB"},"minecraft:behavior.follow_parent":{"$ref":"#/definitions/DFC"},"minecraft:behavior.follow_target_captain":{"$ref":"#/definitions/DFD"},"minecraft:behavior.go_and_give_items_to_noteblock":{"$ref":"#/definitions/DFE"},"minecraft:behavior.go_and_give_items_to_owner":{"$ref":"#/definitions/DFF"},"minecraft:behavior.go_home":{"$ref":"#/definitions/DFG"},"minecraft:behavior.guardian_attack":{"$ref":"#/definitions/DFH"},"minecraft:behavior.harvest_farm_block":{"$ref":"#/definitions/DFI"},"minecraft:behavior.hide":{"$ref":"#/definitions/DFJ"},"minecraft:behavior.hold_ground":{"$ref":"#/definitions/DGA"},"minecraft:behavior.hurt_by_target":{"$ref":"#/definitions/DGB"},"minecraft:behavior.inspect_bookshelf":{"$ref":"#/definitions/DGC"},"minecraft:behavior.investigate_suspicious_location":{"$ref":"#/definitions/DGD"},"minecraft:behavior.jump_around_target":{"$ref":"#/definitions/DGE"},"minecraft:behavior.jump_to_block":{"$ref":"#/definitions/DGF"},"minecraft:behavior.knockback_roar":{"$ref":"#/definitions/DGG"},"minecraft:behavior.lay_down":{"$ref":"#/definitions/DGH"},"minecraft:behavior.lay_egg":{"$ref":"#/definitions/DGI"},"minecraft:behavior.leap_at_target":{"$ref":"#/definitions/DGJ"},"minecraft:behavior.look_at_entity":{"$ref":"#/definitions/DHA"},"minecraft:behavior.look_at_player":{"$ref":"#/definitions/DHB"},"minecraft:behavior.look_at_target":{"$ref":"#/definitions/DHC"},"minecraft:behavior.look_at_trading_player":{"$ref":"#/definitions/DHD"},"minecraft:behavior.make_love":{"$ref":"#/definitions/DHE"},"minecraft:behavior.melee_attack":{"$ref":"#/definitions/DHF"},"minecraft:behavior.melee_box_attack":{"$ref":"#/definitions/DHG"},"minecraft:behavior.mingle":{"$ref":"#/definitions/DHH"},"minecraft:behavior.mount_pathing":{"$ref":"#/definitions/DHI"},"minecraft:behavior.move_indoors":{"$ref":"#/definitions/DHJ"},"minecraft:behavior.move_outdoors":{"$ref":"#/definitions/DIA"},"minecraft:behavior.move_through_village":{"$ref":"#/definitions/DIB"},"minecraft:behavior.move_to_block":{"$ref":"#/definitions/DIC"},"minecraft:behavior.move_to_land":{"$ref":"#/definitions/DID"},"minecraft:behavior.move_to_lava":{"$ref":"#/definitions/DIE"},"minecraft:behavior.move_to_liquid":{"$ref":"#/definitions/DIF"},"minecraft:behavior.move_to_poi":{"$ref":"#/definitions/DIG"},"minecraft:behavior.move_to_random_block":{"$ref":"#/definitions/DIH"},"minecraft:behavior.move_to_village":{"$ref":"#/definitions/DII"},"minecraft:behavior.move_to_water":{"$ref":"#/definitions/DIJ"},"minecraft:behavior.move_towards_dwelling_restriction":{"$ref":"#/definitions/DJA"},"minecraft:behavior.move_towards_home_restriction":{"$ref":"#/definitions/DJB"},"minecraft:behavior.move_towards_restriction":{"$ref":"#/definitions/DJC"},"minecraft:behavior.move_towards_target":{"$ref":"#/definitions/DJD"},"minecraft:behavior.nap":{"$ref":"#/definitions/DJE"},"minecraft:behavior.nearest_attackable_target":{"$ref":"#/definitions/DJF"},"minecraft:behavior.nearest_prioritized_attackable_target":{"$ref":"#/definitions/DJG"},"minecraft:behavior.ocelot_sit_on_block":{"$ref":"#/definitions/DJH"},"minecraft:behavior.ocelotattack":{"$ref":"#/definitions/DJI"},"minecraft:behavior.offer_flower":{"$ref":"#/definitions/DJJ"},"minecraft:behavior.open_door":{"$ref":"#/definitions/EAA"},"minecraft:behavior.owner_hurt_by_target":{"$ref":"#/definitions/EAB"},"minecraft:behavior.owner_hurt_target":{"$ref":"#/definitions/EAC"},"minecraft:behavior.panic":{"$ref":"#/definitions/EAD"},"minecraft:behavior.pet_sleep_with_owner":{"$ref":"#/definitions/EAE"},"minecraft:behavior.pickup_items":{"$ref":"#/definitions/EAF"},"minecraft:behavior.play_dead":{"$ref":"#/definitions/EAG"},"minecraft:behavior.play":{"$ref":"#/definitions/EAH"},"minecraft:behavior.player_ride_tamed":{"$ref":"#/definitions/EAI"},"minecraft:behavior.raid_garden":{"$ref":"#/definitions/EAJ"},"minecraft:behavior.ram_attack":{"$ref":"#/definitions/EBA"},"minecraft:behavior.random_breach":{"$ref":"#/definitions/EBB"},"minecraft:behavior.random_fly":{"$ref":"#/definitions/EBC"},"minecraft:behavior.random_hover":{"$ref":"#/definitions/EBD"},"minecraft:behavior.random_look_around_and_sit":{"$ref":"#/definitions/EBE"},"minecraft:behavior.random_look_around":{"$ref":"#/definitions/EBF"},"minecraft:behavior.random_search_and_dig":{"$ref":"#/definitions/EBG"},"minecraft:behavior.random_sitting":{"$ref":"#/definitions/EBH"},"minecraft:behavior.random_stroll":{"$ref":"#/definitions/EBI"},"minecraft:behavior.random_swim":{"$ref":"#/definitions/EBJ"},"minecraft:behavior.ranged_attack":{"$ref":"#/definitions/ECA"},"minecraft:behavior.receive_love":{"$ref":"#/definitions/ECB"},"minecraft:behavior.restrict_open_door":{"$ref":"#/definitions/ECC"},"minecraft:behavior.restrict_sun":{"$ref":"#/definitions/ECD"},"minecraft:behavior.rise_to_liquid_level":{"$ref":"#/definitions/ECE"},"minecraft:behavior.roar":{"$ref":"#/definitions/ECF"},"minecraft:behavior.roll":{"$ref":"#/definitions/ECG"},"minecraft:behavior.run_around_like_crazy":{"$ref":"#/definitions/ECH"},"minecraft:behavior.scared":{"$ref":"#/definitions/ECI"},"minecraft:behavior.send_event":{"$ref":"#/definitions/ECJ"},"minecraft:behavior.share_items":{"$ref":"#/definitions/EDA"},"minecraft:behavior.silverfish_merge_with_stone":{"$ref":"#/definitions/EDB"},"minecraft:behavior.silverfish_wake_up_friends":{"$ref":"#/definitions/EDC"},"minecraft:behavior.skeleton_horse_trap":{"$ref":"#/definitions/EDD"},"minecraft:behavior.sleep":{"$ref":"#/definitions/EDE"},"minecraft:behavior.slime_attack":{"$ref":"#/definitions/EDF"},"minecraft:behavior.slime_float":{"$ref":"#/definitions/EDG"},"minecraft:behavior.slime_keep_on_jumping":{"$ref":"#/definitions/EDH"},"minecraft:behavior.slime_random_direction":{"$ref":"#/definitions/EDI"},"minecraft:behavior.snacking":{"$ref":"#/definitions/EDJ"},"minecraft:behavior.sneeze":{"$ref":"#/definitions/EEA"},"minecraft:behavior.sniff":{"$ref":"#/definitions/EEB"},"minecraft:behavior.sonic_boom":{"$ref":"#/definitions/EEC"},"minecraft:behavior.squid_dive":{"$ref":"#/definitions/EED"},"minecraft:behavior.squid_flee":{"$ref":"#/definitions/EEE"},"minecraft:behavior.squid_idle":{"$ref":"#/definitions/EEF"},"minecraft:behavior.squid_move_away_from_ground":{"$ref":"#/definitions/EEG"},"minecraft:behavior.squid_out_of_water":{"$ref":"#/definitions/EEH"},"minecraft:behavior.stalk_and_pounce_on_target":{"$ref":"#/definitions/EEI"},"minecraft:behavior.stay_near_noteblock":{"$ref":"#/definitions/EEJ"},"minecraft:behavior.stay_while_sitting":{"$ref":"#/definitions/EFA"},"minecraft:behavior.stomp_attack":{"$ref":"#/definitions/EFB"},"minecraft:behavior.stomp_turtle_egg":{"$ref":"#/definitions/EFC"},"minecraft:behavior.stroll_towards_village":{"$ref":"#/definitions/EFD"},"minecraft:behavior.summon_entity":{"$ref":"#/definitions/EFE"},"minecraft:behavior.swell":{"$ref":"#/definitions/EFF"},"minecraft:behavior.swim_idle":{"$ref":"#/definitions/EFG"},"minecraft:behavior.swim_up_for_breath":{"$ref":"#/definitions/EFH"},"minecraft:behavior.swim_wander":{"$ref":"#/definitions/EFI"},"minecraft:behavior.swim_with_entity":{"$ref":"#/definitions/EFJ"},"minecraft:behavior.swoop_attack":{"$ref":"#/definitions/EGA"},"minecraft:behavior.take_flower":{"$ref":"#/definitions/EGB"},"minecraft:behavior.teleport_to_owner":{"$ref":"#/definitions/EGC"},"minecraft:behavior.move_around_target":{"$ref":"#/definitions/EGD"},"minecraft:behavior.target_when_pushed":{"$ref":"#/definitions/EGE"},"minecraft:behavior.tempt":{"$ref":"#/definitions/EGF"},"minecraft:behavior.timer_flag_1":{"$ref":"#/definitions/EGG"},"minecraft:behavior.timer_flag_2":{"$ref":"#/definitions/EGG"},"minecraft:behavior.timer_flag_3":{"$ref":"#/definitions/EGG"},"minecraft:behavior.trade_interest":{"$ref":"#/definitions/EGH"},"minecraft:behavior.trade_with_player":{"$ref":"#/definitions/EGI"},"minecraft:behavior.vex_copy_owner_target":{"$ref":"#/definitions/EGJ"},"minecraft:behavior.vex_random_move":{"$ref":"#/definitions/EHA"},"minecraft:behavior.wither_random_attack_pos_goal":{"$ref":"#/definitions/EHB"},"minecraft:behavior.wither_target_highest_damage":{"$ref":"#/definitions/EHC"},"minecraft:behavior.work":{"$ref":"#/definitions/EHD"},"minecraft:behavior.work_composter":{"$ref":"#/definitions/EHE"}}},"EHF_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"}}}},"EHF_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/BF"},"trigger":{"description":"Triggers additional events.","$comment":"UNDOCUMENTED","title":"Trigger","$ref":"#/definitions/BBG"},"add":{"$ref":"#/definitions/EHF_addremove","description":"What gets added when the event gets triggered.","title":"Add"},"remove":{"$ref":"#/definitions/EHF_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}],"$ref":"#/definitions/EHF_weighted_event_base"}},"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","$ref":"#/definitions/EHF_event_base"}},"execute_event_on_home_block":{"title":"Execute Event On Home Block","description":"Allows the entity to execute an event on the block at its home position","type":"object","additionalProperties":false,"properties":{"event":{"title":"Event","description":"The event to execute","type":"string"}}},"reset_target":{"title":"Reset Target","description":"Allows an entity to reset its target.","type":"object","additionalProperties":false,"properties":{}},"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":"^[^/].*$"}}]}}}}},"EHF_weighted_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/BF"},"trigger":{"description":"Triggers additional events.","$comment":"UNDOCUMENTED","title":"Trigger","$ref":"#/definitions/BBG"},"add":{"$ref":"#/definitions/EHF_addremove","description":"What gets added when the event gets triggered.","title":"Add"},"remove":{"$ref":"#/definitions/EHF_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}],"$ref":"#/definitions/EHF_weighted_event_base"}},"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","$ref":"#/definitions/EHF_event_base"}},"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":"^[^/].*$"}}]}}},"weight":{"type":"number","default":1,"minimum":1,"description":"The weight on how likely this section is to trigger.","$comment":"UNDOCUMENTED","title":"Weight"}}},"EHF":{"type":"object","title":"Events","description":"Events for entities.","additionalProperties":{"$ref":"#/definitions/EHF_event_base"},"properties":{"minecraft:entity_transformed":{"description":"Event called on an entity that transforms into another entity.","$ref":"#/definitions/EHF_event_base","title":"Entity Transformed"},"minecraft:entity_born":{"description":"Event called on an entity that is spawned through two entities breeding.","$ref":"#/definitions/EHF_event_base","title":"Entity Born"},"minecraft:entity_spawned":{"description":"Event called on an entity that is placed in the level.","$ref":"#/definitions/EHF_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/EHF_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."},"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.","additionalProperties":{"type":"string","title":"Animation"}}]}}}},"spawn_category":{"type":"string","enum":["monster","creature","ambient","axolotls","underground_water_creature","water_creature","water_ambient","misc"],"description":"At the moment, not fully implemented and does nothing. Recommended to leave it empty or set it to misc","default":"misc"}}},"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/EHF","uniqueItems":true,"description":"The events that the entity can run, these add or remove components_groups.","title":"Events"}}}}}