diff --git a/behavior/entities/entities.json b/behavior/entities/entities.json index 1aa3dc14..e4c2978a 100644 --- a/behavior/entities/entities.json +++ b/behavior/entities/entities.json @@ -1 +1 @@ -{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.behavior.entities","examples":[{"format_version":"1.20.0","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.10","examples":["1.20.10","1.19.0","1.18.0","1.17.0","1.16.0","1.15.0","1.14.0","1.13.0","1.12.0","1.10.0","1.8.0"],"defaultSnippets":[{"label":"New Format version","body":"1.${1|8,10,12,17,18,19,20|}.${3|2|0|}"}]},"C":{"description":"A minecraft entity identifier.","examples":["namespace:entity_name"],"pattern":"^[0-9a-zA-Z:_\\.\\-]+$","title":"Entity Identifier","type":"string","defaultSnippets":[{"label":"New Identifier","body":"$1:$2"}]},"D":{"title":"Molang Boolean","description":"The minecraft molang definition that results in a boolean.","anyOf":[{"type":"string","minLength":0},{"type":"boolean"}],"examples":[0,"query.variant","(1.0)","query.","variable.=;"],"defaultSnippets":[{"label":"New Molang","body":"$1"}]},"E":{"title":"Molang Number","description":"The minecraft molang definition that results in a float.","anyOf":[{"type":"string","minLength":0},{"type":"number"}],"examples":[0,"query.variant","(1.0)","query.","variable.=;"],"defaultSnippets":[{"label":"New Molang","body":"$1"}]},"G":{"additionalProperties":false,"type":"object","title":"Add Rider","description":"Adds a rider to the entity. Requires `minecraft:rideable.`","required":["entity_type"],"properties":{"entity_type":{"type":"string","description":"The entity type that will be riding this entity.","title":"Entity Type"},"spawn_event":{"type":"string","description":"The spawn event that will be used when the riding entity is created.","title":"Spawn Event"}},"examples":[{"entity_type":"minecraft:rabbit"},{"entity_type":"minecraft:rabbit","spawn_event":"self:example"}]},"H":{"type":"object","title":"Admire Item","description":"Causes the mob to ignore attackable targets for a given duration.","additionalProperties":false,"properties":{"cooldown_after_being_attacked":{"type":"integer","default":0,"description":"Duration, in seconds, for which mob won't admire items if it was hurt.","title":"Cooldown After Being Attacked"},"duration":{"type":"integer","default":10,"description":"Duration, in seconds, that the mob is pacified.","title":"Duration"}},"examples":[{"cooldown_after_being_attacked":0,"duration":10}]},"J_object_item_descriptor":{"title":"Item Descriptor","description":"An object that describes an item.","type":"object","additionalProperties":false,"properties":{"tags":{"type":"string","$ref":"#/definitions/BB","description":"[UNDOCUMENTED] A Molang expression ran against item or block to match.","$comment":"UNDOCUMENTED","examples":["query.any_tag('minecraft:is_tool')"]},"item_tag":{"type":"string","description":"[UNDOCUMENTED] A tag to lookup item or block by.","$comment":"UNDOCUMENTED","examples":["minecraft:is_tool"]}},"examples":[{"tags":"query.any_tag('minecraft:is_tool')"},{"item_tag":"minecraft:is_tool"}]},"BA":{"description":"A minecraft item identifier.","pattern":"^[0-9a-zA-Z:_\\-\\.]+$","title":"Item Identifier","type":"string","defaultSnippets":[{"label":"New Identifier","body":"$1:$2"}]},"BB":{"type":"string","title":"Molang","description":"Molang definition.","format":"molang","examples":["query.variant","(1.0)","query.","variable.=;"],"defaultSnippets":[{"label":"New Molang","body":"$1"}]},"J":{"anyOf":[{"$ref":"#/definitions/BA"},{"$ref":"#/definitions/J_object_item_descriptor"},{"type":"object","properties":{"item":{"oneOf":[{"type":"string","$ref":"#/definitions/BA"},{"type":"object","$ref":"#/definitions/J_object_item_descriptor"}]}}}]},"BC":{"title":"Event","description":"Minecraft behavior event.","examples":[{"event":"example:foo","target":"self"}],"type":"object","additionalProperties":false,"properties":{"event":{"type":"string","pattern":"^[a-zA-Z0-9_\\-:]+$","description":"The event to fire.","title":"Event"},"target":{"type":"string","description":"The target of the event.","title":"Target","enum":["baby","block","damager","other","parent","player","self","target"]}}},"I":{"type":"object","title":"Ageable","description":"Adds a timer for the entity to grow up. It can be accelerated by giving the entity the items it likes as defined by feedItems.","additionalProperties":false,"properties":{"drop_items":{"description":"List of items that the entity drops when it grows up.","oneOf":[{"type":"array","items":{"$ref":"#/definitions/J"}},{"type":"string","$ref":"#/definitions/J"}],"title":"Drop Items"},"duration":{"type":"number","default":1200,"description":"Amount of time before the entity grows up, -1 for always a baby.","title":"Duration"},"feed_items":{"description":"List of items that can be fed to the entity. Includes `item` for the item name and `growth` to define how much time it grows up by","oneOf":[{"type":"array","items":{"oneOf":[{"$ref":"#/definitions/BA"},{"type":"object","properties":{"growth":{"type":"number"},"item":{"$ref":"#/definitions/J"}}}]}},{"type":"string","$ref":"#/definitions/BA"}],"title":"Feed Items"},"grow_up":{"$ref":"#/definitions/BC","description":"Event to run when this entity grows up.","title":"Grow Up"},"transform_to_item":{"$ref":"#/definitions/J","title":"Transform To Item","description":"The feed item used will transform to this item upon successful interaction. Format: itemName:auxValue"}},"examples":[{"duration":1200,"transform_to_item":"example"}]},"BE":{"type":"string","title":"Sound Event","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","enum":["add.chest","admire","agitated","ambient.aggressive","ambient.baby","ambient.basalt_deltas.additions","ambient.basalt_deltas.loop","ambient.candle","ambient.cave","ambient.crimson_forest.additions","ambient.crimson_forest.loop","ambient.crimson_forest.mood","ambient.in.raid","ambient.in.water","ambient.nether_wastes.additions","ambient.nether_wastes.loop","ambient.nether_wastes.mood","ambient.pollinate","ambient.screamer","ambient.soulsand_valley.additions","ambient.soulsand_valley.loop","ambient.soulsand_valley.mood","ambient.tame","ambient.warped_forest.additions","ambient.warped_forest.loop","ambient.warped_forest.mood","ambient.worried","ambient","angry","armor.equip_chain","armor.equip_diamond","armor.equip_elytra","armor.equip_generic","armor.equip_gold","armor.equip_iron","armor.equip_leather","armor.equip_netherite","armor","attach","attack.nodamage","attack.strong","attack","balloonpop","beacon.activate","beacon.ambient","beacon.deactivate","beacon.power","blast","block.bamboo_sapling.place","block.barrel.close","block.barrel.open","block.beehive.drip","block.beehive.enter","block.beehive.exit","block.beehive.shear","block.beehive.work","block.bell.hit","block.blastfurnace.fire_crackle","block.campfire.crackle","block.cartography_table.use","block.click.fail","block.click","block.composter.empty","block.composter.fill_success","block.composter.fill","block.composter.ready","block.enchanting_table.use","block.end_portal_frame.fill","block.end_portal.spawn","block.fletching_table.use","block.frog_spawn.break","block.frog_spawn.hatch","block.furnace.lit","block.grindstone.use","block.loom.use","block.scaffolding.climb","block.sculk_catalyst.bloom","block.sculk_sensor.place","block.sculk_shrieker.place","block.sculk_shrieker.shriek","block.sculk.spread","block.smithing_table.use","block.smoker.smoke","block.stonecutter.use","block.sweet_berry_bush.hurt","block.sweet_berry_bush.pick","block.turtle_egg.attack","block.turtle_egg.break","block.turtle_egg.crack","block.turtle_egg.hatch","boost","born","bottle.dragonbreath","bow.hit","bow","break.block","break","breathe","bubble.down","bubble.downinside","bubble.pop","bubble.up","bubble.upinside","bucket.empty.fish","bucket.empty.lava","bucket.empty.powder_snow","bucket.empty.water","bucket.fill.fish","bucket.fill.lava","bucket.fill.powder_snow","bucket.fill.water","bullet.hit","burp","cake.add_candle","camera.take_picture","cant_breed","cast.spell","cauldron_drip.lava.pointed_dripstone","cauldron_drip.water.pointed_dripstone","celebrate","charge.sculk","charge","chest.closed","chest.open","chime.amethyst_block","chorusdeath","chorusgrow","conduit.activate","conduit.ambient","conduit.attack","conduit.deactivate","conduit.short","convert_mooshroom","convert_to_drowned","convert_to_frog","convert_to_stray","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.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"]},"BD":{"additionalProperties":false,"type":"object","title":"Ambient Sound Interval","description":"Sets the entity's delay between playing its ambient sound.","properties":{"event_name":{"type":"string","default":"ambient","description":"Level sound event to be played as the ambient sound.","title":"Event Name"},"event_names":{"type":"array","description":"List of dynamic level sound events, with conditions for choosing between them. Evaluated in order, first one wins. If none evaluate to true, 'event_name' will take precedence.","items":{"type":"object","properties":{"condition":{"type":"string","description":"The condition that must be satisfied to select the given ambient sound.","title":"Condition"},"event_name":{"$ref":"#/definitions/BE","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}]},"BG_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/BG_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/BG_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/BG_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/BG_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/BG_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/BG_groups_spec"}},"allOf":[{"if":{"properties":{"test":{"const":"actor_health"}}},"then":{"$ref":"#/definitions/BH"}},{"if":{"properties":{"test":{"const":"all_slots_empty"}}},"then":{"$ref":"#/definitions/CA"}},{"if":{"properties":{"test":{"const":"any_slots_empty"}}},"then":{"$ref":"#/definitions/CC"}},{"if":{"properties":{"test":{"const":"bool_property"}}},"then":{"$ref":"#/definitions/CD"}},{"if":{"properties":{"test":{"const":"clock_time"}}},"then":{"$ref":"#/definitions/CE"}},{"if":{"properties":{"test":{"const":"distance_to_nearest_player"}}},"then":{"$ref":"#/definitions/CF"}},{"if":{"properties":{"test":{"const":"enum_property"}}},"then":{"$ref":"#/definitions/CG"}},{"if":{"properties":{"test":{"const":"float_property"}}},"then":{"$ref":"#/definitions/CH"}},{"if":{"properties":{"test":{"const":"has_ability"}}},"then":{"$ref":"#/definitions/CI"}},{"if":{"properties":{"test":{"const":"has_biome_tag"}}},"then":{"$ref":"#/definitions/CJ"}},{"if":{"properties":{"test":{"const":"has_component"}}},"then":{"$ref":"#/definitions/DA"}},{"if":{"properties":{"test":{"const":"has_container_open"}}},"then":{"$ref":"#/definitions/DB"}},{"if":{"properties":{"test":{"const":"has_damage"}}},"then":{"$ref":"#/definitions/DC"}},{"if":{"properties":{"test":{"const":"has_equipment"}}},"then":{"$ref":"#/definitions/DE"}},{"if":{"properties":{"test":{"const":"has_mob_effect"}}},"then":{"$ref":"#/definitions/DF"}},{"if":{"properties":{"test":{"const":"has_nametag"}}},"then":{"$ref":"#/definitions/DG"}},{"if":{"properties":{"test":{"const":"has_property"}}},"then":{"$ref":"#/definitions/DH"}},{"if":{"properties":{"test":{"const":"has_ranged_weapon"}}},"then":{"$ref":"#/definitions/DI"}},{"if":{"properties":{"test":{"const":"has_silk_touch"}}},"then":{"$ref":"#/definitions/DJ"}},{"if":{"properties":{"test":{"const":"has_tag"}}},"then":{"$ref":"#/definitions/EA"}},{"if":{"properties":{"test":{"const":"has_target"}}},"then":{"$ref":"#/definitions/EB"}},{"if":{"properties":{"test":{"const":"has_trade_supply"}}},"then":{"$ref":"#/definitions/EC"}},{"if":{"properties":{"test":{"const":"hourly_clock_time"}}},"then":{"$ref":"#/definitions/ED"}},{"if":{"properties":{"test":{"const":"in_block"}}},"then":{"$ref":"#/definitions/EE"}},{"if":{"properties":{"test":{"const":"in_caravan"}}},"then":{"$ref":"#/definitions/EF"}},{"if":{"properties":{"test":{"const":"in_clouds"}}},"then":{"$ref":"#/definitions/EG"}},{"if":{"properties":{"test":{"const":"in_contact_with_water"}}},"then":{"$ref":"#/definitions/EH"}},{"if":{"properties":{"test":{"const":"in_lava"}}},"then":{"$ref":"#/definitions/EI"}},{"if":{"properties":{"test":{"const":"in_nether"}}},"then":{"$ref":"#/definitions/EJ"}},{"if":{"properties":{"test":{"const":"in_overworld"}}},"then":{"$ref":"#/definitions/FA"}},{"if":{"properties":{"test":{"const":"in_water_or_rain"}}},"then":{"$ref":"#/definitions/FB"}},{"if":{"properties":{"test":{"const":"in_water"}}},"then":{"$ref":"#/definitions/FC"}},{"if":{"properties":{"test":{"const":"inactivity_timer"}}},"then":{"$ref":"#/definitions/FD"}},{"if":{"properties":{"test":{"const":"int_property"}}},"then":{"$ref":"#/definitions/FE"}},{"if":{"properties":{"test":{"const":"is_altitude"}}},"then":{"$ref":"#/definitions/FF"}},{"if":{"properties":{"test":{"const":"is_avoiding_mobs"}}},"then":{"$ref":"#/definitions/FG"}},{"if":{"properties":{"test":{"const":"is_biome"}}},"then":{"$ref":"#/definitions/FH"}},{"if":{"properties":{"test":{"const":"is_block"}}},"then":{"$ref":"#/definitions/FI"}},{"if":{"properties":{"test":{"const":"is_brightness"}}},"then":{"$ref":"#/definitions/FJ"}},{"if":{"properties":{"test":{"const":"is_climbing"}}},"then":{"$ref":"#/definitions/GA"}},{"if":{"properties":{"test":{"const":"is_color"}}},"then":{"$ref":"#/definitions/GB"}},{"if":{"properties":{"test":{"const":"is_daytime"}}},"then":{"$ref":"#/definitions/GC"}},{"if":{"properties":{"test":{"const":"is_difficulty"}}},"then":{"$ref":"#/definitions/GD"}},{"if":{"properties":{"test":{"const":"is_family"}}},"then":{"$ref":"#/definitions/GE"}},{"if":{"properties":{"test":{"const":"is_game_rule"}}},"then":{"$ref":"#/definitions/GF"}},{"if":{"properties":{"test":{"const":"is_humid"}}},"then":{"$ref":"#/definitions/GG"}},{"if":{"properties":{"test":{"const":"is_immobile"}}},"then":{"$ref":"#/definitions/GH"}},{"if":{"properties":{"test":{"const":"is_in_village"}}},"then":{"$ref":"#/definitions/GI"}},{"if":{"properties":{"test":{"const":"is_leashed_to"}}},"then":{"$ref":"#/definitions/GJ"}},{"if":{"properties":{"test":{"const":"is_leashed"}}},"then":{"$ref":"#/definitions/HA"}},{"if":{"properties":{"test":{"const":"is_mark_variant"}}},"then":{"$ref":"#/definitions/HB"}},{"if":{"properties":{"test":{"const":"is_missing_health"}}},"then":{"$ref":"#/definitions/HC"}},{"if":{"properties":{"test":{"const":"is_moving"}}},"then":{"$ref":"#/definitions/HD"}},{"if":{"properties":{"test":{"const":"is_owner"}}},"then":{"$ref":"#/definitions/HE"}},{"if":{"properties":{"test":{"const":"is_persistent"}}},"then":{"$ref":"#/definitions/HF"}},{"if":{"properties":{"test":{"const":"is_riding"}}},"then":{"$ref":"#/definitions/HG"}},{"if":{"properties":{"test":{"const":"is_skin_id"}}},"then":{"$ref":"#/definitions/HH"}},{"if":{"properties":{"test":{"const":"is_sleeping"}}},"then":{"$ref":"#/definitions/HI"}},{"if":{"properties":{"test":{"const":"is_sneak_held"}}},"then":{"$ref":"#/definitions/HJ"}},{"if":{"properties":{"test":{"const":"is_sneaking"}}},"then":{"$ref":"#/definitions/IA"}},{"if":{"properties":{"test":{"const":"is_snow_covered"}}},"then":{"$ref":"#/definitions/IB"}},{"if":{"properties":{"test":{"const":"is_target"}}},"then":{"$ref":"#/definitions/IC"}},{"if":{"properties":{"test":{"const":"is_temperature_type"}}},"then":{"$ref":"#/definitions/ID"}},{"if":{"properties":{"test":{"const":"is_temperature_value"}}},"then":{"$ref":"#/definitions/IE"}},{"if":{"properties":{"test":{"const":"is_underground"}}},"then":{"$ref":"#/definitions/IF"}},{"if":{"properties":{"test":{"const":"is_underwater"}}},"then":{"$ref":"#/definitions/IG"}},{"if":{"properties":{"test":{"const":"is_variant"}}},"then":{"$ref":"#/definitions/IH"}},{"if":{"properties":{"test":{"const":"is_visible"}}},"then":{"$ref":"#/definitions/II"}},{"if":{"properties":{"test":{"const":"is_waterlogged"}}},"then":{"$ref":"#/definitions/IJ"}},{"if":{"properties":{"test":{"const":"light_level"}}},"then":{"$ref":"#/definitions/JA"}},{"if":{"properties":{"test":{"const":"moon_intensity"}}},"then":{"$ref":"#/definitions/JB"}},{"if":{"properties":{"test":{"const":"moon_phase"}}},"then":{"$ref":"#/definitions/JC"}},{"if":{"properties":{"test":{"const":"on_ground"}}},"then":{"$ref":"#/definitions/JD"}},{"if":{"properties":{"test":{"const":"on_ladder"}}},"then":{"$ref":"#/definitions/JE"}},{"if":{"properties":{"test":{"const":"random_chance"}}},"then":{"$ref":"#/definitions/JF"}},{"if":{"properties":{"test":{"const":"rider_count"}}},"then":{"$ref":"#/definitions/JG"}},{"if":{"properties":{"test":{"const":"surface_mob"}}},"then":{"$ref":"#/definitions/JH"}},{"if":{"properties":{"test":{"const":"taking_fire_damage"}}},"then":{"$ref":"#/definitions/JI"}},{"if":{"properties":{"test":{"const":"target_distance"}}},"then":{"$ref":"#/definitions/JJ"}},{"if":{"properties":{"test":{"const":"trusts"}}},"then":{"$ref":"#/definitions/BAA"}},{"if":{"properties":{"test":{"const":"weather_at_position"}}},"then":{"$ref":"#/definitions/BAB"}},{"if":{"properties":{"test":{"const":"weather"}}},"then":{"$ref":"#/definitions/BAC"}},{"not":{"properties":{"test":{"const":"is_weather"}},"$comment":"DEPRECATED"}}]}]},"BG_groups_spec":{"oneOf":[{"type":"array","items":{"$ref":"#/definitions/BG_groups_spec"}},{"type":"object","$ref":"#/definitions/BG_filters_spec"}]},"BI":{"title":"Operator","type":"string","description":"The comparison to apply with `value`.","default":"equals","enum":["!=","<","<=","<>","=","==",">",">=","equals","not"]},"BJ":{"title":"Subject","type":"string","description":"The subject of this filter test.","default":"self","enum":["block","other","parent","player","self","target","damager"]},"BH":{"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/BI","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BJ","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]}}},"CB":{"title":"Equipment Location","type":"string","description":"The equipment location to test.","default":"self","enum":["any","armor","feet","hand","head","inventory","leg","torse"]},"CA":{"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/BI","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BJ","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/CB"}}},"CC":{"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/BI","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BJ","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/CB"}}},"CD":{"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/BI","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BJ","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"boolean","default":true,"title":"Value","description":"true or false."}}},"CE":{"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/BI","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BJ","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]}}},"CF":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"type":"number","description":"(Required) A floating point value.","title":"Value"}}},"CG":{"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/BI","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BJ","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"string","title":"Value","description":"(Required) A string value."}}},"CH":{"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/BI","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BJ","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"number","title":"Value","description":"(Required) A floating point value."}}},"CI":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"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":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"(Required) The tag to look for.","type":"string","title":"Value"}},"examples":[{"test":"has_biome_tag","value":"monster"}]},"DA":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"type":"string","description":"(Required) The component name to look for.","title":"Value"}},"examples":[{"test":"has_component","value":"minecraft:explode"}]},"DB":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"(Optional) true or false.","title":"Value","type":"boolean","default":true}},"examples":[{"test":"has_container_open","value":true}]},"DD":{"title":"Entity Damage Source","description":"The types of damage an entity can receive.","type":"string","enum":["all","anvil","attack","block_explosion","charging","contact","drowning","entity_attack","entity_explosion","fall","falling_block","fatal","fire_tick","fire","fireworks","fly_into_wall","freezing","lava","lightning","magic","magma","none","override","piston","projectile","sonic_boom","stalactite","stalagmite","starve","suffocation","suicide","temperature","thorns","void","wither"]},"DC":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"type":"string","description":"The Damage type to test.","$ref":"#/definitions/DD","title":"Value"}}},"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"The item name to look for.","type":"string","$ref":"#/definitions/BA","title":"Value"}},"examples":[{"test":"has_equipment","value":"example"}]},"DF":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"type":"string","description":"The specified mob effect.","title":"Value"}},"examples":[{"test":"has_mob_effect","value":"bad_omen"}]},"DG":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"The namtag to look for","type":"boolean","title":"Value"}},"examples":[{"test":"has_nametag","value":false},{"test":"has_nametag","value":true}]},"DH":{"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/BI","description":"(Optionall) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BJ","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."}}},"DI":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"has_ranged_weapon","value":true}]},"DJ":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"has_silk_touch","subject":"other","value":true}]},"EA":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"type":"string","description":"The tag as a string.","pattern":"[a-zA-Z0-9_]+","title":"Value"}},"examples":[{"test":"has_tag","value":"example"}]},"EB":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"has_target","value":true}]},"EC":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"has_trade_supply","value":true}]},"ED":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"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}]},"EE":{"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/BI","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BJ","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"}]},"EF":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_caravan","value":true}]},"EG":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_clouds","value":true}]},"EH":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"(Optional) true or false.","type":"boolean","default":true}},"examples":[{"test":"in_contact_with_water","value":true}]},"EI":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_lava","value":true}]},"EJ":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"in_nether","value":true}]},"FA":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"in_overworld","value":true},{"test":"in_overworld"}]},"FB":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_water_or_rain","value":true}]},"FC":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_water","value":true}]},"FD":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"The Family name to look for.","type":"integer","title":"Value"}},"examples":[{"test":"inactivity_timer","value":0}]},"FE":{"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/BI","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BJ","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"integer","title":"Value","description":"(Required) A integer value."}}},"FF":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"type":"integer","description":"The altitude value to compare with.","minimum":0,"title":"Value"}},"examples":[{"test":"example","value":0}]},"FG":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"example","value":true}]},"FH":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"The Biome type to test.","type":"string","enum":["beach","desert","extreme_hills","flat","forest","ice","jungle","mesa","mushroom_island","ocean","plain","river","savanna","stone_beach","swamp","taiga","the_end","the_nether"],"title":"Value"}},"examples":[{"test":"is_biome","value":"beach"}]},"FI":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"The Family name to look for.","type":"string","title":"Value"}},"examples":[{"test":"is_block","subject":"block","value":"minecraft:sweet_berry_bush"}]},"FJ":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"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}]},"GA":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_climbing","value":true}]},"GB":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"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"}]},"GC":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_daytime","value":true}]},"GD":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"The game's difficulty level to test.","type":"string","enum":["easy","hard","normal","peaceful"],"title":"Value"}},"examples":[{"test":"is_difficulty","value":"easy"}]},"GE":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"The Family name to look for.","type":"string","title":"Value"}},"examples":[{"test":"is_family","value":"monster"}]},"GF":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"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}]},"GG":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_humid","value":true}]},"GH":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_immobile","value":true}]},"GI":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_in_village","value":true}]},"GJ":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"is_leashed_to","value":true}]},"HA":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_leashed","value":true}]},"HB":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"type":"integer","description":"The altitude value to compare with.","title":"Value"}},"examples":[{"test":"is_mark_variant","value":0}]},"HC":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"is_missing_health","value":true}]},"HD":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_moving","value":true}]},"HE":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_owner","value":true}]},"HF":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"is_persistent","value":true}]},"HG":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_riding","value":true}]},"HH":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"type":"integer","description":"The altitude value to compare with.","title":"Value"}},"examples":[{"test":"is_skin_id","value":0}]},"HI":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"is_sleeping","value":true}]},"HJ":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_sneak_held","value":true}]},"IA":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_sneaking","value":true}]},"IB":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_snow_covered","value":true}]},"IC":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_target","value":true}]},"ID":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"The Biome temperature catagory to test.","type":"string","enum":["cold","mild","ocean","warm"],"title":"Value"}},"examples":[{"test":"is_temperature_type","value":"cold"}]},"IE":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"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}]},"IF":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_underground","value":true}]},"IG":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_underwater","value":true}]},"IH":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"type":"integer","description":"The altitude value to compare with.","title":"Value"}},"examples":[{"test":"is_variant","value":0}]},"II":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_visible","value":true}]},"IJ":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"true or false.","type":"boolean","title":"Value"}},"examples":[{"test":"light_level","value":0}]},"JA":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"An integer value.","type":"integer","title":"Value","minimum":0,"maximum":16}},"examples":[{"test":"light_level","value":0}]},"JB":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"A floating point value.","type":"number","minimum":0,"maximum":1,"title":"Value"}},"examples":[{"test":"moon_intensity","value":0.0}]},"JC":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"type":"integer","description":"An integer value.","minimum":0,"maximum":7,"title":"Value"}},"examples":[{"test":"moon_phase","value":0}]},"JD":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"on_ground","value":true}]},"JE":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"on_ladder","value":true}]},"JF":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"An integer value.","type":"integer","title":"Value"}},"examples":[{"test":"random_chance","value":0}]},"JG":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"An integer value.","type":"integer","title":"Value"}},"examples":[{"test":"rider_count","value":0}]},"JH":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"surface_mob","value":true}]},"JI":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"taking_fire_damage","value":true},{"test":"taking_fire_damage"}]},"JJ":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"(Required) A floating point value.","type":"number","default":true,"title":"Value"}}},"BAA":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"trusts","value":true}]},"BAB":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"The Family name to look for.","type":"string","title":"Value","examples":["thunderstorm"]}},"examples":[{"test":"weather_at_position","value":"thunderstorm"}]},"BAC":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"The Family name to look for.","type":"string","title":"Value","examples":["clear","thunderstorm"]}},"examples":[{"test":"weather","value":"clear"}]},"BG":{"title":"Filters","$ref":"#/definitions/BG_groups_spec","examples":[{"test":"is_family","subject":"other","value":"example"},{"test":"has_tag","value":"example"},[]]},"BF":{"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/BG","description":"Filter that is applied to determine if a mob can be a nuisance."},"on_increase_sounds":{"title":"On Increase Sounds","$ref":"#/definitions/BG"},"remove_targets_below_angry_threshold":{"title":"Remove Targets Below Angry Threshold","type":"boolean","default":true,"description":"Defines if the mob should remove target if it falls below 'angry' threshold."}},"examples":[]},"BAD":{"type":"object","title":"Angry","description":"Defines the entity's 'angry' state using a timer.","additionalProperties":false,"required":[],"properties":{"broadcast_anger":{"title":"Broadcast Anger","type":"boolean","default":false,"description":"If true, other entities of the same entity definition within the broadcastRange will also become angry."},"broadcast_filters":{"title":"Broadcast Filters","$ref":"#/definitions/BG","description":"Conditions that make this entry in the list valid."},"filters":{"$ref":"#/definitions/BG","description":"Filter out mob types that it should not attack while angry (other Piglins)."},"broadcast_range":{"title":"Broadcast Range","type":"integer","default":20,"description":"Distance in blocks within which other entities of the same entity definition will become angry."},"broadcast_targets":{"title":"Broadcast Targets","type":"array","description":"A list of entity families to broadcast anger to.","items":{"type":"string","description":"An entity family.","pattern":"^.+$","title":"Broadcast Targets"}},"calm_event":{"title":"Calm Event","$ref":"#/definitions/BC","description":"Event to run after the number of seconds specified in duration expires (when the entity stops being \"angry\")"},"angry_sound":{"title":"Angry Sound","$ref":"#/definitions/BE","default":"","description":"The sound event to play when the mob is angry."},"broadcast_anger_on_attack":{"title":"Broadcast Anger On Attack","type":"boolean","default":false,"description":"If true, other entities of the same entity definition within the broadcastRange will also become angry whenever this mob attacks."},"broadcast_anger_on_being_attacked":{"type":"boolean","default":false,"description":"If true, other entities of the same entity definition within the broadcastRange will also become angry whenever this mob is attacked.","title":"Broadcast Anger On Being Attacked"},"duration":{"title":"Duration","type":"integer","default":25,"description":"The amount of time in seconds that the entity will be angry."},"duration_delta":{"title":"Duration Delta","type":"integer","default":0,"description":"Variance in seconds added to the duration [-delta, delta]."},"sound_interval":{"description":"The range of time in seconds to randomly wait before playing the sound again.","title":"Sound Interval","oneOf":[{"type":"array","default":[0,0],"items":[{"type":"integer","minimum":0,"description":"The minimum interval.","$comment":"UNDOCUMENTED","title":"Minimum"},{"type":"integer","minimum":0,"description":"The maximum interval.","$comment":"UNDOCUMENTED","title":"Maximum"}]},{"type":"object","additionalProperties":false,"properties":{"range_min":{"type":"number","description":"The minimum interval.","$comment":"UNDOCUMENTED","title":"Range Minimum"},"range_max":{"type":"number","description":"The maximum interval.","$comment":"UNDOCUMENTED","title":"Range Maximum"}}}]}},"examples":[{"broadcast_anger":false,"broadcast_range":20,"broadcast_targets":[],"angry_sound":"","broadcast_anger_on_attack":false,"broadcast_anger_on_being_attacked":false,"duration":25,"duration_delta":0}]},"BAE":{"additionalProperties":false,"description":"Allows the actor to break doors assuming that that flags set up for the component to use in navigation.","type":"object","title":"Annotation.break Door","required":[],"$comment":"Caution No longe rin use","properties":{"break_time":{"type":"number","default":12,"description":"The time in seconds required to break through doors.","title":"Break Time"},"min_difficulty":{"type":"string","default":"hard","description":"The minimum difficulty that the world must be on for this entity to break doors.","title":"Minimum Difficulty"}},"examples":[{"break_time":12,"min_difficulty":"hard"}]},"BAF":{"additionalProperties":false,"description":"Allows the actor to open doors assuming that that flags set up for the component to use in navigation.","type":"object","title":"Annotation.open Door","required":[],"properties":{}},"BAG":{"type":"object","title":"Area Attack","description":"A component that does damage to entities that get within range.","additionalProperties":false,"properties":{"cause":{"title":"Cause","$ref":"#/definitions/DD","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/BG","description":"The set of entities that are valid to apply the damage to when within range.","title":"Entity Filter"},"play_attack_sound":{"title":"play attack sound","type":"boolean","default":5E-324,"description":"If the entity should play their attack sound when attacking a target."}},"examples":[{"damage_per_tick":2,"damage_range":0.2,"cause":"example"}]},"BAI":{"title":"Trigger","description":"Trigger to fire.","examples":["event:example",{"filters":[],"target":"self","event":"to:foo"}],"defaultSnippets":[{"label":"New Trigger","body":"^\"$1\""},{"label":"New Trigger - Filtered","body":{"event":"$1","target":"self","filters":[{"test":"$2","value":"$3"}]}}],"oneOf":[{"type":"string"},{"type":"object","additionalProperties":false,"properties":{"event":{"type":"string","description":"The event to run when the conditions for this trigger are met.","title":"Event"},"filters":{"$ref":"#/definitions/BG","description":"The list of conditions for this trigger to execute."},"target":{"$ref":"#/definitions/BJ","description":"The target of the event.","title":"Target"}}}]},"BAH":{"type":"object","title":"Attack Cooldown","description":"Adds a cooldown to a mob. The intention of this cooldown is to be used to prevent the mob from attempting to aquire new attack targets.","additionalProperties":false,"properties":{"attack_cooldown_complete_event":{"$ref":"#/definitions/BAI","description":"Event to be run when the cooldown is complete.","title":"Attack Cooldown Complete Event"},"attack_cooldown_time":{"default":[0.0,1.0],"description":"Amount of time in seconds for the cooldown. Can be specified as a number or a pair of numbers (Minimum and max).","title":"Attack Cooldown Time","oneOf":[{"type":"array","items":[{"type":"number","title":"Maximum"},{"type":"number","title":"Maximum"}]},{"type":"number"}]}}},"BAJ":{"type":"object","title":"Attack Damage","additionalProperties":false,"required":["value"],"properties":{"value":{"type":"integer","description":"How much an attack should damage a target.","title":"Value"}},"description":"Specifies how much damage is dealt by the entity when it attacks.","examples":[{"value":4}]},"BBB":{"title":"Range [A, B]","description":"A described range.","examples":[[0.0,1.0]],"oneOf":[{"type":"number"},{"type":"array","items":[{"type":"number","title":"A","description":"The first value of the range."},{"type":"number","title":"B","description":"The second value of the range."}]},{"type":"object","additionalProperties":false,"properties":{"range_min":{"type":"number","title":"Range Min","description":"The minimum value of the range."},"range_max":{"type":"number","title":"Range Max","description":"The maximum value of the range."}}}]},"BBA":{"type":"object","additionalProperties":false,"title":"Attack","description":"Defines an entity's melee attack and any additional effects on it.","required":["damage"],"properties":{"damage":{"title":"Damage","$ref":"#/definitions/BBB","description":"Range of the random amount of damage the melee attack deals. A negative value can heal the entity instead of hurting it."},"effect_name":{"type":"string","description":"Identifier of the status ailment to apply to an entity attacked by this entity's melee attack.","examples":["wither","hunger"],"title":"Effect Name"},"effect_duration":{"type":"number","default":1,"description":"Duration in seconds of the status ailment applied to the damaged entity.","title":"Effect Duration"}},"examples":[{"damage":1},{"damage":1,"effect_name":"example","effect_duration":1}]},"BBC":{"additionalProperties":false,"type":"object","title":"Balloonable","description":"allows the entity to have a balloon attached and defines the conditions and events for the entity when is ballooned.","required":[],"properties":{"soft_distance":{"title":"Soft Distance","description":"Distance in blocks where the 'spring' effect lifts the entity.","type":"number","default":2.0},"max_distance":{"title":"Max Distance","description":"Distance in blocks where the balloon breaks.","type":"number","default":10.0},"on_balloon":{"title":"On Balloon","description":"Event to call when the entity is ballooned.","type":"string"},"on_unballoon":{"title":"On Unballoon","description":"Event to call when the entity is unballooned.","type":"string"},"mass":{"title":"Mass","description":"Mass that the entity has when computing balloon pull forces.","type":"number","default":1.0}},"examples":[{"max_distance":10.0,"soft_distance":2.0,"mass":0.5}]},"BBD":{"type":"object","title":"Barter","description":"Enables the component to drop an item as a barter exchange.","additionalProperties":false,"properties":{"barter_table":{"type":"string","description":"Loot table that's used to drop a random item.","title":"Barter Table"},"cooldown_after_being_attacked":{"type":"integer","default":0,"description":"Duration, in seconds, for which mob won't barter items if it was hurt.","title":"Cooldown After Being Attacked"}},"examples":[{"barter_table":"example","cooldown_after_being_attacked":0}]},"BBE":{"title":"Block Climber","type":"object","additionalProperties":false,"description":"Allows the player to detect and manuever on the scaffolding block.","properties":{}},"BBG":{"description":"A minecraft block identifier.","examples":["namespace:block"],"pattern":"^[0-9a-zA-Z:_\\.\\-]+$","title":"Block Identifier","type":"string","defaultSnippets":[{"label":"New Identifier","body":"$1:$2"}]},"BBF":{"type":"object","title":"Block Sensor","description":"Fires off a specified event when a block in the block list is broken within the sensor range.","additionalProperties":false,"properties":{"sensor_radius":{"title":"Sensor Radius","type":"integer","description":"The maximum radial distance in which a specified block can be detected. The biggest radius is 32.0.","minimum":0,"maximum":32},"on_break":{"title":"On Break","type":"array","description":"Blocks that will trigger the component when broken and what event will trigger.","items":{"title":"On Block Broken","type":"object","description":"Event to run when a block breaks.","additionalProperties":false,"properties":{"block_list":{"title":"Block List","type":"array","description":"List of blocks that will trigger the sensor.","items":{"$ref":"#/definitions/BBG","title":"Block ID"}},"on_block_broken":{"title":"On Block Broken","type":"string","description":"Event to run when a block breaks."}}}},"sources":{"title":"Sources","description":"List of sources that break the block to listen for. If none are specified, all block breaks will be detected.","type":"array","items":{"$ref":"#/definitions/BG"},"examples":[{"test":"has_silk_touch","subject":"other","value":false}]}},"examples":[{"sensor_radius":0,"on_break":[]}]},"BBH":{"type":"object","title":"Boostable","additionalProperties":false,"description":"Defines the conditions and behavior of a rideable entity's boost.","properties":{"duration":{"type":"number","default":3,"description":"Time in seconds for the boost.","title":"Duration"},"speed_multiplier":{"type":"number","default":1,"description":"Factor by which the entity's normal speed increases. E.g. 2.0 means go twice as fast.","title":"Speed Multiplier"},"boost_items":{"type":"array","description":"List of items that can be used to boost while riding this entity.","title":"Boost Items","items":{"type":"object","additionalProperties":false,"description":"List of items that can be used to boost while riding this entity.","properties":{"damage":{"type":"integer","default":1,"description":"This is the damage that the item will take each time it is used.","title":"Damage"},"item":{"$ref":"#/definitions/J","default":"","description":"Name of the item that can be used to boost.","title":"Item"},"replace_item":{"$ref":"#/definitions/J","default":"","description":"The item used to boost will become this item once it is used up.","title":"Replace Item"}}}}},"examples":[{"duration":3,"speed_multiplier":1,"boost_items":[]}]},"BBI":{"type":"object","title":"Boss","additionalProperties":false,"description":"The current state of the boss for updating the boss HUD.","required":[],"properties":{"hud_range":{"type":"integer","default":55,"description":"The Maximum distance from the boss at which the boss's health bar is present on the players screen.","title":"Hud Range"},"name":{"type":"string","default":"","description":"The name that will be displayed above the boss's health bar.","title":"Name"},"should_darken_sky":{"type":"boolean","default":false,"description":"Whether the sky should darken in the presence of the boss.","title":"Should Darken Sky"}},"examples":[{"hud_range":55,"name":"","should_darken_sky":false}]},"BCA":{"type":"string","title":"Block Name","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"BBJ":{"type":"object","title":"Break Blocks","additionalProperties":false,"description":"Specifies the blocks that this entity can break as it moves around.","required":[],"properties":{"breakable_blocks":{"type":"array","title":"Breakable Blocks","description":"A list of the blocks that can be broken as this entity moves around.","items":{"$ref":"#/definitions/BCA"}}},"examples":[{"breakable_blocks":[]}]},"BCC":{"description":"A minecraft block reference.","examples":["namespace:block",{"name":"namespace:block"}],"title":"Block Reference","defaultSnippets":[{"label":"New Identifier","body":"$1:$2"}],"oneOf":[{"type":"string","$ref":"#/definitions/BBG"},{"title":"Block Reference","description":"","type":"object","additionalProperties":false,"properties":{"name":{"type":"string","$ref":"#/definitions/BBG"},"states":{"title":"States","description":"","type":"object","propertyNames":{"pattern":"\\w*:?\\w+"},"example":[{"property":"value"}],"additionalProperties":{"type":["boolean","integer","string"],"title":"State Value","description":"The key of property is the name of the block state/property, the value must be the same as the block properties accepted values."}},"tags":{"$ref":"#/definitions/BB","description":"A condition using Molang queries that results to true/false that can be used to query for blocks with certain tags.","examples":["query.any_tag('wood')"]}}}]},"BCB":{"type":"object","title":"Breathable","additionalProperties":false,"description":"Defines what blocks this entity can breathe in and gives them the ability to suffocate.","required":[],"properties":{"total_supply":{"type":"integer","default":15,"description":"Time in seconds the entity can hold its breath.","title":"Total Supply"},"suffocate_time":{"type":"integer","default":-20,"description":"Time in seconds between suffocation damage.","title":"Suffocate Time"},"inhale_time":{"type":"number","default":0,"description":"Time in seconds to recover breath to maximum.","title":"Inhale Time"},"breathes_air":{"type":"boolean","default":true,"description":"If true, this entity can breathe in air.","title":"Breathes Air"},"breathes_water":{"type":"boolean","default":false,"description":"If true, this entity can breathe in water.","title":"Breathes Water"},"breathes_lava":{"type":"boolean","default":false,"description":"If true, this entity can breathe in lava.","title":"Breathes Lava"},"breathes_solids":{"type":"boolean","default":false,"description":"If true, this entity can breathe in solid blocks.","title":"Breathes Solids"},"generates_bubbles":{"type":"boolean","default":true,"description":"If true, this entity will have visible bubbles while in water.","title":"Generates Bubbles"},"breathe_blocks":{"type":"array","description":"List of blocks this entity can breathe in, in addition to the above.","items":{"$ref":"#/definitions/BCC"},"title":"Breathe Blocks"},"non_breathe_blocks":{"type":"array","description":"List of blocks this entity can't breathe in, in addition to the above.","items":{"$ref":"#/definitions/BCC"},"title":"Non Breathes Blocks"}},"examples":[{"total_supply":15,"suffocate_time":-20,"inhale_time":0,"breathes_air":true,"breathes_water":false,"breathes_lava":false,"breathes_solids":false,"generates_bubbles":true,"breathe_blocks":[],"non_breathe_blocks":[]}]},"BCD_breeds_with_spec":{"type":"object","description":"An entity definitions that this entity can breed with.","additionalItems":false,"properties":{"baby_type":{"type":"string","description":"The entity definition of this entity's babies.","title":"Baby Type"},"breed_event":{"$ref":"#/definitions/BCE","description":"Event to run when this entity breeds.","title":"Breed Event"},"mate_type":{"type":"string","description":"The entity definition of this entity's mate.","title":"Mate Type"}}},"BCD_enviroment_requirements":{"type":"object","description":"A nearby block requirements to get the entity into the `love` state.","properties":{"blocks":{"description":"The block types required nearby for the entity to breed.","title":"Blocks","oneOf":[{"type":"array","items":{"description":"A block type required nearby for the entity to breed.","type":"string","$ref":"#/definitions/BCC","title":"Blocks"}},{"description":"A block type required nearby for the entity to breed.","type":"string","$ref":"#/definitions/BCC","title":"Blocks"}]},"count":{"type":"number","description":"The number of the required block types nearby for the entity to breed.","title":"Count"},"radius":{"type":"number","description":"How many blocks radius from the mob's center to search in for the required blocks. Bounded between 0 and 16.","minimum":0,"title":"Radius"}},"title":"Environment Requirements"},"BCE":{"title":"Event","description":"Minecraft behavior event.","examples":[{"event":"example:foo","target":"self"}],"type":"object","additionalProperties":false,"properties":{"event":{"type":"string","pattern":"^[a-zA-Z0-9_\\-:]+$","description":"The event to fire.","title":"Event"},"target":{"type":"string","description":"The target of the event.","title":"Target","enum":["baby","block","damager","other","parent","player","self","target"]},"filters":{"$ref":"#/definitions/BG"}}},"BCF":{"type":"array","title":"Vector Of 2 Items","description":"An vector of 2 number.","examples":[[0,0]],"items":[{"type":"number","description":"The X component.","title":"X","default":0},{"type":"number","description":"The Y component.","title":"Y","default":0}],"defaultSnippets":[{"label":"New Array 2","body":["^$1","^$2"]}]},"BCD":{"type":"object","title":"Breedable","additionalProperties":false,"description":"Defines the way an entity can get into the `love` state.","properties":{"allow_sitting":{"description":"If true, entities can breed while sitting.","type":"boolean","default":false,"title":"Allow Sitting"},"blend_attributes":{"description":"If true, the entities will blend their attributes in the offspring after they breed.","type":"boolean","default":true,"title":"Blend Attributes"},"breed_cooldown":{"description":"Time in seconds before the Entity can breed again.","type":"number","default":60.0,"title":"Breed Cooldown"},"breed_items":{"description":"The list of items that can be used to get the entity into the `love` state.","title":"Breed Items","oneOf":[{"type":"array","items":{"type":"string","description":"An item that can be used to get the entity into the `love` state.","$ref":"#/definitions/J","title":"Breed Item"}},{"type":"string","$ref":"#/definitions/J"}]},"breeds_with":{"description":"The list of entity definitions that this entity can breed with.","title":"Breeds With","oneOf":[{"type":"object","$ref":"#/definitions/BCD_breeds_with_spec"},{"uniqueItems":true,"type":"array","items":{"type":"object","$ref":"#/definitions/BCD_breeds_with_spec"}}]},"causes_pregnancy":{"type":"boolean","default":false,"description":"If true, the entity will become pregnant instead of spawning a baby.","title":"Causes Pregnancy"},"deny_parents_variant":{"type":"object","description":"Determines how likely the baby of parents with the same variant will deny that variant and take a random variant within the given range instead.","additionalProperties":false,"properties":{"chance":{"type":"number","default":0,"description":"The percentage chance of denying the parents` variant.","title":"Chance"},"max_variant":{"type":"integer","default":0,"description":"The inclusive maximum of the variant range.","title":"Maximum Variant"},"min_variant":{"type":"integer","default":0,"description":"The inclusive minimum of the variant range.","title":"Minimum Variant"}},"title":"Deny Parents Variant"},"environment_requirements":{"description":"The list of nearby block requirements to get the entity into the `love` state.","oneOf":[{"type":"object","$ref":"#/definitions/BCD_enviroment_requirements"},{"type":"array","items":{"$ref":"#/definitions/BCD_enviroment_requirements"}}],"title":"Environment Requirements"},"extra_baby_chance":{"type":"number","default":0.0,"description":"Chance that up to 16 babies will spawn between 0.0 and 1.0, where 1.0 is 100%.","minimum":0.0,"maximum":1.0,"title":"Extra Baby Chance"},"love_filters":{"$ref":"#/definitions/BG","description":"The filters to run when attempting to fall in love.","title":"Love Filters"},"mutation_factor":{"type":"object","description":"Determines how likely the babies are to NOT inherit one of their parent's variances. Values are between 0.0 and 1.0, with a higher number meaning more likely to mutate.","additionalProperties":false,"properties":{"color":{"type":"number","default":0,"minimum":0.0,"maximum":1.0,"description":"The percentage chance of a mutation on the entity's color.","title":"Color"},"extra_variant":{"type":"number","default":0,"minimum":0.0,"maximum":1.0,"description":"The percentage chance of a mutation on the entity's extra variant type.","title":"Extra Variant"},"variant":{"type":"number","default":0,"minimum":0.0,"maximum":1.0,"description":"The percentage chance of a mutation on the entity's variant type.","title":"Variant"}},"title":"Mutation Factor"},"mutation_strategy":{"title":"Mutation Strategy","type":"string","default":"none","description":"Strategy used for mutating variants and extra variants for offspring. Current valid alternatives are 'random' and 'none'."},"parent_centric_attribute_blending":{"title":"Parent Centric Attribute Blending","type":"array","description":"[EXPERIMENTAL] List of attributes that should benefit from parent centric attribute blending. For example, horses blend their health, movement, and jump_strength in their offspring."},"random_extra_variant_mutation_interval":{"title":"Random Extra Variant Mutation Interval","default":0,"$ref":"#/definitions/BCF","description":"Range used to determine random extra variant."},"random_variant_mutation_interval":{"title":"Random Variant Mutation Interval","default":0,"$ref":"#/definitions/BCF","description":"Range used to determine random variant."},"inherit_tamed":{"type":"boolean","default":true,"description":"If true, the babies will be automatically tamed if its parents are.","title":"Inherit Tamed"},"require_full_health":{"type":"boolean","default":false,"description":"If true, the entity needs to be at full health before it can breed.","title":"Require Full Health"},"require_tame":{"type":"boolean","default":true,"description":"If true, the entities need to be tamed first before they can breed.","title":"Require Tame"},"transform_to_item":{"type":"string","title":"Transform To Item","description":"The feed item used will transform to this item upon successful interaction. Format: itemName:auxValue"}},"examples":[{"allow_sitting":false,"blend_attributes":true,"breed_cooldown":60.0,"deny_parents_variant":{},"extra_baby_chance":0.0,"mutation_factor":{},"causes_pregnancy":false,"inherit_tamed":true,"require_full_health":false,"require_tame":true,"transform_to_item":"example"}]},"BCG":{"type":"object","title":"Bribeable","additionalProperties":false,"description":"Defines the way an entity can get into the 'bribed' state.","required":[],"properties":{"bribe_cooldown":{"type":"number","default":2,"description":"Time in seconds before the Entity can be bribed again.","title":"Bribe Cooldown"},"bribe_items":{"type":"array","description":"The list of items that can be used to bribe the entity.","items":{"description":"An item that can be used to bribe the entity.","$ref":"#/definitions/J","title":"Bribe Items"},"title":"Bribe Items"}},"examples":[{"bribe_cooldown":2,"bribe_items":[]}]},"BCH":{"type":"object","title":"Buoyant","description":"Enables an entity to float on the specified liquid blocks.","additionalProperties":false,"properties":{"base_buoyancy":{"type":"number","default":0,"description":"Base buoyancy used to calculate how much will a mob float.","title":"Base Buoyancy"},"apply_gravity":{"type":"boolean","default":true,"description":"Applies gravity each tick. Causes more of a wave simulation, but will cause more gravity to be applied outside liquids.","title":"Apply Gravity"},"buoyancy":{"type":"number","default":1,"description":"Base buoyancy used to calculate how much will a mob float.","title":"Base Buoyancy"},"big_wave_probability":{"type":"number","default":0.03,"description":"Probability for a big wave hitting the entity. Only used if `simulate_waves` is true.","title":"Big Wave Probability"},"big_wave_speed":{"type":"number","default":10,"description":"Multiplier for the speed to make a big wave. Triggered depending on `big_wave_probability`.","title":"Big Wave Speed"},"drag_down_on_buoyancy_removed":{"type":"number","default":0,"description":"How much an actor will be dragged down when the Buoyancy Component is removed.","title":"Drag Down On Buoyancy Removed"},"liquid_blocks":{"type":"array","description":"List of blocks this entity can float on. Must be a liquid block.","title":"Liquid Blocks","items":{"title":"Block","$ref":"#/definitions/BCC"}},"simulate_waves":{"type":"boolean","default":true,"description":"Should the movement simulate waves going through.","title":"Simulate Waves"}},"examples":[{"base_buoyancy":0,"apply_gravity":true,"buoyancy":1,"big_wave_probability":0.03,"big_wave_speed":10,"drag_down_on_buoyancy_removed":0,"liquid_blocks":[],"simulate_waves":true}]},"BCI":{"title":"Burns In Daylight","additionalProperties":false,"description":"Specifies if/how a mob burns in daylight.","required":[],"properties":{},"oneOf":[{"type":"boolean"},{"type":"object"}]},"BCJ":{"type":"object","title":"Can Climb","additionalProperties":false,"description":"Allows this entity to climb up ladders.","required":[],"properties":{}},"BDA":{"type":"object","title":"Can Fly","additionalProperties":false,"description":"Marks the entity as being able to fly, the pathfinder won't be restricted to paths where a solid block is required underneath it.","required":[],"properties":{"value":{"type":"boolean","default":true,"description":"Marks the entity as being able to fly, the pathfinder won't be restricted to paths where a solid block is required underneath it.","title":"Value"}},"examples":[{"value":true}]},"BDB":{"type":"object","title":"Can Power Jump","additionalProperties":false,"description":"Allows the entity to power jump like the horse does in vanilla.","required":[],"properties":{}},"BDC":{"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/BG","description":"The list of conditions that target of hunt must satisfy to initiate celebration.","title":"Celeberation Targets"},"celebrate_sound":{"$ref":"#/definitions/BE","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}]},"BDD":{"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}]},"BDE":{"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}]},"BDF":{"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}]},"BDG":{"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}]},"BDH":{"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/BG"}}}}},"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":{}}]},"BDI":{"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]}]}]},"BDJ":{"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}]},"BEA_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/DD"},"damage_modifier":{"title":"Damage Modifier","type":"number","default":0.0,"description":"A modifier that adds to/removes from the base damage from the damage cause. It does not reduce damage to less than 0."},"damage_multiplier":{"type":"number","default":1,"description":"A multiplier that modifies the base damage from the damage cause. If deals_damage is true the multiplier can only reduce the damage the entity will take to a minimum of 1.","title":"Damage Multiplier"},"deals_damage":{"type":"boolean","default":true,"description":"If true, the damage dealt to the entity will take away health from it, set to false to make the entity ignore that damage.","title":"Deals Damage"},"on_damage":{"type":"object","description":"Specifies filters for entity definitions and events.","title":"On Damage","$ref":"#/definitions/BAI"},"on_damage_sound_event":{"$ref":"#/definitions/BE","description":"Defines what sound to play, if any, when the on_damage filters are met.","title":"On Damage Sound Event"}}},"BEA":{"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/BEA_triggers"}},{"type":"object","$ref":"#/definitions/BEA_triggers"}]}}},"BEB":{"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}]},"BEC":{"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}]},"BED":{"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/BG","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}]},"BEE":{"type":"object","title":"Drying Out Timer","description":"Adds a timer for drying out that will count down and fire `dried_out_event` or will stop as soon as the entity will get under rain or water and fire `stopped_drying_out_event`.","additionalProperties":false,"properties":{"dried_out_event":{"$ref":"#/definitions/BC","description":"Event to fire when the drying out time runs out.","title":"Dried Out Event"},"recover_after_dried_out_event":{"$ref":"#/definitions/BC","description":"Event to fire when entity was already dried out but received increase in water supply.","title":"Recover After Dried Out Event"},"stopped_drying_out_event":{"$ref":"#/definitions/BC","description":"Event to fire when entity stopped drying out, for example got into water or under rain.","title":"Stopped Drying Out Event"},"total_time":{"type":"number","default":0,"description":"Amount of time in seconds to dry out fully.","title":"Total Time"},"water_bottle_refill_time":{"type":"number","default":0,"description":"Optional amount of additional time in seconds given by using splash water bottle on entity.","title":"Water Bottle Refill Time"}},"examples":[{"total_time":0,"water_bottle_refill_time":0}]},"BEF":{"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}]},"BEG":{"type":"object","title":"Economy Trade Table","additionalProperties":false,"description":"Defines this entity's ability to trade with players.","required":[],"properties":{"convert_trades_economy":{"type":"boolean","default":false,"description":"Determines when the mob transforms, if the trades should be converted when the new mob has a economy_trade_table. When the trades are converted, the mob will generate a new trade list with their new trade table, but then it will try to convert any of the same trades over to have the same enchantments and user data. For example, if the original has a Emerald to Enchanted Iron Sword (Sharpness 1), and the new trade also has an Emerald for Enchanted Iron Sword, then the enchantment will be Sharpness 1.","title":"Convert Trades Economy"},"cured_discount":{"type":"array","default":[-5,-20],"description":"How much should the discount be modified by when the player has cured the Zombie Villager. Can be specified as a pair of numbers (low-tier trade discount and high-tier trade discount)","title":"Cured Discount","items":[{"type":"integer","title":"A","description":"Minimum."},{"type":"integer","title":"B","description":"Maximum."}]},"display_name":{"type":"string","default":"","description":"Name to be displayed while trading with this entity.","title":"Display Name"},"hero_demand_discount":{"type":"integer","default":-4,"description":"Used in legacy prices to determine how much should Demand be modified by when the player has the Hero of the Village mob effect.","title":"Hero Demand Discount"},"max_cured_discount":{"type":"array","default":[-25,-63],"description":"The Maximum the discount can be modified by when the player has cured the Zombie Villager. Can be specified as a pair of numbers (low-tier trade discount and high-tier trade discount)","title":"Maximum Cured Discount","items":[{"type":"integer","title":"A","description":"Minimum."},{"type":"integer","title":"B","description":"Maximum."}]},"max_nearby_cured_discount":{"type":"integer","default":-200,"description":"The Maximum the discount can be modified by when the player has cured a nearby Zombie Villager.","title":"Maximum Nearby Cured Discount"},"nearby_cured_discount":{"type":"integer","default":-25,"description":"How much should the discount be modified by when the player has cured a nearby Zombie Villager.","title":"Nearby Cured Discount"},"new_screen":{"type":"boolean","default":false,"description":"Used to determine if trading with entity opens the new trade screen.","title":"New Screen"},"persist_trades":{"type":"boolean","default":false,"description":"Determines if the trades should persist when the mob transforms. This makes it so that the next time the mob is transformed to something with a trade_table or economy_trade_table, then it keeps their trades.","title":"Persist Trades"},"show_trade_screen":{"type":"boolean","default":true,"description":"Show an in game trade screen when interacting with the mob.","title":"Show Trade Screen"},"table":{"type":"string","default":"","description":"File path relative to the resource pack root for this entity's trades.","title":"Table"},"use_legacy_price_formula":{"type":"boolean","default":false,"description":"Determines whether the legacy formula is used to determines the trade prices.","title":"Use Legacy Price Formula"}},"examples":[{"convert_trades_economy":false,"cured_discount":[],"display_name":"","hero_demand_discount":-4,"max_cured_discount":[],"max_nearby_cured_discount":-200,"nearby_cured_discount":-25,"new_screen":false,"persist_trades":false,"show_trade_screen":true,"table":"","use_legacy_price_formula":false}]},"BEH":{"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.","additionalProperties":false,"properties":{"maximum_count":{"type":"integer","default":-1,"description":"The maximum number of entities that must pass the filter conditions for the event to send.","title":"Maximum Count"},"minimum_count":{"type":"integer","default":1,"description":"The minimum number of entities that must pass the filter conditions for the event to send.","title":"Minimum Count"},"relative_range":{"type":"boolean","default":true,"description":"If true the sensor range is additive on top of the entity's size.","title":"Relative Range"},"require_all":{"type":"boolean","default":false,"description":"If true requires all nearby entities to pass the filter conditions for the event to send.","title":"Require All"},"sensor_range":{"type":"number","default":10,"description":"The maximum distance another entity can be from this and have the filters checked against it.","title":"Sensor Range"},"event_filters":{"$ref":"#/definitions/BG"},"event":{"title":"Event","description":"event.","type":"string"}},"examples":[{"maximum_count":-1,"minimum_count":1,"relative_range":true,"require_all":false,"sensor_range":10,"event":"example"}]},"BEI_trigger":{"$ref":"#/definitions/BAI"},"BEI":{"title":"Environment Sensor","description":"Creates a trigger based on environment conditions.","type":"object","additionalProperties":false,"examples":[{"triggers":[{"event":"self:example","target":"self","filters":{"test":"has_tag","value":"example"}}]}],"properties":{"triggers":{"description":"The list of triggers that fire when the environment conditions match the given filter criteria.","title":"Triggers","oneOf":[{"type":"array","items":{"$ref":"#/definitions/BEI_trigger"}},{"type":"object","$ref":"#/definitions/BEI_trigger"}]}}},"BEJ":{"type":"object","title":"Equip Item","description":"The entity puts on the desired equipment.","additionalProperties":false,"properties":{"excluded_items":{"title":"Excluded Items","type":"array","description":"List of items that the entity should not equip.","items":{"type":"string","$ref":"#/definitions/J","description":"Item that the entity should not equip.","title":"Excluded Items"}}}},"BFB":{"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"}]},"BFA":{"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/BFB"}},"examples":[{"slot_drop_chance":[]}]},"BFC":{"type":"object","title":"Equippable","additionalProperties":false,"description":"Defines an entity's behavior for having items equipped to it.","properties":{"slots":{"description":"List of slots and the item that can be equipped.","type":"array","title":"Slots","items":{"description":"A slot and the item that can be equipped.","title":"Slots","type":"object","properties":{"slot":{"type":"integer","default":0,"description":"The slot number of this slot.","title":"Slot"},"accepted_items":{"type":"array","description":"The list of items that can go in this slot.","title":"Accepted Items","items":{"type":"string","description":"A item name.","$ref":"#/definitions/J","title":"Accepted Items"}},"item":{"$ref":"#/definitions/J","description":"Identifier of the item that can be equipped for this slot.","title":"Item"},"interact_text":{"type":"string","description":"Text to be displayed when the entity can be equipped with this item when playing with Touch-screen controls.","title":"Interact Text"},"on_equip":{"$ref":"#/definitions/BC","description":"Event to trigger when this entity is equipped with this item.","title":"On Equip"},"on_unequip":{"$ref":"#/definitions/BC","description":"Event to trigger when this item is removed from this entity.","title":"On Unequip"}}}}},"examples":[{"slots":[]}]},"BFD":{"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}]},"BFE":{"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}]},"BFF":{"type":"object","title":"Explode","additionalProperties":false,"description":"Defines how the entity explodes.","properties":{"breaks_blocks":{"type":"boolean","default":true,"description":"If true, the explosion will destroy blocks in the explosion radius.","title":"Breaks Blocks"},"causes_fire":{"type":"boolean","default":false,"description":"If true, blocks in the explosion radius will be set on fire.","title":"Causes Fire"},"destroy_affected_by_griefing":{"type":"boolean","default":false,"description":"If true, whether the explosion breaks blocks is affected by the mob griefing game rule.","title":"Destroy Affected By Griefing"},"fire_affected_by_griefing":{"type":"boolean","default":false,"description":"If true, whether the explosion causes fire is affected by the mob griefing game rule.","title":"Fire Affected By Griefing"},"fuse_length":{"default":[0.0,0.0],"description":"The range for the random amount of time the fuse will be lit before exploding, a negative value means the explosion will be immediate.","title":"Fuse Length","oneOf":[{"type":"array","items":[{"type":"number"},{"type":"number"}]},{"type":"number"}]},"fuse_lit":{"type":"boolean","default":false,"description":"If true, the fuse is already lit when this component is added to the entity.","title":"Fuse Lit"},"max_resistance":{"type":"number","description":"A blocks explosion resistance will be capped at this value when an explosion occurs.","title":"Maximum Resistance"},"power":{"type":"number","default":3,"description":"The radius of the explosion in blocks and the amount of damage the explosion deals.","title":"Power"}},"examples":[{"breaks_blocks":true,"causes_fire":false,"destroy_affected_by_griefing":false,"fire_affected_by_griefing":false,"fuse_lit":false,"max_resistance":0.0,"power":3}]},"BFG":{"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}]},"BFH":{"title":"Fire Immune","additionalProperties":false,"description":"Sets that this entity doesn't take damage from fire.","type":"object","required":[],"properties":{}},"BFI":{"description":"Sets that this entity can float in liquid blocks.","type":"object","title":"Floats In Liquid","additionalProperties":false,"required":[],"properties":{}},"BFJ":{"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}]},"BGA":{"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}]},"BGB":{"type":"object","title":"Follow Range","description":"Defines the range of blocks that a mob will pursue a target.","additionalProperties":false,"required":[],"properties":{"value":{"type":"integer","description":"Range of the amount of damage the melee follow_range deals. A negative value can heal the entity instead of hurting it.","title":"Value"},"max":{"type":"integer","description":"Duration, in seconds, of the status ailment applied to the damaged entity.","title":"Max"}},"examples":[{"value":16,"max":48}]},"BGC":{"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}]},"BGD":{"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."}}},"BGE_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"}}}]},"BGE":{"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/BGE_integer_range"},"genetic_variants":{"title":"Genetic Variants","type":"array","description":"The list of genetic variants for this gene. These check for particular allele combinations and fire events when all of them are satisfied.","items":{"title":"Genetic Variants","description":"The genetic variant for this gene. These check for particular allele combinations and fire events when all of them are satisfied.","type":"object","properties":{"birth_event":{"$ref":"#/definitions/BC","description":"Event to run when this mob is created and matches the above allele conditions.","title":"Brith Event"},"both_allele":{"title":"Both Allele","default":-1,"description":"If this value is non-negative, compare both the mob's main and hidden alleles with this value for a match with both. Can also be a range of integers.","$ref":"#/definitions/BGE_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/BGE_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":[]}]},"BGF":{"additionalProperties":false,"description":"Defines sets of items that can be used to trigger events when used on this entity. The item will also be taken and placed in the entity's inventory.","type":"object","title":"Giveable","properties":{"triggers":{"description":"Defines sets of items that can be used to trigger events when used on this entity. The item will also be taken and placed in the entity's inventory.","title":"Triggers","type":"object","additionalProperties":false,"properties":{"cooldown":{"type":"number","default":0.0,"description":"An optional cool down in seconds to prevent spamming interactions.","title":"Cooldown"},"items":{"type":"array","title":"Properties","description":"The list of items that can be given to the entity to place in their inventory.","items":{"description":"An items that can be given to the entity to place in their inventory.","$ref":"#/definitions/J","title":"Properties"}},"on_give":{"$ref":"#/definitions/BC","description":"Event to fire when the correct item is given.","title":"On Give"}}}},"examples":[{"triggers":{}}]},"BGG":{"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}]},"BGH":{"type":"object","title":"Group Size","description":"Keeps track of entity group size in the given radius.","additionalProperties":false,"properties":{"filters":{"$ref":"#/definitions/BG","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}]},"BGI":{"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}]},"BGJ_effect":{"type":"object","properties":{"name":{"title":"Name","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"string"},"duration":{"type":"integer","default":0,"minimum":0,"description":"The duration of the effect.","$comment":"UNDOCUMENTED"},"amplifier":{"type":"integer","default":0,"minimum":0,"description":"The amplifier of the effect.","$comment":"UNDOCUMENTED"}}},"BGJ":{"description":"Defines the interactions with this entity for healing it.","type":"object","title":"Healable","additionalProperties":false,"required":[],"properties":{"filters":{"$ref":"#/definitions/BG"},"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/BG","description":"The filter group that defines the conditions for using this item to heal the entity."},"heal_amount":{"type":"integer","default":1,"description":"The amount of health this entity gains when fed this item.","title":"Heal Amount"},"item":{"$ref":"#/definitions/J","description":"Item that can be used to heal this entity.","title":"Item"},"effects":{"oneOf":[{"$ref":"#/definitions/BGJ_effect"},{"type":"array","items":{"$ref":"#/definitions/BGJ_effect"}}]}}}}},"examples":[{"force_use":false,"items":[]}]},"BHA":{"description":"Specifies how much life an entity has when spawned.","type":"object","title":"Health","additionalProperties":false,"required":[],"properties":{"max":{"type":"integer","description":"The maximum starting health an entity has.","title":"Maximum"},"value":{"description":"The amount of health an entity to start with by default.","title":"Value","oneOf":[{"type":"integer","default":1},{"type":"object","additionalProperties":false,"required":["range_min","range_max"],"properties":{"range_min":{"title":"Range Minimum","description":"The minimum amount of health this mob could have.","type":"integer"},"range_max":{"title":"Range Maximum","description":"The maximum amount of health this mob could have.","type":"integer"}}}]}},"examples":[{"value":1,"max":1}]},"BHB":{"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":[{}]},"BHC":{"type":"object","title":"Hide","description":"Compels an entity to move to and hide at their owned POI or the closest nearby.","additionalProperties":false,"properties":{}},"BHD":{"type":"object","title":"Home","description":"Saves a home pos for when the the entity is spawned.","additionalProperties":false,"properties":{"restriction_radius":{"title":"Restriction Radius","description":"The radius that the entity will be restricted to in relation to its home.","type":"integer","default":-1},"home_block_list":{"title":"Home Block List","description":"Optional block list that the home position will be associated with. If any of the blocks no longer exist at that position, the home restriction is removed. Example syntax: minecraft:sand. Not supported: minecraft:sand:1","type":"array","items":{"title":"Home Block","description":"Optional block that the home position will be associated with. If any of the blocks no longer exist at that position, the home restriction is removed. Example syntax: minecraft:sand. Not supported: minecraft:sand:1","type":"string","$ref":"#/definitions/BA"}}},"examples":[{"restriction_radius":-1,"home_block_list":[]}]},"BHE":{"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"}]}}},"BHF":{"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/BG"},"cause":{"type":"string","title":"Cause","description":"Damage cause.","$ref":"#/definitions/DD"},"damage_per_tick":{"type":"integer","title":"Damage Per Tick","description":"Amount of damage done each tick that the conditions are met."}}}}},"examples":[{"damage_conditions":[]}]},"BHG":{"type":"object","title":"Hurt When Wet","additionalProperties":false,"required":[],"properties":{},"description":"Specifies if an actor is hurt when wet."},"BHH":{"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":{}},"BHJ":{"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"}]}}}},"BHI":{"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/BHJ"},"entered_block_event":{"title":"Entered Block Event","description":"Event to run when this mob enters a valid block.","$comment":"UNDOCUMENTED","$ref":"#/definitions/BC"},"exited_block_event":{"title":"Exited Block Event","description":"Event to run when this mob leaves a valid block.","$comment":"UNDOCUMENTED","$ref":"#/definitions/BC"}}}}},"examples":[{"block_list":[]}]},"BIA":{"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}]},"BIB":{"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}]},"BIC_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/BFB","description":"File path, relative to the Behavior Pack's path, to the loot table file.","title":"Table"}}},"cooldown":{"title":"Cooldown","type":"number","default":0,"description":"Time in seconds before this entity can be interacted with again."},"admire":{"title":"Admire","type":"boolean","default":false,"description":"Allows entity to admire the item. Requires \"minecraft:admire_item\" and \"minecraft:behavior.admire_item\" to work.","$comment":"UNDOCUMENTED"},"barter":{"title":"Barter","type":"boolean","default":false,"description":"Allows entity to barter with the item. Requires \"minecraft:barter\" to work.","$comment":"UNDOCUMENTED"},"cooldown_after_being_attacked":{"title":"Cooldown After Being Attacked","type":"number","default":0,"description":"Time in seconds before this entity can be interacted with after being attacked."},"health_amount":{"title":"Health Amount","type":"integer","default":0,"description":"The amount of health this entity will recover or hurt when interacting with this item. Negative values will harm the entity."},"hurt_item":{"title":"Hurt Item","type":"integer","default":0,"description":"The amount of damage the item will take when used to interact with this entity. A value of 0 means the item won't lose durability."},"interact_text":{"title":"Interact Text","type":"string","default":"","description":"Text to show when the player is able to interact in this way with this entity when playing with Touch-screen controls."},"on_interact":{"title":"On Interact","$ref":"#/definitions/BAI","description":"Event to fire when the interaction occurs."},"particle_on_start":{"title":"Particle On Start","type":"object","description":"Particle effect that will be triggered at the start of the interaction.","properties":{"particle_offset_towards_interactor":{"type":"boolean","description":"Whether or not the particle will appear closer to who performed the interaction.","title":"Particle Offset Towards Interactor"},"particle_type":{"type":"string","description":"The type of particle that will be spawned.","title":"Particle Type"},"particle_y_offset":{"type":"number","description":"Will offset the particle this amount in the y direction.","title":"Particle Y Offset"}}},"play_sounds":{"title":"Play Sounds","$ref":"#/definitions/BE","default":"","description":"List of sounds to play when the interaction occurs."},"spawn_entities":{"title":"Spawn Entities","type":"string","default":"","description":"List of entities to spawn when the interaction occurs."},"spawn_items":{"type":"object","description":"Loot table with items to drop on the ground upon successful interaction.","title":"Spawn Items","additionalProperties":false,"properties":{"table":{"type":"string","$ref":"#/definitions/BFB","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."}}},"BIC":{"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/BIC_interaction_spec"},{"type":"array","items":{"$ref":"#/definitions/BIC_interaction_spec"}}]}}},"BID":{"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}]},"BIE":{"description":"Sets that this entity is a baby.","type":"object","title":"Is Baby","additionalProperties":false,"required":[],"properties":{}},"BIF":{"description":"Sets that this entity is charged.","type":"object","title":"Is Charged","additionalProperties":false,"required":[],"properties":{}},"BIG":{"description":"Sets that this entity is currently carrying a chest.","type":"object","title":"Is Chested","additionalProperties":false,"required":[],"properties":{}},"BIH":{"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"}]},"BII":{"type":"object","title":"Is Hidden When Invisible","additionalProperties":false,"description":"Sets that this entity can hide from hostile mobs while invisible."},"BIJ":{"description":"Sets that this entity is currently on fire.","type":"object","title":"Is Ignited","additionalProperties":false,"required":[],"properties":{}},"BJA":{"description":"Sets that this entity is an illager captain.","type":"object","title":"Is Illager Captain","additionalProperties":false,"required":[],"properties":{}},"BJB":{"description":"Sets that this entity is currently saddled.","type":"object","title":"Is Saddled","additionalProperties":false,"required":[],"properties":{}},"BJC":{"description":"Sets that this entity is currently shaking.","type":"object","title":"Is Shaking","additionalProperties":false,"required":[],"properties":{}},"BJD":{"description":"Sets that this entity is currently sheared.","type":"object","title":"Is Sheared","additionalProperties":false,"required":[],"properties":{}},"BJE":{"description":"Sets that this entity can be stacked.","type":"object","title":"Is Stackable","additionalProperties":false,"properties":{"value":{"title":"Value","description":"UNDOCUMENTED.","type":"boolean"}}},"BJF":{"description":"Sets that this entity is currently stunned.","type":"object","title":"Is Stunned","additionalProperties":false,"required":[],"properties":{}},"BJG":{"description":"Sets that this entity is currently tamed.","type":"object","title":"Is Tamed","additionalProperties":false,"required":[],"properties":{}},"BJH":{"description":"Efines what items can be used to control this entity while ridden.","type":"object","title":"Item Controllable","additionalProperties":false,"required":[],"properties":{"control_items":{"description":"List of items that can be used to control this entity.","oneOf":[{"type":"array","items":{"type":"string","description":"An item that can be used to control this entity.","title":"Item"}},{"type":"string"}],"title":"Control Items"}}},"BJI":{"type":"object","title":"Item Hopper","additionalProperties":false,"required":[],"properties":{},"description":"Determines that this entity is an item hopper."},"BJJ":{"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":{}},"CAA":{"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}]},"CAB":{"type":"object","title":"Knockback Resistance","description":"Allows an entity to resist being knocked backwards by a melee attack.","required":[],"additionalProperties":false,"properties":{"value":{"title":"Value","type":"number","default":1.0,"description":"Percentage of knockback to reduce with 1.0 being 100% reduction."},"maximum":{"title":"Maximum","type":"number","default":1.0,"description":"The maximum amount of knockback resistance that can be applied to the entity."}},"examples":[{"value":1.0},{"value":100,"maximum":100}]},"CAC":{"description":"Allows a custom movement speed across lava blocks.","type":"object","title":"Lava Movement","additionalProperties":false,"required":[],"properties":{"value":{"type":"number","title":"Value","description":"The speed a strider moves over a lava block."}},"examples":[{"value":0.32}]},"CAD":{"type":"object","title":"Leashable","description":"Allows this entity to be leashed and defines the conditions and events for this entity when is leashed.","additionalProperties":false,"properties":{"can_be_stolen":{"type":"boolean","default":false,"description":"If true, players can leash this entity even if it is already leashed to another mob.","title":"Can Be Stolen"},"hard_distance":{"type":"number","default":6,"description":"Distance in blocks at which the leash stiffens, restricting movement.","title":"Hard Distance"},"max_distance":{"type":"number","default":10,"description":"Distance in blocks at which the leash breaks.","title":"Maximum Distance"},"on_leash":{"$ref":"#/definitions/BC","description":"Event to call when this entity is leashed.","title":"On Leash"},"on_unleash":{"$ref":"#/definitions/BC","description":"Event to call when this entity is unleashed.","title":"On Unleash"},"soft_distance":{"type":"number","default":4,"description":"Distance in blocks at which the `spring` effect starts acting to keep this entity close to the entity that leashed it.","title":"Soft Distance"}},"examples":[{"can_be_stolen":false,"hard_distance":6,"max_distance":10,"soft_distance":4}]},"CAE":{"description":"Defines the behavior when another entity looks at this entity.","type":"object","title":"Lookat","additionalProperties":false,"properties":{"allow_invulnerable":{"type":"boolean","default":false,"description":"If true, invulnerable entities (e.g. Players in creative mode) are considered valid targets.","title":"Allow Invulnerable"},"filters":{"$ref":"#/definitions/BG","description":"Defines the entities that can trigger this component.","title":"Filters"},"look_cooldown":{"$ref":"#/definitions/BBB","default":[0.0,0.0],"description":"The range for the random amount of time during which the entity is `cooling down` and won't get angered or look for a target.","title":"Look Cooldown"},"look_event":{"description":"The event identifier to run when the entities specified in filters look at this entity.","title":"Look Event","$ref":"#/definitions/BC"},"search_radius":{"type":"number","default":10,"description":"Maximum distance this entity will look for another entity looking at it.","title":"Search Radius"},"set_target":{"type":"boolean","default":true,"description":"If true, this entity will set the attack target as the entity that looked at it.","title":"Set Target"}},"examples":[{"allow_invulnerable":false,"search_radius":10,"set_target":true}]},"CAF":{"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"}}},"CAG":{"type":"object","title":"Managed Wandering Trader","additionalProperties":false,"required":[],"properties":{},"description":"This component is used to implement part of the Wandering Trader behavior."},"CAH":{"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}]},"CAI":{"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/BG","title":"Entity Filter","description":"Filter to use for conditions."},"mob_effect":{"title":"Mob Effect","type":"string","default":"","description":"The mob effect that is applied to entities that enter this entities effect range."}},"examples":[{"effect_range":0.2,"effect_time":10,"mob_effect":""}]},"CAJ":{"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}]},"CBA":{"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}]},"CBB":{"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}]},"CBC":{"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}]},"CBD":{"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}]},"CBE":{"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}]},"CBF":{"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}]},"CBG":{"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}]},"CBH":{"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}]},"CBI":{"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}]},"CBJ":{"type":"object","title":"Movement","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","additionalProperties":false,"required":[],"properties":{"value":{"title":"Value","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","oneOf":[{"type":"array","items":[{"type":"number","title":"Maximum"},{"type":"number","title":"Maximum"}]},{"type":"number"},{"type":"object","additionalProperties":false,"title":"Range","properties":{"range_min":{"type":"number","title":"Range Minimum"},"range_max":{"type":"number","title":"Range Maximum"}}}]},"max":{"type":"number","title":"Maximum","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"}},"examples":[{"max":0.0}]},"CCA_name_action":{"type":"object","additionalProperties":false,"description":"Describes the special names for this entity and the events to call when the entity acquires those names.","title":"Name Action","properties":{"name_filter":{"type":"string","default":"","description":"List of special names that will cause the events defined in `on_named` to fire.","title":"Name Filter"},"on_named":{"$ref":"#/definitions/BC","description":"Event to be called when this entity acquires the name specified in `name_filter'.","title":"On Named"}}},"CCA":{"type":"object","title":"Nameable","additionalProperties":false,"description":"Allows this entity to be named (e.g. using a name tag).","properties":{"allow_name_tag_renaming":{"type":"boolean","default":true,"description":"If true, this entity can be renamed with name tags.","title":"Allow Name Tag Renaming"},"always_show":{"type":"boolean","default":false,"description":"If true, the name will always be shown.","title":"Always Show"},"default_trigger":{"$ref":"#/definitions/BAI","description":"Trigger to run when the entity gets named.","title":"Default Trigger"},"name_actions":{"title":"Name Actions","description":"Describes the special names for this entity and the events to call when the entity acquires those names.","oneOf":[{"type":"array","items":{"$ref":"#/definitions/CCA_name_action"}},{"type":"object","$ref":"#/definitions/CCA_name_action"}]}},"examples":[{"allow_name_tag_renaming":true,"always_show":false}]},"CCB":{"title":"Navigation Climb","description":"Allows this entity to generate paths that include vertical walls like the vanilla Spiders do.","type":"object","additionalProperties":false,"properties":{"avoid_damage_blocks":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid blocks that cause damage when finding a path.","title":"Avoid Damage Blocks"},"avoid_portals":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid portals (like nether portals) when finding a path.","title":"Avoid Portals"},"avoid_sun":{"type":"boolean","default":false,"description":"Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths.","title":"Avoid Sun"},"avoid_water":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid water when creating a path.","title":"Avoid Water"},"blocks_to_avoid":{"type":"array","description":"Tells the pathfinder which blocks to avoid when creating a path.","title":"Blocks To Avoid","items":{"title":"Block","description":"Tells the pathfinder which blocks to avoid when creating a path.","$ref":"#/definitions/BCC"}},"can_breach":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can jump out of water (like a dolphin).","title":"Can Breach"},"can_break_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door and break it.","title":"Can Break Doors"},"can_jump":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can jump up blocks.","title":"Can Jump"},"can_open_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door assuming the AI will open the door.","title":"Can Open Doors"},"can_open_iron_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door.","title":"Can Open Iron Doors"},"can_pass_doors":{"type":"boolean","default":true,"description":"Whether a path can be created through a door.","title":"Can Pass Doors"},"can_path_from_air":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can start pathing when in the air.","title":"Can Path From Air"},"can_path_over_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the lava.","title":"Can Path Over Lava"},"can_path_over_water":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the water.","title":"Can Path Over Water"},"can_sink":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it will be pulled down by gravity while in water.","title":"Can Sink"},"can_swim":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path.","title":"Can Swim"},"can_walk":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can walk on the ground outside water.","title":"Can Walk"},"can_walk_in_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel in lava like walking on ground.","title":"Can Walk In Lava"},"is_amphibious":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can walk on the ground underwater.","title":"Is Amphibious"}},"examples":[{},{"avoid_damage_blocks":true,"can_pass_doors":true,"can_jump":true},{"avoid_damage_blocks":false,"avoid_portals":false,"avoid_sun":false,"avoid_water":false,"blocks_to_avoid":[],"can_breach":false,"can_break_doors":false,"can_jump":true,"can_open_doors":false,"can_open_iron_doors":false,"can_pass_doors":true,"can_path_from_air":false,"can_path_over_lava":false,"can_path_over_water":false,"can_sink":true,"can_swim":false,"can_walk":true,"can_walk_in_lava":false,"is_amphibious":false}]},"CCC":{"title":"Navigation Float","description":"Allows this entity to generate paths by flying around the air like the regular Ghast.","type":"object","additionalProperties":false,"properties":{"avoid_damage_blocks":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid blocks that cause damage when finding a path.","title":"Avoid Damage Blocks"},"avoid_portals":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid portals (like nether portals) when finding a path.","title":"Avoid Portals"},"avoid_sun":{"type":"boolean","default":false,"description":"Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths.","title":"Avoid Sun"},"avoid_water":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid water when creating a path.","title":"Avoid Water"},"blocks_to_avoid":{"type":"array","description":"Tells the pathfinder which blocks to avoid when creating a path.","title":"Blocks To Avoid","items":{"title":"Block","description":"Tells the pathfinder which blocks to avoid when creating a path.","$ref":"#/definitions/BCC"}},"can_breach":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can jump out of water (like a dolphin).","title":"Can Breach"},"can_break_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door and break it.","title":"Can Break Doors"},"can_jump":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can jump up blocks.","title":"Can Jump"},"can_open_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door assuming the AI will open the door.","title":"Can Open Doors"},"can_open_iron_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door.","title":"Can Open Iron Doors"},"can_pass_doors":{"type":"boolean","default":true,"description":"Whether a path can be created through a door.","title":"Can Pass Doors"},"can_path_from_air":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can start pathing when in the air.","title":"Can Path From Air"},"can_path_over_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the lava.","title":"Can Path Over Lava"},"can_path_over_water":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the water.","title":"Can Path Over Water"},"can_sink":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it will be pulled down by gravity while in water.","title":"Can Sink"},"can_swim":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path.","title":"Can Swim"},"can_walk":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can walk on the ground outside water.","title":"Can Walk"},"can_walk_in_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel in lava like walking on ground.","title":"Can Walk In Lava"},"is_amphibious":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can walk on the ground underwater.","title":"Is Amphibious"}},"examples":[{},{"avoid_damage_blocks":true,"can_pass_doors":true,"can_jump":true},{"avoid_damage_blocks":false,"avoid_portals":false,"avoid_sun":false,"avoid_water":false,"blocks_to_avoid":[],"can_breach":false,"can_break_doors":false,"can_jump":true,"can_open_doors":false,"can_open_iron_doors":false,"can_pass_doors":true,"can_path_from_air":false,"can_path_over_lava":false,"can_path_over_water":false,"can_sink":true,"can_swim":false,"can_walk":true,"can_walk_in_lava":false,"is_amphibious":false}]},"CCD":{"title":"Navigation Fly","description":"Allows this entity to generate paths in the air like the vanilla Parrots do.","type":"object","additionalProperties":false,"properties":{"avoid_damage_blocks":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid blocks that cause damage when finding a path.","title":"Avoid Damage Blocks"},"avoid_portals":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid portals (like nether portals) when finding a path.","title":"Avoid Portals"},"avoid_sun":{"type":"boolean","default":false,"description":"Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths.","title":"Avoid Sun"},"avoid_water":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid water when creating a path.","title":"Avoid Water"},"blocks_to_avoid":{"type":"array","description":"Tells the pathfinder which blocks to avoid when creating a path.","title":"Blocks To Avoid","items":{"title":"Block","description":"Tells the pathfinder which blocks to avoid when creating a path.","$ref":"#/definitions/BCC"}},"can_breach":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can jump out of water (like a dolphin).","title":"Can Breach"},"can_break_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door and break it.","title":"Can Break Doors"},"can_jump":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can jump up blocks.","title":"Can Jump"},"can_open_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door assuming the AI will open the door.","title":"Can Open Doors"},"can_open_iron_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door.","title":"Can Open Iron Doors"},"can_pass_doors":{"type":"boolean","default":true,"description":"Whether a path can be created through a door.","title":"Can Pass Doors"},"can_path_from_air":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can start pathing when in the air.","title":"Can Path From Air"},"can_path_over_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the lava.","title":"Can Path Over Lava"},"can_path_over_water":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the water.","title":"Can Path Over Water"},"can_sink":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it will be pulled down by gravity while in water.","title":"Can Sink"},"can_swim":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path.","title":"Can Swim"},"can_walk":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can walk on the ground outside water.","title":"Can Walk"},"can_walk_in_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel in lava like walking on ground.","title":"Can Walk In Lava"},"is_amphibious":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can walk on the ground underwater.","title":"Is Amphibious"}},"examples":[{},{"avoid_damage_blocks":true,"can_pass_doors":true,"can_jump":true},{"avoid_damage_blocks":false,"avoid_portals":false,"avoid_sun":false,"avoid_water":false,"blocks_to_avoid":[],"can_breach":false,"can_break_doors":false,"can_jump":true,"can_open_doors":false,"can_open_iron_doors":false,"can_pass_doors":true,"can_path_from_air":false,"can_path_over_lava":false,"can_path_over_water":false,"can_sink":true,"can_swim":false,"can_walk":true,"can_walk_in_lava":false,"is_amphibious":false}]},"CCE":{"title":"Navigation Generic","description":"Allows this entity to generate paths by walking, swimming, flying and/or climbing around and jumping up and down a block.","type":"object","additionalProperties":false,"properties":{"avoid_damage_blocks":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid blocks that cause damage when finding a path.","title":"Avoid Damage Blocks"},"avoid_portals":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid portals (like nether portals) when finding a path.","title":"Avoid Portals"},"avoid_sun":{"type":"boolean","default":false,"description":"Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths.","title":"Avoid Sun"},"avoid_water":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid water when creating a path.","title":"Avoid Water"},"blocks_to_avoid":{"type":"array","description":"Tells the pathfinder which blocks to avoid when creating a path.","title":"Blocks To Avoid","items":{"title":"Block","description":"Tells the pathfinder which blocks to avoid when creating a path.","$ref":"#/definitions/BCC"}},"can_breach":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can jump out of water (like a dolphin).","title":"Can Breach"},"can_break_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door and break it.","title":"Can Break Doors"},"can_jump":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can jump up blocks.","title":"Can Jump"},"can_open_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door assuming the AI will open the door.","title":"Can Open Doors"},"can_open_iron_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door.","title":"Can Open Iron Doors"},"can_pass_doors":{"type":"boolean","default":true,"description":"Whether a path can be created through a door.","title":"Can Pass Doors"},"can_path_from_air":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can start pathing when in the air.","title":"Can Path From Air"},"can_path_over_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the lava.","title":"Can Path Over Lava"},"can_path_over_water":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the water.","title":"Can Path Over Water"},"can_sink":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it will be pulled down by gravity while in water.","title":"Can Sink"},"can_swim":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path.","title":"Can Swim"},"can_walk":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can walk on the ground outside water.","title":"Can Walk"},"can_walk_in_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel in lava like walking on ground.","title":"Can Walk In Lava"},"is_amphibious":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can walk on the ground underwater.","title":"Is Amphibious"}},"examples":[{},{"avoid_damage_blocks":true,"can_pass_doors":true,"can_jump":true},{"avoid_damage_blocks":false,"avoid_portals":false,"avoid_sun":false,"avoid_water":false,"blocks_to_avoid":[],"can_breach":false,"can_break_doors":false,"can_jump":true,"can_open_doors":false,"can_open_iron_doors":false,"can_pass_doors":true,"can_path_from_air":false,"can_path_over_lava":false,"can_path_over_water":false,"can_sink":true,"can_swim":false,"can_walk":true,"can_walk_in_lava":false,"is_amphibious":false}]},"CCF":{"title":"Navigation Hover","description":"Allows this entity to generate paths in the air like the vanilla Bees do. Keeps them from falling out of the skies and doing predictive movement.","type":"object","additionalProperties":false,"properties":{"avoid_damage_blocks":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid blocks that cause damage when finding a path.","title":"Avoid Damage Blocks"},"avoid_portals":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid portals (like nether portals) when finding a path.","title":"Avoid Portals"},"avoid_sun":{"type":"boolean","default":false,"description":"Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths.","title":"Avoid Sun"},"avoid_water":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid water when creating a path.","title":"Avoid Water"},"blocks_to_avoid":{"type":"array","description":"Tells the pathfinder which blocks to avoid when creating a path.","title":"Blocks To Avoid","items":{"title":"Block","description":"Tells the pathfinder which blocks to avoid when creating a path.","$ref":"#/definitions/BCC"}},"can_breach":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can jump out of water (like a dolphin).","title":"Can Breach"},"can_break_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door and break it.","title":"Can Break Doors"},"can_jump":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can jump up blocks.","title":"Can Jump"},"can_open_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door assuming the AI will open the door.","title":"Can Open Doors"},"can_open_iron_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door.","title":"Can Open Iron Doors"},"can_pass_doors":{"type":"boolean","default":true,"description":"Whether a path can be created through a door.","title":"Can Pass Doors"},"can_path_from_air":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can start pathing when in the air.","title":"Can Path From Air"},"can_path_over_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the lava.","title":"Can Path Over Lava"},"can_path_over_water":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the water.","title":"Can Path Over Water"},"can_sink":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it will be pulled down by gravity while in water.","title":"Can Sink"},"can_swim":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path.","title":"Can Swim"},"can_walk":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can walk on the ground outside water.","title":"Can Walk"},"can_walk_in_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel in lava like walking on ground.","title":"Can Walk In Lava"},"is_amphibious":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can walk on the ground underwater.","title":"Is Amphibious"}},"examples":[{},{"avoid_damage_blocks":true,"can_pass_doors":true,"can_jump":true},{"avoid_damage_blocks":false,"avoid_portals":false,"avoid_sun":false,"avoid_water":false,"blocks_to_avoid":[],"can_breach":false,"can_break_doors":false,"can_jump":true,"can_open_doors":false,"can_open_iron_doors":false,"can_pass_doors":true,"can_path_from_air":false,"can_path_over_lava":false,"can_path_over_water":false,"can_sink":true,"can_swim":false,"can_walk":true,"can_walk_in_lava":false,"is_amphibious":false}]},"CCG":{"title":"Navigation Swim","description":"Allows this entity to generate paths that include water.","type":"object","additionalProperties":false,"properties":{"avoid_damage_blocks":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid blocks that cause damage when finding a path.","title":"Avoid Damage Blocks"},"avoid_portals":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid portals (like nether portals) when finding a path.","title":"Avoid Portals"},"avoid_sun":{"type":"boolean","default":false,"description":"Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths.","title":"Avoid Sun"},"avoid_water":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid water when creating a path.","title":"Avoid Water"},"blocks_to_avoid":{"type":"array","description":"Tells the pathfinder which blocks to avoid when creating a path.","title":"Blocks To Avoid","items":{"title":"Block","description":"Tells the pathfinder which blocks to avoid when creating a path.","$ref":"#/definitions/BCC"}},"can_breach":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can jump out of water (like a dolphin).","title":"Can Breach"},"can_break_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door and break it.","title":"Can Break Doors"},"can_jump":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can jump up blocks.","title":"Can Jump"},"can_open_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door assuming the AI will open the door.","title":"Can Open Doors"},"can_open_iron_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door.","title":"Can Open Iron Doors"},"can_pass_doors":{"type":"boolean","default":true,"description":"Whether a path can be created through a door.","title":"Can Pass Doors"},"can_path_from_air":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can start pathing when in the air.","title":"Can Path From Air"},"can_path_over_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the lava.","title":"Can Path Over Lava"},"can_path_over_water":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the water.","title":"Can Path Over Water"},"can_sink":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it will be pulled down by gravity while in water.","title":"Can Sink"},"can_swim":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path.","title":"Can Swim"},"can_walk":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can walk on the ground outside water.","title":"Can Walk"},"can_walk_in_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel in lava like walking on ground.","title":"Can Walk In Lava"},"is_amphibious":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can walk on the ground underwater.","title":"Is Amphibious"}},"examples":[{},{"avoid_damage_blocks":true,"can_pass_doors":true,"can_jump":true},{"avoid_damage_blocks":false,"avoid_portals":false,"avoid_sun":false,"avoid_water":false,"blocks_to_avoid":[],"can_breach":false,"can_break_doors":false,"can_jump":true,"can_open_doors":false,"can_open_iron_doors":false,"can_pass_doors":true,"can_path_from_air":false,"can_path_over_lava":false,"can_path_over_water":false,"can_sink":true,"can_swim":false,"can_walk":true,"can_walk_in_lava":false,"is_amphibious":false}]},"CCH":{"title":"Navigation Walk","description":"Allows this entity to generate paths by walking around and jumping up and down a block like regular mobs.","type":"object","additionalProperties":false,"properties":{"avoid_damage_blocks":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid blocks that cause damage when finding a path.","title":"Avoid Damage Blocks"},"avoid_portals":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid portals (like nether portals) when finding a path.","title":"Avoid Portals"},"avoid_sun":{"type":"boolean","default":false,"description":"Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths.","title":"Avoid Sun"},"avoid_water":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid water when creating a path.","title":"Avoid Water"},"blocks_to_avoid":{"type":"array","description":"Tells the pathfinder which blocks to avoid when creating a path.","title":"Blocks To Avoid","items":{"title":"Block","description":"Tells the pathfinder which blocks to avoid when creating a path.","$ref":"#/definitions/BCC"}},"can_breach":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can jump out of water (like a dolphin).","title":"Can Breach"},"can_break_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door and break it.","title":"Can Break Doors"},"can_jump":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can jump up blocks.","title":"Can Jump"},"can_float":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it float.","title":"Can Jump"},"can_open_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door assuming the AI will open the door.","title":"Can Open Doors"},"can_open_iron_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door.","title":"Can Open Iron Doors"},"can_pass_doors":{"type":"boolean","default":true,"description":"Whether a path can be created through a door.","title":"Can Pass Doors"},"can_path_from_air":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can start pathing when in the air.","title":"Can Path From Air"},"can_path_over_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the lava.","title":"Can Path Over Lava"},"can_path_over_water":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the water.","title":"Can Path Over Water"},"can_sink":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it will be pulled down by gravity while in water.","title":"Can Sink"},"can_swim":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path.","title":"Can Swim"},"can_walk":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can walk on the ground outside water.","title":"Can Walk"},"can_walk_in_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel in lava like walking on ground.","title":"Can Walk In Lava"},"is_amphibious":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can walk on the ground underwater.","title":"Is Amphibious"}},"examples":[{},{"avoid_damage_blocks":true,"can_pass_doors":true,"can_jump":true},{"avoid_damage_blocks":false,"avoid_portals":false,"avoid_sun":false,"avoid_water":false,"blocks_to_avoid":[],"can_breach":false,"can_break_doors":false,"can_jump":true,"can_open_doors":false,"can_open_iron_doors":false,"can_pass_doors":true,"can_path_from_air":false,"can_path_over_lava":false,"can_path_over_water":false,"can_sink":true,"can_swim":false,"can_walk":true,"can_walk_in_lava":false,"is_amphibious":false}]},"CCI_rangeXYZ":{"type":"array","items":[{"type":"number","title":"X"},{"type":"number","title":"Y"},{"type":"number","title":"Z"}]},"CCI":{"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/CCI_rangeXYZ","title":"Translate","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"scale":{"$ref":"#/definitions/CCI_rangeXYZ","title":"Scale","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"}}},"picker_offsets":{"type":"object","title":"Picker Offsets","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","additionalProperties":false,"properties":{"translate":{"$ref":"#/definitions/CCI_rangeXYZ","title":"Translate","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"scale":{"$ref":"#/definitions/CCI_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":{}}]},"CCJ":{"description":"Adds a trigger to call on this entity's death. minecraft:on_death can only be used by the `ender_dragon` entity.","title":"On Death","$ref":"#/definitions/BAI"},"CDA":{"description":"Adds a trigger that will run when a nearby entity of the same type as this entity becomes Angry.","title":"On Friendly Anger","$ref":"#/definitions/BAI"},"CDB":{"description":"Adds a trigger to call when this entity is attacked by the player.","title":"On Hurt By Player","$ref":"#/definitions/BAI"},"CDC":{"description":"Adds a trigger to call when this entity takes damage.","title":"On Hurt","$ref":"#/definitions/BAI"},"CDD":{"description":"Adds a trigger to call when this entity is set on fire.","title":"On Ignite","$ref":"#/definitions/BAI"},"CDE":{"description":"Only usable by the Ender Dragon. Adds a trigger to call when this entity lands.","title":"On Start Landing","$ref":"#/definitions/BAI"},"CDF":{"description":"Only usable by the Ender Dragon. Adds a trigger to call when this entity starts flying.","title":"On Start Takeoff","$ref":"#/definitions/BAI"},"CDG":{"description":"Adds a trigger to call when this entity finds a target.","title":"On Target Acquired","$ref":"#/definitions/BAI"},"CDH":{"description":"Adds a trigger to call when this entity loses the target it currently has.","title":"On Target Escape","$ref":"#/definitions/BAI"},"CDI":{"description":"Adds a trigger to call when this pet's owner awakes after sleeping with the pet.","title":"On Wake With Owner","$ref":"#/definitions/BAI"},"CDJ":{"type":"object","title":"Out Of Control","additionalProperties":false,"description":"defines the entity's `out of control` state.","required":[],"properties":{}},"CEA":{"description":"Defines the entity's `peek` behavior, defining the events that should be called during it.","type":"object","title":"Peek","additionalProperties":false,"required":[],"properties":{"on_close":{"$ref":"#/definitions/BC","description":"Event to call when the entity is done peeking.","title":"On Close"},"on_open":{"$ref":"#/definitions/BC","description":"Event to call when the entity starts peeking.","title":"On Open"},"on_target_open":{"$ref":"#/definitions/BC","description":"Event to call when the entity's target entity starts peeking.","title":"On Target Open"}}},"CEB":{"description":"Defines whether an entity should be persistent in the game world.","type":"object","title":"Persistent","additionalProperties":false,"required":[],"properties":{}},"CEC":{"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}]},"CED":{"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}]},"CEE":{"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}]},"CEF":{"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}]},"CEG":{"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}]},"CEH":{"type":"object","title":"Preferred Path","description":"Specifies costing information for mobs that prefer to walk on preferred paths.","additionalProperties":false,"properties":{"default_block_cost":{"type":"number","default":0,"description":"Cost for non-preferred blocks.","title":"Default Block Cost"},"jump_cost":{"type":"integer","default":0,"description":"Added cost for jumping up a node.","title":"Jump Cost"},"max_fall_blocks":{"type":"integer","default":3,"description":"Distance mob can fall without taking damage.","title":"Maximum Fall Blocks"},"preferred_path_blocks":{"type":"array","title":"Preferred Path Blocks","description":"A list of blocks with their associated cost.","items":{"additionalProperties":false,"type":"object","description":"Blocks cost.","properties":{"cost":{"type":"number"},"blocks":{"type":"array","items":{"$ref":"#/definitions/BCC"}}}}}},"examples":[{"default_block_cost":0,"jump_cost":0,"max_fall_blocks":3,"preferred_path_blocks":[]}]},"CEJ":{"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"]}]},"CFA":{"title":"Event","description":"Minecraft behavior event.","examples":["example:foo",{"event":"example:foo","target":"self"}],"defaultSnippets":[{"label":"New Event","body":"^\"$1\""}],"oneOf":[{"type":"string","pattern":"^[a-zA-Z0-9_\\-:]+$","description":"The event to fire."},{"type":"object","properties":{"event":{"type":"string","pattern":"^[a-zA-Z0-9_\\-:]+$","description":"The event to fire.","title":"Event"},"target":{"type":"string","description":"The target of the event.","title":"Target","enum":["baby","block","damager","other","parent","player","self","target"]}}}]},"CEI":{"type":"object","title":"Projectile","description":"Allows the entity to be a thrown entity.","additionalProperties":false,"properties":{"anchor":{"type":"integer","description":"Allows you to choose an anchor point for where the projectile is fired from. 0 = Original point, 1 = EyeHeight, and 2 = Middle or body height.","title":"Anchor","default":0},"angle_offset":{"type":"number","default":0,"description":"Alters the angle at which a projectile is vertically shot. Many splash potions in the game use this to offset their angles by -20 degrees.","title":"Angle Offset"},"catch_fire":{"type":"boolean","default":false,"description":"If true, the entity hit will be set on fire.","title":"Catch Fire"},"crit_particle_on_hurt":{"type":"boolean","default":false,"description":"If true, when a projectile deals damage, whether or not to spawn in the critical damage particles.","title":"Crit Particle On Hurt"},"destroy_on_hurt":{"type":"boolean","default":false,"description":"When this projectile deals damage, whether or not to immediately destroy this projectile.","title":"Destroy On Hurt"},"filter":{"type":"string","default":"","description":"Entity Definitions defined here can't be hurt by the projectile.","title":"Filter"},"fire_affected_by_griefing":{"type":"boolean","default":false,"description":"If true, whether the projectile causes fire is affected by the mob griefing game rule.","title":"Fire Affected By Griefing"},"gravity":{"type":"number","default":0.05,"description":"The gravity applied to this entity when thrown. When this actor is not on the ground, subtracts this amount from the actors change in vertical position every tick. The higher the value, the faster the entity falls.","title":"Gravity"},"hit_ground_sound":{"$ref":"#/definitions/BE","default":"","description":"The sound that plays when the projectile hits the ground.","title":"Hit Ground Sound"},"hit_sound":{"$ref":"#/definitions/BE","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/CEJ"},"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/CFA"},"splash_area":{"title":"Splash Area","type":"number","default":0.0,"description":"The splash area that will be affected."}}},"douse_fire":{"title":"Douse Fire","type":"boolean","default":false,"description":"If the target is on fire, then douse hte fire."},"freeze_on_hit":{"title":"Freeze On Hit","type":"object","description":"An area of entities that is frozen to block on hits. Has shape of either sphere or cube, snap_to_block boolean ,and size decimal properties.","additionalProperties":false,"properties":{"shape":{"enum":["sphere","cube"],"default":"sphere","description":"The shape of the area that is frozen.","title":"Shape"},"snap_to_block":{"type":"boolean","default":false,"description":"If true, the area will snap to the nearest block.","title":"Snap To Block"},"size":{"type":"number","default":0.0,"description":"The size of the area that is frozen.","title":"Size"}}},"grant_xp":{"title":"Grant XP","type":"object","description":"Grants XP on hit. Has minXP for minimum XP granted, maxXp for maximum, or simply flat xp properties.","additionalProperties":false,"properties":{"minXP":{"title":"Min XP","type":"number","default":0,"description":"The minimum XP granted."},"maxXP":{"title":"Max XP","type":"number","default":0,"description":"The maximum XP granted."}}},"hurt_owner":{"title":"Hurt Owner","type":"object","description":"Determines if the owner of the entity is hurt on hit. Contains decimal owner_damage, knockback boolean, and ignite boolean.","additionalProperties":false,"properties":{"owner_damage":{"title":"Owner Damage","type":"number","default":0,"description":"The amount of damage the owner will take."},"knockback":{"title":"Knockback","type":"boolean","default":false,"description":"If true, the owner will be knocked back."},"ignite":{"title":"Ignite","type":"boolean","default":false,"description":"If true, the owner will be set on fire."}}},"ignite":{"title":"Ignite","type":"boolean","default":false,"description":"Determines if a fire may be started on a flammable target."},"impact_damage":{"title":"Impact Damage","type":"object","description":"Defines the damage that an entity may receive on being hit by this projectile. See the table below for all impact_damage parameters.","additionalProperties":false,"properties":{"catch_fire":{"title":"Catch Fire","type":"boolean","default":false,"description":"Determines if the struck object is set on fire."},"channeling":{"title":"Channeling","type":"boolean","default":true,"description":"Whether lightning can be channeled through hte weapon."},"damage":{"title":"Damage","type":"number","default":1,"description":"The damage dealt on impact."},"destroy_on_hit":{"title":"Destroy On Hit","type":"boolean","default":false,"description":"Projectile is removed on hit."},"destroy_on_hit_requires_damage":{"title":"Destroy On Hit Requires Damage","type":"boolean","default":true,"description":"If true, then the hit must cause damage to destroy the projectile."},"filter":{"title":"Filter","type":"string","default":"not set","description":"The identifier of an entity that can be hit."},"knockback":{"title":"Knockback","type":"boolean","default":true,"description":"If true, the projectile will knock back the entity it hits."},"max_critical_damage":{"title":"Max Critical Damage","type":"integer","description":"Maximum critical damage."},"min_critical_damage":{"title":"Min Critical Damage","type":"integer","default":0,"description":"Minimum critical damage."},"power_multiplier":{"title":"Power Multiplier","type":"number","default":2.0,"description":"How much the base damage is multiplied."},"semi_random_diff_damage":{"title":"Semi Random Diff Damage","type":"boolean","default":false,"description":"If true, damage will be randomized based on damage and speed."},"set_last_hurt_requires_damage":{"title":"Set Last Hurt Requires Damage","type":"boolean","default":false,"description":"If true, then the hit must cause damage to update the last hurt property."}}},"mob_effect":{"title":"Mob Effect","type":"object","description":"The target receives a mob effect. See the table below for all mob_effect parameters.","additionalProperties":false,"properties":{"ambient":{"title":"Ambient","type":"boolean","default":false,"description":"If true, a mob will spawn that is not hostile, like the bat entity in Minecraft."},"amplifier":{"title":"Amplifier","type":"integer","default":1,"description":"The multiplier of the amplification of this effect."},"duration":{"title":"Duration","type":"integer","default":1,"description":"The effect's duration."},"durationeasy":{"title":"Duration Easy","type":"integer","default":0,"description":"The effect's duration on easy mode."},"durationhard":{"title":"Duration Hard","type":"integer","default":800,"description":"The effect's duration on hard mode."},"durationnormal":{"title":"Duration Normal","type":"integer","default":200,"description":"The effect's duration on normal mode."},"effect":{"title":"Effect","type":"string","default":"not set","description":"The identifier of the mob entity to affect."},"visible":{"title":"Visible","type":"boolean","default":false,"description":"Does the entity's look change."}}},"on_fire_time":{"title":"On Fire Time","type":"number","default":0.0,"description":"The amount of time a target will remain on fire."},"particle_on_hit":{"title":"Particle On Hit","type":"object","description":"The particles that spawn on hit. See the table below for all particle_on_hit parameters.","additionalProperties":false,"properties":{"num_particles":{"title":"Num Particles","type":"number","default":6,"description":"The number of particles to spawn."},"on_entity_hit":{"title":"On Entity Hit","type":"boolean","default":false,"description":"If true, spawns particles on an entity hit."},"on_other_hit":{"title":"On Other Hit","type":"boolean","default":false,"description":"If true, spawns particles on any other hit."},"particle_type":{"title":"Particle Type","type":"string","default":"not set","description":"The id of the particle to spawn on hit."}}},"potion_effect":{"title":"Potion Effect","type":"integer","default":-1,"description":"Defines the effect the arrow will apply to the entity it hits."},"remove_on_hit":{"title":"Remove On Hit","type":"object","description":"Removes the projectile.","additionalProperties":true,"properties":{}},"spawn_aoe_cloud":{"title":"Spawn AOE Cloud","type":"object","default":false,"description":"Potion spawns an area of effect cloud. See the table below for all spawn_aoe_cloud parameters.","additionalProperties":false,"properties":{"affect_owner":{"title":"Affect Owner","type":"boolean","default":true,"description":"Determines if the projectile shooter is affected."},"color":{"title":"Color","type":"array","description":"Particle color defined by three rgb values.","$ref":"#/definitions/CEJ"},"duration":{"title":"Duration","type":"integer","default":0,"description":"How long the particle emits."},"particle":{"title":"Particle","type":"integer","default":0,"description":"The particle emitter."},"potion":{"title":"Potion","type":"integer","default":-1,"description":"The id of the potion."},"radius":{"title":"Radius","type":"number","default":0,"description":"Defines the affected area."},"radius_on_use":{"title":"Radius On Use","type":"number","default":-1,"description":"Defines the affected area when potion is used."},"reapplication_delay":{"title":"Reapplication Delay","type":"integer","default":0,"description":"Delay before the potion can affect the area again."}}},"spawn_chance":{"title":"Spawn Chance","type":"object","description":"Contains information on the chance of spawning an entity on hit. See parameters below.","additionalProperties":false,"properties":{"first_spawn_count":{"title":"First Spawn Count","type":"integer","default":0,"description":"The amount of new entities spawned."},"first_spawn_percent_chance":{"title":"First Spawn Percent Chance","type":"number","default":0,"description":"The chance that a spawn occurs when a projectile hits the entity."},"first_spawn_chance":{"title":"First Spawn Chance","type":"number","default":8,"description":"The chance that a first spawn occurs when a projectile hits the entity."},"second_spawn_chance":{"title":"Second Spawn Chance","type":"number","default":32,"description":"The chance that a second spawn occurs when a projectile hits the entity."},"second_spawn_count":{"title":"Second Spawn Count","type":"integer","default":0,"description":"The amount of new entities spawned in teh second spawn."},"spawn_baby":{"title":"Spawn Baby","type":"boolean","default":false,"description":"Determines if a baby spawns."},"spawn_definition":{"title":"Spawn Definition","type":"string","default":"not set","description":"The entity that will spawn."}}},"stick_in_ground":{"title":"Stick In Ground","type":"object","description":"Decides if the object sticks in ground and contains shake_time integer parameter to determine how long it will shake."},"teleport_owner":{"title":"Teleport Owner","type":"boolean","default":false,"description":"Determines if the owner is transported on hit."},"thrown_potion_effect":{"title":"Thrown Potion Effect","type":"object","description":"Creates a splash area for effects caused by a thrown potion."}}},"particle":{"type":"string","default":"iconcrack","description":"Particle to use upon collision.","title":"Particle"},"potion_effect":{"type":"integer","default":-1,"description":"Defines the effect the arrow will apply to the entity it hits.","title":"Potion Effect"},"power":{"type":"number","default":1.3,"description":"Determines the velocity of the projectile.","title":"Power"},"reflect_on_hurt":{"type":"boolean","default":false,"description":"If true, this entity will be reflected back when hit.","title":"Reflect On Hurt"},"semi_random_diff_damage":{"type":"boolean","default":false,"description":"If true, damage will be randomized based on damage and speed.","title":"Semi Random Diff Damage"},"shoot_sound":{"$ref":"#/definitions/BE","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}]},"CFB":{"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}]},"CFC":{"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}]},"CFD":{"type":"object","title":"Raid Trigger","additionalProperties":false,"description":"Attempts to trigger a raid at the entity's location.","required":[],"properties":{"triggered_event":{"$ref":"#/definitions/CFA","description":"Event to run we attempt to trigger a raid on the village.","title":"Triggered Event"}}},"CFE":{"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}]},"CFF":{"description":"Defines the behavior of the entity when the rail gets activated or deactivated.","type":"object","title":"Rail Sensor","additionalProperties":false,"required":[],"properties":{"check_block_types":{"type":"boolean","default":false,"description":"If true, on tick this entity will trigger its on_deactivate behavior.","title":"Check Block Types"},"eject_on_activate":{"type":"boolean","default":true,"description":"If true, this entity will eject all of its riders when it passes over an activated rail.","title":"Eject On Activate"},"eject_on_deactivate":{"type":"boolean","default":false,"description":"If true, this entity will eject all of its riders when it passes over a deactivated rail.","title":"Eject On Deactivate"},"on_activate":{"$ref":"#/definitions/BC","description":"Event to call when the rail is activated.","title":"On Activate"},"on_deactivate":{"$ref":"#/definitions/BC","description":"Event to call when the rail is deactivated.","title":"On Deactivate"},"tick_command_block_on_activate":{"type":"boolean","default":true,"description":"If true, command blocks will start ticking when passing over an activated rail.","title":"Tick Command Block On Activate"},"tick_command_block_on_deactivate":{"type":"boolean","default":false,"description":"If false, command blocks will stop ticking when passing over a deactivated rail.","title":"Tick Command Block On Deactivate"}},"examples":[{"check_block_types":false,"eject_on_activate":true,"eject_on_deactivate":false,"tick_command_block_on_activate":true,"tick_command_block_on_deactivate":false}]},"CFG":{"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/CFA"}}}}},"examples":[{"knockback_strength":3,"reaction_choices":[]}]},"CFH_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"},"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."},"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."},"position":{"$ref":"#/definitions/CEJ","default":[0.0,0.0,0.0],"description":"Position of this seat relative to this entity's position."},"rotate_rider_by":{"$ref":"#/definitions/E","description":"Offset to rotate riders by."}}},"CFH":{"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":{"type":"array","items":{"type":"string"},"description":"List of entities that can ride this entity.","title":"Family Types"},"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"},"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/CFH_seats_spec"},{"type":"array","items":{"$ref":"#/definitions/CFH_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}]},"CFI":{"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}]},"CFJ":{"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}]},"CGA":{"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/BG"},"event":{"$ref":"#/definitions/CFA"}}}}},"examples":[{"min_delay_secs":0,"max_delay_secs":0,"scheduled_events":[]}]},"CGB":{"description":"Defines a list of items the mob wants to share or pick up. Each item must have the following parameters:","type":"object","title":"Shareables","additionalProperties":false,"properties":{"all_items":{"type":"boolean","default":false,"description":"A bucket for all other items in the game. Note this category is always least priority items.","title":"All Items"},"all_items_max_amount":{"type":"integer","default":-1,"description":"Maximum number of this item the mob will hold.","title":"All Items Maximum Amount"},"all_items_surplus_amount":{"type":"integer","default":-1,"description":"Number of this item considered extra that the entity wants to share.","title":"All Items Surplus Amount"},"all_items_want_amount":{"type":"integer","default":-1,"description":"Number of this item this entity wants to share.","title":"All Items Want Amount"},"items":{"type":"array","description":"List of items that the entity wants to share.","items":{"type":"object","title":"Item","description":"An Item that the entity wants to share.","additionalProperties":false,"properties":{"admire":{"type":"boolean","description":"Mob will admire the item after picking up by looking at it. For this to happen the mob needs to have an Admire component and an Admire goal.","title":"Admire"},"barter":{"type":"boolean","description":"Mob will barter for the item after picking it up. For this to work the mob needs to have a Barter component and a Barter goal.","title":"Barter"},"consume_item":{"type":"boolean","description":"Determines whether the mob will consume the item or not.","title":"Consume Item"},"craft_into":{"type":"string","description":"Defines the item this entity wants to craft with the item defined above. Should be an item name.","title":"Craft Into"},"item":{"type":"string","description":"The name of the item.","$ref":"#/definitions/BA"},"item_aux":{"type":"integer","description":"Aux value for the item.","title":"Item Aux"},"max_amount":{"type":"integer","description":"Maximum number of this item the mob will hold.","title":"Maximum Amount"},"pickup_limit":{"type":"integer","description":"Maximum number of this item the mob will pick up during a single goal tick.","title":"Pickup Limit"},"priority":{"type":"integer","description":"Prioritizes which items the entity prefers. 0 is the highest priority.","title":"Priority"},"stored_in_inventory":{"type":"boolean","description":"Determines whether the mob will try to put the item in its inventory if it has the inventory component and if it can't be equipped.","title":"Stored In Inventory"},"surplus_amount":{"type":"integer","description":"Number of this item considered extra that the entity wants to share.","title":"Surplus Amount"},"want_amount":{"type":"integer","description":"Number of this item this entity wants to have.","title":"Want Amount"},"pickup_only":{"title":"Pickup Only","type":"boolean","description":"Determines whether the mob can only pickup the item and not drop it.","default":false}}}},"singular_pickup":{"type":"boolean","description":"Determines whether the mob can only pickup one item at a time.","title":"Singular Pickup"}},"examples":[{"all_items":false,"all_items_max_amount":-1,"all_items_surplus_amount":-1,"all_items_want_amount":-1,"items":[]}]},"CGC":{"description":"Defines the entity's ranged attack behavior.","$comment":"As of 1.19.60 & out of exp 1.20.10","type":"object","title":"Shooter","additionalProperties":false,"properties":{"aux_val":{"type":"integer","title":"Aux Val","default":-1,"description":"ID of the Potion effect to be applied on hit."},"def":{"title":"Def","type":"string","examples":["minecraft:arrow","minecraft:small_fireball","minecraft:thrown_trident"],"description":"Actor definition to use as projectile for the ranged attack. The actor definition must have the projectile component to be able to be shot as a projectile"},"magic":{"title":"Magic","type":"boolean","default":false,"description":"Sets whether the projectiles being used are flagged as magic. If set, the ranged attack goal will not be used at the same time as other magic goals, such as minecraft:behavior.drink_potion."},"power":{"type":"number","title":"Power","default":0.0,"description":"Velocity in which the projectiles will be shot. A power of 0 will be overwritten by the default projectile throw power."},"projectiles":{"title":"Projectiles","description":"List of projectiles that can be used by the shooter. Projectiles are evaluated in the order of the list; after a projectile is chosen, the rest of the list is ignored.","type":"array","items":{"type":"string","description":"Projectiles that can be used by the shooter","title":"Projectile"}},"sound":{"title":"Sound","type":"string","description":"Sound that is played when the shooter shoots a projectile."}},"examples":[{"def":"minecraft:small_fireball"}]},"CGD":{"description":"Defines the entity's `sit` state.","type":"object","title":"Sittable","additionalProperties":false,"required":[],"properties":{"sit_event":{"$ref":"#/definitions/BC","description":"Event to run when the entity enters the `sit` state.","title":"Sit Event"},"stand_event":{"$ref":"#/definitions/BC","description":"Event to run when the entity exits the `sit` state.","title":"Stand Event"}}},"CGE":{"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}]},"CGF":{"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}]},"CGG_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/BG"},"max_wait_time":{"type":"integer","default":600,"description":"Maximum amount of time to randomly wait in seconds before another entity is spawned.","title":"Maximum Wait Time"},"min_wait_time":{"type":"integer","default":300,"description":"Minimum amount of time to randomly wait in seconds before another entity is spawned.","title":"Minimum Wait Time"},"num_to_spawn":{"type":"integer","default":1,"description":"The number of entities of this type to spawn each time that this triggers.","title":"Num To Spawn"},"should_leash":{"type":"boolean","default":false,"description":"If true, this the spawned entity will be leashed to the parent.","title":"Should Leash"},"single_use":{"type":"boolean","default":false,"description":"If true, this component will only ever spawn the specified entity once.","title":"Single Use"},"spawn_entity":{"type":"string","default":"","description":"Identifier of the entity to spawn, leave empty to spawn the item defined above instead.","title":"Spawn Entity"},"spawn_event":{"type":"string","default":"minecraft:entity_born","description":"Event to call when the entity is spawned.","title":"Spawn Event"},"spawn_item":{"$ref":"#/definitions/J","default":"egg","description":"Item identifier of the item to spawn.","title":"Spawn Item"},"spawn_method":{"type":"string","default":"born","description":"Method to use to spawn the entity.","title":"Spawn Method"},"spawn_sound":{"$ref":"#/definitions/BE","default":"plop","description":"Identifier of the sound effect to play when the entity is spawned.","title":"Spawn Sound"}}},"CGG":{"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/CGG_entity_spawn"},{"type":"array","items":{"type":"object","$ref":"#/definitions/CGG_entity_spawn"}}]}}},"CGH":{"type":"object","title":"Spell Effects","additionalProperties":false,"description":"Defines what mob effects to add and remove to the entity when adding this component.","required":[],"properties":{"add_effects":{"type":"array","description":"List of effects to add to this entity after adding this component.","items":{"oneOf":[{"type":"string"},{"type":"object","additionalProperties":false,"properties":{"amplifier":{"type":"integer","title":"Amplifier","description":"The level of the effect, same as used in the /effect command (0 for level I, 1 for level II, etc). Defaults to 0. NOTE: Values can be negative but its not an intentional feature","default":0,"minimum":0},"ambient":{"title":"Ambient","description":"Boolean value that should cause the particles emitted by the entity to be partially transparent. This does not work properly, resulting in this property having no effect. Defaults to false.","default":false,"type":"boolean"},"duration":{"title":"Duration","description":"The amount of time in seconds the effect should last. This allows for fractional numbers. For example, instant effects should be set to 0.05 seconds (one tick).","type":"number","minimum":0},"display_on_screen_animation":{"type":"boolean","title":"Display On Screen Animation","description":"Boolean value. When set to true, applying this effect displays an animated graphic on-screen similar to the totem of undying effect. Obviously, this only works for players. Defaults to false."},"effect":{"type":"string","title":"Effect","description":"The string identifier of the status effect to add. These are the same as used in the /effect command."},"visible":{"type":"boolean","title":"Visible","description":"Boolean value. When set to true, the effect will be visible to the player. Defaults to true."}}}]},"title":"Add Effects"},"remove_effects":{"title":"Remove Effects","description":"List of identifiers of effects to be removed from this entity after adding this component.","oneOf":[{"type":"array","items":{"type":["string"],"title":"Spell Effect ID","description":"identifier of the effect to be removed from this entity after adding this component."}},{"type":"string"}]}},"examples":[{"add_effects":[]}]},"CGI":{"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}]},"CGJ":{"type":"object","title":"Suspect Tracking","additionalProperties":false,"required":[],"properties":{},"description":"Allows this entity to remember suspicious locations."},"CHA":{"type":"object","title":"Tameable","description":"Defines the rules for a mob to be tamed by the player.","required":[],"additionalProperties":false,"properties":{"probability":{"type":"number","default":1,"description":"The chance of taming the entity with each item use between 0.0 and 1.0, where 1.0 is 100%","minimum":0,"maximum":1,"title":"Probability"},"tame_event":{"title":"Tame Event","$ref":"#/definitions/BC","description":"Event to run when this entity becomes tamed."},"tame_items":{"title":"Tame Items","description":"The list of items that can be used to tame this entity.","oneOf":[{"type":"array","items":{"$ref":"#/definitions/BA"}},{"$ref":"#/definitions/BA"}]}},"examples":[{"probability":1}]},"CHB_feed_items":{"type":"object","description":"The list of items that can be used to increase the entity's temper and speed up the taming process.","properties":{"item":{"$ref":"#/definitions/J","description":"Name of the item this entity likes and can be used to increase this entity's temper.","title":"Item"},"temper_mod":{"type":"number","default":0,"description":"The amount of temper this entity gains when fed this item.","title":"Temper Mod"}}},"CHB_auto_reject_items":{"type":"object","description":"The list of items that this entity dislikes and will cause it to get angry if used while untamed.","properties":{"item":{"$ref":"#/definitions/J","description":"Name of the item this entity dislikes and will cause it to get angry if used while untamed."}}},"CHB":{"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/CHB_auto_reject_items"},{"type":"array","items":{"$ref":"#/definitions/CHB_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/CHB_feed_items"},{"type":"array","items":{"$ref":"#/definitions/CHB_feed_items"}}]},"max_temper":{"type":"integer","default":100,"description":"The maximum value for the entity's random starting temper.","title":"Maximum Temper"},"min_temper":{"type":"integer","default":0,"description":"The minimum value for the entity's random starting temper.","title":"Minimum Temper"},"ride_text":{"type":"string","description":"The text that shows in the riding interact button.","title":"Ride Text"},"tame_event":{"$ref":"#/definitions/BC","description":"Event that triggers when the entity becomes tamed.","title":"Tame Event"}},"examples":[{"attempt_temper_mod":5,"feed_text":"example","max_temper":100,"min_temper":0,"ride_text":"example"}]},"CHC":{"description":"Defines the entity's range within which it can see or sense other entities to target them.","type":"object","title":"Target Nearby Sensor","additionalProperties":false,"required":[],"properties":{"must_see":{"type":"boolean","default":false,"description":"Whether the other entity needs to be visible to trigger `inside` events.","title":"Must See"},"inside_range":{"type":"number","default":1,"description":"Maximum distance in blocks that another entity will be considered in the `inside` range.","title":"Inside Range"},"on_inside_range":{"$ref":"#/definitions/BC","description":"Event to call when an entity gets in the inside range. Can specify `event` for the name of the event and `target` for the target of the event","title":"On Inside Range"},"on_outside_range":{"$ref":"#/definitions/BC","description":"Event to call when an entity gets in the outside range. Can specify `event` for the name of the event and `target` for the target of the event","title":"On Outside Range"},"on_vision_lost_inside_range":{"$ref":"#/definitions/BC","description":"Event to call when an entity exits visual range. Can specify `event` for the name of the event and `target` for the target of the event","title":"On Vision Lost Inside Range"},"outside_range":{"type":"number","default":5,"description":"Maximum distance in blocks that another entity will be considered in the `outside` range.","title":"Outside Range"}},"examples":[{"must_see":false,"inside_range":1,"outside_range":5}]},"CHD":{"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}]},"CHE":{"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}]},"CHF":{"type":"object","title":"Timer","description":"Adds a timer after which an event will fire.","required":[],"additionalProperties":false,"properties":{"looping":{"type":"boolean","default":true,"description":"If true, the timer will restart every time after it fires.","title":"Looping"},"randomInterval":{"type":"boolean","default":true,"description":"If true, the amount of time on the timer will be random between the Minimum and Maximum values specified in time.","title":"Random Interval"},"time":{"description":"Amount of time in seconds for the timer. Can be specified as a number or a pair of numbers (Minimum and max). Incompatible with random_time_choices.","title":"Time","examples":[1,[1.0,5.0]],"oneOf":[{"type":"array","default":[0.0,0.0],"items":[{"type":"number","title":"Minimum"},{"type":"number","title":"Maximum"}]},{"type":"number","default":0}]},"time_down_event":{"description":"Event to fire when the time on the timer runs out.","title":"Time Down Event","$ref":"#/definitions/BC"},"random_time_choices":{"type":"array","default":[],"description":"This is a list of objects, representing one value in seconds that can be picked before firing the event and an optional weight. Incompatible with time.","title":"Random Time Choices","items":{"title":"Random Time Choices","description":"representing one value in seconds that can be picked before firing the event and an optional weight. Incompatible with time.","type":"object","additionalProperties":false,"properties":{"weight":{"type":"integer","description":"The weight on how likely this section is to trigger.","$comment":"UNDOCUMENTED","title":"Weight"},"value":{"type":"integer","description":"The value in seconds that would be used if this section was picked.","$comment":"UNDOCUMENTED","title":"Value"}}}}},"examples":[{"time":1,"looping":true,"time_down_event":{"event":"example:foo","target":"self"}}]},"CHG":{"description":"Resupplies an entity's trade.","type":"object","title":"Trade Resupply","additionalProperties":false,"properties":{}},"CHH":{"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"}]},"CHI":{"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/BG","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]}]},"CHJ":{"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/BE","description":"Sound to play when the transformation starts.","title":"Begin Transform Sound"},"delay":{"description":"Defines the properties of the delay for the transformation.","title":"Delay","oneOf":[{"type":"number"},{"type":"object","properties":{"block_assist_chance":{"type":"number","default":0,"description":"Chance that the entity will look for nearby blocks that can speed up the transformation. Value must be between 0.0 and 1.0"},"block_chance":{"type":"number","default":0,"description":"Chance that, once a block is found, will help speed up the transformation."},"block_max":{"type":"integer","default":0,"description":"Maximum number of blocks the entity will look for to aid in the transformation. If not defined or set to 0, it will be set to the block radius"},"block_radius":{"type":"integer","default":0,"description":"Distance in Blocks that the entity will search for blocks that can help the transformation."},"block_types":{"type":"array","description":"List of blocks that can help the transformation of this entity.","items":{"$ref":"#/definitions/BBG"}},"value":{"type":"number","default":0,"description":"Time in seconds before the entity transforms."}}}]},"drop_equipment":{"type":"boolean","default":false,"description":"Cause the entity to drop all equipment upon transformation.","title":"Drop Equipment"},"drop_inventory":{"type":"boolean","default":false,"description":"Cause the entity to drop all items in inventory upon transformation.","title":"Drop Inventory"},"into":{"type":"string","default":"","description":"Entity Definition that this entity will transform into.","title":"Into"},"keep_level":{"type":"boolean","default":false,"description":"If this entity has trades and has leveled up, it should maintain that level after transformation.","title":"Keep Level"},"keep_owner":{"type":"boolean","default":false,"description":"If this entity is owned by another entity, it should remain owned after transformation.","title":"Keep Owner"},"preserve_equipment":{"type":"boolean","default":false,"description":"Cause the entity to keep equipment after going through transformation.","title":"Preserve Equipment"},"transformation_sound":{"$ref":"#/definitions/BE","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":""}]},"CIA":{"type":"object","title":"Trust","description":"Allows this entity to trust multiple players.","required":[],"additionalProperties":false,"properties":{}},"CIB":{"type":"object","title":"Trusting","description":"Defines the rules for a mob to trust players.","required":[],"additionalProperties":false,"properties":{"probability":{"type":"number","default":1,"description":"The chance of the entity trusting with each item use between 0.0 and 1.0, where 1.0 is 100%","title":"Probability"},"trust_event":{"$ref":"#/definitions/BC","description":"Event to run when this entity becomes trusting.","title":"Trust Event"},"trust_items":{"title":"Trust Items","type":"array","description":"The list of items that can be used to get the entity to trust players.","items":{"$ref":"#/definitions/BA","title":"Trust Item"}}},"examples":[{"probability":1,"trust_event":"self:trust"},{"probability":1,"trust_items":[],"trust_event":"self:trust"}]},"CIC":{"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"}}},"CID":{"description":"Defines the speed with which an entity can move through water.","type":"object","title":"Underwater Movement","additionalProperties":false,"required":[],"properties":{"value":{"type":"number","title":"Value","description":"Movement speed of the entity under water."}},"examples":[{"value":0.15}]},"CIE":{"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."},"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":[{"value":0.0}]},"CIF":{"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}]},"CIG":{"type":"object","title":"Vibration Damper","additionalProperties":false,"required":[],"properties":{},"description":"Vibrations emitted by this entity will be ignored."},"CIH":{"type":"object","title":"Vibration Listener","additionalProperties":false,"required":[],"properties":{},"description":"This entity will respond to vibrations."},"CII":{"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}]},"CIJ":{"description":"Sets that this entity wants to become a jockey.","type":"object","title":"Wants Jockey","additionalProperties":false,"properties":{}},"CJA":{"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}]},"CJC":{"additionalProperties":false,"type":"integer","title":"Priority","minimum":0,"description":"How important this behavior is. Lower priority behaviors will be executed first."},"CJB":{"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/CJC"},"admire_item_sound":{"title":"Admire Item Sound","$ref":"#/definitions/BE","description":"The sound event to play when admiring the item."},"on_admire_item_start":{"title":"On Admire Item Start","$ref":"#/definitions/CFA","description":"The event to run when admiring the item."},"on_admire_item_stop":{"title":"On Admire Item Stop","$ref":"#/definitions/CFA","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":""}]},"CJD":{"type":"object","title":"Avoid Block","description":"Allows this entity to avoid certain blocks.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJC"},"tick_interval":{"type":"integer","title":"Tick Interval","default":1,"description":"Should start tick interval."},"search_range":{"type":"integer","title":"Search Range","description":"Maximum distance to look for a block in xz.","default":0},"search_height":{"type":"integer","title":"Search Height","description":"Maximum distance to look for a block in y.","default":0},"sprint_speed_modifier":{"type":"number","title":"Sprint Speed Modifier","description":"Modifier for sprint speed. 1.0 means keep the regular speed, while higher numbers make the sprint speed faster.","default":1.0},"target_selection_method":{"type":"string","title":"Target Selection Method","description":"Block search method.","enum":["random","nearest"],"default":"nearest"},"target_blocks":{"type":"array","title":"Target Blocks","description":"List of block types this mob avoids.","items":{"title":"Block ID","$ref":"#/definitions/J"}},"avoid_block_sound":{"title":"Avoid Block Sound","description":"The sound event to play when the mob is avoiding a block.","$ref":"#/definitions/BE"},"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/CFA"}},"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":[]}]},"CJF_entity_definition":{"description":"The entity type.","title":"Entity Type","type":"object","additionalProperties":false,"properties":{"filters":{"$ref":"#/definitions/BG"},"cooldown":{"title":"Cooldown","description":"The amount of time in seconds that the mob has to wait before selecting a target of the same type again","default":0.0,"type":"number"},"max_dist":{"type":"number","description":"Maximum distance this mob can be away to be a valid choice.","default":16,"title":"Maximum Dist"},"max_height":{"type":"number","description":"UNDOCUMENTED.","title":"Maximum Height"},"max_flee":{"type":"number","description":"UNDOCUMENTED.","title":"Maximum Height"},"priority":{"type":"number","description":"UNDOCUMENTED.","title":"Priority"},"check_if_outnumbered":{"type":"number","description":"UNDOCUMENTED.","title":"Check If Outnumbered"},"must_see":{"type":"boolean","description":"If true, the mob has to be visible to be a valid choice.","default":false,"title":"Must See"},"must_see_forget_duration":{"type":"number","description":"Determines the amount of time in seconds that this mob will look for a target before forgetting about it and looking for a new one when the target isn't visible any more.","default":3,"title":"Must See Forget Duration"},"reevaluate_description":{"title":"Reevaluate Description","type":"boolean","default":false,"description":"If true, the mob will stop being targeted if it stops meeting any conditions."},"sprint_speed_multiplier":{"type":"number","description":"Multiplier for the running speed. A value of 1.0 means the speed is unchanged","default":16,"title":"Sprint Speed Multiplier"},"walk_speed_multiplier":{"type":"number","description":"Multiplier for the walking speed. A value of 1.0 means the speed is unchanged","default":16,"title":"Walk Speed Multiplier"}}},"CJF":{"title":"Entity Types","oneOf":[{"type":"array","items":{"$ref":"#/definitions/CJF_entity_definition"}},{"$ref":"#/definitions/CJF_entity_definition"}]},"CJE":{"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/CJC"},"avoid_mob_sound":{"title":"Avoid Mob Sound","default":"","description":"The sound event to play when the mob is avoiding another mob.","$ref":"#/definitions/BE"},"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/CJF","title":"Entity Types","description":"The list of conditions another entity must meet to be a valid target to avoid."},"on_escape_event":{"$ref":"#/definitions/CFA","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}]},"CJG":{"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/CJC"}}},"CJH":{"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/CJC"},"items":{"type":"array","description":"List of items that this mob likes.","items":{"type":"string","description":"List of items that this mob likes.","title":"Properties","$ref":"#/definitions/J"},"title":"Properties"},"look_distance":{"type":"number","default":8,"description":"Distance in blocks the mob will beg from.","title":"Look Distance"},"look_time":{"description":"The range of time in seconds this mob will stare at the player holding a food they like, begging for it.","$ref":"#/definitions/BBB","default":[2,4],"title":"Look Time"}},"examples":[{"items":[],"look_distance":8}]},"CJJ":{"additionalProperties":false,"default":1.0,"description":"Movement speed multiplier of the mob when using this AI Goal.","type":"number","title":"Speed Multiplier"},"CJI":{"type":"object","title":"Break Door","description":"Allows this mob to break doors.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"}},"additionalProperties":false},"DAA":{"additionalProperties":false,"type":"object","title":"Breed","description":"Allows this mob to breed with other mobs.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"}}},"DAB":{"additionalProperties":false,"type":"object","title":"Celebrate Survive","description":"Allows this entity to celebrate surviving a raid by shooting fireworks.","properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"fireworks_interval":{"title":"Fireworks Interval","$ref":"#/definitions/BBB","description":"Minimum and maximum time between firework (positive, in seconds).","default":[10,20]},"duration":{"title":"Duration","description":"The duration in seconds that the celebration lasts for.","type":"number","default":30.0},"on_celebration_end_event":{"title":"On Celebration End Event","description":"The event to trigger when the goal's duration expires.","$ref":"#/definitions/CFA"}}},"DAC":{"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/CJC"},"celebration_sound":{"default":"","description":"The sound event to trigger during the celebration.","title":"Celebration Sound","$ref":"#/definitions/BE"},"duration":{"type":"number","default":30,"description":"The duration in seconds that the celebration lasts for.","title":"Duration"},"jump_interval":{"default":[1,3.5],"description":"Minimum and maximum time between jumping (positive, in seconds).","title":"Jump Interval","oneOf":[{"type":"array","items":[{"type":"number","title":"Maximum"},{"type":"number","title":"Maximum"}]},{"type":"number"},{"type":"object","additionalProperties":false,"properties":{"range_min":{"type":"number"},"range_max":{"type":"number"}}}]},"on_celebration_end_event":{"$ref":"#/definitions/BAI","description":"The event to trigger when the goal's duration expires.","title":"On Celebration End Event"},"sound_interval":{"default":[2,7],"description":"Minimum and maximum time between sound events (positive, in seconds).","title":"Sound Interval","$ref":"#/definitions/BBB"}},"examples":[{"celebration_sound":"","duration":1}]},"DAD":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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%)"}}},"DAE":{"type":"object","title":"Charge Held Item","description":"Allows an entity to charge and use their held item.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"items":{"type":"array","title":"Items","description":"The list of items that can be used to charge the held item. This list is required and must have at least one item in it.","items":{"$ref":"#/definitions/J","description":"Items names to be used.","title":"Item ID"}}},"examples":[{"items":[]}]},"DAF":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"radius_range":{"$ref":"#/definitions/BBB","default":[5.0,15.0],"description":"Horizontal distance from the anchor point this entity must stay within upon a successful radius adjustment.","title":"Radius Range"},"radius_change_chance":{"type":"integer","default":250,"description":"A random value to determine when to increase the size of the radius up to the maximum. This has a 1/value chance every tick to do so.","title":"Radius Change Chance"},"height_above_target_range":{"$ref":"#/definitions/BBB","default":[0.0,0.0],"description":"The number of blocks above the target that the next anchor point can be set. This value is used only when the entity is tracking a target.","title":"Height Above Target Range"},"height_offset_range":{"$ref":"#/definitions/BBB","default":[0.0,0.0],"description":"The range of height in blocks offset the mob can have from it's anchor point.","title":"Height Offset Range"},"height_change_chance":{"type":"integer","default":350,"description":"A random value to determine when to change the height of the mob from the anchor point. This has a 1/value chance every tick to do so.","title":"Height Change Chance"},"goal_radius":{"type":"number","default":0.5,"description":"Maximum distance from the anchor-point in which this entity considers itself to have reached the anchor point. This is to prevent the entity from bouncing back and forth trying to reach a specific spot.","title":"Goal Radius"},"radius_change":{"type":"number","title":"Radius Change","description":"The number of blocks to increase the current movement radius by, upon successful `radius_adjustment_chance`. If the current radius increases over the range maximum, the current radius will be set back to the range minimum and the entity will change between clockwise and counter-clockwise movement.","default":1.0},"radius_adjustment_chance":{"type":"number","title":"Radius Adjustment Chance","description":"Percent chance to determine how often to increase the size of the current movement radius around the anchor point. 1 = 100%. `radius_change_chance` is deprecated and has been replaced with `radius_adjustment_chance`.","default":0.004},"height_adjustment_chance":{"type":"number","title":"Height Adjustment Chance","description":"Percent chance to determine how often to increase or decrease the current height around the anchor point. 1 = 100%. `height_change_chance` is deprecated and has been replaced with `height_adjustment_chance`.","default":0.002857},"angle_change":{"type":"number","title":"Angle Change","description":"Number of degrees to change this entity's facing by, when the entity selects its next anchor point.","default":15.0}},"examples":[{"speed_multiplier":1.0,"radius_change_chance":250,"height_change_chance":350,"goal_radius":0.5,"radius_change":0.0,"radius_adjustment_chance":0.0,"height_adjustment_chance":0.0,"angle_change":0.0}]},"DAG":{"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/CJC"},"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}]},"DAJ":{"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"]}]},"DAI":{"oneOf":[{"type":"array","$ref":"#/definitions/DAJ"},{"title":"Value","type":"integer"}],"examples":[0,[0,10]],"defaultSnippets":[{"label":"New Array 2","body":["^$1","^$2"]}]},"DAH":{"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/CJC"},"duration":{"title":"Duration","description":"Random range in seconds after which the croaking stops. Can also be a constant.","$ref":"#/definitions/DAI"},"filters":{"title":"Filters","$ref":"#/definitions/BG","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/DAI"}}},"DBA":{"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/CJC"},"aggro_sound":{"title":"Aggro Sound","$ref":"#/definitions/BE","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/CFA","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/CJF","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}]},"DBB":{"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/CJC"},"entity_types":{"title":"Entity Types","$ref":"#/definitions/CJF","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}]},"DBC":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"attack_duration":{"title":"Attack Duration","type":"number","default":0.75,"description":"The entity's attack animation will play out over this duration (in seconds). Also controls attack cooldown."},"attack_once":{"title":"Attack Once","type":"boolean","default":false,"description":"Allows the entity to use this attack behavior, only once EVER."},"attack_types":{"title":"Attack Types","type":"string","default":"N/A","description":"Defines the entity types this entity will attack."},"can_spread_on_fire":{"title":"Can Spread On Fire","type":"boolean","default":false,"description":"If the entity is on fire, this allows the entity's target to catch on fire after being hi"},"cooldown_time":{"title":"Cooldown Time","type":"number","default":1,"description":"Cooldown time (in seconds) between attacks."},"hit_delay_pct":{"title":"Hit Delay Pct","type":"number","default":0.5,"description":"The percentage into the attack animation to apply the damage of the attack (1.0 = 100%)."},"inner_boundary_time_increase":{"title":"Inner Boundary Time Increase","type":"number","default":0.25,"description":"Time (in seconds) to add to attack path recalculation when the target is beyond the \"path_inner_boundary\"."},"max_dist":{"title":"Max Dist","type":"number","description":"Unused. No effect on \"minecraft:behavior.melee_attack\"."},"max_path_time":{"title":"Max Path Time","type":"number","default":0.55,"description":"Maximum base time (in seconds) to recalculate new attack path to target (before increases applied)."},"melee_fov":{"title":"Melee Fov","type":"number","default":90,"description":"Field of view (in degrees) when using the sensing component to detect an attack target."},"min_path_time":{"title":"Min Path Time","type":"number","default":0.2,"description":"Minimum base time (in seconds) to recalculate new attack path to target (before increases applied)."},"on_attack":{"title":"On Attack","description":"Defines the event to trigger when this entity successfully attacks.","$ref":"#/definitions/BAI"},"outer_boundary_time_increase":{"title":"Outer Boundary Time Increase","type":"number","default":0.5,"description":"Time (in seconds) to add to attack path recalculation when the target is beyond the \"path_outer_boundary\"."},"path_fail_time_increase":{"title":"Path Fail Time Increase","type":"number","default":0.75,"description":"Time (in seconds) to add to attack path recalculation when this entity cannot move along the current path."},"path_inner_boundary":{"title":"Path Inner Boundary","type":"number","default":16,"description":"Distance at which to increase attack path recalculation by \"inner_boundary_tick_increase\"."},"path_outer_boundary":{"title":"Path Outer Boundary","type":"number","default":32,"description":"Distance at which to increase attack path recalculation by \"outer_boundary_tick_increase\"."},"random_stop_interval":{"title":"Random Stop Interval","type":"integer","default":0,"description":"This entity will have a 1 in N chance to stop it's current attack, where N = \"random_stop_interval\"."},"reach_multiplier":{"title":"Reach Multiplier","type":"number","default":2,"description":"Used with the base size of the entity to determine minimum target-distance before trying to deal attack damage."},"require_complete_path":{"title":"Require Complete Path","type":"boolean","default":false,"description":"Toggles (on/off) the need to have a full path from the entity to the target when using this melee attack behavior."},"set_persistent":{"title":"Set Persistent","type":"boolean","default":false,"description":"Allows the actor to be set to persist upon targeting a player."},"target_dist":{"title":"Target Dist","type":"number","description":"Unused. No effect on \"minecraft:behavior.melee_attack\"."},"track_target":{"title":"Track Target","type":"boolean","default":false,"description":"Allows the entity to track the attack target, even if the entity has no sensing."},"x_max_rotation":{"title":"X Max Rotation","type":"number","default":30,"description":"Maximum rotation (in degrees), on the X-axis, this entity can rotate while trying to look at the target."},"y_max_head_rotation":{"title":"Y Max Head Rotation","type":"number","default":30,"description":"Maximum rotation (in degrees), on the Y-axis, this entity can rotate its head while trying to look at the target."}},"examples":[{"attack_duration":1,"attack_once":false,"attack_types":"","hit_delay_pct":1,"random_stop_interval":0,"reach_multiplier":2,"require_complete_path":true,"track_target":false}]},"DBD":{"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/CJC"},"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."}}},"DBE":{"additionalProperties":false,"type":"object","title":"Door Interact","description":"Allows the mob to open and close doors.","properties":{"priority":{"$ref":"#/definitions/CJC"}}},"DBF":{"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/CJC"},"active_speed":{"title":"Active Speed","type":"number","default":1,"description":"The speed this entity moves when this behavior has started or while it's active."},"continue_charge_threshold_time":{"title":"Continue Charge Threshold Time","type":"number","default":0.5,"description":"If the dragon is outside the \"target_zone\" for longer than \"continue_charge_threshold_time\" seconds, the charge is canceled."},"flight_speed":{"title":"Flight Speed","type":"number","default":0.6,"description":"The speed this entity moves while this behavior is not active."},"target_zone":{"title":"Target Zone","$ref":"#/definitions/BBB","default":[10,150],"description":"Minimum and maximum distance, from the target, this entity can use this behavior."},"turn_speed":{"title":"Turn Speed","type":"number","default":0.7,"description":"The speed at which this entity turns while using this behavior."}}},"DBG":{"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/CJC"}}},"DBH":{"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/CJC"},"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."}}},"DBI":{"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/CJC"}}},"DBJ":{"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/CJC"}}},"DCA":{"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/CJC"}}},"DCB":{"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/CJC"},"active_speed":{"title":"Active Speed","type":"number","default":1,"description":"The speed this entity moves when this behavior has started or while it's active."},"fireball_range":{"title":"Fireball Range","type":"number","default":64,"description":"Maximum distance of this entity's fireball attack while strafing."},"flight_speed":{"title":"Flight Speed","type":"number","default":0.6,"description":"The speed this entity moves while this behavior is not active."},"switch_direction_probability":{"title":"Switch Direction Probability","type":"number","default":0.125,"description":"Percent chance to to switch this entity's strafe direction between clockwise and counterclockwise. Switch direction chance occurs each time a new target is chosen (1.0 = 100%)."},"target_in_range_and_in_view_time":{"title":"Target In Range And In View Time","type":"number","default":0.25,"description":"Time (in seconds) the target must be in fireball range, and in view [ie, no solid terrain in-between the target and this entity], before a fireball can be shot."},"target_zone":{"title":"Target Zone","$ref":"#/definitions/BBB","default":[10,150],"description":"Minimum and maximum distance, from the target, this entity can use this behavior."},"turn_speed":{"title":"Turn Speed","type":"number","default":0.7,"description":"The speed at which this entity turns while using this behavior."},"view_angle":{"title":"View Angle","type":"number","default":10,"description":"The target must be within \"view_angle\" degrees of the dragon's current rotation before a fireball can be shot."}}},"DCC":{"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/CJC"}}},"DCD":{"type":"object","title":"Drink Milk","description":"Allows the mob to drink milk based on specified environment conditions.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJC"},"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/BG","description":"Conditions that need to be met for the behavior to start."}},"examples":[{"cooldown_seconds":5.0}]},"DCE":{"type":"object","title":"Drink Potion","description":"Allows the mob to drink potions based on specified environment conditions.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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/BG"}}}}},"examples":[{"potions":[]}]},"DCF":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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/CJF"},"cooldown":{"title":"Cooldown","type":"number","default":0.2,"description":"Total time that the goal is on cooldown before it can be used again."},"drop_item_chance":{"title":"Drop Item Chance","type":"number","default":1.0,"description":"The percent chance the entity will drop an item when using this goal."},"goal_radius":{"title":"Goal Radius","type":"number","default":0.5,"description":"Distance in blocks within the entity considers it has reached it's target position."},"loot_table":{"title":"Loot Table","type":"string","description":"The loot table that contains the possible loot the entity can drop with this goal.","examples":["loot_tables/"]},"max_head_look_at_height":{"title":"Max Head Look At Height","type":"number","default":10.0,"description":"The maximum height the entities head will look at when dropping the item. The entity will always be looking at its target."},"minimum_teleport_distance":{"title":"Minimum Teleport Distance","type":"number","default":2.0,"description":"If the target position is farther away than this distance on any tick, the entity will teleport to the target position."},"offering_distance":{"title":"Offering Distance","type":"number","default":1.0,"description":"The preferred distance the entity tries to be from the target it is dropping an item for."},"on_drop_attempt":{"title":"On Drop Attempt","$ref":"#/definitions/BAI","description":"The event to trigger when the entity attempts to drop an item."},"search_count":{"title":"Search Count","type":"integer","default":0,"description":"The number of blocks each tick that the entity will check within its search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick."},"search_height":{"title":"Search Height","type":"integer","default":1,"description":"The Height in blocks the entity will search within to find a valid target position."},"search_range":{"title":"Search Range","type":"integer","default":0,"description":"The distance in blocks the entity will search within to find a valid target position."},"seconds_before_pickup":{"title":"Seconds Before Pickup","type":"number","default":0.0,"description":"The numbers of seconds that will pass before the dropped entity can be picked up from the ground."},"target_range":{"title":"Target Range","$ref":"#/definitions/CEJ","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/CEJ","default":[0,1,0],"description":"When the entity teleports, offset the teleport position by this many blocks in the X, Y, and Z coordinate."},"time_of_day_range":{"title":"Time Of Day Range","$ref":"#/definitions/BBB","default":[0,1],"description":"The valid times of day that this goal can be used. For reference: noon is 0.0, sunset is 0.25, midnight is 0.5, and sunrise is 0.75, and back to noon for 1.0."}},"examples":[{"cooldown":0.0,"drop_item_chance":0.0,"goal_radius":0.5,"loot_table":"example","max_dist":0,"minimum_teleport_distance":0.0,"max_head_look_at_height":0.0,"offering_distance":0.0,"seconds_before_pickup":0.0,"search_count":1,"search_height":1,"search_range":0,"target_range":[],"teleport_offset":[],"time_of_day_range":[]}]},"DCG":{"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/CJC"},"on_eat":{"title":"On Eat","$ref":"#/definitions/BAI","description":"The event to trigger when the block eating animation has completed."},"success_chance":{"title":"Succes Chance","$ref":"#/definitions/E","default":0.02,"description":"A molang expression defining the success chance the entity has to consume a block."},"time_until_eat":{"title":"Time Until Eat","type":"number","default":1.8,"description":"The amount of time (in seconds) it takes for the block to be eaten upon a successful eat attempt."},"eat_and_replace_block_pairs":{"title":"Eat And Replace Block Pairs","type":"array","description":"A collection of pairs of blocks; the first (\"eat_block\")is the block the entity should eat, the second (\"replace_block\") is the block that should replace the eaten block.","items":{"type":"object","title":"Eat And Replace Block Pair","description":"The block to eat and the block to replace it with.","$comment":"UNDOCUMENTED","properties":{"eat_block":{"type":"string","title":"Block","description":"The block to eat.","$comment":"UNDOCUMENTED","$ref":"#/definitions/BBG"},"replace_block":{"type":"string","title":"Replace Block","description":"The block to replace the eaten block with.","$comment":"UNDOCUMENTED","$ref":"#/definitions/BBG"}}}}},"examples":[{"time_until_eat":0.0,"eat_and_replace_block_pairs":[{"eat_block":"minecraft:grass","replace_block":"minecraft:dirt"}]}]},"DCH":{"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/CJC"},"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}]},"DCI":{"type":"object","title":"Eat Mob","description":"[EXPERIMENTAL BEHAVIOR] Allows the entity to eat a specified Mob.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"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/BE","default":"","description":"Sets the sound that should play when eating a mob."},"loot_table":{"title":"Loot Table","type":"string","default":"","description":"The loot table for loot to be dropped when eating a mob."},"pull_in_force":{"title":"Pull In Force","type":"number","default":1000000,"description":"Sets the force which the mob-to-be-eaten is pulled towards the eating mob."},"reach_mob_distance":{"title":"Reach Mob Distance","type":"number","default":1000000,"description":"Sets the desired distance to be reached before eating the mob."},"run_speed":{"title":"Run Speed","type":"number","default":1000000,"description":"Sets the entity's speed when running toward the target."}}},"DCJ":{"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/CJC"}}},"DDA":{"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/CJC"}}},"DDB":{"type":"object","title":"Equip Item","description":"The entity puts on the desired equipment.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJC"}}},"DDC":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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/CEJ"},"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":[]}]},"DDD":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DDE":{"type":"object","title":"Find Cover","description":"Allows the mob to seek shade.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DDF":{"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/CJC"},"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}]},"DDG":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DDH":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"}}},"DDI":{"type":"object","title":"Float Wander","description":"Allows the mob to float around like the Ghast.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"xz_dist":{"type":"integer","default":10,"description":"Distance in blocks on ground that the mob will look for a new spot to move to. Must be at least 1","title":"Xz Dist"},"y_dist":{"type":"integer","default":7,"description":"Distance in blocks that the mob will look up or down for a new spot to move to. Must be at least 1","title":"Y Dist"},"y_offset":{"type":"number","default":0.0,"description":"Height in blocks to add to the selected target position.","title":"Y Offset"},"must_reach":{"type":"boolean","default":false,"description":"If true, the point has to be reachable to be a valid target.","title":"Must Reach"},"random_reselect":{"type":"boolean","default":false,"description":"If true, the mob will randomly pick a new point while moving to the previously selected one.","title":"Random Reselect"},"float_duration":{"$ref":"#/definitions/BBB","default":[0.0,0.0],"description":"Range of time in seconds the mob will float around before landing and choosing to do something else.","title":"Float Duration"}},"examples":[{"xz_dist":10,"y_dist":7,"y_offset":0.0,"must_reach":false,"random_reselect":false}]},"DDJ":{"type":"object","title":"Float","description":"Allows the mob to stay afloat while swimming.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"}}},"DEA":{"type":"object","title":"Follow Caravan","description":"Allows the mob to follow mobs that are in a caravan.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"entity_types":{"$ref":"#/definitions/CJF","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}]},"DEB":{"type":"object","title":"Follow Mob","description":"Allows the mob to follow other mobs.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DEC":{"type":"object","title":"Follow Owner","description":"Allows the mob to follow the player that owns them.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DED":{"type":"object","title":"Follow Parent","description":"Allows the mob to follow their parent around.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"}}},"DEE":{"type":"object","title":"Follow Target Captain","description":"Allows mob to move towards its current target captain.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DEF":{"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/CJC"},"listen_time":{"title":"Listen Time","type":"integer","default":0.0,"description":"Sets the time an entity should continue delivering items to a noteblock after hearing it."},"on_item_throw":{"title":"On Item Throw","description":"Event(s) to run when this mob throws items.","oneOf":[{"$ref":"#/definitions/BAI"},{"type":"array","items":{"$ref":"#/definitions/BAI"}}]},"reach_block_distance":{"title":"Reach Block Distance","type":"number","default":3.0,"description":"Sets the desired distance to be reached before throwing the items towards the block."},"run_speed":{"title":"Run Speed","type":"number","default":1.0,"description":"Sets the entity's speed when running toward the block."},"throw_force":{"title":"Throw Force","type":"number","default":0.2,"description":"Sets the throw force."},"throw_sound":{"title":"Throw Sound","$ref":"#/definitions/BE","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."}}},"DEG":{"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/CJC"},"on_item_throw":{"title":"On Item Throw","$ref":"#/definitions/BAI","description":"Event(s) to run when this mob throws items.","oneOf":[{"$ref":"#/definitions/BAI"},{"type":"array","items":{"$ref":"#/definitions/BAI"}}]},"reach_mob_distance":{"title":"Reach Mob Distance","type":"number","default":3.0,"description":"Sets the desired distance to be reached before giving items to owner."},"run_speed":{"title":"Run Speed","type":"number","default":1.0,"description":"Sets the entity's speed when running toward the owner."},"throw_force":{"title":"Throw Force","type":"number","default":0.2,"description":"Sets the throw force."},"throw_sound":{"title":"Throw Sound","$ref":"#/definitions/BE","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."}}},"DEH":{"additionalProperties":false,"description":"Allows the mob to move back to the position they were spawned.","title":"Go Home","type":"object","properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"goal_radius":{"type":"number","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot","title":"Goal Radius"},"interval":{"type":"integer","default":120,"description":"A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal","title":"Interval"},"on_home":{"description":"Event(s) to run when this mob gets home.","title":"On Home","type":"array","items":{"$ref":"#/definitions/BAI"}},"on_failed":{"title":"On Failed","description":"Event(s) to run when this goal fails.","type":"array","items":{"$ref":"#/definitions/CFA"}},"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}]},"DEI":{"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/CJC"},"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."}}},"DEJ":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DFA":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DFB":{"type":"object","title":"Hold Ground","description":"The mob freezes and looks at the mob they are targeting.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJC"},"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/CFA","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}]},"DFC":{"type":"object","title":"Hurt By Target","additionalProperties":false,"description":"Allows the mob to target another mob that hurts them.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"entity_types":{"$ref":"#/definitions/CJF","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}]},"DFD":{"type":"object","title":"Inspect Bookshelf","additionalProperties":false,"description":"Allows the mob to inspect bookshelves.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DFE":{"type":"object","title":"Jump To Block","description":"Allows an entity to jump to another random block.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"cooldown_range":{"title":"Cooldown Range","$ref":"#/definitions/BCF","default":[10,20],"description":"Minimum and maximum cooldown time-range (positive, in seconds) between each attempted jump."},"forbidden_blocks":{"title":"Forbidden Blocks","type":"array","description":"Blocks that the mob can't jump to.","items":{"$ref":"#/definitions/J"}},"max_velocity":{"title":"Max Velocity","type":"number","default":1.5,"description":"The maximum velocity with which the mob can jump."},"minimum_distance":{"title":"Minimum Distance","type":"integer","default":2,"description":"The minimum distance (in blocks) from the mob to a block, in order to consider jumping to it."},"minimum_path_length":{"title":"Minimum Path Length","type":"integer","default":5,"description":"The minimum length (in blocks) of the mobs path to a block, in order to consider jumping to it."},"preferred_blocks":{"title":"Preferred Blocks","type":"array","description":"Blocks that the mob prefers jumping to.","items":{"$ref":"#/definitions/J"}},"preferred_blocks_chance":{"title":"Preferred Blocks Chance","type":"number","default":1.0,"description":"Chance (between 0.0 and 1.0) that the mob will jump to a preferred block, if in range. Only matters if preferred blocks are defined."},"scale_factor":{"title":"Scale Factor","type":"number","default":0.7,"description":"The scalefactor of the bounding box of the mob while it is jumping."},"search_height":{"title":"Search Height","type":"integer","default":10,"description":"The height (in blocks, in range [2, 15]) of the search box, centered around the mob."},"search_width":{"title":"Search Width","type":"integer","default":8,"description":"The width (in blocks, in range [2, 15]) of the search box, centered around the mob."}},"examples":[{"search_width":8,"search_height":10,"minimum_path_length":5,"minimum_distance":5,"scale_factor":0.7,"cooldown_range":[]}]},"DFF":{"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/CJC"},"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/BG","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/BG","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/CFA","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}]},"DFG":{"description":"Allows mobs to lay down at times.","type":"object","title":"Lay Down","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"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}]},"DFH":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"allow_laying_from_below":{"title":"Allow Laying From Below","type":"boolean","default":false,"description":"[EXPERIMENTAL] Allows the mob to lay its eggs from below the target if it can't get there. This is useful if the target block is water with air above, since mobs may not be able to get to the air block above water."},"egg_type":{"title":"Egg Type","$ref":"#/definitions/J","default":"minecraft:turtle_egg","description":"[EXPERIMENTAL] Block type for the egg to lay. If this is a turtle egg, the number of eggs in the block is randomly set."},"goal_radius":{"title":"Goal Radius","type":"number","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the \"wiggle room\" to stop the AI from bouncing back and forth trying to reach a specific spot"},"lay_egg_sound":{"title":"Lay Egg Sound","$ref":"#/definitions/BE","default":"lay_egg","description":"[EXPERIMENTAL] Sound event name for laying egg. Defaulted to lay_egg which is used for Turtles."},"lay_seconds":{"title":"Lay Seconds","type":"number","default":10.0,"description":"[EXPERIMENTAL] Duration of the laying egg process in seconds."},"on_lay":{"title":"On Lay","$ref":"#/definitions/BAI","description":"Event to run when this mob lays the egg."},"search_height":{"title":"Search Height","type":"integer","default":1,"description":"Height in blocks the mob will look for a target block to move towards."},"search_range":{"title":"Search Range","type":"integer","default":0,"description":"The distance in blocks it will look for a target block to move towards."},"target_blocks":{"title":"Target Blocks","type":"array","default":["minecraft:sand"],"items":{"title":"Block ID","$ref":"#/definitions/J"},"description":"[EXPERIMENTAL] Blocks that the mob can lay its eggs on top of."},"target_materials_above_block":{"title":"Target Materials Above Block","type":"array","default":["Air"],"enum":["Air","Any","Lava","Water"],"description":"[EXPERIMENTAL] Types of materials that can exist above the target block. Valid types are Air, Water, and Lava."},"use_default_animation":{"title":"Use Default Animation","type":"boolean","default":true,"description":"[EXPERIMENTAL] Specifies if the default lay-egg animation should be played when the egg is placed or not."}},"examples":[{"goal_radius":0.5,"search_height":1,"search_range":0}]},"DFI":{"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/CJC"},"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}]},"DFJ":{"description":"Allows the mob to look at nearby entities.","type":"object","title":"Look At Entity","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"look_distance":{"type":"number","default":8.0,"description":"The distance in blocks from which the entity will look at.","title":"Look Distance"},"probability":{"type":"number","default":0.02,"description":"The probability of looking at the target. A value of 1.00 is 100%","title":"Probability"},"look_time":{"$ref":"#/definitions/BBB","default":[2,4],"description":"Time range to look at the entity.","title":"Look Time"},"angle_of_view_vertical":{"type":"integer","default":360,"description":"The angle in degrees that the mob can see in the X-axis (left-right).","title":"Angle Of View Vertical"},"angle_of_view_horizontal":{"type":"integer","default":360,"description":"The angle in degrees that the mob can see in the Y-axis (up-down).","title":"Angle Of View Horizontal"},"filters":{"description":"Filter to determine the conditions for this mob to look at the entity.","$ref":"#/definitions/BG"}},"examples":[{"look_distance":8.0,"probability":0.02,"angle_of_view_vertical":360,"angle_of_view_horizontal":360}]},"DGA":{"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/CJC"},"angle_of_view_vertical":{"title":"Angle Of View Vertical","type":"integer","default":360,"description":"The angle in degrees that the mob can see in the X-axis (left-right)."},"angle_of_view_horizontal":{"title":"Angle Of View Horizontal","type":"integer","default":360,"description":"The angle in degrees that the mob can see in the Y-axis (up-down)."},"look_distance":{"title":"Look Distance","type":"number","default":8.0,"description":"The distance in blocks from which the entity will look at."},"probability":{"title":"Probability","type":"number","default":0.02,"minimum":0,"description":"The probability of looking at the target. A value of 1.00 is 100%"},"look_time":{"title":"Look Time","type":"array","default":[2,4],"description":"Time range to look at the entity.","items":[{"type":"number","title":"Minimum","description":"The minimum amount of time to look."},{"type":"number","title":"Maximum","description":"The maximum amount of time to look."}]},"target_distance":{"title":"Target Distance","type":"number","default":6.0,"description":"The distance in blocks from which the entity will choose a target."}},"examples":[{"angle_of_view_vertical":360,"angle_of_view_horizontal":360,"look_distance":8.0,"probability":0.02,"look_time":[],"target_distance":6.0}]},"DGB":{"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/CJC"},"look_distance":{"type":"number","default":8.0,"description":"The distance in blocks from which the entity will look at.","title":"Look Distance"},"probability":{"type":"number","default":0.02,"description":"The probability of looking at the target. A value of 1.00 is 100%","title":"Probability"},"look_time":{"$ref":"#/definitions/BBB","default":[2,4],"description":"Time range to look at the entity.","title":"Look Time"},"angle_of_view_vertical":{"type":"integer","default":360,"description":"The angle in degrees that the mob can see in the X-axis (left-right).","title":"Angle Of View Vertical"},"angle_of_view_horizontal":{"type":"integer","default":360,"description":"The angle in degrees that the mob can see in the Y-axis (up-down).","title":"Angle Of View Horizontal"}},"examples":[{"look_distance":8.0,"probability":0.02,"angle_of_view_vertical":360,"angle_of_view_horizontal":360}]},"DGC":{"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/CJC"},"look_distance":{"type":"number","default":8.0,"description":"The distance in blocks from which the entity will look at.","title":"Look Distance"},"probability":{"type":"number","default":0.02,"description":"The probability of looking at the target. A value of 1.00 is 100%","title":"Probability"},"look_time":{"$ref":"#/definitions/BBB","default":[2,4],"description":"Time range to look at the entity.","title":"Look Time"},"angle_of_view_vertical":{"type":"integer","default":360,"description":"The angle in degrees that the mob can see in the X-axis (left-right).","title":"Angle Of View Vertical"},"angle_of_view_horizontal":{"type":"integer","default":360,"description":"The angle in degrees that the mob can see in the Y-axis (up-down).","title":"Angle Of View Horizontal"}},"examples":[{"look_distance":8.0,"probability":0.02,"angle_of_view_vertical":360,"angle_of_view_horizontal":360}]},"DGD":{"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/CJC"}}},"DGE":{"type":"object","title":"Melee Attack","description":"Allows the mob to use close combat melee attacks.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"attack_once":{"title":"Attack Once","type":"boolean","default":false,"description":"Allows the entity to use this attack behavior, only once EVER."},"attack_types":{"title":"Attack Types","type":"string","default":"N/A","description":"Defines the entity types this entity will attack."},"can_spread_on_fire":{"title":"Can Spread On Fire","type":"boolean","default":false,"description":"If the entity is on fire, this allows the entity's target to catch on fire after being hi"},"cooldown_time":{"title":"Cooldown Time","type":"number","default":1,"description":"Cooldown time (in seconds) between attacks."},"inner_boundary_time_increase":{"title":"Inner Boundary Time Increase","type":"number","default":0.25,"description":"Time (in seconds) to add to attack path recalculation when the target is beyond the \"path_inner_boundary\"."},"max_dist":{"title":"Max Dist","type":"number","description":"Unused. No effect on \"minecraft:behavior.melee_attack\"."},"max_path_time":{"title":"Max Path Time","type":"number","default":0.55,"description":"Maximum base time (in seconds) to recalculate new attack path to target (before increases applied)."},"melee_fov":{"title":"Melee Fov","type":"number","default":90,"description":"Field of view (in degrees) when using the sensing component to detect an attack target."},"min_path_time":{"title":"Min Path Time","type":"number","default":0.2,"description":"Minimum base time (in seconds) to recalculate new attack path to target (before increases applied)."},"on_attack":{"title":"On Attack","$ref":"#/definitions/BAI","description":"Defines the event to trigger when this entity successfully attacks."},"on_kill":{"title":"On Kill","$ref":"#/definitions/BAI","description":"Defines the event to trigger when this entity successfully kills."},"outer_boundary_time_increase":{"title":"Outer Boundary Time Increase","type":"number","default":0.5,"description":"Time (in seconds) to add to attack path recalculation when the target is beyond the \"path_outer_boundary\"."},"path_fail_time_increase":{"title":"Path Fail Time Increase","type":"number","default":0.75,"description":"Time (in seconds) to add to attack path recalculation when this entity cannot move along the current path."},"path_inner_boundary":{"title":"Path Inner Boundary","type":"number","default":16,"description":"Distance at which to increase attack path recalculation by \"inner_boundary_tick_increase\"."},"path_outer_boundary":{"title":"Path Outer Boundary","type":"number","default":32,"description":"Distance at which to increase attack path recalculation by \"outer_boundary_tick_increase\"."},"random_stop_interval":{"title":"Random Stop Interval","type":"integer","default":0,"description":"This entity will have a 1 in N chance to stop it's current attack, where N = \"random_stop_interval\"."},"reach_multiplier":{"title":"Reach Multiplier","type":"number","default":2,"description":"Used with the base size of the entity to determine minimum target-distance before trying to deal attack damage."},"require_complete_path":{"title":"Require Complete Path","type":"boolean","default":false,"description":"Toggles (on/off) the need to have a full path from the entity to the target when using this melee attack behavior."},"set_persistent":{"title":"Set Persistent","type":"boolean","default":false,"description":"Allows the actor to be set to persist upon targeting a player."},"target_dist":{"title":"Target Dist","type":"number","description":"Unused. No effect on \"minecraft:behavior.melee_attack\"."},"track_target":{"title":"Track Target","type":"boolean","default":false,"description":"Allows the entity to track the attack target, even if the entity has no sensing."},"x_max_rotation":{"title":"X Max Rotation","type":"number","default":30,"description":"Maximum rotation (in degrees), on the X-axis, this entity can rotate while trying to look at the target."},"y_max_head_rotation":{"title":"Y Max Head Rotation","type":"number","default":30,"description":"Maximum rotation (in degrees), on the Y-axis, this entity can rotate its head while trying to look at the target."}},"examples":[{"melee_fov":90.0,"track_target":false,"attack_types":"example","random_stop_interval":0,"reach_multiplier":2.0,"attack_once":false,"require_complete_path":false,"cooldown_time":0.0}]},"DGF":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DGG":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DGH":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DGI":{"additionalProperties":false,"type":"object","title":"Move Outdoors","$comment":"UNDOCUMENTED","description":"Forces the entity to move `outside`, whatever that means.","properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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."}}},"DGJ":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DHA":{"type":"object","title":"Move To Block","additionalProperties":false,"description":"Allows mob to move towards a block.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"goal_radius":{"title":"Goal Radius","type":"number","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the \"wiggle room\" to stop the AI from bouncing back and forth trying to reach a specific spot"},"on_stay_completed":{"title":"On Stay Completed","description":"Event to run on completing a stay of stay_duration at the block.","oneOf":[{"type":"array","items":{"$ref":"#/definitions/BAI"}},{"$ref":"#/definitions/BAI"}]},"on_reach":{"title":"On Reach","description":"Event to run on block reached.","oneOf":[{"type":"array","items":{"$ref":"#/definitions/BAI"}},{"$ref":"#/definitions/BAI"}]},"start_chance":{"title":"Start Chance","type":"number","default":1.0,"description":"Chance to start the behavior (applied after each random tick_interval)."},"search_range":{"title":"Search Range","type":"integer","default":0,"description":"The distance in blocks that the mob will look for the block."},"search_height":{"title":"Search Height","type":"integer","default":1,"description":"The height in blocks that the mob will look for the block."},"stay_duration":{"title":"Stay Duration","type":"number","default":0.0,"description":"Number of ticks needed to complete a stay at the block."},"target_selection_method":{"title":"Target Selection Method","type":"string","default":"nearest","description":"Kind of block to find fitting the specification. Valid values are \"random\" and \"nearest\".","enum":["random","nearest"]},"target_offset":{"title":"Target Offset","type":"array","default":[0,0,0],"description":"Offset to add to the selected target position.","items":[{"type":"number","title":"X"},{"type":"number","title":"Y"},{"type":"number","title":"Z"}]},"target_blocks":{"type":"array","title":"Target Blocks","description":"Block types to move to.","items":{"$ref":"#/definitions/J"}},"target_block_filters":{"title":"Target Block Filters","description":"Filters to apply on the target blocks. Target blocks are only valid if the filters are true.","$comment":"UNDOCUMENTED","$ref":"#/definitions/BG"},"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"]}]},"DHB":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DHC":{"type":"object","title":"Move To Lava","description":"Allows the mob to move back into lava when on land.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DHD":{"type":"object","title":"Move To Liquid","description":"Allows the mob to move into a liquid when on land.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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"}]},"DHE":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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"}]},"DHF":{"type":"object","title":"Move To Random Block","description":"Allows mob to move towards a random block.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DHG":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DHH":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DHI":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"}}},"DHJ":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"}}},"DIA":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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":[]}]},"DIB":{"type":"object","title":"Move Towards Target","additionalProperties":false,"description":"Allows mob to move towards its current target.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DIC":{"type":"object","title":"Nap","description":"Allows mobs to occassionally stop and take a nap under certain conditions.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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/BG","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/BG","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}]},"DID_entity_type":{"type":"object","description":"A entity type.","properties":{"filters":{"$ref":"#/definitions/BG","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"}}},"DID":{"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/CJC"},"entity_types":{"$ref":"#/definitions/CJF","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}]},"DIE":{"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/CJC"},"entity_types":{"$ref":"#/definitions/CJF","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}]},"DIF":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"}}},"DIG":{"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/CJC"},"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}]},"DIH":{"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/CJC"},"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/BG","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/CEJ"}}},"DII":{"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/CJC"},"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}]},"DIJ":{"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/CJC"},"entity_types":{"$ref":"#/definitions/CJF","description":"List of entity types that this mob can target if they hurt their owner.","title":"Entity Types"}}},"DJA":{"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/CJC"},"entity_types":{"$ref":"#/definitions/CJF","description":"List of entity types that this entity can target if the potential target is hurt by this mob's owner.","title":"Entity TYpes"}}},"DJB":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"damage_sources":{"title":"Damage Sources","type":"array","items":{"$ref":"#/definitions/DD"},"default":[["all"]],"description":"The list of Entity Damage Sources that will cause this mob to panic."},"force":{"title":"Force","type":"boolean","default":false,"description":"If true, this mob will not stop panicking until it can't move anymore or the goal is removed from it."},"ignore_mob_damage":{"title":"Ignore Mob Damage","type":"boolean","default":false,"description":"If true, the mob will not panic in response to damage from other mobs. This overrides the damage types in `damage_sources`"},"prefer_water":{"title":"Prefer Water","type":"boolean","default":false,"description":"If true, the mob will prefer water over land."},"panic_sound":{"title":"Panic Sound","$ref":"#/definitions/BE","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":{}}]},"DJC":{"description":"Allows the mob to peek out. This is what the shulker uses to look out of its shell.","type":"object","title":"Peek","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"}}},"DJD":{"description":"Allows the mob to be tempted by food they like.","type":"object","title":"Pet Sleep With Owner","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DJE":{"description":"Allows the mob to pick up items on the ground.","additionalProperties":false,"type":"object","title":"Pickup Items","properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"can_pickup_any_item":{"type":"boolean","default":false,"description":"If true, the mob can pickup any item.","title":"Can Pickup Any Item"},"can_pickup_to_hand_or_equipment":{"type":"boolean","default":true,"description":"If true, the mob can pickup items to its hand or armor slots.","title":"Can Pickup To Hand Or Equipment"},"cooldown_after_being_attacked":{"type":"number","default":20.0,"description":"Amount of time an offended entity needs before being willing to pick up items.","title":"Cooldown After Being Attacked"},"excluded_items":{"title":"Excluded Items","description":"List of items this mob will not pick up.","type":"array","items":{"title":"Excluded Item","$ref":"#/definitions/J"}},"goal_radius":{"type":"number","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot.","title":"Goal Radius"},"max_dist":{"type":"number","default":0.0,"description":"Maximum distance this mob will look for items to pick up.","title":"Maximum Dist"},"search_height":{"title":"Search Height","type":"number","default":0,"description":"Height in blocks the mob will look for items to pick up.","$comment":"UNDOCUMENTED"},"pickup_based_on_chance":{"type":"boolean","default":false,"description":"If true, depending on the difficulty, there is a random chance that the mob may not be able to pickup items.","title":"Pickup Based On Chance"},"pickup_same_items_as_in_hand":{"type":"boolean","default":false,"description":"If true, the mob will pickup the same item as the item in its hand.","title":"Pickup Same Items As In Hand","$comment":"UNDOCUMENTED"},"track_target":{"type":"boolean","default":false,"description":"If true, this mob will chase after the target as long as it's a valid target.","title":"Track Target"}},"examples":[{"can_pickup_any_item":false,"can_pickup_to_hand_or_equipment":true,"cooldown_after_being_attacked":true,"excluded_items":[],"goal_radius":0.5,"max_dist":0,"pickup_based_on_chance":false,"track_target":false}]},"DJF":{"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/CJC"},"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/BG"},"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/DD"},{"type":"array","items":{"title":"Damage Source","$ref":"#/definitions/DD"}}]}},"examples":[{"duration":0.0,"force_below_health":0.0,"random_start_chance":0.0,"random_damage_range":[],"apply_regeneration":true}]},"DJG":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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/CEJ","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/BG"}}},"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."}}},"DJH":{"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/CJC"}}},"DJI":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"blocks":{"title":"Blocks","type":"array","description":"Blocks that the mob is looking for to eat.","items":{"type":"string","title":"Block Id","description":"A block identifier.","$ref":"#/definitions/BCC"}},"eat_delay":{"title":"Eat Delay","type":"integer","default":2,"description":"Time in seconds between each time it eats."},"full_delay":{"title":"Full Delay","type":"integer","default":100,"description":"Amount of time in seconds before this mob wants to eat again."},"initial_eat_delay":{"title":"Initial Eat Delay","type":"integer","default":0,"description":"Time in seconds before starting to eat/raid once it arrives at it."},"goal_radius":{"type":"number","title":"Goal Radius","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot"},"max_to_eat":{"title":"Maximum To Eat","type":"integer","default":6,"description":"Maximum number of things this entity wants to eat."},"search_range":{"title":"Search Range","type":"integer","default":0,"description":"Distance in blocks the mob will look for crops to eat."},"search_height":{"title":"Search Height","type":"integer","default":0,"description":"Height in blocks the mob will look for crops to eat."}},"examples":[{"blocks":[],"eat_delay":2,"full_delay":100,"initial_eat_delay":0,"goal_radius":0.5,"max_to_eat":6,"search_range":0,"search_height":0}]},"DJJ":{"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/CJC"},"baby_knockback_modifier":{"title":"Baby Knockback Modifier","type":"number","default":0.333333,"description":"The modifier to knockback that babies have."},"cooldown_range":{"title":"Cooldown Range","$ref":"#/definitions/BBB","default":[10,20],"description":"Minimum and maximum cooldown time-range (positive, in seconds) between each attempted ram attack."},"knockback_force":{"title":"Knockback Force","type":"number","default":5.0,"description":"The force of the knockback of the ram attack."},"knockback_height":{"title":"Knockback Height","type":"number","default":0.1,"description":"The height of the knockback of the ram attack."},"min_ram_distance":{"title":"Min Ram Distance","type":"number","default":0.0,"description":"The minimum distance at which the mob can start a ram attack."},"on_start":{"title":"On Start","$ref":"#/definitions/BAI","description":"The event to trigger when attacking."},"pre_ram_sound":{"title":"Pre Ram Sound","$ref":"#/definitions/BE","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/BE","default":"","description":"The sound to play when an entity is impacting on a ram attack."},"ram_speed":{"title":"Ram Speed","type":"number","default":2.0,"description":"Sets the entity's speed when charging toward the target."},"run_speed":{"title":"Run Speed","type":"number","default":1.0,"description":"Sets the entity's speed when running toward the target."},"trigger":{"description":"The event to trigger when attacking.","title":"Trigger","$ref":"#/definitions/BAI"}},"examples":[{"baby_knockback_modifier":4,"cooldown_range":[],"knockback_force":5,"knockback_height":0.1,"min_ram_distance":4,"pre_ram_sound":"example","ram_distance":7,"ram_impact_sound":"example","ram_speed":2,"run_speed":1}]},"EAA":{"description":"Allows the mob to randomly break surface of the water.","type":"object","title":"Random Breach","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"EAB":{"description":"Allows a mob to randomly fly around.","type":"object","title":"Random Fly","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"EAC":{"description":"Allows the mob to hover around randomly, close to the surface.","type":"object","title":"Random Hover","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"EAD":{"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/CJC"},"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}]},"EAE":{"additionalProperties":false,"description":"Allows the mob to randomly look around.","type":"object","title":"Random Look Around","required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"look_time":{"title":"Look Time","$ref":"#/definitions/BCF","description":"The range of time in seconds the mob will stay looking in a random direction before looking elsewhere"},"max_angle_of_view_horizontal":{"title":"Max Angle Of View Horizontal","type":"integer","default":30,"description":"The rightmost angle a mob can look at on the horizontal plane with respect to its initial facing direction."},"min_angle_of_view_horizontal":{"title":"Min Angle Of View Horizontal","type":"integer","default":-30,"description":"The leftmost angle a mob can look at on the horizontal plane with respect to its initial facing direction."}},"examples":[{"look_distance":0.0}]},"EAF":{"type":"object","title":"Random Sitting","description":"Allows the mob to randomly sit for a duration.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"EAG":{"description":"Allows a mob to randomly stroll around.","type":"object","title":"Random Stroll","required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"EAH":{"type":"object","title":"Random Swim","description":"Allows an entity to randomly move through water.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"EAI":{"description":"Allows the mob to use ranged attacks like shooting arrows.","type":"object","title":"Ranged Attack","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"EAJ":{"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/CJC"}}},"EBA":{"description":"Allows the mob to stay indoors during night time.","type":"object","title":"Restrict Open Door","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"}}},"EBB":{"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/CJC"}}},"EBC":{"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/CJC"},"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}]},"EBD":{"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/CJC"},"duration":{"title":"Duration","type":"number","default":0.0,"description":"Goal duration in seconds."}}},"EBE":{"description":"This allows the mob to roll forward.","type":"object","title":"Roll","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"probability":{"type":"number","minimum":0,"description":"The probability that the mob will use the goal.","title":"Probability"}},"examples":[{"probability":0.0}]},"EBF":{"description":"Allows the mob to run around aimlessly.","type":"object","title":"Run Around Like Crazy","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"}}},"EBG":{"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/CJC"},"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}]},"EBH_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/BE","default":"","description":"The sound event to play when this step happens."}}}},"EBH":{"description":"Allows the mob to send an event to another mob.","type":"object","title":"Send Event","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJC"},"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/BG"},"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/BE","title":"Start Sound Event","description":"The sound event to play when using this spell.","$comment":"UNDOCUMENTED"},"sequence":{"$ref":"#/definitions/EBH_sequence"}}}},"sequence":{"$ref":"#/definitions/EBH_sequence","description":"List of steps for the spell.","$comment":"UNDOCUMENTED","title":"Sequence"}},"examples":[{"cast_duration":0.0,"event_choices":[]}]},"EBI":{"description":"Allows the mob to give items it has to others.","type":"object","title":"Share Items","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"entity_types":{"$ref":"#/definitions/CJF","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}]},"EBJ":{"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/CJC"}}},"ECA":{"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/CJC"}}},"ECB":{"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/CJC"},"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}]},"ECC":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"can_sleep_while_riding":{"title":"Can Sleep While Riding","type":"boolean","default":false,"description":"If true, the mob will be able to use the sleep goal if riding something."},"cooldown_time":{"title":"Cooldown Time","type":"number","default":0.0,"description":"Time in seconds the mob has to wait before using the goal again."},"sleep_collider_height":{"title":"Sleep Collider Height","type":"number","default":1.0,"description":"The height of the mob's collider while sleeping."},"sleep_collider_width":{"title":"Sleep Collider Width","type":"number","default":1.0,"description":"The width of the mob's collider while sleeping."},"sleep_y_offset":{"title":"Sleep Y Offset","type":"number","default":1.0,"description":"The y offset of the mob's collider while sleeping."},"timeout_cooldown":{"title":"Timeout Cooldown","type":"number","default":8.0,"description":"The cooldown time in seconds before the goal can be reused after a internal failure or timeout condition."}},"examples":[{"cooldown_time":0,"goal_radius":0,"sleep_collider_height":1,"sleep_collider_width":1,"sleep_y_offset":1,"timeout_cooldown":8}]},"ECD":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"ECE":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"ECF":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"}}},"ECG":{"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/CJC"},"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}]},"ECH":{"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/CJC"},"items":{"title":"Items","description":"Items that we are interested in snacking on.","oneOf":[{"type":"array","items":{"$ref":"#/definitions/J","title":"Item"}},{"$ref":"#/definitions/J"}]},"snacking_cooldown":{"type":"number","default":7.5,"description":"The cooldown time in seconds before the mob is able to snack again.","title":"Snacking Cooldown"},"snacking_cooldown_min":{"type":"number","default":0.5,"description":"The minimum time in seconds before the mob is able to snack again.","title":"Snacking Cooldown Minimum"},"snacking_stop_chance":{"type":"number","description":"This is the chance that the mob will stop snacking, from 0 to 1.","title":"Snacking Stop Chance"}},"examples":[{"snacking_cooldown":7.5,"snacking_cooldown_min":0.5,"snacking_stop_chance":0.0}]},"ECI":{"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/CJC"},"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/CJF","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/BE","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/BE","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}]},"ECJ":{"additionalProperties":false,"type":"object","title":"Sonic Boom","description":"[EXPERIMENTAL BEHAVIOR] Plays the provided sounds and activates the `SONIC BOOM` actor flag during the specified duration","properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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/BE","default":"","description":"Sound event for the attack."},"charge_sound":{"title":"Charge Sound","$ref":"#/definitions/BE","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."}}},"EDA":{"description":"Allows an entity to dive underwater.","type":"object","title":"Squid Dive","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"}}},"EDB":{"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/CJC"}}},"EDC":{"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/CJC"}}},"EDD":{"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/CJC"}}},"EDE":{"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/CJC"}}},"EDF":{"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/CJC"},"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/BG","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}]},"EDG":{"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/CJC"},"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."}}},"EDH":{"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/CJC"}}},"EDI":{"description":"Allows the mob to use the polar bear's melee attack.","type":"object","title":"Stomp Attack","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"attack_once":{"title":"Attack Once","type":"boolean","default":false,"description":"Allows the entity to use this attack behavior, only once EVER."},"attack_types":{"title":"Attack Types","type":"string","default":"N/A","description":"Defines the entity types this entity will attack."},"can_spread_on_fire":{"title":"Can Spread On Fire","type":"boolean","default":false,"description":"If the entity is on fire, this allows the entity's target to catch on fire after being hi"},"cooldown_time":{"title":"Cooldown Time","type":"number","default":1,"description":"Cooldown time (in seconds) between attacks."},"inner_boundary_time_increase":{"title":"Inner Boundary Time Increase","type":"number","default":0.25,"description":"Time (in seconds) to add to attack path recalculation when the target is beyond the \"path_inner_boundary\"."},"max_dist":{"title":"Max Dist","type":"number","description":"Unused. No effect on \"minecraft:behavior.melee_attack\"."},"max_path_time":{"title":"Max Path Time","type":"number","default":0.55,"description":"Maximum base time (in seconds) to recalculate new attack path to target (before increases applied)."},"melee_fov":{"title":"Melee Fov","type":"number","default":90,"description":"Field of view (in degrees) when using the sensing component to detect an attack target."},"min_path_time":{"title":"Min Path Time","type":"number","default":0.2,"description":"Minimum base time (in seconds) to recalculate new attack path to target (before increases applied)."},"no_damage_range_multiplier":{"title":"No Damage Range Multiplier","type":"number","default":2,"description":"Multiplied with the final AoE damage range to determine a no damage range. The stomp attack will go on cooldown if target is in this no damage range."},"on_attack":{"title":"On Attack","$ref":"#/definitions/BAI","description":"Defines the event to trigger when this entity successfully attacks."},"outer_boundary_time_increase":{"title":"Outer Boundary Time Increase","type":"number","default":0.5,"description":"Time (in seconds) to add to attack path recalculation when the target is beyond the \"path_outer_boundary\"."},"path_fail_time_increase":{"title":"Path Fail Time Increase","type":"number","default":0.75,"description":"Time (in seconds) to add to attack path recalculation when this entity cannot move along the current path."},"path_inner_boundary":{"title":"Path Inner Boundary","type":"number","default":16,"description":"Distance at which to increase attack path recalculation by \"inner_boundary_tick_increase\"."},"path_outer_boundary":{"title":"Path Outer Boundary","type":"number","default":32,"description":"Distance at which to increase attack path recalculation by \"outer_boundary_tick_increase\"."},"random_stop_interval":{"title":"Random Stop Interval","type":"integer","default":0,"description":"This entity will have a 1 in N chance to stop it's current attack, where N = \"random_stop_interval\"."},"reach_multiplier":{"title":"Reach Multiplier","type":"number","default":2,"description":"Used with the base size of the entity to determine minimum target-distance before trying to deal attack damage."},"require_complete_path":{"title":"Require Complete Path","type":"boolean","default":false,"description":"Toggles (on/off) the need to have a full path from the entity to the target when using this melee attack behavior."},"set_persistent":{"title":"Set Persistent","type":"boolean","default":false,"description":"Allows the actor to be set to persist upon targeting a player."},"stomp_range_multiplier":{"title":"Stomp Range Multiplier","type":"number","default":2,"description":"Multiplied with the base size of the entity to determine stomp AoE damage range."},"target_dist":{"title":"Target Dist","type":"number","description":"Unused. No effect on \"minecraft:behavior.melee_attack\"."},"track_target":{"title":"Track Target","type":"boolean","default":false,"description":"Allows the entity to track the attack target, even if the entity has no sensing."},"x_max_rotation":{"title":"X Max Rotation","type":"number","default":30,"description":"Maximum rotation (in degrees), on the X-axis, this entity can rotate while trying to look at the target."},"y_max_head_rotation":{"title":"Y Max Head Rotation","type":"number","default":30,"description":"Maximum rotation (in degrees), on the Y-axis, this entity can rotate its head while trying to look at the target."}},"examples":[{"attack_once":false,"attack_types":"","probability":0.02,"random_stop_interval":0,"reach_multiplier":2,"require_complete_path":false,"track_target":false,"stomp_range_multiplier":0.0,"no_damage_range_multiplier":0.0}]},"EDJ":{"description":"Allows this mob to stomp turtle eggs.","type":"object","title":"Stomp Turtle Egg","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"EEA":{"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/CJC"},"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}]},"EEB":{"description":"Allows the mob to attack the player by summoning other entities.","title":"Summon Entity","type":"object","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"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/BG"},"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/BE","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/BE","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":[]}]},"EEC":{"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/CJC"},"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}]},"EED":{"description":"Allows the entity go idle, if swimming. Entity must be in water.","type":"object","title":"Swim Idle","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJC"},"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}]},"EEE":{"description":"Has the fish swim around when they can't pathfind.","type":"object","title":"Swim Wander","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"EEF":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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/CJF","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}]},"EEG":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"damage_reach":{"title":"Damage Reach","type":"number","default":0.2,"description":"Added to the base size of the entity, to determine the target's maximum allowable distance, when trying to deal attack damage."},"delay_range":{"$ref":"#/definitions/BBB","default":[[10.0,20.0]],"description":"Minimum and maximum cooldown time-range (in seconds) between each attempted swoop attack.","title":"Delay Range"}},"examples":[{"damage_reach":0.2,"delay_range":[10.0,20.0]}]},"EEH":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"filters":{"title":"Filters","$ref":"#/definitions/BG","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/CEJ"}}},"EEI":{"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/CJC"},"entity_types":{"title":"Entity Types","$ref":"#/definitions/CJF","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":[]}]},"EEJ":{"description":"Allows an entity to be tempted by a set item.","type":"object","title":"Tempt","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"can_get_scared":{"type":"boolean","default":false,"description":"If true, the mob can stop being tempted if the player moves too fast while close to this mob.","title":"Can Get Scared"},"can_tempt_while_ridden":{"type":"boolean","default":false,"title":"Can Tempt While Ridden","description":"If true, the mob can be tempted even if it has a passenger (i.e. if being ridden)."},"can_tempt_vertically":{"type":"boolean","default":false,"title":"Can Tempt Vertically","description":"If true, vertical distance to the player will be considered when tempting."},"items":{"type":"array","title":"Items","description":"List of items this mob is tempted by.","items":{"$ref":"#/definitions/J"}},"sound_interval":{"description":"Range of random ticks to wait between tempt sounds.","title":"Sound Interval","oneOf":[{"type":"number","minimum":0},{"items":[{"type":"integer","minimum":0,"title":"Minimum"},{"type":"integer","minimum":0,"title":"Maximum"}]}]},"tempt_sound":{"$ref":"#/definitions/BE","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}]},"EFA":{"title":"Timer Flag","description":"Fires an event when this behavior starts, then waits for a duration before stopping. When stopping due to that timeout or due to being interrupted by another behavior, fires another event. query.timer_flag_ will return 1.0 on both the client and server when this behavior is running, and 0.0 otherwise.","type":"object","additionalProperties":false,"properties":{"cooldown_range":{"title":"Cooldown Range","$ref":"#/definitions/BCF","default":[10.0,10.0],"description":"Goal cooldown range in seconds."},"duration_range":{"title":"Duration Range","$ref":"#/definitions/BCF","default":[2.0,2.0],"description":"Goal duration range in seconds."},"on_end":{"title":"On End","$ref":"#/definitions/BAI","description":"Event to run when the goal ends."},"on_start":{"title":"On Start","$ref":"#/definitions/BAI","description":"Event to run when the goal starts."}}},"EFB":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"cooldown_range":{"title":"Cooldown Range","default":[0.0,0.0],"description":"Goal cooldown range in seconds.","$ref":"#/definitions/BCF"},"digging_duration_range":{"title":"Digging Duration Range","$ref":"#/definitions/BCF","default":[0.0,0.0],"description":"Digging duration in seconds."},"find_valid_position_retries":{"title":"Find Valid Position Retries","type":"number","default":0.0,"description":"Amount of retries to find a valid target position within search range."},"goal_radius":{"title":"Goal Radius","type":"number","default":1500000,"description":"Distance in blocks within the entity to considers it has reached it's target position."},"item_table":{"title":"Item Table","type":"string","default":"","description":"File path relative to the resource pack root for items to spawn list (loot table format)."},"on_digging_start":{"title":"On Digging Start","$ref":"#/definitions/BAI","description":"Event to run when the goal ends searching has begins digging."},"on_fail_during_digging":{"title":"On Fail During Digging","$ref":"#/definitions/BAI","description":"Event to run when the goal failed while in digging state."},"on_fail_during_searching":{"title":"On Fail During Searching","$ref":"#/definitions/BAI","description":"Event to run when the goal failed while in searching state."},"on_item_found":{"title":"On Item Found","$ref":"#/definitions/BAI","description":"Event to run when the goal find a item."},"on_searching_start":{"title":"On Searching Start","$ref":"#/definitions/BAI","description":"Event to run when the goal starts searching."},"on_success":{"title":"On Success","$ref":"#/definitions/BAI","description":"Event to run when searching and digging has ended."},"search_range_xz":{"title":"Search Range XZ","type":"number","default":0.0,"description":"Width and length of the volume around the entity used to find a valid target position"},"search_range_y":{"title":"Search Range Y","type":"number","default":0.0,"description":"Height of the volume around the entity used to find a valid target position"},"spawn_item_after_seconds":{"title":"Spawn Item After Seconds","type":"number","default":0.0,"description":"Digging duration before spawning item in seconds."},"spawn_item_pos_offset":{"title":"Spawn Item Pos Offset","type":"number","default":0.0,"description":"Distance to offset the item's spawn location in the direction the mob is facing."},"target_blocks":{"title":"Target Blocks","type":"array","description":"List of target block types the goal will look to dig on. Overrides the default list.","items":{"$ref":"#/definitions/BCC"}},"target_dig_position_offset":{"title":"Target Dig Position Offset","type":"number","default":2250000,"description":"Dig target position offset from the feet position of the mob in their facing direction."}}},"EFC":{"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/CJC"},"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}]},"EFD":{"description":"Allows the player to trade with this mob.","type":"object","title":"Trade With Player","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"}}},"EFE":{"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/CJC"},"entity_types":{"$ref":"#/definitions/CJF","description":"List of entities this mob can copy the owner from.","title":"Entity Types"}}},"EFF":{"description":"Allows the mob to move around randomly like the Vex.","additionalProperties":false,"type":"object","title":"Vex Random Move","required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"entity_types":{"$ref":"#/definitions/CJF","description":"List of entities this mob can copy the owner from.","title":"Entity Types"}}},"EFG":{"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/CJC"}}},"EFH":{"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/CJC"},"entity_types":{"$ref":"#/definitions/CJF","description":"List of entity types the wither takes into account to find who dealt the most damage to it.","title":"Entity Types"}}},"EFI":{"type":"object","title":"Work","description":"Allows the NPC to use the POI.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"active_time":{"title":"Active Time","type":"integer","default":0,"description":"The amount of ticks the NPC will stay in their the work location.","exclusiveMinimum":0},"can_work_in_rain":{"title":"Can Work In Rain","type":"boolean","default":false,"description":"If true, this entity can work when their jobsite POI is being rained on."},"goal_cooldown":{"title":"Goal Cooldown","type":"integer","default":0,"description":"The amount of ticks the goal will be on cooldown before it can be used again."},"on_arrival":{"title":"On Arrival","$ref":"#/definitions/BAI","description":"Event to run when the mob reaches their jobsite."},"sound_delay_max":{"title":"Sound Delay Max","type":"integer","default":0,"description":"The max interval in which a sound will play."},"sound_delay_min":{"title":"Sound Delay Min","type":"integer","default":0,"description":"The min interval in which a sound will play."},"work_in_rain_tolerance":{"title":"Work In Rain Tolerance","type":"integer","default":-1,"description":"If \"can_work_in_rain\" is false, this is the maximum number of ticks left in the goal where rain will not interrupt the goal"}},"examples":[{"active_time":0,"can_work_in_rain":false,"goal_cooldown":0,"sound_delay_max":0,"sound_delay_min":0,"work_in_rain_tolerance":-1}]},"EFJ":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"active_time":{"title":"Active Time","type":"integer","default":0,"description":"The amount of ticks the NPC will stay in their the work location."},"block_interaction_max":{"title":"Block Interaction Max","type":"integer","default":1,"description":"The maximum number of times the mob will interact with the composter."},"can_empty_composter":{"title":"Can Empty Composter","type":"boolean","default":true,"description":"Determines whether the mob can empty a full composter."},"can_fill_composter":{"title":"Can Fill Composter","type":"boolean","default":true,"description":"Determines whether the mob can add items to a composter given that it is not full."},"can_work_in_rain":{"title":"Can Work In Rain","type":"boolean","default":false,"description":"If true, this entity can work when their jobsite POI is being rained on."},"goal_cooldown":{"title":"Goal Cooldown","type":"integer","default":0,"description":"The amount of ticks the goal will be on cooldown before it can be used again."},"items_per_use_max":{"title":"Items Per Use Max","type":"integer","default":20,"description":"The maximum number of items which can be added to the composter per block interaction."},"min_item_count":{"title":"Min Item Count","type":"integer","default":10,"description":"Limits the amount of each compostable item the mob can use. Any amount held over this number will be composted if possible"},"on_arrival":{"title":"On Arrival","$ref":"#/definitions/BAI","description":"Event to run when the mob reaches their jobsite."},"sound_delay_max":{"title":"Sound Delay Max","type":"integer","description":"Unused."},"sound_delay_min":{"title":"Sound Delay Min","type":"integer","description":"Unused."},"use_block_max":{"title":"Use Block Max","type":"integer","default":200,"description":"The maximum interval in which the mob will interact with the composter."},"use_block_min":{"title":"Use Block Min","type":"integer","default":100,"description":"The minimum interval in which the mob will interact with the composter."},"work_in_rain_tolerance":{"title":"Work In Rain Tolerance","type":"integer","default":-1,"description":"If \"can_work_in_rain\" is false, this is the maximum number of ticks left in the goal where rain will not interrupt the goal"}},"examples":[{}]},"F":{"additionalProperties":false,"type":"object","title":"Components","description":"A collection of components.","required":[],"properties":{"minecraft:addrider":{"$ref":"#/definitions/G"},"minecraft:admire_item":{"$ref":"#/definitions/H"},"minecraft:ageable":{"$ref":"#/definitions/I"},"minecraft:ambient_sound_interval":{"$ref":"#/definitions/BD"},"minecraft:anger_level":{"$ref":"#/definitions/BF"},"minecraft:angry":{"$ref":"#/definitions/BAD"},"minecraft:annotation.break_door":{"$ref":"#/definitions/BAE"},"minecraft:annotation.open_door":{"$ref":"#/definitions/BAF"},"minecraft:area_attack":{"$ref":"#/definitions/BAG"},"minecraft:attack_cooldown":{"$ref":"#/definitions/BAH"},"minecraft:attack_damage":{"$ref":"#/definitions/BAJ"},"minecraft:attack":{"$ref":"#/definitions/BBA"},"minecraft:balloonable":{"$ref":"#/definitions/BBC"},"minecraft:barter":{"$ref":"#/definitions/BBD"},"minecraft:block_climber":{"$ref":"#/definitions/BBE"},"minecraft:block_sensor":{"$ref":"#/definitions/BBF"},"minecraft:boostable":{"$ref":"#/definitions/BBH"},"minecraft:boss":{"$ref":"#/definitions/BBI"},"minecraft:break_blocks":{"$ref":"#/definitions/BBJ"},"minecraft:breathable":{"$ref":"#/definitions/BCB"},"minecraft:breedable":{"$ref":"#/definitions/BCD"},"minecraft:bribeable":{"$ref":"#/definitions/BCG"},"minecraft:buoyant":{"$ref":"#/definitions/BCH"},"minecraft:burns_in_daylight":{"$ref":"#/definitions/BCI"},"minecraft:can_climb":{"$ref":"#/definitions/BCJ"},"minecraft:can_fly":{"$ref":"#/definitions/BDA"},"minecraft:can_power_jump":{"$ref":"#/definitions/BDB"},"minecraft:celebrate_hunt":{"$ref":"#/definitions/BDC"},"minecraft:collision_box":{"$ref":"#/definitions/BDD"},"minecraft:color":{"$ref":"#/definitions/BDE"},"minecraft:color2":{"$ref":"#/definitions/BDF"},"minecraft:combat_regeneration":{"$ref":"#/definitions/BDG"},"minecraft:conditional_bandwidth_optimization":{"$ref":"#/definitions/BDH"},"minecraft:custom_hit_test":{"$ref":"#/definitions/BDI"},"minecraft:damage_over_time":{"$ref":"#/definitions/BDJ"},"minecraft:damage_sensor":{"$ref":"#/definitions/BEA"},"minecraft:dash":{"$ref":"#/definitions/BEB"},"minecraft:default_look_angle":{"$ref":"#/definitions/BEC"},"minecraft:despawn":{"$ref":"#/definitions/BED"},"minecraft:drying_out_timer":{"$ref":"#/definitions/BEE"},"minecraft:dweller":{"$ref":"#/definitions/BEF"},"minecraft:economy_trade_table":{"$ref":"#/definitions/BEG"},"minecraft:entity_sensor":{"$ref":"#/definitions/BEH"},"minecraft:environment_sensor":{"$ref":"#/definitions/BEI"},"minecraft:equip_item":{"$ref":"#/definitions/BEJ"},"minecraft:equipment":{"$ref":"#/definitions/BFA"},"minecraft:equippable":{"$ref":"#/definitions/BFC"},"minecraft:exhaustion_values":{"$ref":"#/definitions/BFD"},"minecraft:experience_reward":{"$ref":"#/definitions/BFE"},"minecraft:explode":{"$ref":"#/definitions/BFF"},"minecraft:fall_damage":{"$ref":"#/definitions/BFG"},"minecraft:fire_immune":{"$ref":"#/definitions/BFH"},"minecraft:floats_in_liquid":{"$ref":"#/definitions/BFI"},"minecraft:flocking":{"$ref":"#/definitions/BFJ"},"minecraft:flying_speed":{"$ref":"#/definitions/BGA"},"minecraft:follow_range":{"$ref":"#/definitions/BGB"},"minecraft:friction_modifier":{"$ref":"#/definitions/BGC"},"minecraft:game_event_movement_tracking":{"$ref":"#/definitions/BGD"},"minecraft:genetics":{"$ref":"#/definitions/BGE"},"minecraft:giveable":{"$ref":"#/definitions/BGF"},"minecraft:ground_offset":{"$ref":"#/definitions/BGG"},"minecraft:group_size":{"$ref":"#/definitions/BGH"},"minecraft:grows_crop":{"$ref":"#/definitions/BGI"},"minecraft:healable":{"$ref":"#/definitions/BGJ"},"minecraft:health":{"$ref":"#/definitions/BHA"},"minecraft:heartbeat":{"$ref":"#/definitions/BHB"},"minecraft:hide":{"$ref":"#/definitions/BHC"},"minecraft:home":{"$ref":"#/definitions/BHD"},"minecraft:horse.jump_strength":{"$ref":"#/definitions/BHE"},"minecraft:hurt_on_condition":{"$ref":"#/definitions/BHF"},"minecraft:hurt_when_wet":{"$ref":"#/definitions/BHG"},"minecraft:input_ground_controlled":{"$ref":"#/definitions/BHH"},"minecraft:inside_block_notifier":{"$ref":"#/definitions/BHI"},"minecraft:insomnia":{"$ref":"#/definitions/BIA"},"minecraft:instant_despawn":{"$ref":"#/definitions/BIB"},"minecraft:interact":{"$ref":"#/definitions/BIC"},"minecraft:inventory":{"$ref":"#/definitions/BID"},"minecraft:is_baby":{"$ref":"#/definitions/BIE"},"minecraft:is_charged":{"$ref":"#/definitions/BIF"},"minecraft:is_chested":{"$ref":"#/definitions/BIG"},"minecraft:is_dyeable":{"$ref":"#/definitions/BIH"},"minecraft:is_hidden_when_invisible":{"$ref":"#/definitions/BII"},"minecraft:is_ignited":{"$ref":"#/definitions/BIJ"},"minecraft:is_illager_captain":{"$ref":"#/definitions/BJA"},"minecraft:is_saddled":{"$ref":"#/definitions/BJB"},"minecraft:is_shaking":{"$ref":"#/definitions/BJC"},"minecraft:is_sheared":{"$ref":"#/definitions/BJD"},"minecraft:is_stackable":{"$ref":"#/definitions/BJE"},"minecraft:is_stunned":{"$ref":"#/definitions/BJF"},"minecraft:is_tamed":{"$ref":"#/definitions/BJG"},"minecraft:item_controllable":{"$ref":"#/definitions/BJH"},"minecraft:item_hopper":{"$ref":"#/definitions/BJI"},"minecraft:jump.dynamic":{"$ref":"#/definitions/BJJ"},"minecraft:jump.static":{"$ref":"#/definitions/CAA"},"minecraft:knockback_resistance":{"$ref":"#/definitions/CAB"},"minecraft:lava_movement":{"$ref":"#/definitions/CAC"},"minecraft:leashable":{"$ref":"#/definitions/CAD"},"minecraft:lookat":{"$ref":"#/definitions/CAE"},"minecraft:loot":{"$ref":"#/definitions/CAF"},"minecraft:managed_wandering_trader":{"$ref":"#/definitions/CAG"},"minecraft:mark_variant":{"$ref":"#/definitions/CAH"},"minecraft:mob_effect":{"$ref":"#/definitions/CAI"},"minecraft:movement_sound_distance_offset":{"$ref":"#/definitions/CAJ"},"minecraft:movement.amphibious":{"$ref":"#/definitions/CBA"},"minecraft:movement.basic":{"$ref":"#/definitions/CBB"},"minecraft:movement.fly":{"$ref":"#/definitions/CBC"},"minecraft:movement.generic":{"$ref":"#/definitions/CBD"},"minecraft:movement.glide":{"$ref":"#/definitions/CBE"},"minecraft:movement.hover":{"$ref":"#/definitions/CBF"},"minecraft:movement.jump":{"$ref":"#/definitions/CBG"},"minecraft:movement.skip":{"$ref":"#/definitions/CBH"},"minecraft:movement.sway":{"$ref":"#/definitions/CBI"},"minecraft:movement":{"$ref":"#/definitions/CBJ"},"minecraft:nameable":{"$ref":"#/definitions/CCA"},"minecraft:navigation.climb":{"$ref":"#/definitions/CCB"},"minecraft:navigation.float":{"$ref":"#/definitions/CCC"},"minecraft:navigation.fly":{"$ref":"#/definitions/CCD"},"minecraft:navigation.generic":{"$ref":"#/definitions/CCE"},"minecraft:navigation.hover":{"$ref":"#/definitions/CCF"},"minecraft:navigation.swim":{"$ref":"#/definitions/CCG"},"minecraft:navigation.walk":{"$ref":"#/definitions/CCH"},"minecraft:npc":{"$ref":"#/definitions/CCI"},"minecraft:on_death":{"$ref":"#/definitions/CCJ"},"minecraft:on_friendly_anger":{"$ref":"#/definitions/CDA"},"minecraft:on_hurt_by_player":{"$ref":"#/definitions/CDB"},"minecraft:on_hurt":{"$ref":"#/definitions/CDC"},"minecraft:on_ignite":{"$ref":"#/definitions/CDD"},"minecraft:on_start_landing":{"$ref":"#/definitions/CDE"},"minecraft:on_start_takeoff":{"$ref":"#/definitions/CDF"},"minecraft:on_target_acquired":{"$ref":"#/definitions/CDG"},"minecraft:on_target_escape":{"$ref":"#/definitions/CDH"},"minecraft:on_wake_with_owner":{"$ref":"#/definitions/CDI"},"minecraft:out_of_control":{"$ref":"#/definitions/CDJ"},"minecraft:peek":{"$ref":"#/definitions/CEA"},"minecraft:persistent":{"$ref":"#/definitions/CEB"},"minecraft:physics":{"$ref":"#/definitions/CEC"},"minecraft:player.exhaustion":{"$ref":"#/definitions/CED"},"minecraft:player.experience":{"$ref":"#/definitions/CEE"},"minecraft:player.level":{"$ref":"#/definitions/CEF"},"minecraft:player.saturation":{"$ref":"#/definitions/CEG"},"minecraft:preferred_path":{"$ref":"#/definitions/CEH"},"minecraft:projectile":{"$ref":"#/definitions/CEI"},"minecraft:push_through":{"$ref":"#/definitions/CFB"},"minecraft:pushable":{"$ref":"#/definitions/CFC"},"minecraft:raid_trigger":{"$ref":"#/definitions/CFD"},"minecraft:rail_movement":{"$ref":"#/definitions/CFE"},"minecraft:rail_sensor":{"$ref":"#/definitions/CFF"},"minecraft:ravager_blocked":{"$ref":"#/definitions/CFG"},"minecraft:rideable":{"$ref":"#/definitions/CFH"},"minecraft:scale_by_age":{"$ref":"#/definitions/CFI"},"minecraft:scale":{"$ref":"#/definitions/CFJ"},"minecraft:scheduler":{"$ref":"#/definitions/CGA"},"minecraft:shareables":{"$ref":"#/definitions/CGB"},"minecraft:shooter":{"$ref":"#/definitions/CGC"},"minecraft:sittable":{"$ref":"#/definitions/CGD"},"minecraft:skin_id":{"$ref":"#/definitions/CGE"},"minecraft:sound_volume":{"$ref":"#/definitions/CGF"},"minecraft:spawn_entity":{"$ref":"#/definitions/CGG"},"minecraft:spell_effects":{"$ref":"#/definitions/CGH"},"minecraft:strength":{"$ref":"#/definitions/CGI"},"minecraft:suspect_tracking":{"$ref":"#/definitions/CGJ"},"minecraft:tameable":{"$ref":"#/definitions/CHA"},"minecraft:tamemount":{"$ref":"#/definitions/CHB"},"minecraft:target_nearby_sensor":{"$ref":"#/definitions/CHC"},"minecraft:teleport":{"$ref":"#/definitions/CHD"},"minecraft:tick_world":{"$ref":"#/definitions/CHE"},"minecraft:timer":{"$ref":"#/definitions/CHF"},"minecraft:trade_resupply":{"$ref":"#/definitions/CHG"},"minecraft:trade_table":{"$ref":"#/definitions/CHH"},"minecraft:trail":{"$ref":"#/definitions/CHI"},"minecraft:transformation":{"$ref":"#/definitions/CHJ"},"minecraft:trust":{"$ref":"#/definitions/CIA"},"minecraft:trusting":{"$ref":"#/definitions/CIB"},"minecraft:type_family":{"$ref":"#/definitions/CIC"},"minecraft:underwater_movement":{"$ref":"#/definitions/CID"},"minecraft:variable_max_auto_step":{"$ref":"#/definitions/CIE"},"minecraft:variant":{"$ref":"#/definitions/CIF"},"minecraft:vibration_damper":{"$ref":"#/definitions/CIG"},"minecraft:vibration_listener":{"$ref":"#/definitions/CIH"},"minecraft:walk_animation_speed":{"$ref":"#/definitions/CII"},"minecraft:wants_jockey":{"$ref":"#/definitions/CIJ"},"minecraft:water_movement":{"$ref":"#/definitions/CJA"},"minecraft:behavior.admire_item":{"$ref":"#/definitions/CJB"},"minecraft:behavior.avoid_block":{"$ref":"#/definitions/CJD"},"minecraft:behavior.avoid_mob_type":{"$ref":"#/definitions/CJE"},"minecraft:behavior.barter":{"$ref":"#/definitions/CJG"},"minecraft:behavior.beg":{"$ref":"#/definitions/CJH"},"minecraft:behavior.break_door":{"$ref":"#/definitions/CJI"},"minecraft:behavior.breed":{"$ref":"#/definitions/DAA"},"minecraft:behavior.celebrate_survive":{"$ref":"#/definitions/DAB"},"minecraft:behavior.celebrate":{"$ref":"#/definitions/DAC"},"minecraft:behavior.charge_attack":{"$ref":"#/definitions/DAD"},"minecraft:behavior.charge_held_item":{"$ref":"#/definitions/DAE"},"minecraft:behavior.circle_around_anchor":{"$ref":"#/definitions/DAF"},"minecraft:behavior.controlled_by_player":{"$ref":"#/definitions/DAG"},"minecraft:behavior.croak":{"$ref":"#/definitions/DAH"},"minecraft:behavior.defend_trusted_target":{"$ref":"#/definitions/DBA"},"minecraft:behavior.defend_village_target":{"$ref":"#/definitions/DBB"},"minecraft:behavior.delayed_attack":{"$ref":"#/definitions/DBC"},"minecraft:behavior.dig":{"$ref":"#/definitions/DBD"},"minecraft:behavior.door_interact":{"$ref":"#/definitions/DBE"},"minecraft:behavior.dragonchargeplayer":{"$ref":"#/definitions/DBF"},"minecraft:behavior.dragondeath":{"$ref":"#/definitions/DBG"},"minecraft:behavior.dragonflaming":{"$ref":"#/definitions/DBH"},"minecraft:behavior.dragonholdingpattern":{"$ref":"#/definitions/DBI"},"minecraft:behavior.dragonlanding":{"$ref":"#/definitions/DBJ"},"minecraft:behavior.dragonscanning":{"$ref":"#/definitions/DCA"},"minecraft:behavior.dragonstrafeplayer":{"$ref":"#/definitions/DCB"},"minecraft:behavior.dragontakeoff":{"$ref":"#/definitions/DCC"},"minecraft:behavior.drink_milk":{"$ref":"#/definitions/DCD"},"minecraft:behavior.drink_potion":{"$ref":"#/definitions/DCE"},"minecraft:behavior.drop_item_for":{"$ref":"#/definitions/DCF"},"minecraft:behavior.eat_block":{"$ref":"#/definitions/DCG"},"minecraft:behavior.eat_carried_item":{"$ref":"#/definitions/DCH"},"minecraft:behavior.eat_mob":{"$ref":"#/definitions/DCI"},"minecraft:behavior.emerge":{"$ref":"#/definitions/DCI"},"minecraft:behavior.enderman_leave_block":{"$ref":"#/definitions/DCJ"},"minecraft:behavior.enderman_take_block":{"$ref":"#/definitions/DDA"},"minecraft:behavior.equip_item":{"$ref":"#/definitions/DDB"},"minecraft:behavior.explore_outskirts":{"$ref":"#/definitions/DDC"},"minecraft:behavior.fertilize_farm_block":{"$ref":"#/definitions/DDD"},"minecraft:behavior.find_cover":{"$ref":"#/definitions/DDE"},"minecraft:behavior.find_mount":{"$ref":"#/definitions/DDF"},"minecraft:behavior.find_underwater_treasure":{"$ref":"#/definitions/DDG"},"minecraft:behavior.flee_sun":{"$ref":"#/definitions/DDH"},"minecraft:behavior.float_wander":{"$ref":"#/definitions/DDI"},"minecraft:behavior.float":{"$ref":"#/definitions/DDJ"},"minecraft:behavior.follow_caravan":{"$ref":"#/definitions/DEA"},"minecraft:behavior.follow_mob":{"$ref":"#/definitions/DEB"},"minecraft:behavior.follow_owner":{"$ref":"#/definitions/DEC"},"minecraft:behavior.follow_parent":{"$ref":"#/definitions/DED"},"minecraft:behavior.follow_target_captain":{"$ref":"#/definitions/DEE"},"minecraft:behavior.go_and_give_items_to_noteblock":{"$ref":"#/definitions/DEF"},"minecraft:behavior.go_and_give_items_to_owner":{"$ref":"#/definitions/DEG"},"minecraft:behavior.go_home":{"$ref":"#/definitions/DEH"},"minecraft:behavior.guardian_attack":{"$ref":"#/definitions/DEI"},"minecraft:behavior.harvest_farm_block":{"$ref":"#/definitions/DEJ"},"minecraft:behavior.hide":{"$ref":"#/definitions/DFA"},"minecraft:behavior.hold_ground":{"$ref":"#/definitions/DFB"},"minecraft:behavior.hurt_by_target":{"$ref":"#/definitions/DFC"},"minecraft:behavior.inspect_bookshelf":{"$ref":"#/definitions/DFD"},"minecraft:behavior.jump_to_block":{"$ref":"#/definitions/DFE"},"minecraft:behavior.knockback_roar":{"$ref":"#/definitions/DFF"},"minecraft:behavior.lay_down":{"$ref":"#/definitions/DFG"},"minecraft:behavior.lay_egg":{"$ref":"#/definitions/DFH"},"minecraft:behavior.leap_at_target":{"$ref":"#/definitions/DFI"},"minecraft:behavior.look_at_entity":{"$ref":"#/definitions/DFJ"},"minecraft:behavior.look_at_player":{"$ref":"#/definitions/DGA"},"minecraft:behavior.look_at_target":{"$ref":"#/definitions/DGB"},"minecraft:behavior.look_at_trading_player":{"$ref":"#/definitions/DGC"},"minecraft:behavior.make_love":{"$ref":"#/definitions/DGD"},"minecraft:behavior.melee_attack":{"$ref":"#/definitions/DGE"},"minecraft:behavior.mingle":{"$ref":"#/definitions/DGF"},"minecraft:behavior.mount_pathing":{"$ref":"#/definitions/DGG"},"minecraft:behavior.move_indoors":{"$ref":"#/definitions/DGH"},"minecraft:behavior.move_outdoors":{"$ref":"#/definitions/DGI"},"minecraft:behavior.move_through_village":{"$ref":"#/definitions/DGJ"},"minecraft:behavior.move_to_block":{"$ref":"#/definitions/DHA"},"minecraft:behavior.move_to_land":{"$ref":"#/definitions/DHB"},"minecraft:behavior.move_to_lava":{"$ref":"#/definitions/DHC"},"minecraft:behavior.move_to_liquid":{"$ref":"#/definitions/DHD"},"minecraft:behavior.move_to_poi":{"$ref":"#/definitions/DHE"},"minecraft:behavior.move_to_random_block":{"$ref":"#/definitions/DHF"},"minecraft:behavior.move_to_village":{"$ref":"#/definitions/DHG"},"minecraft:behavior.move_to_water":{"$ref":"#/definitions/DHH"},"minecraft:behavior.move_towards_dwelling_restriction":{"$ref":"#/definitions/DHI"},"minecraft:behavior.move_towards_home_restriction":{"$ref":"#/definitions/DHJ"},"minecraft:behavior.move_towards_restriction":{"$ref":"#/definitions/DIA"},"minecraft:behavior.move_towards_target":{"$ref":"#/definitions/DIB"},"minecraft:behavior.nap":{"$ref":"#/definitions/DIC"},"minecraft:behavior.nearest_attackable_target":{"$ref":"#/definitions/DID"},"minecraft:behavior.nearest_prioritized_attackable_target":{"$ref":"#/definitions/DIE"},"minecraft:behavior.ocelot_sit_on_block":{"$ref":"#/definitions/DIF"},"minecraft:behavior.ocelotattack":{"$ref":"#/definitions/DIG"},"minecraft:behavior.offer_flower":{"$ref":"#/definitions/DIH"},"minecraft:behavior.open_door":{"$ref":"#/definitions/DII"},"minecraft:behavior.owner_hurt_by_target":{"$ref":"#/definitions/DIJ"},"minecraft:behavior.owner_hurt_target":{"$ref":"#/definitions/DJA"},"minecraft:behavior.panic":{"$ref":"#/definitions/DJB"},"minecraft:behavior.peek":{"$ref":"#/definitions/DJC"},"minecraft:behavior.pet_sleep_with_owner":{"$ref":"#/definitions/DJD"},"minecraft:behavior.pickup_items":{"$ref":"#/definitions/DJE"},"minecraft:behavior.play_dead":{"$ref":"#/definitions/DJF"},"minecraft:behavior.play":{"$ref":"#/definitions/DJG"},"minecraft:behavior.player_ride_tamed":{"$ref":"#/definitions/DJH"},"minecraft:behavior.raid_garden":{"$ref":"#/definitions/DJI"},"minecraft:behavior.ram_attack":{"$ref":"#/definitions/DJJ"},"minecraft:behavior.random_breach":{"$ref":"#/definitions/EAA"},"minecraft:behavior.random_fly":{"$ref":"#/definitions/EAB"},"minecraft:behavior.random_hover":{"$ref":"#/definitions/EAC"},"minecraft:behavior.random_look_around_and_sit":{"$ref":"#/definitions/EAD"},"minecraft:behavior.random_look_around":{"$ref":"#/definitions/EAE"},"minecraft:behavior.random_sitting":{"$ref":"#/definitions/EAF"},"minecraft:behavior.random_stroll":{"$ref":"#/definitions/EAG"},"minecraft:behavior.random_swim":{"$ref":"#/definitions/EAH"},"minecraft:behavior.ranged_attack":{"$ref":"#/definitions/EAI"},"minecraft:behavior.receive_love":{"$ref":"#/definitions/EAJ"},"minecraft:behavior.restrict_open_door":{"$ref":"#/definitions/EBA"},"minecraft:behavior.restrict_sun":{"$ref":"#/definitions/EBB"},"minecraft:behavior.rise_to_liquid_level":{"$ref":"#/definitions/EBC"},"minecraft:behavior.roar":{"$ref":"#/definitions/EBD"},"minecraft:behavior.roll":{"$ref":"#/definitions/EBE"},"minecraft:behavior.run_around_like_crazy":{"$ref":"#/definitions/EBF"},"minecraft:behavior.scared":{"$ref":"#/definitions/EBG"},"minecraft:behavior.send_event":{"$ref":"#/definitions/EBH"},"minecraft:behavior.share_items":{"$ref":"#/definitions/EBI"},"minecraft:behavior.silverfish_merge_with_stone":{"$ref":"#/definitions/EBJ"},"minecraft:behavior.silverfish_wake_up_friends":{"$ref":"#/definitions/ECA"},"minecraft:behavior.skeleton_horse_trap":{"$ref":"#/definitions/ECB"},"minecraft:behavior.sleep":{"$ref":"#/definitions/ECC"},"minecraft:behavior.slime_attack":{"$ref":"#/definitions/ECD"},"minecraft:behavior.slime_float":{"$ref":"#/definitions/ECE"},"minecraft:behavior.slime_keep_on_jumping":{"$ref":"#/definitions/ECF"},"minecraft:behavior.slime_random_direction":{"$ref":"#/definitions/ECG"},"minecraft:behavior.snacking":{"$ref":"#/definitions/ECH"},"minecraft:behavior.sneeze":{"$ref":"#/definitions/ECI"},"minecraft:behavior.sonic_boom":{"$ref":"#/definitions/ECJ"},"minecraft:behavior.squid_dive":{"$ref":"#/definitions/EDA"},"minecraft:behavior.squid_flee":{"$ref":"#/definitions/EDB"},"minecraft:behavior.squid_idle":{"$ref":"#/definitions/EDC"},"minecraft:behavior.squid_move_away_from_ground":{"$ref":"#/definitions/EDD"},"minecraft:behavior.squid_out_of_water":{"$ref":"#/definitions/EDE"},"minecraft:behavior.stalk_and_pounce_on_target":{"$ref":"#/definitions/EDF"},"minecraft:behavior.stay_near_noteblock":{"$ref":"#/definitions/EDG"},"minecraft:behavior.stay_while_sitting":{"$ref":"#/definitions/EDH"},"minecraft:behavior.stomp_attack":{"$ref":"#/definitions/EDI"},"minecraft:behavior.stomp_turtle_egg":{"$ref":"#/definitions/EDJ"},"minecraft:behavior.stroll_towards_village":{"$ref":"#/definitions/EEA"},"minecraft:behavior.summon_entity":{"$ref":"#/definitions/EEB"},"minecraft:behavior.swell":{"$ref":"#/definitions/EEC"},"minecraft:behavior.swim_idle":{"$ref":"#/definitions/EED"},"minecraft:behavior.swim_wander":{"$ref":"#/definitions/EEE"},"minecraft:behavior.swim_with_entity":{"$ref":"#/definitions/EEF"},"minecraft:behavior.swoop_attack":{"$ref":"#/definitions/EEG"},"minecraft:behavior.take_flower":{"$ref":"#/definitions/EEH"},"minecraft:behavior.target_when_pushed":{"$ref":"#/definitions/EEI"},"minecraft:behavior.tempt":{"$ref":"#/definitions/EEJ"},"minecraft:behavior.timer_flag_1":{"$ref":"#/definitions/EFA"},"minecraft:behavior.timer_flag_2":{"$ref":"#/definitions/EFA"},"minecraft:behavior.timer_flag_3":{"$ref":"#/definitions/EFA"},"minecraft:behavior.random_search_and_dig":{"$ref":"#/definitions/EFB"},"minecraft:behavior.trade_interest":{"$ref":"#/definitions/EFC"},"minecraft:behavior.trade_with_player":{"$ref":"#/definitions/EFD"},"minecraft:behavior.vex_copy_owner_target":{"$ref":"#/definitions/EFE"},"minecraft:behavior.vex_random_move":{"$ref":"#/definitions/EFF"},"minecraft:behavior.wither_random_attack_pos_goal":{"$ref":"#/definitions/EFG"},"minecraft:behavior.wither_target_highest_damage":{"$ref":"#/definitions/EFH"},"minecraft:behavior.work":{"$ref":"#/definitions/EFI"},"minecraft:behavior.work_composter":{"$ref":"#/definitions/EFJ"}}},"EGA_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"}}}},"EGA_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/BG"},"trigger":{"description":"Triggers additional events.","$comment":"UNDOCUMENTED","title":"Trigger","$ref":"#/definitions/BAI"},"add":{"$ref":"#/definitions/EGA_addremove","description":"What gets added when the event gets triggered.","title":"Add"},"remove":{"$ref":"#/definitions/EGA_addremove","description":"What gets removed when the event gets triggered.","title":"Remove"},"randomize":{"type":"array","description":"Randomly selects one of the following items based upon their weight and the total weights.","title":"Randomize","items":{"description":"Randomly selects one of the following items based upon their weight and the total weights.","title":"Randomize","examples":[{"add":{"component_groups":["foo:example"]},"weight":1}],"properties":{"add":{"$ref":"#/definitions/EGA_addremove","description":"What gets added when the event gets triggered.","title":"Add"},"remove":{"$ref":"#/definitions/EGA_addremove","description":"What gets removed when the event gets triggered.","title":"Remove"},"trigger":{"description":"Triggers additional events.","$comment":"UNDOCUMENTED","title":"Trigger","$ref":"#/definitions/BAI"},"weight":{"type":"number","default":1,"minimum":1,"description":"The weight on how likely this section is to trigger.","$comment":"UNDOCUMENTED","title":"Weight"}}}},"sequence":{"type":"array","description":"A series of filters and components to be added.","title":"Sequences","items":{"description":"Filters and components to be added.","title":"Sequence","type":"object","properties":{"add":{"$ref":"#/definitions/EGA_addremove","description":"What gets added when the event gets triggered.","title":"Add"},"remove":{"$ref":"#/definitions/EGA_addremove","description":"What gets removed when the event gets triggered.","title":"Remove"},"trigger":{"description":"Triggers additional events.","$comment":"UNDOCUMENTED","title":"Trigger","$ref":"#/definitions/BAI"},"filters":{"$ref":"#/definitions/BG"}}}},"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)"}]}}},"EGA":{"type":"object","title":"Events","description":"Events for entities.","additionalProperties":{"$ref":"#/definitions/EGA_event_base"},"properties":{"minecraft:entity_transformed":{"description":"Event called on an entity that transforms into another entity.","$ref":"#/definitions/EGA_event_base","title":"Entity Transformed"},"minecraft:entity_born":{"description":"Event called on an entity that is spawned through two entities breeding.","$ref":"#/definitions/EGA_event_base","title":"Entity Born"},"minecraft:entity_spawned":{"description":"Event called on an entity that is placed in the level.","$ref":"#/definitions/EGA_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/EGA_event_base","title":"On Prime"}}},"B":{"title":"Entity","required":["description"],"dependencies":{"component_groups":["events"]},"additionalProperties":false,"type":"object","properties":{"description":{"required":["identifier"],"title":"Description","description":"The description of the this entity.","properties":{"animations":{"title":"Animations","description":"Sets the mapping of internal animation / animation controllers references to actual animations. This is a JSON Object of name/animation pairs","type":"object","additionalProperties":{"title":"Animation / Controller","description":"The name of the animation controller / animation.","type":"string","examples":["animation.","controller."]}},"identifier":{"$ref":"#/definitions/C","description":"Sets the identifier for this entity's description.","title":"Identifier"},"is_spawnable":{"type":"boolean","title":"Is Spawnable","description":"Sets whether or not this entity has a spawn egg in the creative ui.","default":false},"is_summonable":{"type":"boolean","title":"Is Summonable Property","description":"Sets whether or not we can summon this entity using commands such as /summon.","default":true},"is_experimental":{"type":"boolean","title":"Is Experimental","description":"Sets whether or not this entity is experimental. Experimental entities are only enabled when the experimental toggle is enabled.","default":false},"properties":{"title":"Experimental","description":"Experimental","type":"object","additionalProperties":{"type":"object","required":["type"],"properties":{"type":{"title":"Type","description":"The type of the property.","enum":["bool","int","float","enum"]},"client_sync":{"title":"Client Sync","description":"Sets whether or not the property is synced to the client.","type":"boolean","default":false}},"oneOf":[{"properties":{"type":{"const":"bool"},"default":{"title":"Default","description":"The default value of the property.","$ref":"#/definitions/D"}}},{"properties":{"type":{"const":"int"},"default":{"title":"Default","description":"The default value of the property.","$ref":"#/definitions/E"},"range":{"title":"Range","description":"The range of the property.","type":"array","items":[{"title":"Min","type":"integer","description":"The minimum value of the property."},{"title":"Max","type":"integer","description":"The minimum value of the property."}]}}},{"properties":{"type":{"const":"float"},"default":{"title":"Default","description":"The default value of the property.","$ref":"#/definitions/E"},"range":{"title":"Range","description":"The range of the property.","type":"array","items":[{"title":"Min","type":"number","description":"The minimum value of the property."},{"title":"Max","type":"number","description":"The minimum value of the property."}]}}},{"properties":{"type":{"const":"enum"},"default":{"type":"string"},"client_sync":{"title":"Client Sync","description":"Sets whether or not the property is synced to the client.","type":"boolean","default":false},"values":{"title":"Values","description":"The values of the property.","type":"array","minItems":1,"items":{"type":"string"}}}}]}},"runtime_identifier":{"type":"string","title":"Runtime Identifier","description":"Sets the name for the Vanilla Minecraft identifier this entity will use to build itself from.","examples":["minecraft:"]},"scripts":{"type":"object","title":"Scripts","description":"Sets the mapping of internal animation controller references to actual animation controller. This is a JSON Array of name/animation-controller pairs","properties":{"animate":{"type":"array","title":"Animate","description":"Tells minecraft to run which animation / animation controllers and under what conditions.","items":{"oneOf":[{"type":"string","title":"Animation","description":"The name of an animation controller referenced in animations."},{"type":"object","title":"Conditional Animation","description":"A conditional statement to run the animation under a specified condition.","$comment":"UNDOCUMENTED","additionalProperties":{"type":"string","title":"Animation"}}]}}}}}},"component_groups":{"title":"Component Groups","description":"Each group when add / remove the default components.","uniqueItems":true,"type":"object","propertyNames":{"examples":["self:"]},"additionalProperties":{"$ref":"#/definitions/F","uniqueItems":true,"description":"The components that are added as the foundation of the entity.","title":"Component"}},"components":{"$ref":"#/definitions/F","uniqueItems":true,"description":"The components that are added as the foundation of the entity.","title":"Component"},"events":{"$ref":"#/definitions/EGA","uniqueItems":true,"description":"The events that the entity can run, these add or remove components_groups.","title":"Events"}}}}} \ No newline at end of file +{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.behavior.entities","examples":[{"format_version":"1.20.0","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.10","examples":["1.20.10","1.19.0","1.18.0","1.17.0","1.16.0","1.15.0","1.14.0","1.13.0","1.12.0","1.10.0","1.8.0"],"defaultSnippets":[{"label":"New Format version","body":"1.${1|8,10,12,17,18,19,20|}.${3|2|0|}"}]},"C":{"description":"A minecraft entity identifier.","examples":["namespace:entity_name"],"pattern":"^[0-9a-zA-Z:_\\.\\-]+$","title":"Entity Identifier","type":"string","defaultSnippets":[{"label":"New Identifier","body":"$1:$2"}]},"D":{"title":"Molang Boolean","description":"The minecraft molang definition that results in a boolean.","anyOf":[{"type":"string","minLength":0},{"type":"boolean"}],"examples":[0,"query.variant","(1.0)","query.","variable.=;"],"defaultSnippets":[{"label":"New Molang","body":"$1"}]},"E":{"title":"Molang Number","description":"The minecraft molang definition that results in a float.","anyOf":[{"type":"string","minLength":0},{"type":"number"}],"examples":[0,"query.variant","(1.0)","query.","variable.=;"],"defaultSnippets":[{"label":"New Molang","body":"$1"}]},"G":{"additionalProperties":false,"type":"object","title":"Add Rider","description":"Adds a rider to the entity. Requires `minecraft:rideable.`","required":["entity_type"],"properties":{"entity_type":{"type":"string","description":"The entity type that will be riding this entity.","title":"Entity Type"},"spawn_event":{"type":"string","description":"The spawn event that will be used when the riding entity is created.","title":"Spawn Event"}},"examples":[{"entity_type":"minecraft:rabbit"},{"entity_type":"minecraft:rabbit","spawn_event":"self:example"}]},"H":{"type":"object","title":"Admire Item","description":"Causes the mob to ignore attackable targets for a given duration.","additionalProperties":false,"properties":{"cooldown_after_being_attacked":{"type":"integer","default":0,"description":"Duration, in seconds, for which mob won't admire items if it was hurt.","title":"Cooldown After Being Attacked"},"duration":{"type":"integer","default":10,"description":"Duration, in seconds, that the mob is pacified.","title":"Duration"}},"examples":[{"cooldown_after_being_attacked":0,"duration":10}]},"J_object_item_descriptor":{"title":"Item Descriptor","description":"An object that describes an item.","type":"object","additionalProperties":false,"properties":{"tags":{"type":"string","$ref":"#/definitions/BB","description":"[UNDOCUMENTED] A Molang expression ran against item or block to match.","$comment":"UNDOCUMENTED","examples":["query.any_tag('minecraft:is_tool')"]},"item_tag":{"type":"string","description":"[UNDOCUMENTED] A tag to lookup item or block by.","$comment":"UNDOCUMENTED","examples":["minecraft:is_tool"]}},"examples":[{"tags":"query.any_tag('minecraft:is_tool')"},{"item_tag":"minecraft:is_tool"}]},"BA":{"description":"A minecraft item identifier.","pattern":"^[0-9a-zA-Z:_\\-\\.]+$","title":"Item Identifier","type":"string","defaultSnippets":[{"label":"New Identifier","body":"$1:$2"}]},"BB":{"type":"string","title":"Molang","description":"Molang definition.","format":"molang","examples":["query.variant","(1.0)","query.","variable.=;"],"defaultSnippets":[{"label":"New Molang","body":"$1"}]},"J":{"anyOf":[{"$ref":"#/definitions/BA"},{"$ref":"#/definitions/J_object_item_descriptor"},{"type":"object","properties":{"item":{"oneOf":[{"type":"string","$ref":"#/definitions/BA"},{"type":"object","$ref":"#/definitions/J_object_item_descriptor"}]}}}]},"BC":{"title":"Event","description":"Minecraft behavior event.","examples":[{"event":"example:foo","target":"self"}],"type":"object","additionalProperties":false,"properties":{"event":{"type":"string","pattern":"^[a-zA-Z0-9_\\-:]+$","description":"The event to fire.","title":"Event"},"target":{"type":"string","description":"The target of the event.","title":"Target","enum":["baby","block","damager","other","parent","player","self","target"]}}},"I":{"type":"object","title":"Ageable","description":"Adds a timer for the entity to grow up. It can be accelerated by giving the entity the items it likes as defined by feedItems.","additionalProperties":false,"properties":{"drop_items":{"description":"List of items that the entity drops when it grows up.","oneOf":[{"type":"array","items":{"$ref":"#/definitions/J"}},{"type":"string","$ref":"#/definitions/J"}],"title":"Drop Items"},"duration":{"type":"number","default":1200,"description":"Amount of time before the entity grows up, -1 for always a baby.","title":"Duration"},"feed_items":{"description":"List of items that can be fed to the entity. Includes `item` for the item name and `growth` to define how much time it grows up by","oneOf":[{"type":"array","items":{"oneOf":[{"$ref":"#/definitions/BA"},{"type":"object","properties":{"growth":{"type":"number"},"item":{"$ref":"#/definitions/J"}}}]}},{"type":"string","$ref":"#/definitions/BA"}],"title":"Feed Items"},"grow_up":{"$ref":"#/definitions/BC","description":"Event to run when this entity grows up.","title":"Grow Up"},"transform_to_item":{"$ref":"#/definitions/J","title":"Transform To Item","description":"The feed item used will transform to this item upon successful interaction. Format: itemName:auxValue"}},"examples":[{"duration":1200,"transform_to_item":"example"}]},"BE":{"type":"string","title":"Sound Event","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","enum":["add.chest","admire","agitated","ambient.aggressive","ambient.baby","ambient.basalt_deltas.additions","ambient.basalt_deltas.loop","ambient.candle","ambient.cave","ambient.crimson_forest.additions","ambient.crimson_forest.loop","ambient.crimson_forest.mood","ambient.in.raid","ambient.in.water","ambient.nether_wastes.additions","ambient.nether_wastes.loop","ambient.nether_wastes.mood","ambient.pollinate","ambient.screamer","ambient.soulsand_valley.additions","ambient.soulsand_valley.loop","ambient.soulsand_valley.mood","ambient.tame","ambient.warped_forest.additions","ambient.warped_forest.loop","ambient.warped_forest.mood","ambient.worried","ambient","angry","armor.equip_chain","armor.equip_diamond","armor.equip_elytra","armor.equip_generic","armor.equip_gold","armor.equip_iron","armor.equip_leather","armor.equip_netherite","armor","attach","attack.nodamage","attack.strong","attack","balloonpop","beacon.activate","beacon.ambient","beacon.deactivate","beacon.power","blast","block.bamboo_sapling.place","block.barrel.close","block.barrel.open","block.beehive.drip","block.beehive.enter","block.beehive.exit","block.beehive.shear","block.beehive.work","block.bell.hit","block.blastfurnace.fire_crackle","block.campfire.crackle","block.cartography_table.use","block.click.fail","block.click","block.composter.empty","block.composter.fill_success","block.composter.fill","block.composter.ready","block.enchanting_table.use","block.end_portal_frame.fill","block.end_portal.spawn","block.fletching_table.use","block.frog_spawn.break","block.frog_spawn.hatch","block.furnace.lit","block.grindstone.use","block.loom.use","block.scaffolding.climb","block.sculk_catalyst.bloom","block.sculk_sensor.place","block.sculk_shrieker.place","block.sculk_shrieker.shriek","block.sculk.spread","block.smithing_table.use","block.smoker.smoke","block.stonecutter.use","block.sweet_berry_bush.hurt","block.sweet_berry_bush.pick","block.turtle_egg.attack","block.turtle_egg.break","block.turtle_egg.crack","block.turtle_egg.hatch","boost","born","bottle.dragonbreath","bow.hit","bow","break.block","break","breathe","bubble.down","bubble.downinside","bubble.pop","bubble.up","bubble.upinside","bucket.empty.fish","bucket.empty.lava","bucket.empty.powder_snow","bucket.empty.water","bucket.fill.fish","bucket.fill.lava","bucket.fill.powder_snow","bucket.fill.water","bullet.hit","burp","cake.add_candle","camera.take_picture","cant_breed","cast.spell","cauldron_drip.lava.pointed_dripstone","cauldron_drip.water.pointed_dripstone","celebrate","charge.sculk","charge","chest.closed","chest.open","chime.amethyst_block","chorusdeath","chorusgrow","conduit.activate","conduit.ambient","conduit.attack","conduit.deactivate","conduit.short","convert_mooshroom","convert_to_drowned","convert_to_frog","convert_to_stray","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.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"]},"BD":{"additionalProperties":false,"type":"object","title":"Ambient Sound Interval","description":"Sets the entity's delay between playing its ambient sound.","properties":{"event_name":{"type":"string","default":"ambient","description":"Level sound event to be played as the ambient sound.","title":"Event Name"},"event_names":{"type":"array","description":"List of dynamic level sound events, with conditions for choosing between them. Evaluated in order, first one wins. If none evaluate to true, 'event_name' will take precedence.","items":{"type":"object","properties":{"condition":{"type":"string","description":"The condition that must be satisfied to select the given ambient sound.","title":"Condition"},"event_name":{"$ref":"#/definitions/BE","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}]},"BG_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/BG_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/BG_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/BG_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/BG_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/BG_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/BG_groups_spec"}},"allOf":[{"if":{"properties":{"test":{"const":"actor_health"}}},"then":{"$ref":"#/definitions/BH"}},{"if":{"properties":{"test":{"const":"all_slots_empty"}}},"then":{"$ref":"#/definitions/CA"}},{"if":{"properties":{"test":{"const":"any_slots_empty"}}},"then":{"$ref":"#/definitions/CC"}},{"if":{"properties":{"test":{"const":"bool_property"}}},"then":{"$ref":"#/definitions/CD"}},{"if":{"properties":{"test":{"const":"clock_time"}}},"then":{"$ref":"#/definitions/CE"}},{"if":{"properties":{"test":{"const":"distance_to_nearest_player"}}},"then":{"$ref":"#/definitions/CF"}},{"if":{"properties":{"test":{"const":"enum_property"}}},"then":{"$ref":"#/definitions/CG"}},{"if":{"properties":{"test":{"const":"float_property"}}},"then":{"$ref":"#/definitions/CH"}},{"if":{"properties":{"test":{"const":"has_ability"}}},"then":{"$ref":"#/definitions/CI"}},{"if":{"properties":{"test":{"const":"has_biome_tag"}}},"then":{"$ref":"#/definitions/CJ"}},{"if":{"properties":{"test":{"const":"has_component"}}},"then":{"$ref":"#/definitions/DA"}},{"if":{"properties":{"test":{"const":"has_container_open"}}},"then":{"$ref":"#/definitions/DB"}},{"if":{"properties":{"test":{"const":"has_damage"}}},"then":{"$ref":"#/definitions/DC"}},{"if":{"properties":{"test":{"const":"has_equipment"}}},"then":{"$ref":"#/definitions/DE"}},{"if":{"properties":{"test":{"const":"has_mob_effect"}}},"then":{"$ref":"#/definitions/DF"}},{"if":{"properties":{"test":{"const":"has_nametag"}}},"then":{"$ref":"#/definitions/DG"}},{"if":{"properties":{"test":{"const":"has_property"}}},"then":{"$ref":"#/definitions/DH"}},{"if":{"properties":{"test":{"const":"has_ranged_weapon"}}},"then":{"$ref":"#/definitions/DI"}},{"if":{"properties":{"test":{"const":"has_silk_touch"}}},"then":{"$ref":"#/definitions/DJ"}},{"if":{"properties":{"test":{"const":"has_tag"}}},"then":{"$ref":"#/definitions/EA"}},{"if":{"properties":{"test":{"const":"has_target"}}},"then":{"$ref":"#/definitions/EB"}},{"if":{"properties":{"test":{"const":"has_trade_supply"}}},"then":{"$ref":"#/definitions/EC"}},{"if":{"properties":{"test":{"const":"hourly_clock_time"}}},"then":{"$ref":"#/definitions/ED"}},{"if":{"properties":{"test":{"const":"in_block"}}},"then":{"$ref":"#/definitions/EE"}},{"if":{"properties":{"test":{"const":"in_caravan"}}},"then":{"$ref":"#/definitions/EF"}},{"if":{"properties":{"test":{"const":"in_clouds"}}},"then":{"$ref":"#/definitions/EG"}},{"if":{"properties":{"test":{"const":"in_contact_with_water"}}},"then":{"$ref":"#/definitions/EH"}},{"if":{"properties":{"test":{"const":"in_lava"}}},"then":{"$ref":"#/definitions/EI"}},{"if":{"properties":{"test":{"const":"in_nether"}}},"then":{"$ref":"#/definitions/EJ"}},{"if":{"properties":{"test":{"const":"in_overworld"}}},"then":{"$ref":"#/definitions/FA"}},{"if":{"properties":{"test":{"const":"in_water_or_rain"}}},"then":{"$ref":"#/definitions/FB"}},{"if":{"properties":{"test":{"const":"in_water"}}},"then":{"$ref":"#/definitions/FC"}},{"if":{"properties":{"test":{"const":"inactivity_timer"}}},"then":{"$ref":"#/definitions/FD"}},{"if":{"properties":{"test":{"const":"int_property"}}},"then":{"$ref":"#/definitions/FE"}},{"if":{"properties":{"test":{"const":"is_altitude"}}},"then":{"$ref":"#/definitions/FF"}},{"if":{"properties":{"test":{"const":"is_avoiding_mobs"}}},"then":{"$ref":"#/definitions/FG"}},{"if":{"properties":{"test":{"const":"is_biome"}}},"then":{"$ref":"#/definitions/FH"}},{"if":{"properties":{"test":{"const":"is_block"}}},"then":{"$ref":"#/definitions/FI"}},{"if":{"properties":{"test":{"const":"is_brightness"}}},"then":{"$ref":"#/definitions/FJ"}},{"if":{"properties":{"test":{"const":"is_climbing"}}},"then":{"$ref":"#/definitions/GA"}},{"if":{"properties":{"test":{"const":"is_color"}}},"then":{"$ref":"#/definitions/GB"}},{"if":{"properties":{"test":{"const":"is_daytime"}}},"then":{"$ref":"#/definitions/GC"}},{"if":{"properties":{"test":{"const":"is_difficulty"}}},"then":{"$ref":"#/definitions/GD"}},{"if":{"properties":{"test":{"const":"is_family"}}},"then":{"$ref":"#/definitions/GE"}},{"if":{"properties":{"test":{"const":"is_game_rule"}}},"then":{"$ref":"#/definitions/GF"}},{"if":{"properties":{"test":{"const":"is_humid"}}},"then":{"$ref":"#/definitions/GG"}},{"if":{"properties":{"test":{"const":"is_immobile"}}},"then":{"$ref":"#/definitions/GH"}},{"if":{"properties":{"test":{"const":"is_in_village"}}},"then":{"$ref":"#/definitions/GI"}},{"if":{"properties":{"test":{"const":"is_leashed_to"}}},"then":{"$ref":"#/definitions/GJ"}},{"if":{"properties":{"test":{"const":"is_leashed"}}},"then":{"$ref":"#/definitions/HA"}},{"if":{"properties":{"test":{"const":"is_mark_variant"}}},"then":{"$ref":"#/definitions/HB"}},{"if":{"properties":{"test":{"const":"is_missing_health"}}},"then":{"$ref":"#/definitions/HC"}},{"if":{"properties":{"test":{"const":"is_moving"}}},"then":{"$ref":"#/definitions/HD"}},{"if":{"properties":{"test":{"const":"is_owner"}}},"then":{"$ref":"#/definitions/HE"}},{"if":{"properties":{"test":{"const":"is_persistent"}}},"then":{"$ref":"#/definitions/HF"}},{"if":{"properties":{"test":{"const":"is_riding"}}},"then":{"$ref":"#/definitions/HG"}},{"if":{"properties":{"test":{"const":"is_skin_id"}}},"then":{"$ref":"#/definitions/HH"}},{"if":{"properties":{"test":{"const":"is_sleeping"}}},"then":{"$ref":"#/definitions/HI"}},{"if":{"properties":{"test":{"const":"is_sneak_held"}}},"then":{"$ref":"#/definitions/HJ"}},{"if":{"properties":{"test":{"const":"is_sneaking"}}},"then":{"$ref":"#/definitions/IA"}},{"if":{"properties":{"test":{"const":"is_snow_covered"}}},"then":{"$ref":"#/definitions/IB"}},{"if":{"properties":{"test":{"const":"is_target"}}},"then":{"$ref":"#/definitions/IC"}},{"if":{"properties":{"test":{"const":"is_temperature_type"}}},"then":{"$ref":"#/definitions/ID"}},{"if":{"properties":{"test":{"const":"is_temperature_value"}}},"then":{"$ref":"#/definitions/IE"}},{"if":{"properties":{"test":{"const":"is_underground"}}},"then":{"$ref":"#/definitions/IF"}},{"if":{"properties":{"test":{"const":"is_underwater"}}},"then":{"$ref":"#/definitions/IG"}},{"if":{"properties":{"test":{"const":"is_variant"}}},"then":{"$ref":"#/definitions/IH"}},{"if":{"properties":{"test":{"const":"is_visible"}}},"then":{"$ref":"#/definitions/II"}},{"if":{"properties":{"test":{"const":"is_waterlogged"}}},"then":{"$ref":"#/definitions/IJ"}},{"if":{"properties":{"test":{"const":"light_level"}}},"then":{"$ref":"#/definitions/JA"}},{"if":{"properties":{"test":{"const":"moon_intensity"}}},"then":{"$ref":"#/definitions/JB"}},{"if":{"properties":{"test":{"const":"moon_phase"}}},"then":{"$ref":"#/definitions/JC"}},{"if":{"properties":{"test":{"const":"on_ground"}}},"then":{"$ref":"#/definitions/JD"}},{"if":{"properties":{"test":{"const":"on_ladder"}}},"then":{"$ref":"#/definitions/JE"}},{"if":{"properties":{"test":{"const":"random_chance"}}},"then":{"$ref":"#/definitions/JF"}},{"if":{"properties":{"test":{"const":"rider_count"}}},"then":{"$ref":"#/definitions/JG"}},{"if":{"properties":{"test":{"const":"surface_mob"}}},"then":{"$ref":"#/definitions/JH"}},{"if":{"properties":{"test":{"const":"taking_fire_damage"}}},"then":{"$ref":"#/definitions/JI"}},{"if":{"properties":{"test":{"const":"target_distance"}}},"then":{"$ref":"#/definitions/JJ"}},{"if":{"properties":{"test":{"const":"trusts"}}},"then":{"$ref":"#/definitions/BAA"}},{"if":{"properties":{"test":{"const":"weather_at_position"}}},"then":{"$ref":"#/definitions/BAB"}},{"if":{"properties":{"test":{"const":"weather"}}},"then":{"$ref":"#/definitions/BAC"}},{"not":{"properties":{"test":{"const":"is_weather"}},"$comment":"DEPRECATED"}}]}]},"BG_groups_spec":{"oneOf":[{"type":"array","items":{"$ref":"#/definitions/BG_groups_spec"}},{"type":"object","$ref":"#/definitions/BG_filters_spec"}]},"BI":{"title":"Operator","type":"string","description":"The comparison to apply with `value`.","default":"equals","enum":["!=","<","<=","<>","=","==",">",">=","equals","not"]},"BJ":{"title":"Subject","type":"string","description":"The subject of this filter test.","default":"self","enum":["block","other","parent","player","self","target","damager"]},"BH":{"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/BI","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BJ","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]}}},"CB":{"title":"Equipment Location","type":"string","description":"The equipment location to test.","default":"self","enum":["any","armor","feet","hand","head","inventory","leg","torse"]},"CA":{"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/BI","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BJ","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/CB"}}},"CC":{"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/BI","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BJ","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/CB"}}},"CD":{"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/BI","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BJ","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"boolean","default":true,"title":"Value","description":"true or false."}}},"CE":{"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/BI","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BJ","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]}}},"CF":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"type":"number","description":"(Required) A floating point value.","title":"Value"}}},"CG":{"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/BI","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BJ","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"string","title":"Value","description":"(Required) A string value."}}},"CH":{"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/BI","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BJ","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"number","title":"Value","description":"(Required) A floating point value."}}},"CI":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"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":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"(Required) The tag to look for.","type":"string","title":"Value"}},"examples":[{"test":"has_biome_tag","value":"monster"}]},"DA":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"type":"string","description":"(Required) The component name to look for.","title":"Value"}},"examples":[{"test":"has_component","value":"minecraft:explode"}]},"DB":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"(Optional) true or false.","title":"Value","type":"boolean","default":true}},"examples":[{"test":"has_container_open","value":true}]},"DD":{"title":"Entity Damage Source","description":"The types of damage an entity can receive.","type":"string","enum":["all","anvil","block_explosion","campfire","charging","contact","drowning","entity_attack","entity_explosion","fall","falling_block","fatal","fire","fire_tick","fireworks","fly_into_wall","freezing","lava","lightning","magic","magma","none","override","piston","projectile","ram_attack","sonic_boom","soul_campfire","stalactite","stalagmite","starve","suffocation","suicide","temperature","thorns","void","wither"]},"DC":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"type":"string","description":"The Damage type to test.","$ref":"#/definitions/DD","title":"Value"}}},"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"The item name to look for.","type":"string","$ref":"#/definitions/BA","title":"Value"}},"examples":[{"test":"has_equipment","value":"example"}]},"DF":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"type":"string","description":"The specified mob effect.","title":"Value"}},"examples":[{"test":"has_mob_effect","value":"bad_omen"}]},"DG":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"The namtag to look for","type":"boolean","title":"Value"}},"examples":[{"test":"has_nametag","value":false},{"test":"has_nametag","value":true}]},"DH":{"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/BI","description":"(Optionall) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BJ","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."}}},"DI":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"has_ranged_weapon","value":true}]},"DJ":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"has_silk_touch","subject":"other","value":true}]},"EA":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"type":"string","description":"The tag as a string.","pattern":"[a-zA-Z0-9_]+","title":"Value"}},"examples":[{"test":"has_tag","value":"example"}]},"EB":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"has_target","value":true}]},"EC":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"has_trade_supply","value":true}]},"ED":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"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}]},"EE":{"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/BI","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BJ","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"}]},"EF":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_caravan","value":true}]},"EG":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_clouds","value":true}]},"EH":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"(Optional) true or false.","type":"boolean","default":true}},"examples":[{"test":"in_contact_with_water","value":true}]},"EI":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_lava","value":true}]},"EJ":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"in_nether","value":true}]},"FA":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"in_overworld","value":true},{"test":"in_overworld"}]},"FB":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_water_or_rain","value":true}]},"FC":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_water","value":true}]},"FD":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"The Family name to look for.","type":"integer","title":"Value"}},"examples":[{"test":"inactivity_timer","value":0}]},"FE":{"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/BI","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/BJ","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"integer","title":"Value","description":"(Required) A integer value."}}},"FF":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"type":"integer","description":"The altitude value to compare with.","minimum":0,"title":"Value"}},"examples":[{"test":"example","value":0}]},"FG":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"example","value":true}]},"FH":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"The Biome type to test.","type":"string","enum":["beach","desert","extreme_hills","flat","forest","ice","jungle","mesa","mushroom_island","ocean","plain","river","savanna","stone_beach","swamp","taiga","the_end","the_nether"],"title":"Value"}},"examples":[{"test":"is_biome","value":"beach"}]},"FI":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"The Family name to look for.","type":"string","title":"Value"}},"examples":[{"test":"is_block","subject":"block","value":"minecraft:sweet_berry_bush"}]},"FJ":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"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}]},"GA":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_climbing","value":true}]},"GB":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"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"}]},"GC":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_daytime","value":true}]},"GD":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"The game's difficulty level to test.","type":"string","enum":["easy","hard","normal","peaceful"],"title":"Value"}},"examples":[{"test":"is_difficulty","value":"easy"}]},"GE":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"The Family name to look for.","type":"string","title":"Value"}},"examples":[{"test":"is_family","value":"monster"}]},"GF":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"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}]},"GG":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_humid","value":true}]},"GH":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_immobile","value":true}]},"GI":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_in_village","value":true}]},"GJ":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"is_leashed_to","value":true}]},"HA":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_leashed","value":true}]},"HB":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"type":"integer","description":"The altitude value to compare with.","title":"Value"}},"examples":[{"test":"is_mark_variant","value":0}]},"HC":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"is_missing_health","value":true}]},"HD":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_moving","value":true}]},"HE":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_owner","value":true}]},"HF":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"is_persistent","value":true}]},"HG":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_riding","value":true}]},"HH":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"type":"integer","description":"The altitude value to compare with.","title":"Value"}},"examples":[{"test":"is_skin_id","value":0}]},"HI":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"is_sleeping","value":true}]},"HJ":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_sneak_held","value":true}]},"IA":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_sneaking","value":true}]},"IB":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_snow_covered","value":true}]},"IC":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_target","value":true}]},"ID":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"The Biome temperature catagory to test.","type":"string","enum":["cold","mild","ocean","warm"],"title":"Value"}},"examples":[{"test":"is_temperature_type","value":"cold"}]},"IE":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"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}]},"IF":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_underground","value":true}]},"IG":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_underwater","value":true}]},"IH":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"type":"integer","description":"The altitude value to compare with.","title":"Value"}},"examples":[{"test":"is_variant","value":0}]},"II":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_visible","value":true}]},"IJ":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"true or false.","type":"boolean","title":"Value"}},"examples":[{"test":"light_level","value":0}]},"JA":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"An integer value.","type":"integer","title":"Value","minimum":0,"maximum":16}},"examples":[{"test":"light_level","value":0}]},"JB":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"A floating point value.","type":"number","minimum":0,"maximum":1,"title":"Value"}},"examples":[{"test":"moon_intensity","value":0.0}]},"JC":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"type":"integer","description":"An integer value.","minimum":0,"maximum":7,"title":"Value"}},"examples":[{"test":"moon_phase","value":0}]},"JD":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"on_ground","value":true}]},"JE":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"on_ladder","value":true}]},"JF":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"An integer value.","type":"integer","title":"Value"}},"examples":[{"test":"random_chance","value":0}]},"JG":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"An integer value.","type":"integer","title":"Value"}},"examples":[{"test":"rider_count","value":0}]},"JH":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"surface_mob","value":true}]},"JI":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"taking_fire_damage","value":true},{"test":"taking_fire_damage"}]},"JJ":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"(Required) A floating point value.","type":"number","default":true,"title":"Value"}}},"BAA":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"trusts","value":true}]},"BAB":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"The Family name to look for.","type":"string","title":"Value","examples":["thunderstorm"]}},"examples":[{"test":"weather_at_position","value":"thunderstorm"}]},"BAC":{"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/BI"},"subject":{"$ref":"#/definitions/BJ"},"value":{"description":"The Family name to look for.","type":"string","title":"Value","examples":["clear","thunderstorm"]}},"examples":[{"test":"weather","value":"clear"}]},"BG":{"title":"Filters","$ref":"#/definitions/BG_groups_spec","examples":[{"test":"is_family","subject":"other","value":"example"},{"test":"has_tag","value":"example"},[]]},"BF":{"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/BG","description":"Filter that is applied to determine if a mob can be a nuisance."},"on_increase_sounds":{"title":"On Increase Sounds","$ref":"#/definitions/BG"},"remove_targets_below_angry_threshold":{"title":"Remove Targets Below Angry Threshold","type":"boolean","default":true,"description":"Defines if the mob should remove target if it falls below 'angry' threshold."}},"examples":[]},"BAD":{"type":"object","title":"Angry","description":"Defines the entity's 'angry' state using a timer.","additionalProperties":false,"required":[],"properties":{"broadcast_anger":{"title":"Broadcast Anger","type":"boolean","default":false,"description":"If true, other entities of the same entity definition within the broadcastRange will also become angry."},"broadcast_filters":{"title":"Broadcast Filters","$ref":"#/definitions/BG","description":"Conditions that make this entry in the list valid."},"filters":{"$ref":"#/definitions/BG","description":"Filter out mob types that it should not attack while angry (other Piglins)."},"broadcast_range":{"title":"Broadcast Range","type":"integer","default":20,"description":"Distance in blocks within which other entities of the same entity definition will become angry."},"broadcast_targets":{"title":"Broadcast Targets","type":"array","description":"A list of entity families to broadcast anger to.","items":{"type":"string","description":"An entity family.","pattern":"^.+$","title":"Broadcast Targets"}},"calm_event":{"title":"Calm Event","$ref":"#/definitions/BC","description":"Event to run after the number of seconds specified in duration expires (when the entity stops being \"angry\")"},"angry_sound":{"title":"Angry Sound","$ref":"#/definitions/BE","default":"","description":"The sound event to play when the mob is angry."},"broadcast_anger_on_attack":{"title":"Broadcast Anger On Attack","type":"boolean","default":false,"description":"If true, other entities of the same entity definition within the broadcastRange will also become angry whenever this mob attacks."},"broadcast_anger_on_being_attacked":{"type":"boolean","default":false,"description":"If true, other entities of the same entity definition within the broadcastRange will also become angry whenever this mob is attacked.","title":"Broadcast Anger On Being Attacked"},"duration":{"title":"Duration","type":"integer","default":25,"description":"The amount of time in seconds that the entity will be angry."},"duration_delta":{"title":"Duration Delta","type":"integer","default":0,"description":"Variance in seconds added to the duration [-delta, delta]."},"sound_interval":{"description":"The range of time in seconds to randomly wait before playing the sound again.","title":"Sound Interval","oneOf":[{"type":"array","default":[0,0],"items":[{"type":"integer","minimum":0,"description":"The minimum interval.","$comment":"UNDOCUMENTED","title":"Minimum"},{"type":"integer","minimum":0,"description":"The maximum interval.","$comment":"UNDOCUMENTED","title":"Maximum"}]},{"type":"object","additionalProperties":false,"properties":{"range_min":{"type":"number","description":"The minimum interval.","$comment":"UNDOCUMENTED","title":"Range Minimum"},"range_max":{"type":"number","description":"The maximum interval.","$comment":"UNDOCUMENTED","title":"Range Maximum"}}}]}},"examples":[{"broadcast_anger":false,"broadcast_range":20,"broadcast_targets":[],"angry_sound":"","broadcast_anger_on_attack":false,"broadcast_anger_on_being_attacked":false,"duration":25,"duration_delta":0}]},"BAE":{"additionalProperties":false,"description":"Allows the actor to break doors assuming that that flags set up for the component to use in navigation.","type":"object","title":"Annotation.break Door","required":[],"$comment":"Caution No longe rin use","properties":{"break_time":{"type":"number","default":12,"description":"The time in seconds required to break through doors.","title":"Break Time"},"min_difficulty":{"type":"string","default":"hard","description":"The minimum difficulty that the world must be on for this entity to break doors.","title":"Minimum Difficulty"}},"examples":[{"break_time":12,"min_difficulty":"hard"}]},"BAF":{"additionalProperties":false,"description":"Allows the actor to open doors assuming that that flags set up for the component to use in navigation.","type":"object","title":"Annotation.open Door","required":[],"properties":{}},"BAG":{"type":"object","title":"Area Attack","description":"A component that does damage to entities that get within range.","additionalProperties":false,"properties":{"cause":{"title":"Cause","$ref":"#/definitions/DD","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/BG","description":"The set of entities that are valid to apply the damage to when within range.","title":"Entity Filter"},"play_attack_sound":{"title":"play attack sound","type":"boolean","default":5E-324,"description":"If the entity should play their attack sound when attacking a target."}},"examples":[{"damage_per_tick":2,"damage_range":0.2,"cause":"example"}]},"BAI":{"title":"Trigger","description":"Trigger to fire.","examples":["event:example",{"filters":[],"target":"self","event":"to:foo"}],"defaultSnippets":[{"label":"New Trigger","body":"^\"$1\""},{"label":"New Trigger - Filtered","body":{"event":"$1","target":"self","filters":[{"test":"$2","value":"$3"}]}}],"oneOf":[{"type":"string"},{"type":"object","additionalProperties":false,"properties":{"event":{"type":"string","description":"The event to run when the conditions for this trigger are met.","title":"Event"},"filters":{"$ref":"#/definitions/BG","description":"The list of conditions for this trigger to execute."},"target":{"$ref":"#/definitions/BJ","description":"The target of the event.","title":"Target"}}}]},"BAH":{"type":"object","title":"Attack Cooldown","description":"Adds a cooldown to a mob. The intention of this cooldown is to be used to prevent the mob from attempting to aquire new attack targets.","additionalProperties":false,"properties":{"attack_cooldown_complete_event":{"$ref":"#/definitions/BAI","description":"Event to be run when the cooldown is complete.","title":"Attack Cooldown Complete Event"},"attack_cooldown_time":{"default":[0.0,1.0],"description":"Amount of time in seconds for the cooldown. Can be specified as a number or a pair of numbers (Minimum and max).","title":"Attack Cooldown Time","oneOf":[{"type":"array","items":[{"type":"number","title":"Maximum"},{"type":"number","title":"Maximum"}]},{"type":"number"}]}}},"BAJ":{"type":"object","title":"Attack Damage","additionalProperties":false,"required":["value"],"properties":{"value":{"type":"integer","description":"How much an attack should damage a target.","title":"Value"}},"description":"Specifies how much damage is dealt by the entity when it attacks.","examples":[{"value":4}]},"BBB":{"title":"Range [A, B]","description":"A described range.","examples":[[0.0,1.0]],"oneOf":[{"type":"number"},{"type":"array","items":[{"type":"number","title":"A","description":"The first value of the range."},{"type":"number","title":"B","description":"The second value of the range."}]},{"type":"object","additionalProperties":false,"properties":{"range_min":{"type":"number","title":"Range Min","description":"The minimum value of the range."},"range_max":{"type":"number","title":"Range Max","description":"The maximum value of the range."}}}]},"BBA":{"type":"object","additionalProperties":false,"title":"Attack","description":"Defines an entity's melee attack and any additional effects on it.","required":["damage"],"properties":{"damage":{"title":"Damage","$ref":"#/definitions/BBB","description":"Range of the random amount of damage the melee attack deals. A negative value can heal the entity instead of hurting it."},"effect_name":{"type":"string","description":"Identifier of the status ailment to apply to an entity attacked by this entity's melee attack.","examples":["wither","hunger"],"title":"Effect Name"},"effect_duration":{"type":"number","default":1,"description":"Duration in seconds of the status ailment applied to the damaged entity.","title":"Effect Duration"}},"examples":[{"damage":1},{"damage":1,"effect_name":"example","effect_duration":1}]},"BBC":{"additionalProperties":false,"type":"object","title":"Balloonable","description":"allows the entity to have a balloon attached and defines the conditions and events for the entity when is ballooned.","required":[],"properties":{"soft_distance":{"title":"Soft Distance","description":"Distance in blocks where the 'spring' effect lifts the entity.","type":"number","default":2.0},"max_distance":{"title":"Max Distance","description":"Distance in blocks where the balloon breaks.","type":"number","default":10.0},"on_balloon":{"title":"On Balloon","description":"Event to call when the entity is ballooned.","type":"string"},"on_unballoon":{"title":"On Unballoon","description":"Event to call when the entity is unballooned.","type":"string"},"mass":{"title":"Mass","description":"Mass that the entity has when computing balloon pull forces.","type":"number","default":1.0}},"examples":[{"max_distance":10.0,"soft_distance":2.0,"mass":0.5}]},"BBD":{"type":"object","title":"Barter","description":"Enables the component to drop an item as a barter exchange.","additionalProperties":false,"properties":{"barter_table":{"type":"string","description":"Loot table that's used to drop a random item.","title":"Barter Table"},"cooldown_after_being_attacked":{"type":"integer","default":0,"description":"Duration, in seconds, for which mob won't barter items if it was hurt.","title":"Cooldown After Being Attacked"}},"examples":[{"barter_table":"example","cooldown_after_being_attacked":0}]},"BBE":{"title":"Block Climber","type":"object","additionalProperties":false,"description":"Allows the player to detect and manuever on the scaffolding block.","properties":{}},"BBG":{"description":"A minecraft block identifier.","examples":["namespace:block"],"pattern":"^[0-9a-zA-Z:_\\.\\-]+$","title":"Block Identifier","type":"string","defaultSnippets":[{"label":"New Identifier","body":"$1:$2"}]},"BBF":{"type":"object","title":"Block Sensor","description":"Fires off a specified event when a block in the block list is broken within the sensor range.","additionalProperties":false,"properties":{"sensor_radius":{"title":"Sensor Radius","type":"integer","description":"The maximum radial distance in which a specified block can be detected. The biggest radius is 32.0.","minimum":0,"maximum":32},"on_break":{"title":"On Break","type":"array","description":"Blocks that will trigger the component when broken and what event will trigger.","items":{"title":"On Block Broken","type":"object","description":"Event to run when a block breaks.","additionalProperties":false,"properties":{"block_list":{"title":"Block List","type":"array","description":"List of blocks that will trigger the sensor.","items":{"$ref":"#/definitions/BBG","title":"Block ID"}},"on_block_broken":{"title":"On Block Broken","type":"string","description":"Event to run when a block breaks."}}}},"sources":{"title":"Sources","description":"List of sources that break the block to listen for. If none are specified, all block breaks will be detected.","type":"array","items":{"$ref":"#/definitions/BG"},"examples":[{"test":"has_silk_touch","subject":"other","value":false}]}},"examples":[{"sensor_radius":0,"on_break":[]}]},"BBH":{"type":"object","title":"Boostable","additionalProperties":false,"description":"Defines the conditions and behavior of a rideable entity's boost.","properties":{"duration":{"type":"number","default":3,"description":"Time in seconds for the boost.","title":"Duration"},"speed_multiplier":{"type":"number","default":1,"description":"Factor by which the entity's normal speed increases. E.g. 2.0 means go twice as fast.","title":"Speed Multiplier"},"boost_items":{"type":"array","description":"List of items that can be used to boost while riding this entity.","title":"Boost Items","items":{"type":"object","additionalProperties":false,"description":"List of items that can be used to boost while riding this entity.","properties":{"damage":{"type":"integer","default":1,"description":"This is the damage that the item will take each time it is used.","title":"Damage"},"item":{"$ref":"#/definitions/J","default":"","description":"Name of the item that can be used to boost.","title":"Item"},"replace_item":{"$ref":"#/definitions/J","default":"","description":"The item used to boost will become this item once it is used up.","title":"Replace Item"}}}}},"examples":[{"duration":3,"speed_multiplier":1,"boost_items":[]}]},"BBI":{"type":"object","title":"Boss","additionalProperties":false,"description":"The current state of the boss for updating the boss HUD.","required":[],"properties":{"hud_range":{"type":"integer","default":55,"description":"The Maximum distance from the boss at which the boss's health bar is present on the players screen.","title":"Hud Range"},"name":{"type":"string","default":"","description":"The name that will be displayed above the boss's health bar.","title":"Name"},"should_darken_sky":{"type":"boolean","default":false,"description":"Whether the sky should darken in the presence of the boss.","title":"Should Darken Sky"}},"examples":[{"hud_range":55,"name":"","should_darken_sky":false}]},"BCA":{"type":"string","title":"Block Name","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"BBJ":{"type":"object","title":"Break Blocks","additionalProperties":false,"description":"Specifies the blocks that this entity can break as it moves around.","required":[],"properties":{"breakable_blocks":{"type":"array","title":"Breakable Blocks","description":"A list of the blocks that can be broken as this entity moves around.","items":{"$ref":"#/definitions/BCA"}}},"examples":[{"breakable_blocks":[]}]},"BCC":{"description":"A minecraft block reference.","examples":["namespace:block",{"name":"namespace:block"}],"title":"Block Reference","defaultSnippets":[{"label":"New Identifier","body":"$1:$2"}],"oneOf":[{"type":"string","$ref":"#/definitions/BBG"},{"title":"Block Reference","description":"","type":"object","additionalProperties":false,"properties":{"name":{"type":"string","$ref":"#/definitions/BBG"},"states":{"title":"States","description":"","type":"object","propertyNames":{"pattern":"\\w*:?\\w+"},"example":[{"property":"value"}],"additionalProperties":{"type":["boolean","integer","string"],"title":"State Value","description":"The key of property is the name of the block state/property, the value must be the same as the block properties accepted values."}},"tags":{"$ref":"#/definitions/BB","description":"A condition using Molang queries that results to true/false that can be used to query for blocks with certain tags.","examples":["query.any_tag('wood')"]}}}]},"BCB":{"type":"object","title":"Breathable","additionalProperties":false,"description":"Defines what blocks this entity can breathe in and gives them the ability to suffocate.","required":[],"properties":{"total_supply":{"type":"integer","default":15,"description":"Time in seconds the entity can hold its breath.","title":"Total Supply"},"suffocate_time":{"type":"integer","default":-20,"description":"Time in seconds between suffocation damage.","title":"Suffocate Time"},"inhale_time":{"type":"number","default":0,"description":"Time in seconds to recover breath to maximum.","title":"Inhale Time"},"breathes_air":{"type":"boolean","default":true,"description":"If true, this entity can breathe in air.","title":"Breathes Air"},"breathes_water":{"type":"boolean","default":false,"description":"If true, this entity can breathe in water.","title":"Breathes Water"},"breathes_lava":{"type":"boolean","default":false,"description":"If true, this entity can breathe in lava.","title":"Breathes Lava"},"breathes_solids":{"type":"boolean","default":false,"description":"If true, this entity can breathe in solid blocks.","title":"Breathes Solids"},"generates_bubbles":{"type":"boolean","default":true,"description":"If true, this entity will have visible bubbles while in water.","title":"Generates Bubbles"},"breathe_blocks":{"type":"array","description":"List of blocks this entity can breathe in, in addition to the above.","items":{"$ref":"#/definitions/BCC"},"title":"Breathe Blocks"},"non_breathe_blocks":{"type":"array","description":"List of blocks this entity can't breathe in, in addition to the above.","items":{"$ref":"#/definitions/BCC"},"title":"Non Breathes Blocks"}},"examples":[{"total_supply":15,"suffocate_time":-20,"inhale_time":0,"breathes_air":true,"breathes_water":false,"breathes_lava":false,"breathes_solids":false,"generates_bubbles":true,"breathe_blocks":[],"non_breathe_blocks":[]}]},"BCD_breeds_with_spec":{"type":"object","description":"An entity definitions that this entity can breed with.","additionalItems":false,"properties":{"baby_type":{"type":"string","description":"The entity definition of this entity's babies.","title":"Baby Type"},"breed_event":{"$ref":"#/definitions/BCE","description":"Event to run when this entity breeds.","title":"Breed Event"},"mate_type":{"type":"string","description":"The entity definition of this entity's mate.","title":"Mate Type"}}},"BCD_enviroment_requirements":{"type":"object","description":"A nearby block requirements to get the entity into the `love` state.","properties":{"blocks":{"description":"The block types required nearby for the entity to breed.","title":"Blocks","oneOf":[{"type":"array","items":{"description":"A block type required nearby for the entity to breed.","type":"string","$ref":"#/definitions/BCC","title":"Blocks"}},{"description":"A block type required nearby for the entity to breed.","type":"string","$ref":"#/definitions/BCC","title":"Blocks"}]},"count":{"type":"number","description":"The number of the required block types nearby for the entity to breed.","title":"Count"},"radius":{"type":"number","description":"How many blocks radius from the mob's center to search in for the required blocks. Bounded between 0 and 16.","minimum":0,"title":"Radius"}},"title":"Environment Requirements"},"BCE":{"title":"Event","description":"Minecraft behavior event.","examples":[{"event":"example:foo","target":"self"}],"type":"object","additionalProperties":false,"properties":{"event":{"type":"string","pattern":"^[a-zA-Z0-9_\\-:]+$","description":"The event to fire.","title":"Event"},"target":{"type":"string","description":"The target of the event.","title":"Target","enum":["baby","block","damager","other","parent","player","self","target"]},"filters":{"$ref":"#/definitions/BG"}}},"BCF":{"type":"array","title":"Vector Of 2 Items","description":"An vector of 2 number.","examples":[[0,0]],"items":[{"type":"number","description":"The X component.","title":"X","default":0},{"type":"number","description":"The Y component.","title":"Y","default":0}],"defaultSnippets":[{"label":"New Array 2","body":["^$1","^$2"]}]},"BCD":{"type":"object","title":"Breedable","additionalProperties":false,"description":"Defines the way an entity can get into the `love` state.","properties":{"allow_sitting":{"description":"If true, entities can breed while sitting.","type":"boolean","default":false,"title":"Allow Sitting"},"blend_attributes":{"description":"If true, the entities will blend their attributes in the offspring after they breed.","type":"boolean","default":true,"title":"Blend Attributes"},"breed_cooldown":{"description":"Time in seconds before the Entity can breed again.","type":"number","default":60.0,"title":"Breed Cooldown"},"breed_items":{"description":"The list of items that can be used to get the entity into the `love` state.","title":"Breed Items","oneOf":[{"type":"array","items":{"type":"string","description":"An item that can be used to get the entity into the `love` state.","$ref":"#/definitions/J","title":"Breed Item"}},{"type":"string","$ref":"#/definitions/J"}]},"breeds_with":{"description":"The list of entity definitions that this entity can breed with.","title":"Breeds With","oneOf":[{"type":"object","$ref":"#/definitions/BCD_breeds_with_spec"},{"uniqueItems":true,"type":"array","items":{"type":"object","$ref":"#/definitions/BCD_breeds_with_spec"}}]},"causes_pregnancy":{"type":"boolean","default":false,"description":"If true, the entity will become pregnant instead of spawning a baby.","title":"Causes Pregnancy"},"deny_parents_variant":{"type":"object","description":"Determines how likely the baby of parents with the same variant will deny that variant and take a random variant within the given range instead.","additionalProperties":false,"properties":{"chance":{"type":"number","default":0,"description":"The percentage chance of denying the parents` variant.","title":"Chance"},"max_variant":{"type":"integer","default":0,"description":"The inclusive maximum of the variant range.","title":"Maximum Variant"},"min_variant":{"type":"integer","default":0,"description":"The inclusive minimum of the variant range.","title":"Minimum Variant"}},"title":"Deny Parents Variant"},"environment_requirements":{"description":"The list of nearby block requirements to get the entity into the `love` state.","oneOf":[{"type":"object","$ref":"#/definitions/BCD_enviroment_requirements"},{"type":"array","items":{"$ref":"#/definitions/BCD_enviroment_requirements"}}],"title":"Environment Requirements"},"extra_baby_chance":{"type":"number","default":0.0,"description":"Chance that up to 16 babies will spawn between 0.0 and 1.0, where 1.0 is 100%.","minimum":0.0,"maximum":1.0,"title":"Extra Baby Chance"},"love_filters":{"$ref":"#/definitions/BG","description":"The filters to run when attempting to fall in love.","title":"Love Filters"},"mutation_factor":{"type":"object","description":"Determines how likely the babies are to NOT inherit one of their parent's variances. Values are between 0.0 and 1.0, with a higher number meaning more likely to mutate.","additionalProperties":false,"properties":{"color":{"type":"number","default":0,"minimum":0.0,"maximum":1.0,"description":"The percentage chance of a mutation on the entity's color.","title":"Color"},"extra_variant":{"type":"number","default":0,"minimum":0.0,"maximum":1.0,"description":"The percentage chance of a mutation on the entity's extra variant type.","title":"Extra Variant"},"variant":{"type":"number","default":0,"minimum":0.0,"maximum":1.0,"description":"The percentage chance of a mutation on the entity's variant type.","title":"Variant"}},"title":"Mutation Factor"},"mutation_strategy":{"title":"Mutation Strategy","type":"string","default":"none","description":"Strategy used for mutating variants and extra variants for offspring. Current valid alternatives are 'random' and 'none'."},"parent_centric_attribute_blending":{"title":"Parent Centric Attribute Blending","type":"array","description":"[EXPERIMENTAL] List of attributes that should benefit from parent centric attribute blending. For example, horses blend their health, movement, and jump_strength in their offspring."},"random_extra_variant_mutation_interval":{"title":"Random Extra Variant Mutation Interval","default":0,"$ref":"#/definitions/BCF","description":"Range used to determine random extra variant."},"random_variant_mutation_interval":{"title":"Random Variant Mutation Interval","default":0,"$ref":"#/definitions/BCF","description":"Range used to determine random variant."},"inherit_tamed":{"type":"boolean","default":true,"description":"If true, the babies will be automatically tamed if its parents are.","title":"Inherit Tamed"},"require_full_health":{"type":"boolean","default":false,"description":"If true, the entity needs to be at full health before it can breed.","title":"Require Full Health"},"require_tame":{"type":"boolean","default":true,"description":"If true, the entities need to be tamed first before they can breed.","title":"Require Tame"},"transform_to_item":{"type":"string","title":"Transform To Item","description":"The feed item used will transform to this item upon successful interaction. Format: itemName:auxValue"}},"examples":[{"allow_sitting":false,"blend_attributes":true,"breed_cooldown":60.0,"deny_parents_variant":{},"extra_baby_chance":0.0,"mutation_factor":{},"causes_pregnancy":false,"inherit_tamed":true,"require_full_health":false,"require_tame":true,"transform_to_item":"example"}]},"BCG":{"type":"object","title":"Bribeable","additionalProperties":false,"description":"Defines the way an entity can get into the 'bribed' state.","required":[],"properties":{"bribe_cooldown":{"type":"number","default":2,"description":"Time in seconds before the Entity can be bribed again.","title":"Bribe Cooldown"},"bribe_items":{"type":"array","description":"The list of items that can be used to bribe the entity.","items":{"description":"An item that can be used to bribe the entity.","$ref":"#/definitions/J","title":"Bribe Items"},"title":"Bribe Items"}},"examples":[{"bribe_cooldown":2,"bribe_items":[]}]},"BCH":{"type":"object","title":"Buoyant","description":"Enables an entity to float on the specified liquid blocks.","additionalProperties":false,"properties":{"base_buoyancy":{"type":"number","default":0,"description":"Base buoyancy used to calculate how much will a mob float.","title":"Base Buoyancy"},"apply_gravity":{"type":"boolean","default":true,"description":"Applies gravity each tick. Causes more of a wave simulation, but will cause more gravity to be applied outside liquids.","title":"Apply Gravity"},"buoyancy":{"type":"number","default":1,"description":"Base buoyancy used to calculate how much will a mob float.","title":"Base Buoyancy"},"big_wave_probability":{"type":"number","default":0.03,"description":"Probability for a big wave hitting the entity. Only used if `simulate_waves` is true.","title":"Big Wave Probability"},"big_wave_speed":{"type":"number","default":10,"description":"Multiplier for the speed to make a big wave. Triggered depending on `big_wave_probability`.","title":"Big Wave Speed"},"drag_down_on_buoyancy_removed":{"type":"number","default":0,"description":"How much an actor will be dragged down when the Buoyancy Component is removed.","title":"Drag Down On Buoyancy Removed"},"liquid_blocks":{"type":"array","description":"List of blocks this entity can float on. Must be a liquid block.","title":"Liquid Blocks","items":{"title":"Block","$ref":"#/definitions/BCC"}},"simulate_waves":{"type":"boolean","default":true,"description":"Should the movement simulate waves going through.","title":"Simulate Waves"}},"examples":[{"base_buoyancy":0,"apply_gravity":true,"buoyancy":1,"big_wave_probability":0.03,"big_wave_speed":10,"drag_down_on_buoyancy_removed":0,"liquid_blocks":[],"simulate_waves":true}]},"BCI":{"title":"Burns In Daylight","additionalProperties":false,"description":"Specifies if/how a mob burns in daylight.","required":[],"properties":{},"oneOf":[{"type":"boolean"},{"type":"object"}]},"BCJ":{"type":"object","title":"Can Climb","additionalProperties":false,"description":"Allows this entity to climb up ladders.","required":[],"properties":{}},"BDA":{"type":"object","title":"Can Fly","additionalProperties":false,"description":"Marks the entity as being able to fly, the pathfinder won't be restricted to paths where a solid block is required underneath it.","required":[],"properties":{"value":{"type":"boolean","default":true,"description":"Marks the entity as being able to fly, the pathfinder won't be restricted to paths where a solid block is required underneath it.","title":"Value"}},"examples":[{"value":true}]},"BDB":{"type":"object","title":"Can Power Jump","additionalProperties":false,"description":"Allows the entity to power jump like the horse does in vanilla.","required":[],"properties":{}},"BDC":{"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/BG","description":"The list of conditions that target of hunt must satisfy to initiate celebration.","title":"Celeberation Targets"},"celebrate_sound":{"$ref":"#/definitions/BE","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}]},"BDD":{"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}]},"BDE":{"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}]},"BDF":{"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}]},"BDG":{"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}]},"BDH":{"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/BG"}}}}},"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":{}}]},"BDI":{"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]}]}]},"BDJ":{"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}]},"BEA_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/DD"},"damage_modifier":{"title":"Damage Modifier","type":"number","default":0.0,"description":"A modifier that adds to/removes from the base damage from the damage cause. It does not reduce damage to less than 0."},"damage_multiplier":{"type":"number","default":1,"description":"A multiplier that modifies the base damage from the damage cause. If deals_damage is true the multiplier can only reduce the damage the entity will take to a minimum of 1.","title":"Damage Multiplier"},"deals_damage":{"type":"boolean","default":true,"description":"If true, the damage dealt to the entity will take away health from it, set to false to make the entity ignore that damage.","title":"Deals Damage"},"on_damage":{"type":"object","description":"Specifies filters for entity definitions and events.","title":"On Damage","$ref":"#/definitions/BAI"},"on_damage_sound_event":{"$ref":"#/definitions/BE","description":"Defines what sound to play, if any, when the on_damage filters are met.","title":"On Damage Sound Event"}}},"BEA":{"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/BEA_triggers"}},{"type":"object","$ref":"#/definitions/BEA_triggers"}]}}},"BEB":{"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}]},"BEC":{"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}]},"BED":{"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/BG","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}]},"BEE":{"type":"object","title":"Drying Out Timer","description":"Adds a timer for drying out that will count down and fire `dried_out_event` or will stop as soon as the entity will get under rain or water and fire `stopped_drying_out_event`.","additionalProperties":false,"properties":{"dried_out_event":{"$ref":"#/definitions/BC","description":"Event to fire when the drying out time runs out.","title":"Dried Out Event"},"recover_after_dried_out_event":{"$ref":"#/definitions/BC","description":"Event to fire when entity was already dried out but received increase in water supply.","title":"Recover After Dried Out Event"},"stopped_drying_out_event":{"$ref":"#/definitions/BC","description":"Event to fire when entity stopped drying out, for example got into water or under rain.","title":"Stopped Drying Out Event"},"total_time":{"type":"number","default":0,"description":"Amount of time in seconds to dry out fully.","title":"Total Time"},"water_bottle_refill_time":{"type":"number","default":0,"description":"Optional amount of additional time in seconds given by using splash water bottle on entity.","title":"Water Bottle Refill Time"}},"examples":[{"total_time":0,"water_bottle_refill_time":0}]},"BEF":{"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}]},"BEG":{"type":"object","title":"Economy Trade Table","additionalProperties":false,"description":"Defines this entity's ability to trade with players.","required":[],"properties":{"convert_trades_economy":{"type":"boolean","default":false,"description":"Determines when the mob transforms, if the trades should be converted when the new mob has a economy_trade_table. When the trades are converted, the mob will generate a new trade list with their new trade table, but then it will try to convert any of the same trades over to have the same enchantments and user data. For example, if the original has a Emerald to Enchanted Iron Sword (Sharpness 1), and the new trade also has an Emerald for Enchanted Iron Sword, then the enchantment will be Sharpness 1.","title":"Convert Trades Economy"},"cured_discount":{"type":"array","default":[-5,-20],"description":"How much should the discount be modified by when the player has cured the Zombie Villager. Can be specified as a pair of numbers (low-tier trade discount and high-tier trade discount)","title":"Cured Discount","items":[{"type":"integer","title":"A","description":"Minimum."},{"type":"integer","title":"B","description":"Maximum."}]},"display_name":{"type":"string","default":"","description":"Name to be displayed while trading with this entity.","title":"Display Name"},"hero_demand_discount":{"type":"integer","default":-4,"description":"Used in legacy prices to determine how much should Demand be modified by when the player has the Hero of the Village mob effect.","title":"Hero Demand Discount"},"max_cured_discount":{"type":"array","default":[-25,-63],"description":"The Maximum the discount can be modified by when the player has cured the Zombie Villager. Can be specified as a pair of numbers (low-tier trade discount and high-tier trade discount)","title":"Maximum Cured Discount","items":[{"type":"integer","title":"A","description":"Minimum."},{"type":"integer","title":"B","description":"Maximum."}]},"max_nearby_cured_discount":{"type":"integer","default":-200,"description":"The Maximum the discount can be modified by when the player has cured a nearby Zombie Villager.","title":"Maximum Nearby Cured Discount"},"nearby_cured_discount":{"type":"integer","default":-25,"description":"How much should the discount be modified by when the player has cured a nearby Zombie Villager.","title":"Nearby Cured Discount"},"new_screen":{"type":"boolean","default":false,"description":"Used to determine if trading with entity opens the new trade screen.","title":"New Screen"},"persist_trades":{"type":"boolean","default":false,"description":"Determines if the trades should persist when the mob transforms. This makes it so that the next time the mob is transformed to something with a trade_table or economy_trade_table, then it keeps their trades.","title":"Persist Trades"},"show_trade_screen":{"type":"boolean","default":true,"description":"Show an in game trade screen when interacting with the mob.","title":"Show Trade Screen"},"table":{"type":"string","default":"","description":"File path relative to the resource pack root for this entity's trades.","title":"Table"},"use_legacy_price_formula":{"type":"boolean","default":false,"description":"Determines whether the legacy formula is used to determines the trade prices.","title":"Use Legacy Price Formula"}},"examples":[{"convert_trades_economy":false,"cured_discount":[],"display_name":"","hero_demand_discount":-4,"max_cured_discount":[],"max_nearby_cured_discount":-200,"nearby_cured_discount":-25,"new_screen":false,"persist_trades":false,"show_trade_screen":true,"table":"","use_legacy_price_formula":false}]},"BEH":{"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.","additionalProperties":false,"properties":{"maximum_count":{"type":"integer","default":-1,"description":"The maximum number of entities that must pass the filter conditions for the event to send.","title":"Maximum Count"},"minimum_count":{"type":"integer","default":1,"description":"The minimum number of entities that must pass the filter conditions for the event to send.","title":"Minimum Count"},"relative_range":{"type":"boolean","default":true,"description":"If true the sensor range is additive on top of the entity's size.","title":"Relative Range"},"require_all":{"type":"boolean","default":false,"description":"If true requires all nearby entities to pass the filter conditions for the event to send.","title":"Require All"},"sensor_range":{"type":"number","default":10,"description":"The maximum distance another entity can be from this and have the filters checked against it.","title":"Sensor Range"},"event_filters":{"$ref":"#/definitions/BG"},"event":{"title":"Event","description":"event.","type":"string"}},"examples":[{"maximum_count":-1,"minimum_count":1,"relative_range":true,"require_all":false,"sensor_range":10,"event":"example"}]},"BEI_trigger":{"$ref":"#/definitions/BAI"},"BEI":{"title":"Environment Sensor","description":"Creates a trigger based on environment conditions.","type":"object","additionalProperties":false,"examples":[{"triggers":[{"event":"self:example","target":"self","filters":{"test":"has_tag","value":"example"}}]}],"properties":{"triggers":{"description":"The list of triggers that fire when the environment conditions match the given filter criteria.","title":"Triggers","oneOf":[{"type":"array","items":{"$ref":"#/definitions/BEI_trigger"}},{"type":"object","$ref":"#/definitions/BEI_trigger"}]}}},"BEJ":{"type":"object","title":"Equip Item","description":"The entity puts on the desired equipment.","additionalProperties":false,"properties":{"excluded_items":{"title":"Excluded Items","type":"array","description":"List of items that the entity should not equip.","items":{"type":"string","$ref":"#/definitions/J","description":"Item that the entity should not equip.","title":"Excluded Items"}}}},"BFB":{"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"}]},"BFA":{"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/BFB"}},"examples":[{"slot_drop_chance":[]}]},"BFC":{"type":"object","title":"Equippable","additionalProperties":false,"description":"Defines an entity's behavior for having items equipped to it.","properties":{"slots":{"description":"List of slots and the item that can be equipped.","type":"array","title":"Slots","items":{"description":"A slot and the item that can be equipped.","title":"Slots","type":"object","properties":{"slot":{"type":"integer","default":0,"description":"The slot number of this slot.","title":"Slot"},"accepted_items":{"type":"array","description":"The list of items that can go in this slot.","title":"Accepted Items","items":{"type":"string","description":"A item name.","$ref":"#/definitions/J","title":"Accepted Items"}},"item":{"$ref":"#/definitions/J","description":"Identifier of the item that can be equipped for this slot.","title":"Item"},"interact_text":{"type":"string","description":"Text to be displayed when the entity can be equipped with this item when playing with Touch-screen controls.","title":"Interact Text"},"on_equip":{"$ref":"#/definitions/BC","description":"Event to trigger when this entity is equipped with this item.","title":"On Equip"},"on_unequip":{"$ref":"#/definitions/BC","description":"Event to trigger when this item is removed from this entity.","title":"On Unequip"}}}}},"examples":[{"slots":[]}]},"BFD":{"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}]},"BFE":{"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}]},"BFF":{"type":"object","title":"Explode","additionalProperties":false,"description":"Defines how the entity explodes.","properties":{"breaks_blocks":{"type":"boolean","default":true,"description":"If true, the explosion will destroy blocks in the explosion radius.","title":"Breaks Blocks"},"causes_fire":{"type":"boolean","default":false,"description":"If true, blocks in the explosion radius will be set on fire.","title":"Causes Fire"},"destroy_affected_by_griefing":{"type":"boolean","default":false,"description":"If true, whether the explosion breaks blocks is affected by the mob griefing game rule.","title":"Destroy Affected By Griefing"},"fire_affected_by_griefing":{"type":"boolean","default":false,"description":"If true, whether the explosion causes fire is affected by the mob griefing game rule.","title":"Fire Affected By Griefing"},"fuse_length":{"default":[0.0,0.0],"description":"The range for the random amount of time the fuse will be lit before exploding, a negative value means the explosion will be immediate.","title":"Fuse Length","oneOf":[{"type":"array","items":[{"type":"number"},{"type":"number"}]},{"type":"number"}]},"fuse_lit":{"type":"boolean","default":false,"description":"If true, the fuse is already lit when this component is added to the entity.","title":"Fuse Lit"},"max_resistance":{"type":"number","description":"A blocks explosion resistance will be capped at this value when an explosion occurs.","title":"Maximum Resistance"},"power":{"type":"number","default":3,"description":"The radius of the explosion in blocks and the amount of damage the explosion deals.","title":"Power"}},"examples":[{"breaks_blocks":true,"causes_fire":false,"destroy_affected_by_griefing":false,"fire_affected_by_griefing":false,"fuse_lit":false,"max_resistance":0.0,"power":3}]},"BFG":{"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}]},"BFH":{"title":"Fire Immune","additionalProperties":false,"description":"Sets that this entity doesn't take damage from fire.","type":"object","required":[],"properties":{}},"BFI":{"description":"Sets that this entity can float in liquid blocks.","type":"object","title":"Floats In Liquid","additionalProperties":false,"required":[],"properties":{}},"BFJ":{"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}]},"BGA":{"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}]},"BGB":{"type":"object","title":"Follow Range","description":"Defines the range of blocks that a mob will pursue a target.","additionalProperties":false,"required":[],"properties":{"value":{"type":"integer","description":"Range of the amount of damage the melee follow_range deals. A negative value can heal the entity instead of hurting it.","title":"Value"},"max":{"type":"integer","description":"Duration, in seconds, of the status ailment applied to the damaged entity.","title":"Max"}},"examples":[{"value":16,"max":48}]},"BGC":{"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}]},"BGD":{"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."}}},"BGE_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"}}}]},"BGE":{"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/BGE_integer_range"},"genetic_variants":{"title":"Genetic Variants","type":"array","description":"The list of genetic variants for this gene. These check for particular allele combinations and fire events when all of them are satisfied.","items":{"title":"Genetic Variants","description":"The genetic variant for this gene. These check for particular allele combinations and fire events when all of them are satisfied.","type":"object","properties":{"birth_event":{"$ref":"#/definitions/BC","description":"Event to run when this mob is created and matches the above allele conditions.","title":"Brith Event"},"both_allele":{"title":"Both Allele","default":-1,"description":"If this value is non-negative, compare both the mob's main and hidden alleles with this value for a match with both. Can also be a range of integers.","$ref":"#/definitions/BGE_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/BGE_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":[]}]},"BGF":{"additionalProperties":false,"description":"Defines sets of items that can be used to trigger events when used on this entity. The item will also be taken and placed in the entity's inventory.","type":"object","title":"Giveable","properties":{"triggers":{"description":"Defines sets of items that can be used to trigger events when used on this entity. The item will also be taken and placed in the entity's inventory.","title":"Triggers","type":"object","additionalProperties":false,"properties":{"cooldown":{"type":"number","default":0.0,"description":"An optional cool down in seconds to prevent spamming interactions.","title":"Cooldown"},"items":{"type":"array","title":"Properties","description":"The list of items that can be given to the entity to place in their inventory.","items":{"description":"An items that can be given to the entity to place in their inventory.","$ref":"#/definitions/J","title":"Properties"}},"on_give":{"$ref":"#/definitions/BC","description":"Event to fire when the correct item is given.","title":"On Give"}}}},"examples":[{"triggers":{}}]},"BGG":{"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}]},"BGH":{"type":"object","title":"Group Size","description":"Keeps track of entity group size in the given radius.","additionalProperties":false,"properties":{"filters":{"$ref":"#/definitions/BG","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}]},"BGI":{"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}]},"BGJ_effect":{"type":"object","properties":{"name":{"title":"Name","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"string"},"duration":{"type":"integer","default":0,"minimum":0,"description":"The duration of the effect.","$comment":"UNDOCUMENTED"},"amplifier":{"type":"integer","default":0,"minimum":0,"description":"The amplifier of the effect.","$comment":"UNDOCUMENTED"}}},"BGJ":{"description":"Defines the interactions with this entity for healing it.","type":"object","title":"Healable","additionalProperties":false,"required":[],"properties":{"filters":{"$ref":"#/definitions/BG"},"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/BG","description":"The filter group that defines the conditions for using this item to heal the entity."},"heal_amount":{"type":"integer","default":1,"description":"The amount of health this entity gains when fed this item.","title":"Heal Amount"},"item":{"$ref":"#/definitions/J","description":"Item that can be used to heal this entity.","title":"Item"},"effects":{"oneOf":[{"$ref":"#/definitions/BGJ_effect"},{"type":"array","items":{"$ref":"#/definitions/BGJ_effect"}}]}}}}},"examples":[{"force_use":false,"items":[]}]},"BHA":{"description":"Specifies how much life an entity has when spawned.","type":"object","title":"Health","additionalProperties":false,"required":[],"properties":{"max":{"type":"integer","description":"The maximum starting health an entity has.","title":"Maximum"},"value":{"description":"The amount of health an entity to start with by default.","title":"Value","oneOf":[{"type":"integer","default":1},{"type":"object","additionalProperties":false,"required":["range_min","range_max"],"properties":{"range_min":{"title":"Range Minimum","description":"The minimum amount of health this mob could have.","type":"integer"},"range_max":{"title":"Range Maximum","description":"The maximum amount of health this mob could have.","type":"integer"}}}]}},"examples":[{"value":1,"max":1}]},"BHB":{"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":[{}]},"BHC":{"type":"object","title":"Hide","description":"Compels an entity to move to and hide at their owned POI or the closest nearby.","additionalProperties":false,"properties":{}},"BHD":{"type":"object","title":"Home","description":"Saves a home pos for when the the entity is spawned.","additionalProperties":false,"properties":{"restriction_radius":{"title":"Restriction Radius","description":"The radius that the entity will be restricted to in relation to its home.","type":"integer","default":-1},"home_block_list":{"title":"Home Block List","description":"Optional block list that the home position will be associated with. If any of the blocks no longer exist at that position, the home restriction is removed. Example syntax: minecraft:sand. Not supported: minecraft:sand:1","type":"array","items":{"title":"Home Block","description":"Optional block that the home position will be associated with. If any of the blocks no longer exist at that position, the home restriction is removed. Example syntax: minecraft:sand. Not supported: minecraft:sand:1","type":"string","$ref":"#/definitions/BA"}}},"examples":[{"restriction_radius":-1,"home_block_list":[]}]},"BHE":{"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"}]}}},"BHF":{"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/BG"},"cause":{"type":"string","title":"Cause","description":"Damage cause.","$ref":"#/definitions/DD"},"damage_per_tick":{"type":"integer","title":"Damage Per Tick","description":"Amount of damage done each tick that the conditions are met."}}}}},"examples":[{"damage_conditions":[]}]},"BHG":{"type":"object","title":"Hurt When Wet","additionalProperties":false,"required":[],"properties":{},"description":"Specifies if an actor is hurt when wet."},"BHH":{"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":{}},"BHJ":{"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"}]}}}},"BHI":{"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/BHJ"},"entered_block_event":{"title":"Entered Block Event","description":"Event to run when this mob enters a valid block.","$comment":"UNDOCUMENTED","$ref":"#/definitions/BC"},"exited_block_event":{"title":"Exited Block Event","description":"Event to run when this mob leaves a valid block.","$comment":"UNDOCUMENTED","$ref":"#/definitions/BC"}}}}},"examples":[{"block_list":[]}]},"BIA":{"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}]},"BIB":{"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}]},"BIC_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/BFB","description":"File path, relative to the Behavior Pack's path, to the loot table file.","title":"Table"}}},"cooldown":{"title":"Cooldown","type":"number","default":0,"description":"Time in seconds before this entity can be interacted with again."},"admire":{"title":"Admire","type":"boolean","default":false,"description":"Allows entity to admire the item. Requires \"minecraft:admire_item\" and \"minecraft:behavior.admire_item\" to work.","$comment":"UNDOCUMENTED"},"barter":{"title":"Barter","type":"boolean","default":false,"description":"Allows entity to barter with the item. Requires \"minecraft:barter\" to work.","$comment":"UNDOCUMENTED"},"cooldown_after_being_attacked":{"title":"Cooldown After Being Attacked","type":"number","default":0,"description":"Time in seconds before this entity can be interacted with after being attacked."},"health_amount":{"title":"Health Amount","type":"integer","default":0,"description":"The amount of health this entity will recover or hurt when interacting with this item. Negative values will harm the entity."},"hurt_item":{"title":"Hurt Item","type":"integer","default":0,"description":"The amount of damage the item will take when used to interact with this entity. A value of 0 means the item won't lose durability."},"interact_text":{"title":"Interact Text","type":"string","default":"","description":"Text to show when the player is able to interact in this way with this entity when playing with Touch-screen controls."},"on_interact":{"title":"On Interact","$ref":"#/definitions/BAI","description":"Event to fire when the interaction occurs."},"particle_on_start":{"title":"Particle On Start","type":"object","description":"Particle effect that will be triggered at the start of the interaction.","properties":{"particle_offset_towards_interactor":{"type":"boolean","description":"Whether or not the particle will appear closer to who performed the interaction.","title":"Particle Offset Towards Interactor"},"particle_type":{"type":"string","description":"The type of particle that will be spawned.","title":"Particle Type"},"particle_y_offset":{"type":"number","description":"Will offset the particle this amount in the y direction.","title":"Particle Y Offset"}}},"play_sounds":{"title":"Play Sounds","$ref":"#/definitions/BE","default":"","description":"List of sounds to play when the interaction occurs."},"spawn_entities":{"title":"Spawn Entities","type":"string","default":"","description":"List of entities to spawn when the interaction occurs."},"spawn_items":{"type":"object","description":"Loot table with items to drop on the ground upon successful interaction.","title":"Spawn Items","additionalProperties":false,"properties":{"table":{"type":"string","$ref":"#/definitions/BFB","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."}}},"BIC":{"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/BIC_interaction_spec"},{"type":"array","items":{"$ref":"#/definitions/BIC_interaction_spec"}}]}}},"BID":{"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}]},"BIE":{"description":"Sets that this entity is a baby.","type":"object","title":"Is Baby","additionalProperties":false,"required":[],"properties":{}},"BIF":{"description":"Sets that this entity is charged.","type":"object","title":"Is Charged","additionalProperties":false,"required":[],"properties":{}},"BIG":{"description":"Sets that this entity is currently carrying a chest.","type":"object","title":"Is Chested","additionalProperties":false,"required":[],"properties":{}},"BIH":{"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"}]},"BII":{"type":"object","title":"Is Hidden When Invisible","additionalProperties":false,"description":"Sets that this entity can hide from hostile mobs while invisible."},"BIJ":{"description":"Sets that this entity is currently on fire.","type":"object","title":"Is Ignited","additionalProperties":false,"required":[],"properties":{}},"BJA":{"description":"Sets that this entity is an illager captain.","type":"object","title":"Is Illager Captain","additionalProperties":false,"required":[],"properties":{}},"BJB":{"description":"Sets that this entity is currently saddled.","type":"object","title":"Is Saddled","additionalProperties":false,"required":[],"properties":{}},"BJC":{"description":"Sets that this entity is currently shaking.","type":"object","title":"Is Shaking","additionalProperties":false,"required":[],"properties":{}},"BJD":{"description":"Sets that this entity is currently sheared.","type":"object","title":"Is Sheared","additionalProperties":false,"required":[],"properties":{}},"BJE":{"description":"Sets that this entity can be stacked.","type":"object","title":"Is Stackable","additionalProperties":false,"properties":{"value":{"title":"Value","description":"UNDOCUMENTED.","type":"boolean"}}},"BJF":{"description":"Sets that this entity is currently stunned.","type":"object","title":"Is Stunned","additionalProperties":false,"required":[],"properties":{}},"BJG":{"description":"Sets that this entity is currently tamed.","type":"object","title":"Is Tamed","additionalProperties":false,"required":[],"properties":{}},"BJH":{"description":"Efines what items can be used to control this entity while ridden.","type":"object","title":"Item Controllable","additionalProperties":false,"required":[],"properties":{"control_items":{"description":"List of items that can be used to control this entity.","oneOf":[{"type":"array","items":{"type":"string","description":"An item that can be used to control this entity.","title":"Item"}},{"type":"string"}],"title":"Control Items"}}},"BJI":{"type":"object","title":"Item Hopper","additionalProperties":false,"required":[],"properties":{},"description":"Determines that this entity is an item hopper."},"BJJ":{"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":{}},"CAA":{"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}]},"CAB":{"type":"object","title":"Knockback Resistance","description":"Allows an entity to resist being knocked backwards by a melee attack.","required":[],"additionalProperties":false,"properties":{"value":{"title":"Value","type":"number","default":1.0,"description":"Percentage of knockback to reduce with 1.0 being 100% reduction."},"maximum":{"title":"Maximum","type":"number","default":1.0,"description":"The maximum amount of knockback resistance that can be applied to the entity."}},"examples":[{"value":1.0},{"value":100,"maximum":100}]},"CAC":{"description":"Allows a custom movement speed across lava blocks.","type":"object","title":"Lava Movement","additionalProperties":false,"required":[],"properties":{"value":{"type":"number","title":"Value","description":"The speed a strider moves over a lava block."}},"examples":[{"value":0.32}]},"CAD":{"type":"object","title":"Leashable","description":"Allows this entity to be leashed and defines the conditions and events for this entity when is leashed.","additionalProperties":false,"properties":{"can_be_stolen":{"type":"boolean","default":false,"description":"If true, players can leash this entity even if it is already leashed to another mob.","title":"Can Be Stolen"},"hard_distance":{"type":"number","default":6,"description":"Distance in blocks at which the leash stiffens, restricting movement.","title":"Hard Distance"},"max_distance":{"type":"number","default":10,"description":"Distance in blocks at which the leash breaks.","title":"Maximum Distance"},"on_leash":{"$ref":"#/definitions/BC","description":"Event to call when this entity is leashed.","title":"On Leash"},"on_unleash":{"$ref":"#/definitions/BC","description":"Event to call when this entity is unleashed.","title":"On Unleash"},"soft_distance":{"type":"number","default":4,"description":"Distance in blocks at which the `spring` effect starts acting to keep this entity close to the entity that leashed it.","title":"Soft Distance"}},"examples":[{"can_be_stolen":false,"hard_distance":6,"max_distance":10,"soft_distance":4}]},"CAE":{"description":"Defines the behavior when another entity looks at this entity.","type":"object","title":"Lookat","additionalProperties":false,"properties":{"allow_invulnerable":{"type":"boolean","default":false,"description":"If true, invulnerable entities (e.g. Players in creative mode) are considered valid targets.","title":"Allow Invulnerable"},"filters":{"$ref":"#/definitions/BG","description":"Defines the entities that can trigger this component.","title":"Filters"},"look_cooldown":{"$ref":"#/definitions/BBB","default":[0.0,0.0],"description":"The range for the random amount of time during which the entity is `cooling down` and won't get angered or look for a target.","title":"Look Cooldown"},"look_event":{"description":"The event identifier to run when the entities specified in filters look at this entity.","title":"Look Event","$ref":"#/definitions/BC"},"search_radius":{"type":"number","default":10,"description":"Maximum distance this entity will look for another entity looking at it.","title":"Search Radius"},"set_target":{"type":"boolean","default":true,"description":"If true, this entity will set the attack target as the entity that looked at it.","title":"Set Target"}},"examples":[{"allow_invulnerable":false,"search_radius":10,"set_target":true}]},"CAF":{"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"}}},"CAG":{"type":"object","title":"Managed Wandering Trader","additionalProperties":false,"required":[],"properties":{},"description":"This component is used to implement part of the Wandering Trader behavior."},"CAH":{"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}]},"CAI":{"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/BG","title":"Entity Filter","description":"Filter to use for conditions."},"mob_effect":{"title":"Mob Effect","type":"string","default":"","description":"The mob effect that is applied to entities that enter this entities effect range."}},"examples":[{"effect_range":0.2,"effect_time":10,"mob_effect":""}]},"CAJ":{"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}]},"CBA":{"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}]},"CBB":{"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}]},"CBC":{"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}]},"CBD":{"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}]},"CBE":{"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}]},"CBF":{"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}]},"CBG":{"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}]},"CBH":{"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}]},"CBI":{"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}]},"CBJ":{"type":"object","title":"Movement","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","additionalProperties":false,"required":[],"properties":{"value":{"title":"Value","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","oneOf":[{"type":"array","items":[{"type":"number","title":"Maximum"},{"type":"number","title":"Maximum"}]},{"type":"number"},{"type":"object","additionalProperties":false,"title":"Range","properties":{"range_min":{"type":"number","title":"Range Minimum"},"range_max":{"type":"number","title":"Range Maximum"}}}]},"max":{"type":"number","title":"Maximum","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"}},"examples":[{"max":0.0}]},"CCA_name_action":{"type":"object","additionalProperties":false,"description":"Describes the special names for this entity and the events to call when the entity acquires those names.","title":"Name Action","properties":{"name_filter":{"type":"string","default":"","description":"List of special names that will cause the events defined in `on_named` to fire.","title":"Name Filter"},"on_named":{"$ref":"#/definitions/BC","description":"Event to be called when this entity acquires the name specified in `name_filter'.","title":"On Named"}}},"CCA":{"type":"object","title":"Nameable","additionalProperties":false,"description":"Allows this entity to be named (e.g. using a name tag).","properties":{"allow_name_tag_renaming":{"type":"boolean","default":true,"description":"If true, this entity can be renamed with name tags.","title":"Allow Name Tag Renaming"},"always_show":{"type":"boolean","default":false,"description":"If true, the name will always be shown.","title":"Always Show"},"default_trigger":{"$ref":"#/definitions/BAI","description":"Trigger to run when the entity gets named.","title":"Default Trigger"},"name_actions":{"title":"Name Actions","description":"Describes the special names for this entity and the events to call when the entity acquires those names.","oneOf":[{"type":"array","items":{"$ref":"#/definitions/CCA_name_action"}},{"type":"object","$ref":"#/definitions/CCA_name_action"}]}},"examples":[{"allow_name_tag_renaming":true,"always_show":false}]},"CCB":{"title":"Navigation Climb","description":"Allows this entity to generate paths that include vertical walls like the vanilla Spiders do.","type":"object","additionalProperties":false,"properties":{"avoid_damage_blocks":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid blocks that cause damage when finding a path.","title":"Avoid Damage Blocks"},"avoid_portals":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid portals (like nether portals) when finding a path.","title":"Avoid Portals"},"avoid_sun":{"type":"boolean","default":false,"description":"Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths.","title":"Avoid Sun"},"avoid_water":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid water when creating a path.","title":"Avoid Water"},"blocks_to_avoid":{"type":"array","description":"Tells the pathfinder which blocks to avoid when creating a path.","title":"Blocks To Avoid","items":{"title":"Block","description":"Tells the pathfinder which blocks to avoid when creating a path.","$ref":"#/definitions/BCC"}},"can_breach":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can jump out of water (like a dolphin).","title":"Can Breach"},"can_break_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door and break it.","title":"Can Break Doors"},"can_jump":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can jump up blocks.","title":"Can Jump"},"can_open_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door assuming the AI will open the door.","title":"Can Open Doors"},"can_open_iron_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door.","title":"Can Open Iron Doors"},"can_pass_doors":{"type":"boolean","default":true,"description":"Whether a path can be created through a door.","title":"Can Pass Doors"},"can_path_from_air":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can start pathing when in the air.","title":"Can Path From Air"},"can_path_over_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the lava.","title":"Can Path Over Lava"},"can_path_over_water":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the water.","title":"Can Path Over Water"},"can_sink":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it will be pulled down by gravity while in water.","title":"Can Sink"},"can_swim":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path.","title":"Can Swim"},"can_walk":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can walk on the ground outside water.","title":"Can Walk"},"can_walk_in_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel in lava like walking on ground.","title":"Can Walk In Lava"},"is_amphibious":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can walk on the ground underwater.","title":"Is Amphibious"}},"examples":[{},{"avoid_damage_blocks":true,"can_pass_doors":true,"can_jump":true},{"avoid_damage_blocks":false,"avoid_portals":false,"avoid_sun":false,"avoid_water":false,"blocks_to_avoid":[],"can_breach":false,"can_break_doors":false,"can_jump":true,"can_open_doors":false,"can_open_iron_doors":false,"can_pass_doors":true,"can_path_from_air":false,"can_path_over_lava":false,"can_path_over_water":false,"can_sink":true,"can_swim":false,"can_walk":true,"can_walk_in_lava":false,"is_amphibious":false}]},"CCC":{"title":"Navigation Float","description":"Allows this entity to generate paths by flying around the air like the regular Ghast.","type":"object","additionalProperties":false,"properties":{"avoid_damage_blocks":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid blocks that cause damage when finding a path.","title":"Avoid Damage Blocks"},"avoid_portals":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid portals (like nether portals) when finding a path.","title":"Avoid Portals"},"avoid_sun":{"type":"boolean","default":false,"description":"Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths.","title":"Avoid Sun"},"avoid_water":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid water when creating a path.","title":"Avoid Water"},"blocks_to_avoid":{"type":"array","description":"Tells the pathfinder which blocks to avoid when creating a path.","title":"Blocks To Avoid","items":{"title":"Block","description":"Tells the pathfinder which blocks to avoid when creating a path.","$ref":"#/definitions/BCC"}},"can_breach":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can jump out of water (like a dolphin).","title":"Can Breach"},"can_break_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door and break it.","title":"Can Break Doors"},"can_jump":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can jump up blocks.","title":"Can Jump"},"can_open_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door assuming the AI will open the door.","title":"Can Open Doors"},"can_open_iron_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door.","title":"Can Open Iron Doors"},"can_pass_doors":{"type":"boolean","default":true,"description":"Whether a path can be created through a door.","title":"Can Pass Doors"},"can_path_from_air":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can start pathing when in the air.","title":"Can Path From Air"},"can_path_over_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the lava.","title":"Can Path Over Lava"},"can_path_over_water":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the water.","title":"Can Path Over Water"},"can_sink":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it will be pulled down by gravity while in water.","title":"Can Sink"},"can_swim":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path.","title":"Can Swim"},"can_walk":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can walk on the ground outside water.","title":"Can Walk"},"can_walk_in_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel in lava like walking on ground.","title":"Can Walk In Lava"},"is_amphibious":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can walk on the ground underwater.","title":"Is Amphibious"}},"examples":[{},{"avoid_damage_blocks":true,"can_pass_doors":true,"can_jump":true},{"avoid_damage_blocks":false,"avoid_portals":false,"avoid_sun":false,"avoid_water":false,"blocks_to_avoid":[],"can_breach":false,"can_break_doors":false,"can_jump":true,"can_open_doors":false,"can_open_iron_doors":false,"can_pass_doors":true,"can_path_from_air":false,"can_path_over_lava":false,"can_path_over_water":false,"can_sink":true,"can_swim":false,"can_walk":true,"can_walk_in_lava":false,"is_amphibious":false}]},"CCD":{"title":"Navigation Fly","description":"Allows this entity to generate paths in the air like the vanilla Parrots do.","type":"object","additionalProperties":false,"properties":{"avoid_damage_blocks":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid blocks that cause damage when finding a path.","title":"Avoid Damage Blocks"},"avoid_portals":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid portals (like nether portals) when finding a path.","title":"Avoid Portals"},"avoid_sun":{"type":"boolean","default":false,"description":"Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths.","title":"Avoid Sun"},"avoid_water":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid water when creating a path.","title":"Avoid Water"},"blocks_to_avoid":{"type":"array","description":"Tells the pathfinder which blocks to avoid when creating a path.","title":"Blocks To Avoid","items":{"title":"Block","description":"Tells the pathfinder which blocks to avoid when creating a path.","$ref":"#/definitions/BCC"}},"can_breach":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can jump out of water (like a dolphin).","title":"Can Breach"},"can_break_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door and break it.","title":"Can Break Doors"},"can_jump":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can jump up blocks.","title":"Can Jump"},"can_open_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door assuming the AI will open the door.","title":"Can Open Doors"},"can_open_iron_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door.","title":"Can Open Iron Doors"},"can_pass_doors":{"type":"boolean","default":true,"description":"Whether a path can be created through a door.","title":"Can Pass Doors"},"can_path_from_air":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can start pathing when in the air.","title":"Can Path From Air"},"can_path_over_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the lava.","title":"Can Path Over Lava"},"can_path_over_water":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the water.","title":"Can Path Over Water"},"can_sink":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it will be pulled down by gravity while in water.","title":"Can Sink"},"can_swim":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path.","title":"Can Swim"},"can_walk":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can walk on the ground outside water.","title":"Can Walk"},"can_walk_in_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel in lava like walking on ground.","title":"Can Walk In Lava"},"is_amphibious":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can walk on the ground underwater.","title":"Is Amphibious"}},"examples":[{},{"avoid_damage_blocks":true,"can_pass_doors":true,"can_jump":true},{"avoid_damage_blocks":false,"avoid_portals":false,"avoid_sun":false,"avoid_water":false,"blocks_to_avoid":[],"can_breach":false,"can_break_doors":false,"can_jump":true,"can_open_doors":false,"can_open_iron_doors":false,"can_pass_doors":true,"can_path_from_air":false,"can_path_over_lava":false,"can_path_over_water":false,"can_sink":true,"can_swim":false,"can_walk":true,"can_walk_in_lava":false,"is_amphibious":false}]},"CCE":{"title":"Navigation Generic","description":"Allows this entity to generate paths by walking, swimming, flying and/or climbing around and jumping up and down a block.","type":"object","additionalProperties":false,"properties":{"avoid_damage_blocks":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid blocks that cause damage when finding a path.","title":"Avoid Damage Blocks"},"avoid_portals":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid portals (like nether portals) when finding a path.","title":"Avoid Portals"},"avoid_sun":{"type":"boolean","default":false,"description":"Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths.","title":"Avoid Sun"},"avoid_water":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid water when creating a path.","title":"Avoid Water"},"blocks_to_avoid":{"type":"array","description":"Tells the pathfinder which blocks to avoid when creating a path.","title":"Blocks To Avoid","items":{"title":"Block","description":"Tells the pathfinder which blocks to avoid when creating a path.","$ref":"#/definitions/BCC"}},"can_breach":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can jump out of water (like a dolphin).","title":"Can Breach"},"can_break_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door and break it.","title":"Can Break Doors"},"can_jump":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can jump up blocks.","title":"Can Jump"},"can_open_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door assuming the AI will open the door.","title":"Can Open Doors"},"can_open_iron_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door.","title":"Can Open Iron Doors"},"can_pass_doors":{"type":"boolean","default":true,"description":"Whether a path can be created through a door.","title":"Can Pass Doors"},"can_path_from_air":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can start pathing when in the air.","title":"Can Path From Air"},"can_path_over_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the lava.","title":"Can Path Over Lava"},"can_path_over_water":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the water.","title":"Can Path Over Water"},"can_sink":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it will be pulled down by gravity while in water.","title":"Can Sink"},"can_swim":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path.","title":"Can Swim"},"can_walk":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can walk on the ground outside water.","title":"Can Walk"},"can_walk_in_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel in lava like walking on ground.","title":"Can Walk In Lava"},"is_amphibious":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can walk on the ground underwater.","title":"Is Amphibious"}},"examples":[{},{"avoid_damage_blocks":true,"can_pass_doors":true,"can_jump":true},{"avoid_damage_blocks":false,"avoid_portals":false,"avoid_sun":false,"avoid_water":false,"blocks_to_avoid":[],"can_breach":false,"can_break_doors":false,"can_jump":true,"can_open_doors":false,"can_open_iron_doors":false,"can_pass_doors":true,"can_path_from_air":false,"can_path_over_lava":false,"can_path_over_water":false,"can_sink":true,"can_swim":false,"can_walk":true,"can_walk_in_lava":false,"is_amphibious":false}]},"CCF":{"title":"Navigation Hover","description":"Allows this entity to generate paths in the air like the vanilla Bees do. Keeps them from falling out of the skies and doing predictive movement.","type":"object","additionalProperties":false,"properties":{"avoid_damage_blocks":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid blocks that cause damage when finding a path.","title":"Avoid Damage Blocks"},"avoid_portals":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid portals (like nether portals) when finding a path.","title":"Avoid Portals"},"avoid_sun":{"type":"boolean","default":false,"description":"Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths.","title":"Avoid Sun"},"avoid_water":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid water when creating a path.","title":"Avoid Water"},"blocks_to_avoid":{"type":"array","description":"Tells the pathfinder which blocks to avoid when creating a path.","title":"Blocks To Avoid","items":{"title":"Block","description":"Tells the pathfinder which blocks to avoid when creating a path.","$ref":"#/definitions/BCC"}},"can_breach":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can jump out of water (like a dolphin).","title":"Can Breach"},"can_break_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door and break it.","title":"Can Break Doors"},"can_jump":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can jump up blocks.","title":"Can Jump"},"can_open_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door assuming the AI will open the door.","title":"Can Open Doors"},"can_open_iron_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door.","title":"Can Open Iron Doors"},"can_pass_doors":{"type":"boolean","default":true,"description":"Whether a path can be created through a door.","title":"Can Pass Doors"},"can_path_from_air":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can start pathing when in the air.","title":"Can Path From Air"},"can_path_over_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the lava.","title":"Can Path Over Lava"},"can_path_over_water":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the water.","title":"Can Path Over Water"},"can_sink":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it will be pulled down by gravity while in water.","title":"Can Sink"},"can_swim":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path.","title":"Can Swim"},"can_walk":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can walk on the ground outside water.","title":"Can Walk"},"can_walk_in_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel in lava like walking on ground.","title":"Can Walk In Lava"},"is_amphibious":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can walk on the ground underwater.","title":"Is Amphibious"}},"examples":[{},{"avoid_damage_blocks":true,"can_pass_doors":true,"can_jump":true},{"avoid_damage_blocks":false,"avoid_portals":false,"avoid_sun":false,"avoid_water":false,"blocks_to_avoid":[],"can_breach":false,"can_break_doors":false,"can_jump":true,"can_open_doors":false,"can_open_iron_doors":false,"can_pass_doors":true,"can_path_from_air":false,"can_path_over_lava":false,"can_path_over_water":false,"can_sink":true,"can_swim":false,"can_walk":true,"can_walk_in_lava":false,"is_amphibious":false}]},"CCG":{"title":"Navigation Swim","description":"Allows this entity to generate paths that include water.","type":"object","additionalProperties":false,"properties":{"avoid_damage_blocks":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid blocks that cause damage when finding a path.","title":"Avoid Damage Blocks"},"avoid_portals":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid portals (like nether portals) when finding a path.","title":"Avoid Portals"},"avoid_sun":{"type":"boolean","default":false,"description":"Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths.","title":"Avoid Sun"},"avoid_water":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid water when creating a path.","title":"Avoid Water"},"blocks_to_avoid":{"type":"array","description":"Tells the pathfinder which blocks to avoid when creating a path.","title":"Blocks To Avoid","items":{"title":"Block","description":"Tells the pathfinder which blocks to avoid when creating a path.","$ref":"#/definitions/BCC"}},"can_breach":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can jump out of water (like a dolphin).","title":"Can Breach"},"can_break_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door and break it.","title":"Can Break Doors"},"can_jump":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can jump up blocks.","title":"Can Jump"},"can_open_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door assuming the AI will open the door.","title":"Can Open Doors"},"can_open_iron_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door.","title":"Can Open Iron Doors"},"can_pass_doors":{"type":"boolean","default":true,"description":"Whether a path can be created through a door.","title":"Can Pass Doors"},"can_path_from_air":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can start pathing when in the air.","title":"Can Path From Air"},"can_path_over_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the lava.","title":"Can Path Over Lava"},"can_path_over_water":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the water.","title":"Can Path Over Water"},"can_sink":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it will be pulled down by gravity while in water.","title":"Can Sink"},"can_swim":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path.","title":"Can Swim"},"can_walk":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can walk on the ground outside water.","title":"Can Walk"},"can_walk_in_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel in lava like walking on ground.","title":"Can Walk In Lava"},"is_amphibious":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can walk on the ground underwater.","title":"Is Amphibious"}},"examples":[{},{"avoid_damage_blocks":true,"can_pass_doors":true,"can_jump":true},{"avoid_damage_blocks":false,"avoid_portals":false,"avoid_sun":false,"avoid_water":false,"blocks_to_avoid":[],"can_breach":false,"can_break_doors":false,"can_jump":true,"can_open_doors":false,"can_open_iron_doors":false,"can_pass_doors":true,"can_path_from_air":false,"can_path_over_lava":false,"can_path_over_water":false,"can_sink":true,"can_swim":false,"can_walk":true,"can_walk_in_lava":false,"is_amphibious":false}]},"CCH":{"title":"Navigation Walk","description":"Allows this entity to generate paths by walking around and jumping up and down a block like regular mobs.","type":"object","additionalProperties":false,"properties":{"avoid_damage_blocks":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid blocks that cause damage when finding a path.","title":"Avoid Damage Blocks"},"avoid_portals":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid portals (like nether portals) when finding a path.","title":"Avoid Portals"},"avoid_sun":{"type":"boolean","default":false,"description":"Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths.","title":"Avoid Sun"},"avoid_water":{"type":"boolean","default":false,"description":"Tells the pathfinder to avoid water when creating a path.","title":"Avoid Water"},"blocks_to_avoid":{"type":"array","description":"Tells the pathfinder which blocks to avoid when creating a path.","title":"Blocks To Avoid","items":{"title":"Block","description":"Tells the pathfinder which blocks to avoid when creating a path.","$ref":"#/definitions/BCC"}},"can_breach":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can jump out of water (like a dolphin).","title":"Can Breach"},"can_break_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door and break it.","title":"Can Break Doors"},"can_jump":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can jump up blocks.","title":"Can Jump"},"can_float":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it float.","title":"Can Jump"},"can_open_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed door assuming the AI will open the door.","title":"Can Open Doors"},"can_open_iron_doors":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door.","title":"Can Open Iron Doors"},"can_pass_doors":{"type":"boolean","default":true,"description":"Whether a path can be created through a door.","title":"Can Pass Doors"},"can_path_from_air":{"type":"boolean","default":false,"description":"Tells the pathfinder that it can start pathing when in the air.","title":"Can Path From Air"},"can_path_over_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the lava.","title":"Can Path Over Lava"},"can_path_over_water":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel on the surface of the water.","title":"Can Path Over Water"},"can_sink":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it will be pulled down by gravity while in water.","title":"Can Sink"},"can_swim":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path.","title":"Can Swim"},"can_walk":{"type":"boolean","default":true,"description":"Tells the pathfinder whether or not it can walk on the ground outside water.","title":"Can Walk"},"can_walk_in_lava":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can travel in lava like walking on ground.","title":"Can Walk In Lava"},"is_amphibious":{"type":"boolean","default":false,"description":"Tells the pathfinder whether or not it can walk on the ground underwater.","title":"Is Amphibious"}},"examples":[{},{"avoid_damage_blocks":true,"can_pass_doors":true,"can_jump":true},{"avoid_damage_blocks":false,"avoid_portals":false,"avoid_sun":false,"avoid_water":false,"blocks_to_avoid":[],"can_breach":false,"can_break_doors":false,"can_jump":true,"can_open_doors":false,"can_open_iron_doors":false,"can_pass_doors":true,"can_path_from_air":false,"can_path_over_lava":false,"can_path_over_water":false,"can_sink":true,"can_swim":false,"can_walk":true,"can_walk_in_lava":false,"is_amphibious":false}]},"CCI_rangeXYZ":{"type":"array","items":[{"type":"number","title":"X"},{"type":"number","title":"Y"},{"type":"number","title":"Z"}]},"CCI":{"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/CCI_rangeXYZ","title":"Translate","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"scale":{"$ref":"#/definitions/CCI_rangeXYZ","title":"Scale","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"}}},"picker_offsets":{"type":"object","title":"Picker Offsets","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","additionalProperties":false,"properties":{"translate":{"$ref":"#/definitions/CCI_rangeXYZ","title":"Translate","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"scale":{"$ref":"#/definitions/CCI_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":{}}]},"CCJ":{"description":"Adds a trigger to call on this entity's death. minecraft:on_death can only be used by the `ender_dragon` entity.","title":"On Death","$ref":"#/definitions/BAI"},"CDA":{"description":"Adds a trigger that will run when a nearby entity of the same type as this entity becomes Angry.","title":"On Friendly Anger","$ref":"#/definitions/BAI"},"CDB":{"description":"Adds a trigger to call when this entity is attacked by the player.","title":"On Hurt By Player","$ref":"#/definitions/BAI"},"CDC":{"description":"Adds a trigger to call when this entity takes damage.","title":"On Hurt","$ref":"#/definitions/BAI"},"CDD":{"description":"Adds a trigger to call when this entity is set on fire.","title":"On Ignite","$ref":"#/definitions/BAI"},"CDE":{"description":"Only usable by the Ender Dragon. Adds a trigger to call when this entity lands.","title":"On Start Landing","$ref":"#/definitions/BAI"},"CDF":{"description":"Only usable by the Ender Dragon. Adds a trigger to call when this entity starts flying.","title":"On Start Takeoff","$ref":"#/definitions/BAI"},"CDG":{"description":"Adds a trigger to call when this entity finds a target.","title":"On Target Acquired","$ref":"#/definitions/BAI"},"CDH":{"description":"Adds a trigger to call when this entity loses the target it currently has.","title":"On Target Escape","$ref":"#/definitions/BAI"},"CDI":{"description":"Adds a trigger to call when this pet's owner awakes after sleeping with the pet.","title":"On Wake With Owner","$ref":"#/definitions/BAI"},"CDJ":{"type":"object","title":"Out Of Control","additionalProperties":false,"description":"defines the entity's `out of control` state.","required":[],"properties":{}},"CEA":{"description":"Defines the entity's `peek` behavior, defining the events that should be called during it.","type":"object","title":"Peek","additionalProperties":false,"required":[],"properties":{"on_close":{"$ref":"#/definitions/BC","description":"Event to call when the entity is done peeking.","title":"On Close"},"on_open":{"$ref":"#/definitions/BC","description":"Event to call when the entity starts peeking.","title":"On Open"},"on_target_open":{"$ref":"#/definitions/BC","description":"Event to call when the entity's target entity starts peeking.","title":"On Target Open"}}},"CEB":{"description":"Defines whether an entity should be persistent in the game world.","type":"object","title":"Persistent","additionalProperties":false,"required":[],"properties":{}},"CEC":{"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}]},"CED":{"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}]},"CEE":{"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}]},"CEF":{"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}]},"CEG":{"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}]},"CEH":{"type":"object","title":"Preferred Path","description":"Specifies costing information for mobs that prefer to walk on preferred paths.","additionalProperties":false,"properties":{"default_block_cost":{"type":"number","default":0,"description":"Cost for non-preferred blocks.","title":"Default Block Cost"},"jump_cost":{"type":"integer","default":0,"description":"Added cost for jumping up a node.","title":"Jump Cost"},"max_fall_blocks":{"type":"integer","default":3,"description":"Distance mob can fall without taking damage.","title":"Maximum Fall Blocks"},"preferred_path_blocks":{"type":"array","title":"Preferred Path Blocks","description":"A list of blocks with their associated cost.","items":{"additionalProperties":false,"type":"object","description":"Blocks cost.","properties":{"cost":{"type":"number"},"blocks":{"type":"array","items":{"$ref":"#/definitions/BCC"}}}}}},"examples":[{"default_block_cost":0,"jump_cost":0,"max_fall_blocks":3,"preferred_path_blocks":[]}]},"CEJ":{"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"]}]},"CFA":{"title":"Event","description":"Minecraft behavior event.","examples":["example:foo",{"event":"example:foo","target":"self"}],"defaultSnippets":[{"label":"New Event","body":"^\"$1\""}],"oneOf":[{"type":"string","pattern":"^[a-zA-Z0-9_\\-:]+$","description":"The event to fire."},{"type":"object","properties":{"event":{"type":"string","pattern":"^[a-zA-Z0-9_\\-:]+$","description":"The event to fire.","title":"Event"},"target":{"type":"string","description":"The target of the event.","title":"Target","enum":["baby","block","damager","other","parent","player","self","target"]}}}]},"CEI":{"type":"object","title":"Projectile","description":"Allows the entity to be a thrown entity.","additionalProperties":false,"properties":{"anchor":{"type":"integer","description":"Allows you to choose an anchor point for where the projectile is fired from. 0 = Original point, 1 = EyeHeight, and 2 = Middle or body height.","title":"Anchor","default":0},"angle_offset":{"type":"number","default":0,"description":"Alters the angle at which a projectile is vertically shot. Many splash potions in the game use this to offset their angles by -20 degrees.","title":"Angle Offset"},"catch_fire":{"type":"boolean","default":false,"description":"If true, the entity hit will be set on fire.","title":"Catch Fire"},"crit_particle_on_hurt":{"type":"boolean","default":false,"description":"If true, when a projectile deals damage, whether or not to spawn in the critical damage particles.","title":"Crit Particle On Hurt"},"destroy_on_hurt":{"type":"boolean","default":false,"description":"When this projectile deals damage, whether or not to immediately destroy this projectile.","title":"Destroy On Hurt"},"filter":{"type":"string","default":"","description":"Entity Definitions defined here can't be hurt by the projectile.","title":"Filter"},"fire_affected_by_griefing":{"type":"boolean","default":false,"description":"If true, whether the projectile causes fire is affected by the mob griefing game rule.","title":"Fire Affected By Griefing"},"gravity":{"type":"number","default":0.05,"description":"The gravity applied to this entity when thrown. When this actor is not on the ground, subtracts this amount from the actors change in vertical position every tick. The higher the value, the faster the entity falls.","title":"Gravity"},"hit_ground_sound":{"$ref":"#/definitions/BE","default":"","description":"The sound that plays when the projectile hits the ground.","title":"Hit Ground Sound"},"hit_sound":{"$ref":"#/definitions/BE","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/CEJ"},"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/CFA"},"splash_area":{"title":"Splash Area","type":"number","default":0.0,"description":"The splash area that will be affected."}}},"douse_fire":{"title":"Douse Fire","type":"boolean","default":false,"description":"If the target is on fire, then douse hte fire."},"freeze_on_hit":{"title":"Freeze On Hit","type":"object","description":"An area of entities that is frozen to block on hits. Has shape of either sphere or cube, snap_to_block boolean ,and size decimal properties.","additionalProperties":false,"properties":{"shape":{"enum":["sphere","cube"],"default":"sphere","description":"The shape of the area that is frozen.","title":"Shape"},"snap_to_block":{"type":"boolean","default":false,"description":"If true, the area will snap to the nearest block.","title":"Snap To Block"},"size":{"type":"number","default":0.0,"description":"The size of the area that is frozen.","title":"Size"}}},"grant_xp":{"title":"Grant XP","type":"object","description":"Grants XP on hit. Has minXP for minimum XP granted, maxXp for maximum, or simply flat xp properties.","additionalProperties":false,"properties":{"minXP":{"title":"Min XP","type":"number","default":0,"description":"The minimum XP granted."},"maxXP":{"title":"Max XP","type":"number","default":0,"description":"The maximum XP granted."}}},"hurt_owner":{"title":"Hurt Owner","type":"object","description":"Determines if the owner of the entity is hurt on hit. Contains decimal owner_damage, knockback boolean, and ignite boolean.","additionalProperties":false,"properties":{"owner_damage":{"title":"Owner Damage","type":"number","default":0,"description":"The amount of damage the owner will take."},"knockback":{"title":"Knockback","type":"boolean","default":false,"description":"If true, the owner will be knocked back."},"ignite":{"title":"Ignite","type":"boolean","default":false,"description":"If true, the owner will be set on fire."}}},"ignite":{"title":"Ignite","type":"boolean","default":false,"description":"Determines if a fire may be started on a flammable target."},"impact_damage":{"title":"Impact Damage","type":"object","description":"Defines the damage that an entity may receive on being hit by this projectile. See the table below for all impact_damage parameters.","additionalProperties":false,"properties":{"catch_fire":{"title":"Catch Fire","type":"boolean","default":false,"description":"Determines if the struck object is set on fire."},"channeling":{"title":"Channeling","type":"boolean","default":true,"description":"Whether lightning can be channeled through hte weapon."},"damage":{"title":"Damage","type":"number","default":1,"description":"The damage dealt on impact."},"destroy_on_hit":{"title":"Destroy On Hit","type":"boolean","default":false,"description":"Projectile is removed on hit."},"destroy_on_hit_requires_damage":{"title":"Destroy On Hit Requires Damage","type":"boolean","default":true,"description":"If true, then the hit must cause damage to destroy the projectile."},"filter":{"title":"Filter","type":"string","default":"not set","description":"The identifier of an entity that can be hit."},"knockback":{"title":"Knockback","type":"boolean","default":true,"description":"If true, the projectile will knock back the entity it hits."},"max_critical_damage":{"title":"Max Critical Damage","type":"integer","description":"Maximum critical damage."},"min_critical_damage":{"title":"Min Critical Damage","type":"integer","default":0,"description":"Minimum critical damage."},"power_multiplier":{"title":"Power Multiplier","type":"number","default":2.0,"description":"How much the base damage is multiplied."},"semi_random_diff_damage":{"title":"Semi Random Diff Damage","type":"boolean","default":false,"description":"If true, damage will be randomized based on damage and speed."},"set_last_hurt_requires_damage":{"title":"Set Last Hurt Requires Damage","type":"boolean","default":false,"description":"If true, then the hit must cause damage to update the last hurt property."}}},"mob_effect":{"title":"Mob Effect","type":"object","description":"The target receives a mob effect. See the table below for all mob_effect parameters.","additionalProperties":false,"properties":{"ambient":{"title":"Ambient","type":"boolean","default":false,"description":"If true, a mob will spawn that is not hostile, like the bat entity in Minecraft."},"amplifier":{"title":"Amplifier","type":"integer","default":1,"description":"The multiplier of the amplification of this effect."},"duration":{"title":"Duration","type":"integer","default":1,"description":"The effect's duration."},"durationeasy":{"title":"Duration Easy","type":"integer","default":0,"description":"The effect's duration on easy mode."},"durationhard":{"title":"Duration Hard","type":"integer","default":800,"description":"The effect's duration on hard mode."},"durationnormal":{"title":"Duration Normal","type":"integer","default":200,"description":"The effect's duration on normal mode."},"effect":{"title":"Effect","type":"string","default":"not set","description":"The identifier of the mob entity to affect."},"visible":{"title":"Visible","type":"boolean","default":false,"description":"Does the entity's look change."}}},"on_fire_time":{"title":"On Fire Time","type":"number","default":0.0,"description":"The amount of time a target will remain on fire."},"particle_on_hit":{"title":"Particle On Hit","type":"object","description":"The particles that spawn on hit. See the table below for all particle_on_hit parameters.","additionalProperties":false,"properties":{"num_particles":{"title":"Num Particles","type":"number","default":6,"description":"The number of particles to spawn."},"on_entity_hit":{"title":"On Entity Hit","type":"boolean","default":false,"description":"If true, spawns particles on an entity hit."},"on_other_hit":{"title":"On Other Hit","type":"boolean","default":false,"description":"If true, spawns particles on any other hit."},"particle_type":{"title":"Particle Type","type":"string","default":"not set","description":"The id of the particle to spawn on hit."}}},"potion_effect":{"title":"Potion Effect","type":"integer","default":-1,"description":"Defines the effect the arrow will apply to the entity it hits."},"remove_on_hit":{"title":"Remove On Hit","type":"object","description":"Removes the projectile.","additionalProperties":true,"properties":{}},"spawn_aoe_cloud":{"title":"Spawn AOE Cloud","type":"object","default":false,"description":"Potion spawns an area of effect cloud. See the table below for all spawn_aoe_cloud parameters.","additionalProperties":false,"properties":{"affect_owner":{"title":"Affect Owner","type":"boolean","default":true,"description":"Determines if the projectile shooter is affected."},"color":{"title":"Color","type":"array","description":"Particle color defined by three rgb values.","$ref":"#/definitions/CEJ"},"duration":{"title":"Duration","type":"integer","default":0,"description":"How long the particle emits."},"particle":{"title":"Particle","type":"integer","default":0,"description":"The particle emitter."},"potion":{"title":"Potion","type":"integer","default":-1,"description":"The id of the potion."},"radius":{"title":"Radius","type":"number","default":0,"description":"Defines the affected area."},"radius_on_use":{"title":"Radius On Use","type":"number","default":-1,"description":"Defines the affected area when potion is used."},"reapplication_delay":{"title":"Reapplication Delay","type":"integer","default":0,"description":"Delay before the potion can affect the area again."}}},"spawn_chance":{"title":"Spawn Chance","type":"object","description":"Contains information on the chance of spawning an entity on hit. See parameters below.","additionalProperties":false,"properties":{"first_spawn_count":{"title":"First Spawn Count","type":"integer","default":0,"description":"The amount of new entities spawned."},"first_spawn_percent_chance":{"title":"First Spawn Percent Chance","type":"number","default":0,"description":"The chance that a spawn occurs when a projectile hits the entity."},"first_spawn_chance":{"title":"First Spawn Chance","type":"number","default":8,"description":"The chance that a first spawn occurs when a projectile hits the entity."},"second_spawn_chance":{"title":"Second Spawn Chance","type":"number","default":32,"description":"The chance that a second spawn occurs when a projectile hits the entity."},"second_spawn_count":{"title":"Second Spawn Count","type":"integer","default":0,"description":"The amount of new entities spawned in teh second spawn."},"spawn_baby":{"title":"Spawn Baby","type":"boolean","default":false,"description":"Determines if a baby spawns."},"spawn_definition":{"title":"Spawn Definition","type":"string","default":"not set","description":"The entity that will spawn."}}},"stick_in_ground":{"title":"Stick In Ground","type":"object","description":"Decides if the object sticks in ground and contains shake_time integer parameter to determine how long it will shake."},"teleport_owner":{"title":"Teleport Owner","type":"boolean","default":false,"description":"Determines if the owner is transported on hit."},"thrown_potion_effect":{"title":"Thrown Potion Effect","type":"object","description":"Creates a splash area for effects caused by a thrown potion."}}},"particle":{"type":"string","default":"iconcrack","description":"Particle to use upon collision.","title":"Particle"},"potion_effect":{"type":"integer","default":-1,"description":"Defines the effect the arrow will apply to the entity it hits.","title":"Potion Effect"},"power":{"type":"number","default":1.3,"description":"Determines the velocity of the projectile.","title":"Power"},"reflect_on_hurt":{"type":"boolean","default":false,"description":"If true, this entity will be reflected back when hit.","title":"Reflect On Hurt"},"semi_random_diff_damage":{"type":"boolean","default":false,"description":"If true, damage will be randomized based on damage and speed.","title":"Semi Random Diff Damage"},"shoot_sound":{"$ref":"#/definitions/BE","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}]},"CFB":{"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}]},"CFC":{"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}]},"CFD":{"type":"object","title":"Raid Trigger","additionalProperties":false,"description":"Attempts to trigger a raid at the entity's location.","required":[],"properties":{"triggered_event":{"$ref":"#/definitions/CFA","description":"Event to run we attempt to trigger a raid on the village.","title":"Triggered Event"}}},"CFE":{"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}]},"CFF":{"description":"Defines the behavior of the entity when the rail gets activated or deactivated.","type":"object","title":"Rail Sensor","additionalProperties":false,"required":[],"properties":{"check_block_types":{"type":"boolean","default":false,"description":"If true, on tick this entity will trigger its on_deactivate behavior.","title":"Check Block Types"},"eject_on_activate":{"type":"boolean","default":true,"description":"If true, this entity will eject all of its riders when it passes over an activated rail.","title":"Eject On Activate"},"eject_on_deactivate":{"type":"boolean","default":false,"description":"If true, this entity will eject all of its riders when it passes over a deactivated rail.","title":"Eject On Deactivate"},"on_activate":{"$ref":"#/definitions/BC","description":"Event to call when the rail is activated.","title":"On Activate"},"on_deactivate":{"$ref":"#/definitions/BC","description":"Event to call when the rail is deactivated.","title":"On Deactivate"},"tick_command_block_on_activate":{"type":"boolean","default":true,"description":"If true, command blocks will start ticking when passing over an activated rail.","title":"Tick Command Block On Activate"},"tick_command_block_on_deactivate":{"type":"boolean","default":false,"description":"If false, command blocks will stop ticking when passing over a deactivated rail.","title":"Tick Command Block On Deactivate"}},"examples":[{"check_block_types":false,"eject_on_activate":true,"eject_on_deactivate":false,"tick_command_block_on_activate":true,"tick_command_block_on_deactivate":false}]},"CFG":{"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/CFA"}}}}},"examples":[{"knockback_strength":3,"reaction_choices":[]}]},"CFH_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"},"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."},"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."},"position":{"$ref":"#/definitions/CEJ","default":[0.0,0.0,0.0],"description":"Position of this seat relative to this entity's position."},"rotate_rider_by":{"$ref":"#/definitions/E","description":"Offset to rotate riders by."}}},"CFH":{"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":{"type":"array","items":{"type":"string"},"description":"List of entities that can ride this entity.","title":"Family Types"},"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"},"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/CFH_seats_spec"},{"type":"array","items":{"$ref":"#/definitions/CFH_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}]},"CFI":{"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}]},"CFJ":{"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}]},"CGA":{"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/BG"},"event":{"$ref":"#/definitions/CFA"}}}}},"examples":[{"min_delay_secs":0,"max_delay_secs":0,"scheduled_events":[]}]},"CGB":{"description":"Defines a list of items the mob wants to share or pick up. Each item must have the following parameters:","type":"object","title":"Shareables","additionalProperties":false,"properties":{"all_items":{"type":"boolean","default":false,"description":"A bucket for all other items in the game. Note this category is always least priority items.","title":"All Items"},"all_items_max_amount":{"type":"integer","default":-1,"description":"Maximum number of this item the mob will hold.","title":"All Items Maximum Amount"},"all_items_surplus_amount":{"type":"integer","default":-1,"description":"Number of this item considered extra that the entity wants to share.","title":"All Items Surplus Amount"},"all_items_want_amount":{"type":"integer","default":-1,"description":"Number of this item this entity wants to share.","title":"All Items Want Amount"},"items":{"type":"array","description":"List of items that the entity wants to share.","items":{"type":"object","title":"Item","description":"An Item that the entity wants to share.","additionalProperties":false,"properties":{"admire":{"type":"boolean","description":"Mob will admire the item after picking up by looking at it. For this to happen the mob needs to have an Admire component and an Admire goal.","title":"Admire"},"barter":{"type":"boolean","description":"Mob will barter for the item after picking it up. For this to work the mob needs to have a Barter component and a Barter goal.","title":"Barter"},"consume_item":{"type":"boolean","description":"Determines whether the mob will consume the item or not.","title":"Consume Item"},"craft_into":{"type":"string","description":"Defines the item this entity wants to craft with the item defined above. Should be an item name.","title":"Craft Into"},"item":{"type":"string","description":"The name of the item.","$ref":"#/definitions/BA"},"item_aux":{"type":"integer","description":"Aux value for the item.","title":"Item Aux"},"max_amount":{"type":"integer","description":"Maximum number of this item the mob will hold.","title":"Maximum Amount"},"pickup_limit":{"type":"integer","description":"Maximum number of this item the mob will pick up during a single goal tick.","title":"Pickup Limit"},"priority":{"type":"integer","description":"Prioritizes which items the entity prefers. 0 is the highest priority.","title":"Priority"},"stored_in_inventory":{"type":"boolean","description":"Determines whether the mob will try to put the item in its inventory if it has the inventory component and if it can't be equipped.","title":"Stored In Inventory"},"surplus_amount":{"type":"integer","description":"Number of this item considered extra that the entity wants to share.","title":"Surplus Amount"},"want_amount":{"type":"integer","description":"Number of this item this entity wants to have.","title":"Want Amount"},"pickup_only":{"title":"Pickup Only","type":"boolean","description":"Determines whether the mob can only pickup the item and not drop it.","default":false}}}},"singular_pickup":{"type":"boolean","description":"Determines whether the mob can only pickup one item at a time.","title":"Singular Pickup"}},"examples":[{"all_items":false,"all_items_max_amount":-1,"all_items_surplus_amount":-1,"all_items_want_amount":-1,"items":[]}]},"CGC":{"description":"Defines the entity's ranged attack behavior.","$comment":"As of 1.19.60 & out of exp 1.20.10","type":"object","title":"Shooter","additionalProperties":false,"properties":{"aux_val":{"type":"integer","title":"Aux Val","default":-1,"description":"ID of the Potion effect to be applied on hit."},"def":{"title":"Def","type":"string","examples":["minecraft:arrow","minecraft:small_fireball","minecraft:thrown_trident"],"description":"Actor definition to use as projectile for the ranged attack. The actor definition must have the projectile component to be able to be shot as a projectile"},"magic":{"title":"Magic","type":"boolean","default":false,"description":"Sets whether the projectiles being used are flagged as magic. If set, the ranged attack goal will not be used at the same time as other magic goals, such as minecraft:behavior.drink_potion."},"power":{"type":"number","title":"Power","default":0.0,"description":"Velocity in which the projectiles will be shot. A power of 0 will be overwritten by the default projectile throw power."},"projectiles":{"title":"Projectiles","description":"List of projectiles that can be used by the shooter. Projectiles are evaluated in the order of the list; after a projectile is chosen, the rest of the list is ignored.","type":"array","items":{"type":"string","description":"Projectiles that can be used by the shooter","title":"Projectile"}},"sound":{"title":"Sound","type":"string","description":"Sound that is played when the shooter shoots a projectile."}},"examples":[{"def":"minecraft:small_fireball"}]},"CGD":{"description":"Defines the entity's `sit` state.","type":"object","title":"Sittable","additionalProperties":false,"required":[],"properties":{"sit_event":{"$ref":"#/definitions/BC","description":"Event to run when the entity enters the `sit` state.","title":"Sit Event"},"stand_event":{"$ref":"#/definitions/BC","description":"Event to run when the entity exits the `sit` state.","title":"Stand Event"}}},"CGE":{"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}]},"CGF":{"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}]},"CGG_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/BG"},"max_wait_time":{"type":"integer","default":600,"description":"Maximum amount of time to randomly wait in seconds before another entity is spawned.","title":"Maximum Wait Time"},"min_wait_time":{"type":"integer","default":300,"description":"Minimum amount of time to randomly wait in seconds before another entity is spawned.","title":"Minimum Wait Time"},"num_to_spawn":{"type":"integer","default":1,"description":"The number of entities of this type to spawn each time that this triggers.","title":"Num To Spawn"},"should_leash":{"type":"boolean","default":false,"description":"If true, this the spawned entity will be leashed to the parent.","title":"Should Leash"},"single_use":{"type":"boolean","default":false,"description":"If true, this component will only ever spawn the specified entity once.","title":"Single Use"},"spawn_entity":{"type":"string","default":"","description":"Identifier of the entity to spawn, leave empty to spawn the item defined above instead.","title":"Spawn Entity"},"spawn_event":{"type":"string","default":"minecraft:entity_born","description":"Event to call when the entity is spawned.","title":"Spawn Event"},"spawn_item":{"$ref":"#/definitions/J","default":"egg","description":"Item identifier of the item to spawn.","title":"Spawn Item"},"spawn_method":{"type":"string","default":"born","description":"Method to use to spawn the entity.","title":"Spawn Method"},"spawn_sound":{"$ref":"#/definitions/BE","default":"plop","description":"Identifier of the sound effect to play when the entity is spawned.","title":"Spawn Sound"}}},"CGG":{"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/CGG_entity_spawn"},{"type":"array","items":{"type":"object","$ref":"#/definitions/CGG_entity_spawn"}}]}}},"CGH":{"type":"object","title":"Spell Effects","additionalProperties":false,"description":"Defines what mob effects to add and remove to the entity when adding this component.","required":[],"properties":{"add_effects":{"type":"array","description":"List of effects to add to this entity after adding this component.","items":{"oneOf":[{"type":"string"},{"type":"object","additionalProperties":false,"properties":{"amplifier":{"type":"integer","title":"Amplifier","description":"The level of the effect, same as used in the /effect command (0 for level I, 1 for level II, etc). Defaults to 0. NOTE: Values can be negative but its not an intentional feature","default":0,"minimum":0},"ambient":{"title":"Ambient","description":"Boolean value that should cause the particles emitted by the entity to be partially transparent. This does not work properly, resulting in this property having no effect. Defaults to false.","default":false,"type":"boolean"},"duration":{"title":"Duration","description":"The amount of time in seconds the effect should last. This allows for fractional numbers. For example, instant effects should be set to 0.05 seconds (one tick).","type":"number","minimum":0},"display_on_screen_animation":{"type":"boolean","title":"Display On Screen Animation","description":"Boolean value. When set to true, applying this effect displays an animated graphic on-screen similar to the totem of undying effect. Obviously, this only works for players. Defaults to false."},"effect":{"type":"string","title":"Effect","description":"The string identifier of the status effect to add. These are the same as used in the /effect command."},"visible":{"type":"boolean","title":"Visible","description":"Boolean value. When set to true, the effect will be visible to the player. Defaults to true."}}}]},"title":"Add Effects"},"remove_effects":{"title":"Remove Effects","description":"List of identifiers of effects to be removed from this entity after adding this component.","oneOf":[{"type":"array","items":{"type":["string"],"title":"Spell Effect ID","description":"identifier of the effect to be removed from this entity after adding this component."}},{"type":"string"}]}},"examples":[{"add_effects":[]}]},"CGI":{"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}]},"CGJ":{"type":"object","title":"Suspect Tracking","additionalProperties":false,"required":[],"properties":{},"description":"Allows this entity to remember suspicious locations."},"CHA":{"type":"object","title":"Tameable","description":"Defines the rules for a mob to be tamed by the player.","required":[],"additionalProperties":false,"properties":{"probability":{"type":"number","default":1,"description":"The chance of taming the entity with each item use between 0.0 and 1.0, where 1.0 is 100%","minimum":0,"maximum":1,"title":"Probability"},"tame_event":{"title":"Tame Event","$ref":"#/definitions/BC","description":"Event to run when this entity becomes tamed."},"tame_items":{"title":"Tame Items","description":"The list of items that can be used to tame this entity.","oneOf":[{"type":"array","items":{"$ref":"#/definitions/BA"}},{"$ref":"#/definitions/BA"}]}},"examples":[{"probability":1}]},"CHB_feed_items":{"type":"object","description":"The list of items that can be used to increase the entity's temper and speed up the taming process.","properties":{"item":{"$ref":"#/definitions/J","description":"Name of the item this entity likes and can be used to increase this entity's temper.","title":"Item"},"temper_mod":{"type":"number","default":0,"description":"The amount of temper this entity gains when fed this item.","title":"Temper Mod"}}},"CHB_auto_reject_items":{"type":"object","description":"The list of items that this entity dislikes and will cause it to get angry if used while untamed.","properties":{"item":{"$ref":"#/definitions/J","description":"Name of the item this entity dislikes and will cause it to get angry if used while untamed."}}},"CHB":{"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/CHB_auto_reject_items"},{"type":"array","items":{"$ref":"#/definitions/CHB_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/CHB_feed_items"},{"type":"array","items":{"$ref":"#/definitions/CHB_feed_items"}}]},"max_temper":{"type":"integer","default":100,"description":"The maximum value for the entity's random starting temper.","title":"Maximum Temper"},"min_temper":{"type":"integer","default":0,"description":"The minimum value for the entity's random starting temper.","title":"Minimum Temper"},"ride_text":{"type":"string","description":"The text that shows in the riding interact button.","title":"Ride Text"},"tame_event":{"$ref":"#/definitions/BC","description":"Event that triggers when the entity becomes tamed.","title":"Tame Event"}},"examples":[{"attempt_temper_mod":5,"feed_text":"example","max_temper":100,"min_temper":0,"ride_text":"example"}]},"CHC":{"description":"Defines the entity's range within which it can see or sense other entities to target them.","type":"object","title":"Target Nearby Sensor","additionalProperties":false,"required":[],"properties":{"must_see":{"type":"boolean","default":false,"description":"Whether the other entity needs to be visible to trigger `inside` events.","title":"Must See"},"inside_range":{"type":"number","default":1,"description":"Maximum distance in blocks that another entity will be considered in the `inside` range.","title":"Inside Range"},"on_inside_range":{"$ref":"#/definitions/BC","description":"Event to call when an entity gets in the inside range. Can specify `event` for the name of the event and `target` for the target of the event","title":"On Inside Range"},"on_outside_range":{"$ref":"#/definitions/BC","description":"Event to call when an entity gets in the outside range. Can specify `event` for the name of the event and `target` for the target of the event","title":"On Outside Range"},"on_vision_lost_inside_range":{"$ref":"#/definitions/BC","description":"Event to call when an entity exits visual range. Can specify `event` for the name of the event and `target` for the target of the event","title":"On Vision Lost Inside Range"},"outside_range":{"type":"number","default":5,"description":"Maximum distance in blocks that another entity will be considered in the `outside` range.","title":"Outside Range"}},"examples":[{"must_see":false,"inside_range":1,"outside_range":5}]},"CHD":{"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}]},"CHE":{"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}]},"CHF":{"type":"object","title":"Timer","description":"Adds a timer after which an event will fire.","required":[],"additionalProperties":false,"properties":{"looping":{"type":"boolean","default":true,"description":"If true, the timer will restart every time after it fires.","title":"Looping"},"randomInterval":{"type":"boolean","default":true,"description":"If true, the amount of time on the timer will be random between the Minimum and Maximum values specified in time.","title":"Random Interval"},"time":{"description":"Amount of time in seconds for the timer. Can be specified as a number or a pair of numbers (Minimum and max). Incompatible with random_time_choices.","title":"Time","examples":[1,[1.0,5.0]],"oneOf":[{"type":"array","default":[0.0,0.0],"items":[{"type":"number","title":"Minimum"},{"type":"number","title":"Maximum"}]},{"type":"number","default":0}]},"time_down_event":{"description":"Event to fire when the time on the timer runs out.","title":"Time Down Event","$ref":"#/definitions/BC"},"random_time_choices":{"type":"array","default":[],"description":"This is a list of objects, representing one value in seconds that can be picked before firing the event and an optional weight. Incompatible with time.","title":"Random Time Choices","items":{"title":"Random Time Choices","description":"representing one value in seconds that can be picked before firing the event and an optional weight. Incompatible with time.","type":"object","additionalProperties":false,"properties":{"weight":{"type":"integer","description":"The weight on how likely this section is to trigger.","$comment":"UNDOCUMENTED","title":"Weight"},"value":{"type":"integer","description":"The value in seconds that would be used if this section was picked.","$comment":"UNDOCUMENTED","title":"Value"}}}}},"examples":[{"time":1,"looping":true,"time_down_event":{"event":"example:foo","target":"self"}}]},"CHG":{"description":"Resupplies an entity's trade.","type":"object","title":"Trade Resupply","additionalProperties":false,"properties":{}},"CHH":{"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"}]},"CHI":{"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/BG","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]}]},"CHJ":{"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/BE","description":"Sound to play when the transformation starts.","title":"Begin Transform Sound"},"delay":{"description":"Defines the properties of the delay for the transformation.","title":"Delay","oneOf":[{"type":"number"},{"type":"object","properties":{"block_assist_chance":{"type":"number","default":0,"description":"Chance that the entity will look for nearby blocks that can speed up the transformation. Value must be between 0.0 and 1.0"},"block_chance":{"type":"number","default":0,"description":"Chance that, once a block is found, will help speed up the transformation."},"block_max":{"type":"integer","default":0,"description":"Maximum number of blocks the entity will look for to aid in the transformation. If not defined or set to 0, it will be set to the block radius"},"block_radius":{"type":"integer","default":0,"description":"Distance in Blocks that the entity will search for blocks that can help the transformation."},"block_types":{"type":"array","description":"List of blocks that can help the transformation of this entity.","items":{"$ref":"#/definitions/BBG"}},"value":{"type":"number","default":0,"description":"Time in seconds before the entity transforms."}}}]},"drop_equipment":{"type":"boolean","default":false,"description":"Cause the entity to drop all equipment upon transformation.","title":"Drop Equipment"},"drop_inventory":{"type":"boolean","default":false,"description":"Cause the entity to drop all items in inventory upon transformation.","title":"Drop Inventory"},"into":{"type":"string","default":"","description":"Entity Definition that this entity will transform into.","title":"Into"},"keep_level":{"type":"boolean","default":false,"description":"If this entity has trades and has leveled up, it should maintain that level after transformation.","title":"Keep Level"},"keep_owner":{"type":"boolean","default":false,"description":"If this entity is owned by another entity, it should remain owned after transformation.","title":"Keep Owner"},"preserve_equipment":{"type":"boolean","default":false,"description":"Cause the entity to keep equipment after going through transformation.","title":"Preserve Equipment"},"transformation_sound":{"$ref":"#/definitions/BE","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":""}]},"CIA":{"type":"object","title":"Trust","description":"Allows this entity to trust multiple players.","required":[],"additionalProperties":false,"properties":{}},"CIB":{"type":"object","title":"Trusting","description":"Defines the rules for a mob to trust players.","required":[],"additionalProperties":false,"properties":{"probability":{"type":"number","default":1,"description":"The chance of the entity trusting with each item use between 0.0 and 1.0, where 1.0 is 100%","title":"Probability"},"trust_event":{"$ref":"#/definitions/BC","description":"Event to run when this entity becomes trusting.","title":"Trust Event"},"trust_items":{"title":"Trust Items","type":"array","description":"The list of items that can be used to get the entity to trust players.","items":{"$ref":"#/definitions/BA","title":"Trust Item"}}},"examples":[{"probability":1,"trust_event":"self:trust"},{"probability":1,"trust_items":[],"trust_event":"self:trust"}]},"CIC":{"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"}}},"CID":{"description":"Defines the speed with which an entity can move through water.","type":"object","title":"Underwater Movement","additionalProperties":false,"required":[],"properties":{"value":{"type":"number","title":"Value","description":"Movement speed of the entity under water."}},"examples":[{"value":0.15}]},"CIE":{"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."},"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":[{"value":0.0}]},"CIF":{"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}]},"CIG":{"type":"object","title":"Vibration Damper","additionalProperties":false,"required":[],"properties":{},"description":"Vibrations emitted by this entity will be ignored."},"CIH":{"type":"object","title":"Vibration Listener","additionalProperties":false,"required":[],"properties":{},"description":"This entity will respond to vibrations."},"CII":{"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}]},"CIJ":{"description":"Sets that this entity wants to become a jockey.","type":"object","title":"Wants Jockey","additionalProperties":false,"properties":{}},"CJA":{"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}]},"CJC":{"additionalProperties":false,"type":"integer","title":"Priority","minimum":0,"description":"How important this behavior is. Lower priority behaviors will be executed first."},"CJB":{"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/CJC"},"admire_item_sound":{"title":"Admire Item Sound","$ref":"#/definitions/BE","description":"The sound event to play when admiring the item."},"on_admire_item_start":{"title":"On Admire Item Start","$ref":"#/definitions/CFA","description":"The event to run when admiring the item."},"on_admire_item_stop":{"title":"On Admire Item Stop","$ref":"#/definitions/CFA","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":""}]},"CJD":{"type":"object","title":"Avoid Block","description":"Allows this entity to avoid certain blocks.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJC"},"tick_interval":{"type":"integer","title":"Tick Interval","default":1,"description":"Should start tick interval."},"search_range":{"type":"integer","title":"Search Range","description":"Maximum distance to look for a block in xz.","default":0},"search_height":{"type":"integer","title":"Search Height","description":"Maximum distance to look for a block in y.","default":0},"sprint_speed_modifier":{"type":"number","title":"Sprint Speed Modifier","description":"Modifier for sprint speed. 1.0 means keep the regular speed, while higher numbers make the sprint speed faster.","default":1.0},"target_selection_method":{"type":"string","title":"Target Selection Method","description":"Block search method.","enum":["random","nearest"],"default":"nearest"},"target_blocks":{"type":"array","title":"Target Blocks","description":"List of block types this mob avoids.","items":{"title":"Block ID","$ref":"#/definitions/J"}},"avoid_block_sound":{"title":"Avoid Block Sound","description":"The sound event to play when the mob is avoiding a block.","$ref":"#/definitions/BE"},"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/CFA"}},"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":[]}]},"CJF_entity_definition":{"description":"The entity type.","title":"Entity Type","type":"object","additionalProperties":false,"properties":{"filters":{"$ref":"#/definitions/BG"},"cooldown":{"title":"Cooldown","description":"The amount of time in seconds that the mob has to wait before selecting a target of the same type again","default":0.0,"type":"number"},"max_dist":{"type":"number","description":"Maximum distance this mob can be away to be a valid choice.","default":16,"title":"Maximum Dist"},"max_height":{"type":"number","description":"UNDOCUMENTED.","title":"Maximum Height"},"max_flee":{"type":"number","description":"UNDOCUMENTED.","title":"Maximum Height"},"priority":{"type":"number","description":"UNDOCUMENTED.","title":"Priority"},"check_if_outnumbered":{"type":"number","description":"UNDOCUMENTED.","title":"Check If Outnumbered"},"must_see":{"type":"boolean","description":"If true, the mob has to be visible to be a valid choice.","default":false,"title":"Must See"},"must_see_forget_duration":{"type":"number","description":"Determines the amount of time in seconds that this mob will look for a target before forgetting about it and looking for a new one when the target isn't visible any more.","default":3,"title":"Must See Forget Duration"},"reevaluate_description":{"title":"Reevaluate Description","type":"boolean","default":false,"description":"If true, the mob will stop being targeted if it stops meeting any conditions."},"sprint_speed_multiplier":{"type":"number","description":"Multiplier for the running speed. A value of 1.0 means the speed is unchanged","default":16,"title":"Sprint Speed Multiplier"},"walk_speed_multiplier":{"type":"number","description":"Multiplier for the walking speed. A value of 1.0 means the speed is unchanged","default":16,"title":"Walk Speed Multiplier"}}},"CJF":{"title":"Entity Types","oneOf":[{"type":"array","items":{"$ref":"#/definitions/CJF_entity_definition"}},{"$ref":"#/definitions/CJF_entity_definition"}]},"CJE":{"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/CJC"},"avoid_mob_sound":{"title":"Avoid Mob Sound","default":"","description":"The sound event to play when the mob is avoiding another mob.","$ref":"#/definitions/BE"},"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/CJF","title":"Entity Types","description":"The list of conditions another entity must meet to be a valid target to avoid."},"on_escape_event":{"$ref":"#/definitions/CFA","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}]},"CJG":{"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/CJC"}}},"CJH":{"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/CJC"},"items":{"type":"array","description":"List of items that this mob likes.","items":{"type":"string","description":"List of items that this mob likes.","title":"Properties","$ref":"#/definitions/J"},"title":"Properties"},"look_distance":{"type":"number","default":8,"description":"Distance in blocks the mob will beg from.","title":"Look Distance"},"look_time":{"description":"The range of time in seconds this mob will stare at the player holding a food they like, begging for it.","$ref":"#/definitions/BBB","default":[2,4],"title":"Look Time"}},"examples":[{"items":[],"look_distance":8}]},"CJJ":{"additionalProperties":false,"default":1.0,"description":"Movement speed multiplier of the mob when using this AI Goal.","type":"number","title":"Speed Multiplier"},"CJI":{"type":"object","title":"Break Door","description":"Allows this mob to break doors.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"}},"additionalProperties":false},"DAA":{"additionalProperties":false,"type":"object","title":"Breed","description":"Allows this mob to breed with other mobs.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"}}},"DAB":{"additionalProperties":false,"type":"object","title":"Celebrate Survive","description":"Allows this entity to celebrate surviving a raid by shooting fireworks.","properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"fireworks_interval":{"title":"Fireworks Interval","$ref":"#/definitions/BBB","description":"Minimum and maximum time between firework (positive, in seconds).","default":[10,20]},"duration":{"title":"Duration","description":"The duration in seconds that the celebration lasts for.","type":"number","default":30.0},"on_celebration_end_event":{"title":"On Celebration End Event","description":"The event to trigger when the goal's duration expires.","$ref":"#/definitions/CFA"}}},"DAC":{"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/CJC"},"celebration_sound":{"default":"","description":"The sound event to trigger during the celebration.","title":"Celebration Sound","$ref":"#/definitions/BE"},"duration":{"type":"number","default":30,"description":"The duration in seconds that the celebration lasts for.","title":"Duration"},"jump_interval":{"default":[1,3.5],"description":"Minimum and maximum time between jumping (positive, in seconds).","title":"Jump Interval","oneOf":[{"type":"array","items":[{"type":"number","title":"Maximum"},{"type":"number","title":"Maximum"}]},{"type":"number"},{"type":"object","additionalProperties":false,"properties":{"range_min":{"type":"number"},"range_max":{"type":"number"}}}]},"on_celebration_end_event":{"$ref":"#/definitions/BAI","description":"The event to trigger when the goal's duration expires.","title":"On Celebration End Event"},"sound_interval":{"default":[2,7],"description":"Minimum and maximum time between sound events (positive, in seconds).","title":"Sound Interval","$ref":"#/definitions/BBB"}},"examples":[{"celebration_sound":"","duration":1}]},"DAD":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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%)"}}},"DAE":{"type":"object","title":"Charge Held Item","description":"Allows an entity to charge and use their held item.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"items":{"type":"array","title":"Items","description":"The list of items that can be used to charge the held item. This list is required and must have at least one item in it.","items":{"$ref":"#/definitions/J","description":"Items names to be used.","title":"Item ID"}}},"examples":[{"items":[]}]},"DAF":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"radius_range":{"$ref":"#/definitions/BBB","default":[5.0,15.0],"description":"Horizontal distance from the anchor point this entity must stay within upon a successful radius adjustment.","title":"Radius Range"},"radius_change_chance":{"type":"integer","default":250,"description":"A random value to determine when to increase the size of the radius up to the maximum. This has a 1/value chance every tick to do so.","title":"Radius Change Chance"},"height_above_target_range":{"$ref":"#/definitions/BBB","default":[0.0,0.0],"description":"The number of blocks above the target that the next anchor point can be set. This value is used only when the entity is tracking a target.","title":"Height Above Target Range"},"height_offset_range":{"$ref":"#/definitions/BBB","default":[0.0,0.0],"description":"The range of height in blocks offset the mob can have from it's anchor point.","title":"Height Offset Range"},"height_change_chance":{"type":"integer","default":350,"description":"A random value to determine when to change the height of the mob from the anchor point. This has a 1/value chance every tick to do so.","title":"Height Change Chance"},"goal_radius":{"type":"number","default":0.5,"description":"Maximum distance from the anchor-point in which this entity considers itself to have reached the anchor point. This is to prevent the entity from bouncing back and forth trying to reach a specific spot.","title":"Goal Radius"},"radius_change":{"type":"number","title":"Radius Change","description":"The number of blocks to increase the current movement radius by, upon successful `radius_adjustment_chance`. If the current radius increases over the range maximum, the current radius will be set back to the range minimum and the entity will change between clockwise and counter-clockwise movement.","default":1.0},"radius_adjustment_chance":{"type":"number","title":"Radius Adjustment Chance","description":"Percent chance to determine how often to increase the size of the current movement radius around the anchor point. 1 = 100%. `radius_change_chance` is deprecated and has been replaced with `radius_adjustment_chance`.","default":0.004},"height_adjustment_chance":{"type":"number","title":"Height Adjustment Chance","description":"Percent chance to determine how often to increase or decrease the current height around the anchor point. 1 = 100%. `height_change_chance` is deprecated and has been replaced with `height_adjustment_chance`.","default":0.002857},"angle_change":{"type":"number","title":"Angle Change","description":"Number of degrees to change this entity's facing by, when the entity selects its next anchor point.","default":15.0}},"examples":[{"speed_multiplier":1.0,"radius_change_chance":250,"height_change_chance":350,"goal_radius":0.5,"radius_change":0.0,"radius_adjustment_chance":0.0,"height_adjustment_chance":0.0,"angle_change":0.0}]},"DAG":{"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/CJC"},"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}]},"DAJ":{"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"]}]},"DAI":{"oneOf":[{"type":"array","$ref":"#/definitions/DAJ"},{"title":"Value","type":"integer"}],"examples":[0,[0,10]],"defaultSnippets":[{"label":"New Array 2","body":["^$1","^$2"]}]},"DAH":{"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/CJC"},"duration":{"title":"Duration","description":"Random range in seconds after which the croaking stops. Can also be a constant.","$ref":"#/definitions/DAI"},"filters":{"title":"Filters","$ref":"#/definitions/BG","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/DAI"}}},"DBA":{"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/CJC"},"aggro_sound":{"title":"Aggro Sound","$ref":"#/definitions/BE","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/CFA","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/CJF","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}]},"DBB":{"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/CJC"},"entity_types":{"title":"Entity Types","$ref":"#/definitions/CJF","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}]},"DBC":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"attack_duration":{"title":"Attack Duration","type":"number","default":0.75,"description":"The entity's attack animation will play out over this duration (in seconds). Also controls attack cooldown."},"attack_once":{"title":"Attack Once","type":"boolean","default":false,"description":"Allows the entity to use this attack behavior, only once EVER."},"attack_types":{"title":"Attack Types","type":"string","default":"N/A","description":"Defines the entity types this entity will attack."},"can_spread_on_fire":{"title":"Can Spread On Fire","type":"boolean","default":false,"description":"If the entity is on fire, this allows the entity's target to catch on fire after being hi"},"cooldown_time":{"title":"Cooldown Time","type":"number","default":1,"description":"Cooldown time (in seconds) between attacks."},"hit_delay_pct":{"title":"Hit Delay Pct","type":"number","default":0.5,"description":"The percentage into the attack animation to apply the damage of the attack (1.0 = 100%)."},"inner_boundary_time_increase":{"title":"Inner Boundary Time Increase","type":"number","default":0.25,"description":"Time (in seconds) to add to attack path recalculation when the target is beyond the \"path_inner_boundary\"."},"max_dist":{"title":"Max Dist","type":"number","description":"Unused. No effect on \"minecraft:behavior.melee_attack\"."},"max_path_time":{"title":"Max Path Time","type":"number","default":0.55,"description":"Maximum base time (in seconds) to recalculate new attack path to target (before increases applied)."},"melee_fov":{"title":"Melee Fov","type":"number","default":90,"description":"Field of view (in degrees) when using the sensing component to detect an attack target."},"min_path_time":{"title":"Min Path Time","type":"number","default":0.2,"description":"Minimum base time (in seconds) to recalculate new attack path to target (before increases applied)."},"on_attack":{"title":"On Attack","description":"Defines the event to trigger when this entity successfully attacks.","$ref":"#/definitions/BAI"},"outer_boundary_time_increase":{"title":"Outer Boundary Time Increase","type":"number","default":0.5,"description":"Time (in seconds) to add to attack path recalculation when the target is beyond the \"path_outer_boundary\"."},"path_fail_time_increase":{"title":"Path Fail Time Increase","type":"number","default":0.75,"description":"Time (in seconds) to add to attack path recalculation when this entity cannot move along the current path."},"path_inner_boundary":{"title":"Path Inner Boundary","type":"number","default":16,"description":"Distance at which to increase attack path recalculation by \"inner_boundary_tick_increase\"."},"path_outer_boundary":{"title":"Path Outer Boundary","type":"number","default":32,"description":"Distance at which to increase attack path recalculation by \"outer_boundary_tick_increase\"."},"random_stop_interval":{"title":"Random Stop Interval","type":"integer","default":0,"description":"This entity will have a 1 in N chance to stop it's current attack, where N = \"random_stop_interval\"."},"reach_multiplier":{"title":"Reach Multiplier","type":"number","default":2,"description":"Used with the base size of the entity to determine minimum target-distance before trying to deal attack damage."},"require_complete_path":{"title":"Require Complete Path","type":"boolean","default":false,"description":"Toggles (on/off) the need to have a full path from the entity to the target when using this melee attack behavior."},"set_persistent":{"title":"Set Persistent","type":"boolean","default":false,"description":"Allows the actor to be set to persist upon targeting a player."},"target_dist":{"title":"Target Dist","type":"number","description":"Unused. No effect on \"minecraft:behavior.melee_attack\"."},"track_target":{"title":"Track Target","type":"boolean","default":false,"description":"Allows the entity to track the attack target, even if the entity has no sensing."},"x_max_rotation":{"title":"X Max Rotation","type":"number","default":30,"description":"Maximum rotation (in degrees), on the X-axis, this entity can rotate while trying to look at the target."},"y_max_head_rotation":{"title":"Y Max Head Rotation","type":"number","default":30,"description":"Maximum rotation (in degrees), on the Y-axis, this entity can rotate its head while trying to look at the target."}},"examples":[{"attack_duration":1,"attack_once":false,"attack_types":"","hit_delay_pct":1,"random_stop_interval":0,"reach_multiplier":2,"require_complete_path":true,"track_target":false}]},"DBD":{"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/CJC"},"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."}}},"DBE":{"additionalProperties":false,"type":"object","title":"Door Interact","description":"Allows the mob to open and close doors.","properties":{"priority":{"$ref":"#/definitions/CJC"}}},"DBF":{"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/CJC"},"active_speed":{"title":"Active Speed","type":"number","default":1,"description":"The speed this entity moves when this behavior has started or while it's active."},"continue_charge_threshold_time":{"title":"Continue Charge Threshold Time","type":"number","default":0.5,"description":"If the dragon is outside the \"target_zone\" for longer than \"continue_charge_threshold_time\" seconds, the charge is canceled."},"flight_speed":{"title":"Flight Speed","type":"number","default":0.6,"description":"The speed this entity moves while this behavior is not active."},"target_zone":{"title":"Target Zone","$ref":"#/definitions/BBB","default":[10,150],"description":"Minimum and maximum distance, from the target, this entity can use this behavior."},"turn_speed":{"title":"Turn Speed","type":"number","default":0.7,"description":"The speed at which this entity turns while using this behavior."}}},"DBG":{"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/CJC"}}},"DBH":{"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/CJC"},"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."}}},"DBI":{"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/CJC"}}},"DBJ":{"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/CJC"}}},"DCA":{"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/CJC"}}},"DCB":{"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/CJC"},"active_speed":{"title":"Active Speed","type":"number","default":1,"description":"The speed this entity moves when this behavior has started or while it's active."},"fireball_range":{"title":"Fireball Range","type":"number","default":64,"description":"Maximum distance of this entity's fireball attack while strafing."},"flight_speed":{"title":"Flight Speed","type":"number","default":0.6,"description":"The speed this entity moves while this behavior is not active."},"switch_direction_probability":{"title":"Switch Direction Probability","type":"number","default":0.125,"description":"Percent chance to to switch this entity's strafe direction between clockwise and counterclockwise. Switch direction chance occurs each time a new target is chosen (1.0 = 100%)."},"target_in_range_and_in_view_time":{"title":"Target In Range And In View Time","type":"number","default":0.25,"description":"Time (in seconds) the target must be in fireball range, and in view [ie, no solid terrain in-between the target and this entity], before a fireball can be shot."},"target_zone":{"title":"Target Zone","$ref":"#/definitions/BBB","default":[10,150],"description":"Minimum and maximum distance, from the target, this entity can use this behavior."},"turn_speed":{"title":"Turn Speed","type":"number","default":0.7,"description":"The speed at which this entity turns while using this behavior."},"view_angle":{"title":"View Angle","type":"number","default":10,"description":"The target must be within \"view_angle\" degrees of the dragon's current rotation before a fireball can be shot."}}},"DCC":{"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/CJC"}}},"DCD":{"type":"object","title":"Drink Milk","description":"Allows the mob to drink milk based on specified environment conditions.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJC"},"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/BG","description":"Conditions that need to be met for the behavior to start."}},"examples":[{"cooldown_seconds":5.0}]},"DCE":{"type":"object","title":"Drink Potion","description":"Allows the mob to drink potions based on specified environment conditions.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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/BG"}}}}},"examples":[{"potions":[]}]},"DCF":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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/CJF"},"cooldown":{"title":"Cooldown","type":"number","default":0.2,"description":"Total time that the goal is on cooldown before it can be used again."},"drop_item_chance":{"title":"Drop Item Chance","type":"number","default":1.0,"description":"The percent chance the entity will drop an item when using this goal."},"goal_radius":{"title":"Goal Radius","type":"number","default":0.5,"description":"Distance in blocks within the entity considers it has reached it's target position."},"loot_table":{"title":"Loot Table","type":"string","description":"The loot table that contains the possible loot the entity can drop with this goal.","examples":["loot_tables/"]},"max_head_look_at_height":{"title":"Max Head Look At Height","type":"number","default":10.0,"description":"The maximum height the entities head will look at when dropping the item. The entity will always be looking at its target."},"minimum_teleport_distance":{"title":"Minimum Teleport Distance","type":"number","default":2.0,"description":"If the target position is farther away than this distance on any tick, the entity will teleport to the target position."},"offering_distance":{"title":"Offering Distance","type":"number","default":1.0,"description":"The preferred distance the entity tries to be from the target it is dropping an item for."},"on_drop_attempt":{"title":"On Drop Attempt","$ref":"#/definitions/BAI","description":"The event to trigger when the entity attempts to drop an item."},"search_count":{"title":"Search Count","type":"integer","default":0,"description":"The number of blocks each tick that the entity will check within its search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick."},"search_height":{"title":"Search Height","type":"integer","default":1,"description":"The Height in blocks the entity will search within to find a valid target position."},"search_range":{"title":"Search Range","type":"integer","default":0,"description":"The distance in blocks the entity will search within to find a valid target position."},"seconds_before_pickup":{"title":"Seconds Before Pickup","type":"number","default":0.0,"description":"The numbers of seconds that will pass before the dropped entity can be picked up from the ground."},"target_range":{"title":"Target Range","$ref":"#/definitions/CEJ","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/CEJ","default":[0,1,0],"description":"When the entity teleports, offset the teleport position by this many blocks in the X, Y, and Z coordinate."},"time_of_day_range":{"title":"Time Of Day Range","$ref":"#/definitions/BBB","default":[0,1],"description":"The valid times of day that this goal can be used. For reference: noon is 0.0, sunset is 0.25, midnight is 0.5, and sunrise is 0.75, and back to noon for 1.0."}},"examples":[{"cooldown":0.0,"drop_item_chance":0.0,"goal_radius":0.5,"loot_table":"example","max_dist":0,"minimum_teleport_distance":0.0,"max_head_look_at_height":0.0,"offering_distance":0.0,"seconds_before_pickup":0.0,"search_count":1,"search_height":1,"search_range":0,"target_range":[],"teleport_offset":[],"time_of_day_range":[]}]},"DCG":{"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/CJC"},"on_eat":{"title":"On Eat","$ref":"#/definitions/BAI","description":"The event to trigger when the block eating animation has completed."},"success_chance":{"title":"Succes Chance","$ref":"#/definitions/E","default":0.02,"description":"A molang expression defining the success chance the entity has to consume a block."},"time_until_eat":{"title":"Time Until Eat","type":"number","default":1.8,"description":"The amount of time (in seconds) it takes for the block to be eaten upon a successful eat attempt."},"eat_and_replace_block_pairs":{"title":"Eat And Replace Block Pairs","type":"array","description":"A collection of pairs of blocks; the first (\"eat_block\")is the block the entity should eat, the second (\"replace_block\") is the block that should replace the eaten block.","items":{"type":"object","title":"Eat And Replace Block Pair","description":"The block to eat and the block to replace it with.","$comment":"UNDOCUMENTED","properties":{"eat_block":{"type":"string","title":"Block","description":"The block to eat.","$comment":"UNDOCUMENTED","$ref":"#/definitions/BBG"},"replace_block":{"type":"string","title":"Replace Block","description":"The block to replace the eaten block with.","$comment":"UNDOCUMENTED","$ref":"#/definitions/BBG"}}}}},"examples":[{"time_until_eat":0.0,"eat_and_replace_block_pairs":[{"eat_block":"minecraft:grass","replace_block":"minecraft:dirt"}]}]},"DCH":{"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/CJC"},"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}]},"DCI":{"type":"object","title":"Eat Mob","description":"[EXPERIMENTAL BEHAVIOR] Allows the entity to eat a specified Mob.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"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/BE","default":"","description":"Sets the sound that should play when eating a mob."},"loot_table":{"title":"Loot Table","type":"string","default":"","description":"The loot table for loot to be dropped when eating a mob."},"pull_in_force":{"title":"Pull In Force","type":"number","default":1000000,"description":"Sets the force which the mob-to-be-eaten is pulled towards the eating mob."},"reach_mob_distance":{"title":"Reach Mob Distance","type":"number","default":1000000,"description":"Sets the desired distance to be reached before eating the mob."},"run_speed":{"title":"Run Speed","type":"number","default":1000000,"description":"Sets the entity's speed when running toward the target."}}},"DCJ":{"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/CJC"}}},"DDA":{"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/CJC"}}},"DDB":{"type":"object","title":"Equip Item","description":"The entity puts on the desired equipment.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJC"}}},"DDC":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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/CEJ"},"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":[]}]},"DDD":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DDE":{"type":"object","title":"Find Cover","description":"Allows the mob to seek shade.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DDF":{"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/CJC"},"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}]},"DDG":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DDH":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"}}},"DDI":{"type":"object","title":"Float Wander","description":"Allows the mob to float around like the Ghast.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"xz_dist":{"type":"integer","default":10,"description":"Distance in blocks on ground that the mob will look for a new spot to move to. Must be at least 1","title":"Xz Dist"},"y_dist":{"type":"integer","default":7,"description":"Distance in blocks that the mob will look up or down for a new spot to move to. Must be at least 1","title":"Y Dist"},"y_offset":{"type":"number","default":0.0,"description":"Height in blocks to add to the selected target position.","title":"Y Offset"},"must_reach":{"type":"boolean","default":false,"description":"If true, the point has to be reachable to be a valid target.","title":"Must Reach"},"random_reselect":{"type":"boolean","default":false,"description":"If true, the mob will randomly pick a new point while moving to the previously selected one.","title":"Random Reselect"},"float_duration":{"$ref":"#/definitions/BBB","default":[0.0,0.0],"description":"Range of time in seconds the mob will float around before landing and choosing to do something else.","title":"Float Duration"}},"examples":[{"xz_dist":10,"y_dist":7,"y_offset":0.0,"must_reach":false,"random_reselect":false}]},"DDJ":{"type":"object","title":"Float","description":"Allows the mob to stay afloat while swimming.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"}}},"DEA":{"type":"object","title":"Follow Caravan","description":"Allows the mob to follow mobs that are in a caravan.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"entity_types":{"$ref":"#/definitions/CJF","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}]},"DEB":{"type":"object","title":"Follow Mob","description":"Allows the mob to follow other mobs.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DEC":{"type":"object","title":"Follow Owner","description":"Allows the mob to follow the player that owns them.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DED":{"type":"object","title":"Follow Parent","description":"Allows the mob to follow their parent around.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"}}},"DEE":{"type":"object","title":"Follow Target Captain","description":"Allows mob to move towards its current target captain.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DEF":{"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/CJC"},"listen_time":{"title":"Listen Time","type":"integer","default":0.0,"description":"Sets the time an entity should continue delivering items to a noteblock after hearing it."},"on_item_throw":{"title":"On Item Throw","description":"Event(s) to run when this mob throws items.","oneOf":[{"$ref":"#/definitions/BAI"},{"type":"array","items":{"$ref":"#/definitions/BAI"}}]},"reach_block_distance":{"title":"Reach Block Distance","type":"number","default":3.0,"description":"Sets the desired distance to be reached before throwing the items towards the block."},"run_speed":{"title":"Run Speed","type":"number","default":1.0,"description":"Sets the entity's speed when running toward the block."},"throw_force":{"title":"Throw Force","type":"number","default":0.2,"description":"Sets the throw force."},"throw_sound":{"title":"Throw Sound","$ref":"#/definitions/BE","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."}}},"DEG":{"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/CJC"},"on_item_throw":{"title":"On Item Throw","$ref":"#/definitions/BAI","description":"Event(s) to run when this mob throws items.","oneOf":[{"$ref":"#/definitions/BAI"},{"type":"array","items":{"$ref":"#/definitions/BAI"}}]},"reach_mob_distance":{"title":"Reach Mob Distance","type":"number","default":3.0,"description":"Sets the desired distance to be reached before giving items to owner."},"run_speed":{"title":"Run Speed","type":"number","default":1.0,"description":"Sets the entity's speed when running toward the owner."},"throw_force":{"title":"Throw Force","type":"number","default":0.2,"description":"Sets the throw force."},"throw_sound":{"title":"Throw Sound","$ref":"#/definitions/BE","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."}}},"DEH":{"additionalProperties":false,"description":"Allows the mob to move back to the position they were spawned.","title":"Go Home","type":"object","properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"goal_radius":{"type":"number","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot","title":"Goal Radius"},"interval":{"type":"integer","default":120,"description":"A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal","title":"Interval"},"on_home":{"description":"Event(s) to run when this mob gets home.","title":"On Home","type":"array","items":{"$ref":"#/definitions/BAI"}},"on_failed":{"title":"On Failed","description":"Event(s) to run when this goal fails.","type":"array","items":{"$ref":"#/definitions/CFA"}},"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}]},"DEI":{"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/CJC"},"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."}}},"DEJ":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DFA":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DFB":{"type":"object","title":"Hold Ground","description":"The mob freezes and looks at the mob they are targeting.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJC"},"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/CFA","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}]},"DFC":{"type":"object","title":"Hurt By Target","additionalProperties":false,"description":"Allows the mob to target another mob that hurts them.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"entity_types":{"$ref":"#/definitions/CJF","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}]},"DFD":{"type":"object","title":"Inspect Bookshelf","additionalProperties":false,"description":"Allows the mob to inspect bookshelves.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DFE":{"type":"object","title":"Jump To Block","description":"Allows an entity to jump to another random block.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"cooldown_range":{"title":"Cooldown Range","$ref":"#/definitions/BCF","default":[10,20],"description":"Minimum and maximum cooldown time-range (positive, in seconds) between each attempted jump."},"forbidden_blocks":{"title":"Forbidden Blocks","type":"array","description":"Blocks that the mob can't jump to.","items":{"$ref":"#/definitions/J"}},"max_velocity":{"title":"Max Velocity","type":"number","default":1.5,"description":"The maximum velocity with which the mob can jump."},"minimum_distance":{"title":"Minimum Distance","type":"integer","default":2,"description":"The minimum distance (in blocks) from the mob to a block, in order to consider jumping to it."},"minimum_path_length":{"title":"Minimum Path Length","type":"integer","default":5,"description":"The minimum length (in blocks) of the mobs path to a block, in order to consider jumping to it."},"preferred_blocks":{"title":"Preferred Blocks","type":"array","description":"Blocks that the mob prefers jumping to.","items":{"$ref":"#/definitions/J"}},"preferred_blocks_chance":{"title":"Preferred Blocks Chance","type":"number","default":1.0,"description":"Chance (between 0.0 and 1.0) that the mob will jump to a preferred block, if in range. Only matters if preferred blocks are defined."},"scale_factor":{"title":"Scale Factor","type":"number","default":0.7,"description":"The scalefactor of the bounding box of the mob while it is jumping."},"search_height":{"title":"Search Height","type":"integer","default":10,"description":"The height (in blocks, in range [2, 15]) of the search box, centered around the mob."},"search_width":{"title":"Search Width","type":"integer","default":8,"description":"The width (in blocks, in range [2, 15]) of the search box, centered around the mob."}},"examples":[{"search_width":8,"search_height":10,"minimum_path_length":5,"minimum_distance":5,"scale_factor":0.7,"cooldown_range":[]}]},"DFF":{"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/CJC"},"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/BG","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/BG","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/CFA","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}]},"DFG":{"description":"Allows mobs to lay down at times.","type":"object","title":"Lay Down","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"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}]},"DFH":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"allow_laying_from_below":{"title":"Allow Laying From Below","type":"boolean","default":false,"description":"[EXPERIMENTAL] Allows the mob to lay its eggs from below the target if it can't get there. This is useful if the target block is water with air above, since mobs may not be able to get to the air block above water."},"egg_type":{"title":"Egg Type","$ref":"#/definitions/J","default":"minecraft:turtle_egg","description":"[EXPERIMENTAL] Block type for the egg to lay. If this is a turtle egg, the number of eggs in the block is randomly set."},"goal_radius":{"title":"Goal Radius","type":"number","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the \"wiggle room\" to stop the AI from bouncing back and forth trying to reach a specific spot"},"lay_egg_sound":{"title":"Lay Egg Sound","$ref":"#/definitions/BE","default":"lay_egg","description":"[EXPERIMENTAL] Sound event name for laying egg. Defaulted to lay_egg which is used for Turtles."},"lay_seconds":{"title":"Lay Seconds","type":"number","default":10.0,"description":"[EXPERIMENTAL] Duration of the laying egg process in seconds."},"on_lay":{"title":"On Lay","$ref":"#/definitions/BAI","description":"Event to run when this mob lays the egg."},"search_height":{"title":"Search Height","type":"integer","default":1,"description":"Height in blocks the mob will look for a target block to move towards."},"search_range":{"title":"Search Range","type":"integer","default":0,"description":"The distance in blocks it will look for a target block to move towards."},"target_blocks":{"title":"Target Blocks","type":"array","default":["minecraft:sand"],"items":{"title":"Block ID","$ref":"#/definitions/J"},"description":"[EXPERIMENTAL] Blocks that the mob can lay its eggs on top of."},"target_materials_above_block":{"title":"Target Materials Above Block","type":"array","default":["Air"],"enum":["Air","Any","Lava","Water"],"description":"[EXPERIMENTAL] Types of materials that can exist above the target block. Valid types are Air, Water, and Lava."},"use_default_animation":{"title":"Use Default Animation","type":"boolean","default":true,"description":"[EXPERIMENTAL] Specifies if the default lay-egg animation should be played when the egg is placed or not."}},"examples":[{"goal_radius":0.5,"search_height":1,"search_range":0}]},"DFI":{"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/CJC"},"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}]},"DFJ":{"description":"Allows the mob to look at nearby entities.","type":"object","title":"Look At Entity","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"look_distance":{"type":"number","default":8.0,"description":"The distance in blocks from which the entity will look at.","title":"Look Distance"},"probability":{"type":"number","default":0.02,"description":"The probability of looking at the target. A value of 1.00 is 100%","title":"Probability"},"look_time":{"$ref":"#/definitions/BBB","default":[2,4],"description":"Time range to look at the entity.","title":"Look Time"},"angle_of_view_vertical":{"type":"integer","default":360,"description":"The angle in degrees that the mob can see in the X-axis (left-right).","title":"Angle Of View Vertical"},"angle_of_view_horizontal":{"type":"integer","default":360,"description":"The angle in degrees that the mob can see in the Y-axis (up-down).","title":"Angle Of View Horizontal"},"filters":{"description":"Filter to determine the conditions for this mob to look at the entity.","$ref":"#/definitions/BG"}},"examples":[{"look_distance":8.0,"probability":0.02,"angle_of_view_vertical":360,"angle_of_view_horizontal":360}]},"DGA":{"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/CJC"},"angle_of_view_vertical":{"title":"Angle Of View Vertical","type":"integer","default":360,"description":"The angle in degrees that the mob can see in the X-axis (left-right)."},"angle_of_view_horizontal":{"title":"Angle Of View Horizontal","type":"integer","default":360,"description":"The angle in degrees that the mob can see in the Y-axis (up-down)."},"look_distance":{"title":"Look Distance","type":"number","default":8.0,"description":"The distance in blocks from which the entity will look at."},"probability":{"title":"Probability","type":"number","default":0.02,"minimum":0,"description":"The probability of looking at the target. A value of 1.00 is 100%"},"look_time":{"title":"Look Time","type":"array","default":[2,4],"description":"Time range to look at the entity.","items":[{"type":"number","title":"Minimum","description":"The minimum amount of time to look."},{"type":"number","title":"Maximum","description":"The maximum amount of time to look."}]},"target_distance":{"title":"Target Distance","type":"number","default":6.0,"description":"The distance in blocks from which the entity will choose a target."}},"examples":[{"angle_of_view_vertical":360,"angle_of_view_horizontal":360,"look_distance":8.0,"probability":0.02,"look_time":[],"target_distance":6.0}]},"DGB":{"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/CJC"},"look_distance":{"type":"number","default":8.0,"description":"The distance in blocks from which the entity will look at.","title":"Look Distance"},"probability":{"type":"number","default":0.02,"description":"The probability of looking at the target. A value of 1.00 is 100%","title":"Probability"},"look_time":{"$ref":"#/definitions/BBB","default":[2,4],"description":"Time range to look at the entity.","title":"Look Time"},"angle_of_view_vertical":{"type":"integer","default":360,"description":"The angle in degrees that the mob can see in the X-axis (left-right).","title":"Angle Of View Vertical"},"angle_of_view_horizontal":{"type":"integer","default":360,"description":"The angle in degrees that the mob can see in the Y-axis (up-down).","title":"Angle Of View Horizontal"}},"examples":[{"look_distance":8.0,"probability":0.02,"angle_of_view_vertical":360,"angle_of_view_horizontal":360}]},"DGC":{"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/CJC"},"look_distance":{"type":"number","default":8.0,"description":"The distance in blocks from which the entity will look at.","title":"Look Distance"},"probability":{"type":"number","default":0.02,"description":"The probability of looking at the target. A value of 1.00 is 100%","title":"Probability"},"look_time":{"$ref":"#/definitions/BBB","default":[2,4],"description":"Time range to look at the entity.","title":"Look Time"},"angle_of_view_vertical":{"type":"integer","default":360,"description":"The angle in degrees that the mob can see in the X-axis (left-right).","title":"Angle Of View Vertical"},"angle_of_view_horizontal":{"type":"integer","default":360,"description":"The angle in degrees that the mob can see in the Y-axis (up-down).","title":"Angle Of View Horizontal"}},"examples":[{"look_distance":8.0,"probability":0.02,"angle_of_view_vertical":360,"angle_of_view_horizontal":360}]},"DGD":{"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/CJC"}}},"DGE":{"type":"object","title":"Melee Attack","description":"Allows the mob to use close combat melee attacks.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"attack_once":{"title":"Attack Once","type":"boolean","default":false,"description":"Allows the entity to use this attack behavior, only once EVER."},"attack_types":{"title":"Attack Types","type":"string","default":"N/A","description":"Defines the entity types this entity will attack."},"can_spread_on_fire":{"title":"Can Spread On Fire","type":"boolean","default":false,"description":"If the entity is on fire, this allows the entity's target to catch on fire after being hi"},"cooldown_time":{"title":"Cooldown Time","type":"number","default":1,"description":"Cooldown time (in seconds) between attacks."},"inner_boundary_time_increase":{"title":"Inner Boundary Time Increase","type":"number","default":0.25,"description":"Time (in seconds) to add to attack path recalculation when the target is beyond the \"path_inner_boundary\"."},"max_dist":{"title":"Max Dist","type":"number","description":"Unused. No effect on \"minecraft:behavior.melee_attack\"."},"max_path_time":{"title":"Max Path Time","type":"number","default":0.55,"description":"Maximum base time (in seconds) to recalculate new attack path to target (before increases applied)."},"melee_fov":{"title":"Melee Fov","type":"number","default":90,"description":"Field of view (in degrees) when using the sensing component to detect an attack target."},"min_path_time":{"title":"Min Path Time","type":"number","default":0.2,"description":"Minimum base time (in seconds) to recalculate new attack path to target (before increases applied)."},"on_attack":{"title":"On Attack","$ref":"#/definitions/BAI","description":"Defines the event to trigger when this entity successfully attacks."},"on_kill":{"title":"On Kill","$ref":"#/definitions/BAI","description":"Defines the event to trigger when this entity successfully kills."},"outer_boundary_time_increase":{"title":"Outer Boundary Time Increase","type":"number","default":0.5,"description":"Time (in seconds) to add to attack path recalculation when the target is beyond the \"path_outer_boundary\"."},"path_fail_time_increase":{"title":"Path Fail Time Increase","type":"number","default":0.75,"description":"Time (in seconds) to add to attack path recalculation when this entity cannot move along the current path."},"path_inner_boundary":{"title":"Path Inner Boundary","type":"number","default":16,"description":"Distance at which to increase attack path recalculation by \"inner_boundary_tick_increase\"."},"path_outer_boundary":{"title":"Path Outer Boundary","type":"number","default":32,"description":"Distance at which to increase attack path recalculation by \"outer_boundary_tick_increase\"."},"random_stop_interval":{"title":"Random Stop Interval","type":"integer","default":0,"description":"This entity will have a 1 in N chance to stop it's current attack, where N = \"random_stop_interval\"."},"reach_multiplier":{"title":"Reach Multiplier","type":"number","default":2,"description":"Used with the base size of the entity to determine minimum target-distance before trying to deal attack damage."},"require_complete_path":{"title":"Require Complete Path","type":"boolean","default":false,"description":"Toggles (on/off) the need to have a full path from the entity to the target when using this melee attack behavior."},"set_persistent":{"title":"Set Persistent","type":"boolean","default":false,"description":"Allows the actor to be set to persist upon targeting a player."},"target_dist":{"title":"Target Dist","type":"number","description":"Unused. No effect on \"minecraft:behavior.melee_attack\"."},"track_target":{"title":"Track Target","type":"boolean","default":false,"description":"Allows the entity to track the attack target, even if the entity has no sensing."},"x_max_rotation":{"title":"X Max Rotation","type":"number","default":30,"description":"Maximum rotation (in degrees), on the X-axis, this entity can rotate while trying to look at the target."},"y_max_head_rotation":{"title":"Y Max Head Rotation","type":"number","default":30,"description":"Maximum rotation (in degrees), on the Y-axis, this entity can rotate its head while trying to look at the target."}},"examples":[{"melee_fov":90.0,"track_target":false,"attack_types":"example","random_stop_interval":0,"reach_multiplier":2.0,"attack_once":false,"require_complete_path":false,"cooldown_time":0.0}]},"DGF":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DGG":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DGH":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DGI":{"additionalProperties":false,"type":"object","title":"Move Outdoors","$comment":"UNDOCUMENTED","description":"Forces the entity to move `outside`, whatever that means.","properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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."}}},"DGJ":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DHA":{"type":"object","title":"Move To Block","additionalProperties":false,"description":"Allows mob to move towards a block.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"goal_radius":{"title":"Goal Radius","type":"number","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the \"wiggle room\" to stop the AI from bouncing back and forth trying to reach a specific spot"},"on_stay_completed":{"title":"On Stay Completed","description":"Event to run on completing a stay of stay_duration at the block.","oneOf":[{"type":"array","items":{"$ref":"#/definitions/BAI"}},{"$ref":"#/definitions/BAI"}]},"on_reach":{"title":"On Reach","description":"Event to run on block reached.","oneOf":[{"type":"array","items":{"$ref":"#/definitions/BAI"}},{"$ref":"#/definitions/BAI"}]},"start_chance":{"title":"Start Chance","type":"number","default":1.0,"description":"Chance to start the behavior (applied after each random tick_interval)."},"search_range":{"title":"Search Range","type":"integer","default":0,"description":"The distance in blocks that the mob will look for the block."},"search_height":{"title":"Search Height","type":"integer","default":1,"description":"The height in blocks that the mob will look for the block."},"stay_duration":{"title":"Stay Duration","type":"number","default":0.0,"description":"Number of ticks needed to complete a stay at the block."},"target_selection_method":{"title":"Target Selection Method","type":"string","default":"nearest","description":"Kind of block to find fitting the specification. Valid values are \"random\" and \"nearest\".","enum":["random","nearest"]},"target_offset":{"title":"Target Offset","type":"array","default":[0,0,0],"description":"Offset to add to the selected target position.","items":[{"type":"number","title":"X"},{"type":"number","title":"Y"},{"type":"number","title":"Z"}]},"target_blocks":{"type":"array","title":"Target Blocks","description":"Block types to move to.","items":{"$ref":"#/definitions/J"}},"target_block_filters":{"title":"Target Block Filters","description":"Filters to apply on the target blocks. Target blocks are only valid if the filters are true.","$comment":"UNDOCUMENTED","$ref":"#/definitions/BG"},"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"]}]},"DHB":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DHC":{"type":"object","title":"Move To Lava","description":"Allows the mob to move back into lava when on land.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DHD":{"type":"object","title":"Move To Liquid","description":"Allows the mob to move into a liquid when on land.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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"}]},"DHE":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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"}]},"DHF":{"type":"object","title":"Move To Random Block","description":"Allows mob to move towards a random block.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DHG":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DHH":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DHI":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"}}},"DHJ":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"}}},"DIA":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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":[]}]},"DIB":{"type":"object","title":"Move Towards Target","additionalProperties":false,"description":"Allows mob to move towards its current target.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DIC":{"type":"object","title":"Nap","description":"Allows mobs to occassionally stop and take a nap under certain conditions.","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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/BG","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/BG","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}]},"DID_entity_type":{"type":"object","description":"A entity type.","properties":{"filters":{"$ref":"#/definitions/BG","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"}}},"DID":{"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/CJC"},"entity_types":{"$ref":"#/definitions/CJF","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}]},"DIE":{"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/CJC"},"entity_types":{"$ref":"#/definitions/CJF","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}]},"DIF":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"}}},"DIG":{"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/CJC"},"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}]},"DIH":{"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/CJC"},"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/BG","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/CEJ"}}},"DII":{"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/CJC"},"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}]},"DIJ":{"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/CJC"},"entity_types":{"$ref":"#/definitions/CJF","description":"List of entity types that this mob can target if they hurt their owner.","title":"Entity Types"}}},"DJA":{"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/CJC"},"entity_types":{"$ref":"#/definitions/CJF","description":"List of entity types that this entity can target if the potential target is hurt by this mob's owner.","title":"Entity TYpes"}}},"DJB":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"damage_sources":{"title":"Damage Sources","type":"array","items":{"$ref":"#/definitions/DD"},"default":[["all"]],"description":"The list of Entity Damage Sources that will cause this mob to panic."},"force":{"title":"Force","type":"boolean","default":false,"description":"If true, this mob will not stop panicking until it can't move anymore or the goal is removed from it."},"ignore_mob_damage":{"title":"Ignore Mob Damage","type":"boolean","default":false,"description":"If true, the mob will not panic in response to damage from other mobs. This overrides the damage types in `damage_sources`"},"prefer_water":{"title":"Prefer Water","type":"boolean","default":false,"description":"If true, the mob will prefer water over land."},"panic_sound":{"title":"Panic Sound","$ref":"#/definitions/BE","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":{}}]},"DJC":{"description":"Allows the mob to peek out. This is what the shulker uses to look out of its shell.","type":"object","title":"Peek","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"}}},"DJD":{"description":"Allows the mob to be tempted by food they like.","type":"object","title":"Pet Sleep With Owner","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"DJE":{"description":"Allows the mob to pick up items on the ground.","additionalProperties":false,"type":"object","title":"Pickup Items","properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"can_pickup_any_item":{"type":"boolean","default":false,"description":"If true, the mob can pickup any item.","title":"Can Pickup Any Item"},"can_pickup_to_hand_or_equipment":{"type":"boolean","default":true,"description":"If true, the mob can pickup items to its hand or armor slots.","title":"Can Pickup To Hand Or Equipment"},"cooldown_after_being_attacked":{"type":"number","default":20.0,"description":"Amount of time an offended entity needs before being willing to pick up items.","title":"Cooldown After Being Attacked"},"excluded_items":{"title":"Excluded Items","description":"List of items this mob will not pick up.","type":"array","items":{"title":"Excluded Item","$ref":"#/definitions/J"}},"goal_radius":{"type":"number","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot.","title":"Goal Radius"},"max_dist":{"type":"number","default":0.0,"description":"Maximum distance this mob will look for items to pick up.","title":"Maximum Dist"},"search_height":{"title":"Search Height","type":"number","default":0,"description":"Height in blocks the mob will look for items to pick up.","$comment":"UNDOCUMENTED"},"pickup_based_on_chance":{"type":"boolean","default":false,"description":"If true, depending on the difficulty, there is a random chance that the mob may not be able to pickup items.","title":"Pickup Based On Chance"},"pickup_same_items_as_in_hand":{"type":"boolean","default":false,"description":"If true, the mob will pickup the same item as the item in its hand.","title":"Pickup Same Items As In Hand","$comment":"UNDOCUMENTED"},"track_target":{"type":"boolean","default":false,"description":"If true, this mob will chase after the target as long as it's a valid target.","title":"Track Target"}},"examples":[{"can_pickup_any_item":false,"can_pickup_to_hand_or_equipment":true,"cooldown_after_being_attacked":true,"excluded_items":[],"goal_radius":0.5,"max_dist":0,"pickup_based_on_chance":false,"track_target":false}]},"DJF":{"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/CJC"},"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/BG"},"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/DD"},{"type":"array","items":{"title":"Damage Source","$ref":"#/definitions/DD"}}]}},"examples":[{"duration":0.0,"force_below_health":0.0,"random_start_chance":0.0,"random_damage_range":[],"apply_regeneration":true}]},"DJG":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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/CEJ","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/BG"}}},"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."}}},"DJH":{"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/CJC"}}},"DJI":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"blocks":{"title":"Blocks","type":"array","description":"Blocks that the mob is looking for to eat.","items":{"type":"string","title":"Block Id","description":"A block identifier.","$ref":"#/definitions/BCC"}},"eat_delay":{"title":"Eat Delay","type":"integer","default":2,"description":"Time in seconds between each time it eats."},"full_delay":{"title":"Full Delay","type":"integer","default":100,"description":"Amount of time in seconds before this mob wants to eat again."},"initial_eat_delay":{"title":"Initial Eat Delay","type":"integer","default":0,"description":"Time in seconds before starting to eat/raid once it arrives at it."},"goal_radius":{"type":"number","title":"Goal Radius","default":0.5,"description":"Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot"},"max_to_eat":{"title":"Maximum To Eat","type":"integer","default":6,"description":"Maximum number of things this entity wants to eat."},"search_range":{"title":"Search Range","type":"integer","default":0,"description":"Distance in blocks the mob will look for crops to eat."},"search_height":{"title":"Search Height","type":"integer","default":0,"description":"Height in blocks the mob will look for crops to eat."}},"examples":[{"blocks":[],"eat_delay":2,"full_delay":100,"initial_eat_delay":0,"goal_radius":0.5,"max_to_eat":6,"search_range":0,"search_height":0}]},"DJJ":{"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/CJC"},"baby_knockback_modifier":{"title":"Baby Knockback Modifier","type":"number","default":0.333333,"description":"The modifier to knockback that babies have."},"cooldown_range":{"title":"Cooldown Range","$ref":"#/definitions/BBB","default":[10,20],"description":"Minimum and maximum cooldown time-range (positive, in seconds) between each attempted ram attack."},"knockback_force":{"title":"Knockback Force","type":"number","default":5.0,"description":"The force of the knockback of the ram attack."},"knockback_height":{"title":"Knockback Height","type":"number","default":0.1,"description":"The height of the knockback of the ram attack."},"min_ram_distance":{"title":"Min Ram Distance","type":"number","default":0.0,"description":"The minimum distance at which the mob can start a ram attack."},"on_start":{"title":"On Start","$ref":"#/definitions/BAI","description":"The event to trigger when attacking."},"pre_ram_sound":{"title":"Pre Ram Sound","$ref":"#/definitions/BE","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/BE","default":"","description":"The sound to play when an entity is impacting on a ram attack."},"ram_speed":{"title":"Ram Speed","type":"number","default":2.0,"description":"Sets the entity's speed when charging toward the target."},"run_speed":{"title":"Run Speed","type":"number","default":1.0,"description":"Sets the entity's speed when running toward the target."},"trigger":{"description":"The event to trigger when attacking.","title":"Trigger","$ref":"#/definitions/BAI"}},"examples":[{"baby_knockback_modifier":4,"cooldown_range":[],"knockback_force":5,"knockback_height":0.1,"min_ram_distance":4,"pre_ram_sound":"example","ram_distance":7,"ram_impact_sound":"example","ram_speed":2,"run_speed":1}]},"EAA":{"description":"Allows the mob to randomly break surface of the water.","type":"object","title":"Random Breach","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"EAB":{"description":"Allows a mob to randomly fly around.","type":"object","title":"Random Fly","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"EAC":{"description":"Allows the mob to hover around randomly, close to the surface.","type":"object","title":"Random Hover","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"EAD":{"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/CJC"},"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}]},"EAE":{"additionalProperties":false,"description":"Allows the mob to randomly look around.","type":"object","title":"Random Look Around","required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"look_time":{"title":"Look Time","$ref":"#/definitions/BCF","description":"The range of time in seconds the mob will stay looking in a random direction before looking elsewhere"},"max_angle_of_view_horizontal":{"title":"Max Angle Of View Horizontal","type":"integer","default":30,"description":"The rightmost angle a mob can look at on the horizontal plane with respect to its initial facing direction."},"min_angle_of_view_horizontal":{"title":"Min Angle Of View Horizontal","type":"integer","default":-30,"description":"The leftmost angle a mob can look at on the horizontal plane with respect to its initial facing direction."}},"examples":[{"look_distance":0.0}]},"EAF":{"type":"object","title":"Random Sitting","description":"Allows the mob to randomly sit for a duration.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"EAG":{"description":"Allows a mob to randomly stroll around.","type":"object","title":"Random Stroll","required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"EAH":{"type":"object","title":"Random Swim","description":"Allows an entity to randomly move through water.","required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"EAI":{"description":"Allows the mob to use ranged attacks like shooting arrows.","type":"object","title":"Ranged Attack","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"EAJ":{"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/CJC"}}},"EBA":{"description":"Allows the mob to stay indoors during night time.","type":"object","title":"Restrict Open Door","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"}}},"EBB":{"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/CJC"}}},"EBC":{"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/CJC"},"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}]},"EBD":{"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/CJC"},"duration":{"title":"Duration","type":"number","default":0.0,"description":"Goal duration in seconds."}}},"EBE":{"description":"This allows the mob to roll forward.","type":"object","title":"Roll","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"probability":{"type":"number","minimum":0,"description":"The probability that the mob will use the goal.","title":"Probability"}},"examples":[{"probability":0.0}]},"EBF":{"description":"Allows the mob to run around aimlessly.","type":"object","title":"Run Around Like Crazy","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"}}},"EBG":{"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/CJC"},"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}]},"EBH_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/BE","default":"","description":"The sound event to play when this step happens."}}}},"EBH":{"description":"Allows the mob to send an event to another mob.","type":"object","title":"Send Event","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJC"},"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/BG"},"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/BE","title":"Start Sound Event","description":"The sound event to play when using this spell.","$comment":"UNDOCUMENTED"},"sequence":{"$ref":"#/definitions/EBH_sequence"}}}},"sequence":{"$ref":"#/definitions/EBH_sequence","description":"List of steps for the spell.","$comment":"UNDOCUMENTED","title":"Sequence"}},"examples":[{"cast_duration":0.0,"event_choices":[]}]},"EBI":{"description":"Allows the mob to give items it has to others.","type":"object","title":"Share Items","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"entity_types":{"$ref":"#/definitions/CJF","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}]},"EBJ":{"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/CJC"}}},"ECA":{"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/CJC"}}},"ECB":{"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/CJC"},"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}]},"ECC":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"can_sleep_while_riding":{"title":"Can Sleep While Riding","type":"boolean","default":false,"description":"If true, the mob will be able to use the sleep goal if riding something."},"cooldown_time":{"title":"Cooldown Time","type":"number","default":0.0,"description":"Time in seconds the mob has to wait before using the goal again."},"sleep_collider_height":{"title":"Sleep Collider Height","type":"number","default":1.0,"description":"The height of the mob's collider while sleeping."},"sleep_collider_width":{"title":"Sleep Collider Width","type":"number","default":1.0,"description":"The width of the mob's collider while sleeping."},"sleep_y_offset":{"title":"Sleep Y Offset","type":"number","default":1.0,"description":"The y offset of the mob's collider while sleeping."},"timeout_cooldown":{"title":"Timeout Cooldown","type":"number","default":8.0,"description":"The cooldown time in seconds before the goal can be reused after a internal failure or timeout condition."}},"examples":[{"cooldown_time":0,"goal_radius":0,"sleep_collider_height":1,"sleep_collider_width":1,"sleep_y_offset":1,"timeout_cooldown":8}]},"ECD":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"ECE":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"ECF":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"}}},"ECG":{"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/CJC"},"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}]},"ECH":{"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/CJC"},"items":{"title":"Items","description":"Items that we are interested in snacking on.","oneOf":[{"type":"array","items":{"$ref":"#/definitions/J","title":"Item"}},{"$ref":"#/definitions/J"}]},"snacking_cooldown":{"type":"number","default":7.5,"description":"The cooldown time in seconds before the mob is able to snack again.","title":"Snacking Cooldown"},"snacking_cooldown_min":{"type":"number","default":0.5,"description":"The minimum time in seconds before the mob is able to snack again.","title":"Snacking Cooldown Minimum"},"snacking_stop_chance":{"type":"number","description":"This is the chance that the mob will stop snacking, from 0 to 1.","title":"Snacking Stop Chance"}},"examples":[{"snacking_cooldown":7.5,"snacking_cooldown_min":0.5,"snacking_stop_chance":0.0}]},"ECI":{"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/CJC"},"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/CJF","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/BE","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/BE","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}]},"ECJ":{"additionalProperties":false,"type":"object","title":"Sonic Boom","description":"[EXPERIMENTAL BEHAVIOR] Plays the provided sounds and activates the `SONIC BOOM` actor flag during the specified duration","properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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/BE","default":"","description":"Sound event for the attack."},"charge_sound":{"title":"Charge Sound","$ref":"#/definitions/BE","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."}}},"EDA":{"description":"Allows an entity to dive underwater.","type":"object","title":"Squid Dive","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"}}},"EDB":{"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/CJC"}}},"EDC":{"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/CJC"}}},"EDD":{"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/CJC"}}},"EDE":{"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/CJC"}}},"EDF":{"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/CJC"},"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/BG","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}]},"EDG":{"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/CJC"},"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."}}},"EDH":{"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/CJC"}}},"EDI":{"description":"Allows the mob to use the polar bear's melee attack.","type":"object","title":"Stomp Attack","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"attack_once":{"title":"Attack Once","type":"boolean","default":false,"description":"Allows the entity to use this attack behavior, only once EVER."},"attack_types":{"title":"Attack Types","type":"string","default":"N/A","description":"Defines the entity types this entity will attack."},"can_spread_on_fire":{"title":"Can Spread On Fire","type":"boolean","default":false,"description":"If the entity is on fire, this allows the entity's target to catch on fire after being hi"},"cooldown_time":{"title":"Cooldown Time","type":"number","default":1,"description":"Cooldown time (in seconds) between attacks."},"inner_boundary_time_increase":{"title":"Inner Boundary Time Increase","type":"number","default":0.25,"description":"Time (in seconds) to add to attack path recalculation when the target is beyond the \"path_inner_boundary\"."},"max_dist":{"title":"Max Dist","type":"number","description":"Unused. No effect on \"minecraft:behavior.melee_attack\"."},"max_path_time":{"title":"Max Path Time","type":"number","default":0.55,"description":"Maximum base time (in seconds) to recalculate new attack path to target (before increases applied)."},"melee_fov":{"title":"Melee Fov","type":"number","default":90,"description":"Field of view (in degrees) when using the sensing component to detect an attack target."},"min_path_time":{"title":"Min Path Time","type":"number","default":0.2,"description":"Minimum base time (in seconds) to recalculate new attack path to target (before increases applied)."},"no_damage_range_multiplier":{"title":"No Damage Range Multiplier","type":"number","default":2,"description":"Multiplied with the final AoE damage range to determine a no damage range. The stomp attack will go on cooldown if target is in this no damage range."},"on_attack":{"title":"On Attack","$ref":"#/definitions/BAI","description":"Defines the event to trigger when this entity successfully attacks."},"outer_boundary_time_increase":{"title":"Outer Boundary Time Increase","type":"number","default":0.5,"description":"Time (in seconds) to add to attack path recalculation when the target is beyond the \"path_outer_boundary\"."},"path_fail_time_increase":{"title":"Path Fail Time Increase","type":"number","default":0.75,"description":"Time (in seconds) to add to attack path recalculation when this entity cannot move along the current path."},"path_inner_boundary":{"title":"Path Inner Boundary","type":"number","default":16,"description":"Distance at which to increase attack path recalculation by \"inner_boundary_tick_increase\"."},"path_outer_boundary":{"title":"Path Outer Boundary","type":"number","default":32,"description":"Distance at which to increase attack path recalculation by \"outer_boundary_tick_increase\"."},"random_stop_interval":{"title":"Random Stop Interval","type":"integer","default":0,"description":"This entity will have a 1 in N chance to stop it's current attack, where N = \"random_stop_interval\"."},"reach_multiplier":{"title":"Reach Multiplier","type":"number","default":2,"description":"Used with the base size of the entity to determine minimum target-distance before trying to deal attack damage."},"require_complete_path":{"title":"Require Complete Path","type":"boolean","default":false,"description":"Toggles (on/off) the need to have a full path from the entity to the target when using this melee attack behavior."},"set_persistent":{"title":"Set Persistent","type":"boolean","default":false,"description":"Allows the actor to be set to persist upon targeting a player."},"stomp_range_multiplier":{"title":"Stomp Range Multiplier","type":"number","default":2,"description":"Multiplied with the base size of the entity to determine stomp AoE damage range."},"target_dist":{"title":"Target Dist","type":"number","description":"Unused. No effect on \"minecraft:behavior.melee_attack\"."},"track_target":{"title":"Track Target","type":"boolean","default":false,"description":"Allows the entity to track the attack target, even if the entity has no sensing."},"x_max_rotation":{"title":"X Max Rotation","type":"number","default":30,"description":"Maximum rotation (in degrees), on the X-axis, this entity can rotate while trying to look at the target."},"y_max_head_rotation":{"title":"Y Max Head Rotation","type":"number","default":30,"description":"Maximum rotation (in degrees), on the Y-axis, this entity can rotate its head while trying to look at the target."}},"examples":[{"attack_once":false,"attack_types":"","probability":0.02,"random_stop_interval":0,"reach_multiplier":2,"require_complete_path":false,"track_target":false,"stomp_range_multiplier":0.0,"no_damage_range_multiplier":0.0}]},"EDJ":{"description":"Allows this mob to stomp turtle eggs.","type":"object","title":"Stomp Turtle Egg","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"EEA":{"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/CJC"},"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}]},"EEB":{"description":"Allows the mob to attack the player by summoning other entities.","title":"Summon Entity","type":"object","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"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/BG"},"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/BE","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/BE","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":[]}]},"EEC":{"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/CJC"},"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}]},"EED":{"description":"Allows the entity go idle, if swimming. Entity must be in water.","type":"object","title":"Swim Idle","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJC"},"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}]},"EEE":{"description":"Has the fish swim around when they can't pathfind.","type":"object","title":"Swim Wander","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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}]},"EEF":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"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/CJF","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}]},"EEG":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"damage_reach":{"title":"Damage Reach","type":"number","default":0.2,"description":"Added to the base size of the entity, to determine the target's maximum allowable distance, when trying to deal attack damage."},"delay_range":{"$ref":"#/definitions/BBB","default":[[10.0,20.0]],"description":"Minimum and maximum cooldown time-range (in seconds) between each attempted swoop attack.","title":"Delay Range"}},"examples":[{"damage_reach":0.2,"delay_range":[10.0,20.0]}]},"EEH":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"filters":{"title":"Filters","$ref":"#/definitions/BG","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/CEJ"}}},"EEI":{"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/CJC"},"entity_types":{"title":"Entity Types","$ref":"#/definitions/CJF","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":[]}]},"EEJ":{"description":"Allows an entity to be tempted by a set item.","type":"object","title":"Tempt","additionalProperties":false,"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"can_get_scared":{"type":"boolean","default":false,"description":"If true, the mob can stop being tempted if the player moves too fast while close to this mob.","title":"Can Get Scared"},"can_tempt_while_ridden":{"type":"boolean","default":false,"title":"Can Tempt While Ridden","description":"If true, the mob can be tempted even if it has a passenger (i.e. if being ridden)."},"can_tempt_vertically":{"type":"boolean","default":false,"title":"Can Tempt Vertically","description":"If true, vertical distance to the player will be considered when tempting."},"items":{"type":"array","title":"Items","description":"List of items this mob is tempted by.","items":{"$ref":"#/definitions/J"}},"sound_interval":{"description":"Range of random ticks to wait between tempt sounds.","title":"Sound Interval","oneOf":[{"type":"number","minimum":0},{"items":[{"type":"integer","minimum":0,"title":"Minimum"},{"type":"integer","minimum":0,"title":"Maximum"}]}]},"tempt_sound":{"$ref":"#/definitions/BE","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}]},"EFA":{"title":"Timer Flag","description":"Fires an event when this behavior starts, then waits for a duration before stopping. When stopping due to that timeout or due to being interrupted by another behavior, fires another event. query.timer_flag_ will return 1.0 on both the client and server when this behavior is running, and 0.0 otherwise.","type":"object","additionalProperties":false,"properties":{"cooldown_range":{"title":"Cooldown Range","$ref":"#/definitions/BCF","default":[10.0,10.0],"description":"Goal cooldown range in seconds."},"duration_range":{"title":"Duration Range","$ref":"#/definitions/BCF","default":[2.0,2.0],"description":"Goal duration range in seconds."},"on_end":{"title":"On End","$ref":"#/definitions/BAI","description":"Event to run when the goal ends."},"on_start":{"title":"On Start","$ref":"#/definitions/BAI","description":"Event to run when the goal starts."}}},"EFB":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"cooldown_range":{"title":"Cooldown Range","default":[0.0,0.0],"description":"Goal cooldown range in seconds.","$ref":"#/definitions/BCF"},"digging_duration_range":{"title":"Digging Duration Range","$ref":"#/definitions/BCF","default":[0.0,0.0],"description":"Digging duration in seconds."},"find_valid_position_retries":{"title":"Find Valid Position Retries","type":"number","default":0.0,"description":"Amount of retries to find a valid target position within search range."},"goal_radius":{"title":"Goal Radius","type":"number","default":1500000,"description":"Distance in blocks within the entity to considers it has reached it's target position."},"item_table":{"title":"Item Table","type":"string","default":"","description":"File path relative to the resource pack root for items to spawn list (loot table format)."},"on_digging_start":{"title":"On Digging Start","$ref":"#/definitions/BAI","description":"Event to run when the goal ends searching has begins digging."},"on_fail_during_digging":{"title":"On Fail During Digging","$ref":"#/definitions/BAI","description":"Event to run when the goal failed while in digging state."},"on_fail_during_searching":{"title":"On Fail During Searching","$ref":"#/definitions/BAI","description":"Event to run when the goal failed while in searching state."},"on_item_found":{"title":"On Item Found","$ref":"#/definitions/BAI","description":"Event to run when the goal find a item."},"on_searching_start":{"title":"On Searching Start","$ref":"#/definitions/BAI","description":"Event to run when the goal starts searching."},"on_success":{"title":"On Success","$ref":"#/definitions/BAI","description":"Event to run when searching and digging has ended."},"search_range_xz":{"title":"Search Range XZ","type":"number","default":0.0,"description":"Width and length of the volume around the entity used to find a valid target position"},"search_range_y":{"title":"Search Range Y","type":"number","default":0.0,"description":"Height of the volume around the entity used to find a valid target position"},"spawn_item_after_seconds":{"title":"Spawn Item After Seconds","type":"number","default":0.0,"description":"Digging duration before spawning item in seconds."},"spawn_item_pos_offset":{"title":"Spawn Item Pos Offset","type":"number","default":0.0,"description":"Distance to offset the item's spawn location in the direction the mob is facing."},"target_blocks":{"title":"Target Blocks","type":"array","description":"List of target block types the goal will look to dig on. Overrides the default list.","items":{"$ref":"#/definitions/BCC"}},"target_dig_position_offset":{"title":"Target Dig Position Offset","type":"number","default":2250000,"description":"Dig target position offset from the feet position of the mob in their facing direction."}}},"EFC":{"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/CJC"},"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}]},"EFD":{"description":"Allows the player to trade with this mob.","type":"object","title":"Trade With Player","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"}}},"EFE":{"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/CJC"},"entity_types":{"$ref":"#/definitions/CJF","description":"List of entities this mob can copy the owner from.","title":"Entity Types"}}},"EFF":{"description":"Allows the mob to move around randomly like the Vex.","additionalProperties":false,"type":"object","title":"Vex Random Move","required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"entity_types":{"$ref":"#/definitions/CJF","description":"List of entities this mob can copy the owner from.","title":"Entity Types"}}},"EFG":{"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/CJC"}}},"EFH":{"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/CJC"},"entity_types":{"$ref":"#/definitions/CJF","description":"List of entity types the wither takes into account to find who dealt the most damage to it.","title":"Entity Types"}}},"EFI":{"type":"object","title":"Work","description":"Allows the NPC to use the POI.","additionalProperties":false,"required":[],"properties":{"priority":{"$ref":"#/definitions/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"active_time":{"title":"Active Time","type":"integer","default":0,"description":"The amount of ticks the NPC will stay in their the work location.","exclusiveMinimum":0},"can_work_in_rain":{"title":"Can Work In Rain","type":"boolean","default":false,"description":"If true, this entity can work when their jobsite POI is being rained on."},"goal_cooldown":{"title":"Goal Cooldown","type":"integer","default":0,"description":"The amount of ticks the goal will be on cooldown before it can be used again."},"on_arrival":{"title":"On Arrival","$ref":"#/definitions/BAI","description":"Event to run when the mob reaches their jobsite."},"sound_delay_max":{"title":"Sound Delay Max","type":"integer","default":0,"description":"The max interval in which a sound will play."},"sound_delay_min":{"title":"Sound Delay Min","type":"integer","default":0,"description":"The min interval in which a sound will play."},"work_in_rain_tolerance":{"title":"Work In Rain Tolerance","type":"integer","default":-1,"description":"If \"can_work_in_rain\" is false, this is the maximum number of ticks left in the goal where rain will not interrupt the goal"}},"examples":[{"active_time":0,"can_work_in_rain":false,"goal_cooldown":0,"sound_delay_max":0,"sound_delay_min":0,"work_in_rain_tolerance":-1}]},"EFJ":{"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/CJC"},"speed_multiplier":{"$ref":"#/definitions/CJJ"},"active_time":{"title":"Active Time","type":"integer","default":0,"description":"The amount of ticks the NPC will stay in their the work location."},"block_interaction_max":{"title":"Block Interaction Max","type":"integer","default":1,"description":"The maximum number of times the mob will interact with the composter."},"can_empty_composter":{"title":"Can Empty Composter","type":"boolean","default":true,"description":"Determines whether the mob can empty a full composter."},"can_fill_composter":{"title":"Can Fill Composter","type":"boolean","default":true,"description":"Determines whether the mob can add items to a composter given that it is not full."},"can_work_in_rain":{"title":"Can Work In Rain","type":"boolean","default":false,"description":"If true, this entity can work when their jobsite POI is being rained on."},"goal_cooldown":{"title":"Goal Cooldown","type":"integer","default":0,"description":"The amount of ticks the goal will be on cooldown before it can be used again."},"items_per_use_max":{"title":"Items Per Use Max","type":"integer","default":20,"description":"The maximum number of items which can be added to the composter per block interaction."},"min_item_count":{"title":"Min Item Count","type":"integer","default":10,"description":"Limits the amount of each compostable item the mob can use. Any amount held over this number will be composted if possible"},"on_arrival":{"title":"On Arrival","$ref":"#/definitions/BAI","description":"Event to run when the mob reaches their jobsite."},"sound_delay_max":{"title":"Sound Delay Max","type":"integer","description":"Unused."},"sound_delay_min":{"title":"Sound Delay Min","type":"integer","description":"Unused."},"use_block_max":{"title":"Use Block Max","type":"integer","default":200,"description":"The maximum interval in which the mob will interact with the composter."},"use_block_min":{"title":"Use Block Min","type":"integer","default":100,"description":"The minimum interval in which the mob will interact with the composter."},"work_in_rain_tolerance":{"title":"Work In Rain Tolerance","type":"integer","default":-1,"description":"If \"can_work_in_rain\" is false, this is the maximum number of ticks left in the goal where rain will not interrupt the goal"}},"examples":[{}]},"F":{"additionalProperties":false,"type":"object","title":"Components","description":"A collection of components.","required":[],"properties":{"minecraft:addrider":{"$ref":"#/definitions/G"},"minecraft:admire_item":{"$ref":"#/definitions/H"},"minecraft:ageable":{"$ref":"#/definitions/I"},"minecraft:ambient_sound_interval":{"$ref":"#/definitions/BD"},"minecraft:anger_level":{"$ref":"#/definitions/BF"},"minecraft:angry":{"$ref":"#/definitions/BAD"},"minecraft:annotation.break_door":{"$ref":"#/definitions/BAE"},"minecraft:annotation.open_door":{"$ref":"#/definitions/BAF"},"minecraft:area_attack":{"$ref":"#/definitions/BAG"},"minecraft:attack_cooldown":{"$ref":"#/definitions/BAH"},"minecraft:attack_damage":{"$ref":"#/definitions/BAJ"},"minecraft:attack":{"$ref":"#/definitions/BBA"},"minecraft:balloonable":{"$ref":"#/definitions/BBC"},"minecraft:barter":{"$ref":"#/definitions/BBD"},"minecraft:block_climber":{"$ref":"#/definitions/BBE"},"minecraft:block_sensor":{"$ref":"#/definitions/BBF"},"minecraft:boostable":{"$ref":"#/definitions/BBH"},"minecraft:boss":{"$ref":"#/definitions/BBI"},"minecraft:break_blocks":{"$ref":"#/definitions/BBJ"},"minecraft:breathable":{"$ref":"#/definitions/BCB"},"minecraft:breedable":{"$ref":"#/definitions/BCD"},"minecraft:bribeable":{"$ref":"#/definitions/BCG"},"minecraft:buoyant":{"$ref":"#/definitions/BCH"},"minecraft:burns_in_daylight":{"$ref":"#/definitions/BCI"},"minecraft:can_climb":{"$ref":"#/definitions/BCJ"},"minecraft:can_fly":{"$ref":"#/definitions/BDA"},"minecraft:can_power_jump":{"$ref":"#/definitions/BDB"},"minecraft:celebrate_hunt":{"$ref":"#/definitions/BDC"},"minecraft:collision_box":{"$ref":"#/definitions/BDD"},"minecraft:color":{"$ref":"#/definitions/BDE"},"minecraft:color2":{"$ref":"#/definitions/BDF"},"minecraft:combat_regeneration":{"$ref":"#/definitions/BDG"},"minecraft:conditional_bandwidth_optimization":{"$ref":"#/definitions/BDH"},"minecraft:custom_hit_test":{"$ref":"#/definitions/BDI"},"minecraft:damage_over_time":{"$ref":"#/definitions/BDJ"},"minecraft:damage_sensor":{"$ref":"#/definitions/BEA"},"minecraft:dash":{"$ref":"#/definitions/BEB"},"minecraft:default_look_angle":{"$ref":"#/definitions/BEC"},"minecraft:despawn":{"$ref":"#/definitions/BED"},"minecraft:drying_out_timer":{"$ref":"#/definitions/BEE"},"minecraft:dweller":{"$ref":"#/definitions/BEF"},"minecraft:economy_trade_table":{"$ref":"#/definitions/BEG"},"minecraft:entity_sensor":{"$ref":"#/definitions/BEH"},"minecraft:environment_sensor":{"$ref":"#/definitions/BEI"},"minecraft:equip_item":{"$ref":"#/definitions/BEJ"},"minecraft:equipment":{"$ref":"#/definitions/BFA"},"minecraft:equippable":{"$ref":"#/definitions/BFC"},"minecraft:exhaustion_values":{"$ref":"#/definitions/BFD"},"minecraft:experience_reward":{"$ref":"#/definitions/BFE"},"minecraft:explode":{"$ref":"#/definitions/BFF"},"minecraft:fall_damage":{"$ref":"#/definitions/BFG"},"minecraft:fire_immune":{"$ref":"#/definitions/BFH"},"minecraft:floats_in_liquid":{"$ref":"#/definitions/BFI"},"minecraft:flocking":{"$ref":"#/definitions/BFJ"},"minecraft:flying_speed":{"$ref":"#/definitions/BGA"},"minecraft:follow_range":{"$ref":"#/definitions/BGB"},"minecraft:friction_modifier":{"$ref":"#/definitions/BGC"},"minecraft:game_event_movement_tracking":{"$ref":"#/definitions/BGD"},"minecraft:genetics":{"$ref":"#/definitions/BGE"},"minecraft:giveable":{"$ref":"#/definitions/BGF"},"minecraft:ground_offset":{"$ref":"#/definitions/BGG"},"minecraft:group_size":{"$ref":"#/definitions/BGH"},"minecraft:grows_crop":{"$ref":"#/definitions/BGI"},"minecraft:healable":{"$ref":"#/definitions/BGJ"},"minecraft:health":{"$ref":"#/definitions/BHA"},"minecraft:heartbeat":{"$ref":"#/definitions/BHB"},"minecraft:hide":{"$ref":"#/definitions/BHC"},"minecraft:home":{"$ref":"#/definitions/BHD"},"minecraft:horse.jump_strength":{"$ref":"#/definitions/BHE"},"minecraft:hurt_on_condition":{"$ref":"#/definitions/BHF"},"minecraft:hurt_when_wet":{"$ref":"#/definitions/BHG"},"minecraft:input_ground_controlled":{"$ref":"#/definitions/BHH"},"minecraft:inside_block_notifier":{"$ref":"#/definitions/BHI"},"minecraft:insomnia":{"$ref":"#/definitions/BIA"},"minecraft:instant_despawn":{"$ref":"#/definitions/BIB"},"minecraft:interact":{"$ref":"#/definitions/BIC"},"minecraft:inventory":{"$ref":"#/definitions/BID"},"minecraft:is_baby":{"$ref":"#/definitions/BIE"},"minecraft:is_charged":{"$ref":"#/definitions/BIF"},"minecraft:is_chested":{"$ref":"#/definitions/BIG"},"minecraft:is_dyeable":{"$ref":"#/definitions/BIH"},"minecraft:is_hidden_when_invisible":{"$ref":"#/definitions/BII"},"minecraft:is_ignited":{"$ref":"#/definitions/BIJ"},"minecraft:is_illager_captain":{"$ref":"#/definitions/BJA"},"minecraft:is_saddled":{"$ref":"#/definitions/BJB"},"minecraft:is_shaking":{"$ref":"#/definitions/BJC"},"minecraft:is_sheared":{"$ref":"#/definitions/BJD"},"minecraft:is_stackable":{"$ref":"#/definitions/BJE"},"minecraft:is_stunned":{"$ref":"#/definitions/BJF"},"minecraft:is_tamed":{"$ref":"#/definitions/BJG"},"minecraft:item_controllable":{"$ref":"#/definitions/BJH"},"minecraft:item_hopper":{"$ref":"#/definitions/BJI"},"minecraft:jump.dynamic":{"$ref":"#/definitions/BJJ"},"minecraft:jump.static":{"$ref":"#/definitions/CAA"},"minecraft:knockback_resistance":{"$ref":"#/definitions/CAB"},"minecraft:lava_movement":{"$ref":"#/definitions/CAC"},"minecraft:leashable":{"$ref":"#/definitions/CAD"},"minecraft:lookat":{"$ref":"#/definitions/CAE"},"minecraft:loot":{"$ref":"#/definitions/CAF"},"minecraft:managed_wandering_trader":{"$ref":"#/definitions/CAG"},"minecraft:mark_variant":{"$ref":"#/definitions/CAH"},"minecraft:mob_effect":{"$ref":"#/definitions/CAI"},"minecraft:movement_sound_distance_offset":{"$ref":"#/definitions/CAJ"},"minecraft:movement.amphibious":{"$ref":"#/definitions/CBA"},"minecraft:movement.basic":{"$ref":"#/definitions/CBB"},"minecraft:movement.fly":{"$ref":"#/definitions/CBC"},"minecraft:movement.generic":{"$ref":"#/definitions/CBD"},"minecraft:movement.glide":{"$ref":"#/definitions/CBE"},"minecraft:movement.hover":{"$ref":"#/definitions/CBF"},"minecraft:movement.jump":{"$ref":"#/definitions/CBG"},"minecraft:movement.skip":{"$ref":"#/definitions/CBH"},"minecraft:movement.sway":{"$ref":"#/definitions/CBI"},"minecraft:movement":{"$ref":"#/definitions/CBJ"},"minecraft:nameable":{"$ref":"#/definitions/CCA"},"minecraft:navigation.climb":{"$ref":"#/definitions/CCB"},"minecraft:navigation.float":{"$ref":"#/definitions/CCC"},"minecraft:navigation.fly":{"$ref":"#/definitions/CCD"},"minecraft:navigation.generic":{"$ref":"#/definitions/CCE"},"minecraft:navigation.hover":{"$ref":"#/definitions/CCF"},"minecraft:navigation.swim":{"$ref":"#/definitions/CCG"},"minecraft:navigation.walk":{"$ref":"#/definitions/CCH"},"minecraft:npc":{"$ref":"#/definitions/CCI"},"minecraft:on_death":{"$ref":"#/definitions/CCJ"},"minecraft:on_friendly_anger":{"$ref":"#/definitions/CDA"},"minecraft:on_hurt_by_player":{"$ref":"#/definitions/CDB"},"minecraft:on_hurt":{"$ref":"#/definitions/CDC"},"minecraft:on_ignite":{"$ref":"#/definitions/CDD"},"minecraft:on_start_landing":{"$ref":"#/definitions/CDE"},"minecraft:on_start_takeoff":{"$ref":"#/definitions/CDF"},"minecraft:on_target_acquired":{"$ref":"#/definitions/CDG"},"minecraft:on_target_escape":{"$ref":"#/definitions/CDH"},"minecraft:on_wake_with_owner":{"$ref":"#/definitions/CDI"},"minecraft:out_of_control":{"$ref":"#/definitions/CDJ"},"minecraft:peek":{"$ref":"#/definitions/CEA"},"minecraft:persistent":{"$ref":"#/definitions/CEB"},"minecraft:physics":{"$ref":"#/definitions/CEC"},"minecraft:player.exhaustion":{"$ref":"#/definitions/CED"},"minecraft:player.experience":{"$ref":"#/definitions/CEE"},"minecraft:player.level":{"$ref":"#/definitions/CEF"},"minecraft:player.saturation":{"$ref":"#/definitions/CEG"},"minecraft:preferred_path":{"$ref":"#/definitions/CEH"},"minecraft:projectile":{"$ref":"#/definitions/CEI"},"minecraft:push_through":{"$ref":"#/definitions/CFB"},"minecraft:pushable":{"$ref":"#/definitions/CFC"},"minecraft:raid_trigger":{"$ref":"#/definitions/CFD"},"minecraft:rail_movement":{"$ref":"#/definitions/CFE"},"minecraft:rail_sensor":{"$ref":"#/definitions/CFF"},"minecraft:ravager_blocked":{"$ref":"#/definitions/CFG"},"minecraft:rideable":{"$ref":"#/definitions/CFH"},"minecraft:scale_by_age":{"$ref":"#/definitions/CFI"},"minecraft:scale":{"$ref":"#/definitions/CFJ"},"minecraft:scheduler":{"$ref":"#/definitions/CGA"},"minecraft:shareables":{"$ref":"#/definitions/CGB"},"minecraft:shooter":{"$ref":"#/definitions/CGC"},"minecraft:sittable":{"$ref":"#/definitions/CGD"},"minecraft:skin_id":{"$ref":"#/definitions/CGE"},"minecraft:sound_volume":{"$ref":"#/definitions/CGF"},"minecraft:spawn_entity":{"$ref":"#/definitions/CGG"},"minecraft:spell_effects":{"$ref":"#/definitions/CGH"},"minecraft:strength":{"$ref":"#/definitions/CGI"},"minecraft:suspect_tracking":{"$ref":"#/definitions/CGJ"},"minecraft:tameable":{"$ref":"#/definitions/CHA"},"minecraft:tamemount":{"$ref":"#/definitions/CHB"},"minecraft:target_nearby_sensor":{"$ref":"#/definitions/CHC"},"minecraft:teleport":{"$ref":"#/definitions/CHD"},"minecraft:tick_world":{"$ref":"#/definitions/CHE"},"minecraft:timer":{"$ref":"#/definitions/CHF"},"minecraft:trade_resupply":{"$ref":"#/definitions/CHG"},"minecraft:trade_table":{"$ref":"#/definitions/CHH"},"minecraft:trail":{"$ref":"#/definitions/CHI"},"minecraft:transformation":{"$ref":"#/definitions/CHJ"},"minecraft:trust":{"$ref":"#/definitions/CIA"},"minecraft:trusting":{"$ref":"#/definitions/CIB"},"minecraft:type_family":{"$ref":"#/definitions/CIC"},"minecraft:underwater_movement":{"$ref":"#/definitions/CID"},"minecraft:variable_max_auto_step":{"$ref":"#/definitions/CIE"},"minecraft:variant":{"$ref":"#/definitions/CIF"},"minecraft:vibration_damper":{"$ref":"#/definitions/CIG"},"minecraft:vibration_listener":{"$ref":"#/definitions/CIH"},"minecraft:walk_animation_speed":{"$ref":"#/definitions/CII"},"minecraft:wants_jockey":{"$ref":"#/definitions/CIJ"},"minecraft:water_movement":{"$ref":"#/definitions/CJA"},"minecraft:behavior.admire_item":{"$ref":"#/definitions/CJB"},"minecraft:behavior.avoid_block":{"$ref":"#/definitions/CJD"},"minecraft:behavior.avoid_mob_type":{"$ref":"#/definitions/CJE"},"minecraft:behavior.barter":{"$ref":"#/definitions/CJG"},"minecraft:behavior.beg":{"$ref":"#/definitions/CJH"},"minecraft:behavior.break_door":{"$ref":"#/definitions/CJI"},"minecraft:behavior.breed":{"$ref":"#/definitions/DAA"},"minecraft:behavior.celebrate_survive":{"$ref":"#/definitions/DAB"},"minecraft:behavior.celebrate":{"$ref":"#/definitions/DAC"},"minecraft:behavior.charge_attack":{"$ref":"#/definitions/DAD"},"minecraft:behavior.charge_held_item":{"$ref":"#/definitions/DAE"},"minecraft:behavior.circle_around_anchor":{"$ref":"#/definitions/DAF"},"minecraft:behavior.controlled_by_player":{"$ref":"#/definitions/DAG"},"minecraft:behavior.croak":{"$ref":"#/definitions/DAH"},"minecraft:behavior.defend_trusted_target":{"$ref":"#/definitions/DBA"},"minecraft:behavior.defend_village_target":{"$ref":"#/definitions/DBB"},"minecraft:behavior.delayed_attack":{"$ref":"#/definitions/DBC"},"minecraft:behavior.dig":{"$ref":"#/definitions/DBD"},"minecraft:behavior.door_interact":{"$ref":"#/definitions/DBE"},"minecraft:behavior.dragonchargeplayer":{"$ref":"#/definitions/DBF"},"minecraft:behavior.dragondeath":{"$ref":"#/definitions/DBG"},"minecraft:behavior.dragonflaming":{"$ref":"#/definitions/DBH"},"minecraft:behavior.dragonholdingpattern":{"$ref":"#/definitions/DBI"},"minecraft:behavior.dragonlanding":{"$ref":"#/definitions/DBJ"},"minecraft:behavior.dragonscanning":{"$ref":"#/definitions/DCA"},"minecraft:behavior.dragonstrafeplayer":{"$ref":"#/definitions/DCB"},"minecraft:behavior.dragontakeoff":{"$ref":"#/definitions/DCC"},"minecraft:behavior.drink_milk":{"$ref":"#/definitions/DCD"},"minecraft:behavior.drink_potion":{"$ref":"#/definitions/DCE"},"minecraft:behavior.drop_item_for":{"$ref":"#/definitions/DCF"},"minecraft:behavior.eat_block":{"$ref":"#/definitions/DCG"},"minecraft:behavior.eat_carried_item":{"$ref":"#/definitions/DCH"},"minecraft:behavior.eat_mob":{"$ref":"#/definitions/DCI"},"minecraft:behavior.emerge":{"$ref":"#/definitions/DCI"},"minecraft:behavior.enderman_leave_block":{"$ref":"#/definitions/DCJ"},"minecraft:behavior.enderman_take_block":{"$ref":"#/definitions/DDA"},"minecraft:behavior.equip_item":{"$ref":"#/definitions/DDB"},"minecraft:behavior.explore_outskirts":{"$ref":"#/definitions/DDC"},"minecraft:behavior.fertilize_farm_block":{"$ref":"#/definitions/DDD"},"minecraft:behavior.find_cover":{"$ref":"#/definitions/DDE"},"minecraft:behavior.find_mount":{"$ref":"#/definitions/DDF"},"minecraft:behavior.find_underwater_treasure":{"$ref":"#/definitions/DDG"},"minecraft:behavior.flee_sun":{"$ref":"#/definitions/DDH"},"minecraft:behavior.float_wander":{"$ref":"#/definitions/DDI"},"minecraft:behavior.float":{"$ref":"#/definitions/DDJ"},"minecraft:behavior.follow_caravan":{"$ref":"#/definitions/DEA"},"minecraft:behavior.follow_mob":{"$ref":"#/definitions/DEB"},"minecraft:behavior.follow_owner":{"$ref":"#/definitions/DEC"},"minecraft:behavior.follow_parent":{"$ref":"#/definitions/DED"},"minecraft:behavior.follow_target_captain":{"$ref":"#/definitions/DEE"},"minecraft:behavior.go_and_give_items_to_noteblock":{"$ref":"#/definitions/DEF"},"minecraft:behavior.go_and_give_items_to_owner":{"$ref":"#/definitions/DEG"},"minecraft:behavior.go_home":{"$ref":"#/definitions/DEH"},"minecraft:behavior.guardian_attack":{"$ref":"#/definitions/DEI"},"minecraft:behavior.harvest_farm_block":{"$ref":"#/definitions/DEJ"},"minecraft:behavior.hide":{"$ref":"#/definitions/DFA"},"minecraft:behavior.hold_ground":{"$ref":"#/definitions/DFB"},"minecraft:behavior.hurt_by_target":{"$ref":"#/definitions/DFC"},"minecraft:behavior.inspect_bookshelf":{"$ref":"#/definitions/DFD"},"minecraft:behavior.jump_to_block":{"$ref":"#/definitions/DFE"},"minecraft:behavior.knockback_roar":{"$ref":"#/definitions/DFF"},"minecraft:behavior.lay_down":{"$ref":"#/definitions/DFG"},"minecraft:behavior.lay_egg":{"$ref":"#/definitions/DFH"},"minecraft:behavior.leap_at_target":{"$ref":"#/definitions/DFI"},"minecraft:behavior.look_at_entity":{"$ref":"#/definitions/DFJ"},"minecraft:behavior.look_at_player":{"$ref":"#/definitions/DGA"},"minecraft:behavior.look_at_target":{"$ref":"#/definitions/DGB"},"minecraft:behavior.look_at_trading_player":{"$ref":"#/definitions/DGC"},"minecraft:behavior.make_love":{"$ref":"#/definitions/DGD"},"minecraft:behavior.melee_attack":{"$ref":"#/definitions/DGE"},"minecraft:behavior.mingle":{"$ref":"#/definitions/DGF"},"minecraft:behavior.mount_pathing":{"$ref":"#/definitions/DGG"},"minecraft:behavior.move_indoors":{"$ref":"#/definitions/DGH"},"minecraft:behavior.move_outdoors":{"$ref":"#/definitions/DGI"},"minecraft:behavior.move_through_village":{"$ref":"#/definitions/DGJ"},"minecraft:behavior.move_to_block":{"$ref":"#/definitions/DHA"},"minecraft:behavior.move_to_land":{"$ref":"#/definitions/DHB"},"minecraft:behavior.move_to_lava":{"$ref":"#/definitions/DHC"},"minecraft:behavior.move_to_liquid":{"$ref":"#/definitions/DHD"},"minecraft:behavior.move_to_poi":{"$ref":"#/definitions/DHE"},"minecraft:behavior.move_to_random_block":{"$ref":"#/definitions/DHF"},"minecraft:behavior.move_to_village":{"$ref":"#/definitions/DHG"},"minecraft:behavior.move_to_water":{"$ref":"#/definitions/DHH"},"minecraft:behavior.move_towards_dwelling_restriction":{"$ref":"#/definitions/DHI"},"minecraft:behavior.move_towards_home_restriction":{"$ref":"#/definitions/DHJ"},"minecraft:behavior.move_towards_restriction":{"$ref":"#/definitions/DIA"},"minecraft:behavior.move_towards_target":{"$ref":"#/definitions/DIB"},"minecraft:behavior.nap":{"$ref":"#/definitions/DIC"},"minecraft:behavior.nearest_attackable_target":{"$ref":"#/definitions/DID"},"minecraft:behavior.nearest_prioritized_attackable_target":{"$ref":"#/definitions/DIE"},"minecraft:behavior.ocelot_sit_on_block":{"$ref":"#/definitions/DIF"},"minecraft:behavior.ocelotattack":{"$ref":"#/definitions/DIG"},"minecraft:behavior.offer_flower":{"$ref":"#/definitions/DIH"},"minecraft:behavior.open_door":{"$ref":"#/definitions/DII"},"minecraft:behavior.owner_hurt_by_target":{"$ref":"#/definitions/DIJ"},"minecraft:behavior.owner_hurt_target":{"$ref":"#/definitions/DJA"},"minecraft:behavior.panic":{"$ref":"#/definitions/DJB"},"minecraft:behavior.peek":{"$ref":"#/definitions/DJC"},"minecraft:behavior.pet_sleep_with_owner":{"$ref":"#/definitions/DJD"},"minecraft:behavior.pickup_items":{"$ref":"#/definitions/DJE"},"minecraft:behavior.play_dead":{"$ref":"#/definitions/DJF"},"minecraft:behavior.play":{"$ref":"#/definitions/DJG"},"minecraft:behavior.player_ride_tamed":{"$ref":"#/definitions/DJH"},"minecraft:behavior.raid_garden":{"$ref":"#/definitions/DJI"},"minecraft:behavior.ram_attack":{"$ref":"#/definitions/DJJ"},"minecraft:behavior.random_breach":{"$ref":"#/definitions/EAA"},"minecraft:behavior.random_fly":{"$ref":"#/definitions/EAB"},"minecraft:behavior.random_hover":{"$ref":"#/definitions/EAC"},"minecraft:behavior.random_look_around_and_sit":{"$ref":"#/definitions/EAD"},"minecraft:behavior.random_look_around":{"$ref":"#/definitions/EAE"},"minecraft:behavior.random_sitting":{"$ref":"#/definitions/EAF"},"minecraft:behavior.random_stroll":{"$ref":"#/definitions/EAG"},"minecraft:behavior.random_swim":{"$ref":"#/definitions/EAH"},"minecraft:behavior.ranged_attack":{"$ref":"#/definitions/EAI"},"minecraft:behavior.receive_love":{"$ref":"#/definitions/EAJ"},"minecraft:behavior.restrict_open_door":{"$ref":"#/definitions/EBA"},"minecraft:behavior.restrict_sun":{"$ref":"#/definitions/EBB"},"minecraft:behavior.rise_to_liquid_level":{"$ref":"#/definitions/EBC"},"minecraft:behavior.roar":{"$ref":"#/definitions/EBD"},"minecraft:behavior.roll":{"$ref":"#/definitions/EBE"},"minecraft:behavior.run_around_like_crazy":{"$ref":"#/definitions/EBF"},"minecraft:behavior.scared":{"$ref":"#/definitions/EBG"},"minecraft:behavior.send_event":{"$ref":"#/definitions/EBH"},"minecraft:behavior.share_items":{"$ref":"#/definitions/EBI"},"minecraft:behavior.silverfish_merge_with_stone":{"$ref":"#/definitions/EBJ"},"minecraft:behavior.silverfish_wake_up_friends":{"$ref":"#/definitions/ECA"},"minecraft:behavior.skeleton_horse_trap":{"$ref":"#/definitions/ECB"},"minecraft:behavior.sleep":{"$ref":"#/definitions/ECC"},"minecraft:behavior.slime_attack":{"$ref":"#/definitions/ECD"},"minecraft:behavior.slime_float":{"$ref":"#/definitions/ECE"},"minecraft:behavior.slime_keep_on_jumping":{"$ref":"#/definitions/ECF"},"minecraft:behavior.slime_random_direction":{"$ref":"#/definitions/ECG"},"minecraft:behavior.snacking":{"$ref":"#/definitions/ECH"},"minecraft:behavior.sneeze":{"$ref":"#/definitions/ECI"},"minecraft:behavior.sonic_boom":{"$ref":"#/definitions/ECJ"},"minecraft:behavior.squid_dive":{"$ref":"#/definitions/EDA"},"minecraft:behavior.squid_flee":{"$ref":"#/definitions/EDB"},"minecraft:behavior.squid_idle":{"$ref":"#/definitions/EDC"},"minecraft:behavior.squid_move_away_from_ground":{"$ref":"#/definitions/EDD"},"minecraft:behavior.squid_out_of_water":{"$ref":"#/definitions/EDE"},"minecraft:behavior.stalk_and_pounce_on_target":{"$ref":"#/definitions/EDF"},"minecraft:behavior.stay_near_noteblock":{"$ref":"#/definitions/EDG"},"minecraft:behavior.stay_while_sitting":{"$ref":"#/definitions/EDH"},"minecraft:behavior.stomp_attack":{"$ref":"#/definitions/EDI"},"minecraft:behavior.stomp_turtle_egg":{"$ref":"#/definitions/EDJ"},"minecraft:behavior.stroll_towards_village":{"$ref":"#/definitions/EEA"},"minecraft:behavior.summon_entity":{"$ref":"#/definitions/EEB"},"minecraft:behavior.swell":{"$ref":"#/definitions/EEC"},"minecraft:behavior.swim_idle":{"$ref":"#/definitions/EED"},"minecraft:behavior.swim_wander":{"$ref":"#/definitions/EEE"},"minecraft:behavior.swim_with_entity":{"$ref":"#/definitions/EEF"},"minecraft:behavior.swoop_attack":{"$ref":"#/definitions/EEG"},"minecraft:behavior.take_flower":{"$ref":"#/definitions/EEH"},"minecraft:behavior.target_when_pushed":{"$ref":"#/definitions/EEI"},"minecraft:behavior.tempt":{"$ref":"#/definitions/EEJ"},"minecraft:behavior.timer_flag_1":{"$ref":"#/definitions/EFA"},"minecraft:behavior.timer_flag_2":{"$ref":"#/definitions/EFA"},"minecraft:behavior.timer_flag_3":{"$ref":"#/definitions/EFA"},"minecraft:behavior.random_search_and_dig":{"$ref":"#/definitions/EFB"},"minecraft:behavior.trade_interest":{"$ref":"#/definitions/EFC"},"minecraft:behavior.trade_with_player":{"$ref":"#/definitions/EFD"},"minecraft:behavior.vex_copy_owner_target":{"$ref":"#/definitions/EFE"},"minecraft:behavior.vex_random_move":{"$ref":"#/definitions/EFF"},"minecraft:behavior.wither_random_attack_pos_goal":{"$ref":"#/definitions/EFG"},"minecraft:behavior.wither_target_highest_damage":{"$ref":"#/definitions/EFH"},"minecraft:behavior.work":{"$ref":"#/definitions/EFI"},"minecraft:behavior.work_composter":{"$ref":"#/definitions/EFJ"}}},"EGA_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"}}}},"EGA_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/BG"},"trigger":{"description":"Triggers additional events.","$comment":"UNDOCUMENTED","title":"Trigger","$ref":"#/definitions/BAI"},"add":{"$ref":"#/definitions/EGA_addremove","description":"What gets added when the event gets triggered.","title":"Add"},"remove":{"$ref":"#/definitions/EGA_addremove","description":"What gets removed when the event gets triggered.","title":"Remove"},"randomize":{"type":"array","description":"Randomly selects one of the following items based upon their weight and the total weights.","title":"Randomize","items":{"description":"Randomly selects one of the following items based upon their weight and the total weights.","title":"Randomize","examples":[{"add":{"component_groups":["foo:example"]},"weight":1}],"properties":{"add":{"$ref":"#/definitions/EGA_addremove","description":"What gets added when the event gets triggered.","title":"Add"},"remove":{"$ref":"#/definitions/EGA_addremove","description":"What gets removed when the event gets triggered.","title":"Remove"},"trigger":{"description":"Triggers additional events.","$comment":"UNDOCUMENTED","title":"Trigger","$ref":"#/definitions/BAI"},"weight":{"type":"number","default":1,"minimum":1,"description":"The weight on how likely this section is to trigger.","$comment":"UNDOCUMENTED","title":"Weight"}}}},"sequence":{"type":"array","description":"A series of filters and components to be added.","title":"Sequences","items":{"description":"Filters and components to be added.","title":"Sequence","type":"object","properties":{"add":{"$ref":"#/definitions/EGA_addremove","description":"What gets added when the event gets triggered.","title":"Add"},"remove":{"$ref":"#/definitions/EGA_addremove","description":"What gets removed when the event gets triggered.","title":"Remove"},"trigger":{"description":"Triggers additional events.","$comment":"UNDOCUMENTED","title":"Trigger","$ref":"#/definitions/BAI"},"filters":{"$ref":"#/definitions/BG"}}}},"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)"}]}}},"EGA":{"type":"object","title":"Events","description":"Events for entities.","additionalProperties":{"$ref":"#/definitions/EGA_event_base"},"properties":{"minecraft:entity_transformed":{"description":"Event called on an entity that transforms into another entity.","$ref":"#/definitions/EGA_event_base","title":"Entity Transformed"},"minecraft:entity_born":{"description":"Event called on an entity that is spawned through two entities breeding.","$ref":"#/definitions/EGA_event_base","title":"Entity Born"},"minecraft:entity_spawned":{"description":"Event called on an entity that is placed in the level.","$ref":"#/definitions/EGA_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/EGA_event_base","title":"On Prime"}}},"B":{"title":"Entity","required":["description"],"dependencies":{"component_groups":["events"]},"additionalProperties":false,"type":"object","properties":{"description":{"required":["identifier"],"title":"Description","description":"The description of the this entity.","properties":{"animations":{"title":"Animations","description":"Sets the mapping of internal animation / animation controllers references to actual animations. This is a JSON Object of name/animation pairs","type":"object","additionalProperties":{"title":"Animation / Controller","description":"The name of the animation controller / animation.","type":"string","examples":["animation.","controller."]}},"identifier":{"$ref":"#/definitions/C","description":"Sets the identifier for this entity's description.","title":"Identifier"},"is_spawnable":{"type":"boolean","title":"Is Spawnable","description":"Sets whether or not this entity has a spawn egg in the creative ui.","default":false},"is_summonable":{"type":"boolean","title":"Is Summonable Property","description":"Sets whether or not we can summon this entity using commands such as /summon.","default":true},"is_experimental":{"type":"boolean","title":"Is Experimental","description":"Sets whether or not this entity is experimental. Experimental entities are only enabled when the experimental toggle is enabled.","default":false},"properties":{"title":"Experimental","description":"Experimental","type":"object","additionalProperties":{"type":"object","required":["type"],"properties":{"type":{"title":"Type","description":"The type of the property.","enum":["bool","int","float","enum"]},"client_sync":{"title":"Client Sync","description":"Sets whether or not the property is synced to the client.","type":"boolean","default":false}},"oneOf":[{"properties":{"type":{"const":"bool"},"default":{"title":"Default","description":"The default value of the property.","$ref":"#/definitions/D"}}},{"properties":{"type":{"const":"int"},"default":{"title":"Default","description":"The default value of the property.","$ref":"#/definitions/E"},"range":{"title":"Range","description":"The range of the property.","type":"array","items":[{"title":"Min","type":"integer","description":"The minimum value of the property."},{"title":"Max","type":"integer","description":"The minimum value of the property."}]}}},{"properties":{"type":{"const":"float"},"default":{"title":"Default","description":"The default value of the property.","$ref":"#/definitions/E"},"range":{"title":"Range","description":"The range of the property.","type":"array","items":[{"title":"Min","type":"number","description":"The minimum value of the property."},{"title":"Max","type":"number","description":"The minimum value of the property."}]}}},{"properties":{"type":{"const":"enum"},"default":{"type":"string"},"client_sync":{"title":"Client Sync","description":"Sets whether or not the property is synced to the client.","type":"boolean","default":false},"values":{"title":"Values","description":"The values of the property.","type":"array","minItems":1,"items":{"type":"string"}}}}]}},"runtime_identifier":{"type":"string","title":"Runtime Identifier","description":"Sets the name for the Vanilla Minecraft identifier this entity will use to build itself from.","examples":["minecraft:"]},"scripts":{"type":"object","title":"Scripts","description":"Sets the mapping of internal animation controller references to actual animation controller. This is a JSON Array of name/animation-controller pairs","properties":{"animate":{"type":"array","title":"Animate","description":"Tells minecraft to run which animation / animation controllers and under what conditions.","items":{"oneOf":[{"type":"string","title":"Animation","description":"The name of an animation controller referenced in animations."},{"type":"object","title":"Conditional Animation","description":"A conditional statement to run the animation under a specified condition.","$comment":"UNDOCUMENTED","additionalProperties":{"type":"string","title":"Animation"}}]}}}}}},"component_groups":{"title":"Component Groups","description":"Each group when add / remove the default components.","uniqueItems":true,"type":"object","propertyNames":{"examples":["self:"]},"additionalProperties":{"$ref":"#/definitions/F","uniqueItems":true,"description":"The components that are added as the foundation of the entity.","title":"Component"}},"components":{"$ref":"#/definitions/F","uniqueItems":true,"description":"The components that are added as the foundation of the entity.","title":"Component"},"events":{"$ref":"#/definitions/EGA","uniqueItems":true,"description":"The events that the entity can run, these add or remove components_groups.","title":"Events"}}}}} \ No newline at end of file diff --git a/behavior/feature_rules/feature_rules.json b/behavior/feature_rules/feature_rules.json index 2155955e..3d0a11b6 100644 --- a/behavior/feature_rules/feature_rules.json +++ b/behavior/feature_rules/feature_rules.json @@ -1 +1 @@ -{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.behavior.feature_rules","examples":[{"format_version":"1.20.0","minecraft:feature_rules":{"minecraft:ore_feature":{"description":{"identifier":"example:foo","places_feature":"minecraft:legacy:birch_forest_tree_feature"},"conditions":{}}}}],"allOf":[{"if":{"properties":{"format_version":{"type":"string","const":"1.13.0"}}},"then":{"$ref":"#/definitions/A"}},{"properties":{"format_version":{"$ref":"#/definitions/JB"}}}],"definitions":{"A_coord_dist":{"title":"","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","oneOf":[{"$ref":"#/definitions/B","description":"Expression for the coordinate (evaluated each iteration). Mutually exclusive with random distribution object below."},{"type":"object","description":"Distribution for the coordinate (evaluated each iteration). Mutually exclusive with Molang expression above.","additionalProperties":false,"examples":[{"numerator":1,"denominator":1}],"properties":{"numerator":{"title":"Numerator","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"number","minimum":1},"denominator":{"title":"Denominator","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"number","minimum":1}}}]},"B":{"title":"Molang Number","description":"The minecraft molang definition that results in a float.","anyOf":[{"type":"string","minLength":0},{"type":"number"}],"examples":[0,"query.variant","(1.0)","query.","variable.=;"],"defaultSnippets":[{"label":"New Molang","body":"$1"}]},"C":{"description":"A minecraft feature identifier.","examples":["namespace:feature"],"pattern":"^[0-9a-zA-Z:_\\.\\-]+$","title":"Feature Identifier","type":"string","defaultSnippets":[{"label":"New Identifier","body":"$1:$2"}]},"D_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/D_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/D_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/D_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/D_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/D_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/D_groups_spec"}},"allOf":[{"if":{"properties":{"test":{"const":"actor_health"}}},"then":{"$ref":"#/definitions/E"}},{"if":{"properties":{"test":{"const":"all_slots_empty"}}},"then":{"$ref":"#/definitions/H"}},{"if":{"properties":{"test":{"const":"any_slots_empty"}}},"then":{"$ref":"#/definitions/J"}},{"if":{"properties":{"test":{"const":"bool_property"}}},"then":{"$ref":"#/definitions/BA"}},{"if":{"properties":{"test":{"const":"clock_time"}}},"then":{"$ref":"#/definitions/BB"}},{"if":{"properties":{"test":{"const":"distance_to_nearest_player"}}},"then":{"$ref":"#/definitions/BC"}},{"if":{"properties":{"test":{"const":"enum_property"}}},"then":{"$ref":"#/definitions/BD"}},{"if":{"properties":{"test":{"const":"float_property"}}},"then":{"$ref":"#/definitions/BE"}},{"if":{"properties":{"test":{"const":"has_ability"}}},"then":{"$ref":"#/definitions/BF"}},{"if":{"properties":{"test":{"const":"has_biome_tag"}}},"then":{"$ref":"#/definitions/BG"}},{"if":{"properties":{"test":{"const":"has_component"}}},"then":{"$ref":"#/definitions/BH"}},{"if":{"properties":{"test":{"const":"has_container_open"}}},"then":{"$ref":"#/definitions/BI"}},{"if":{"properties":{"test":{"const":"has_damage"}}},"then":{"$ref":"#/definitions/BJ"}},{"if":{"properties":{"test":{"const":"has_equipment"}}},"then":{"$ref":"#/definitions/CB"}},{"if":{"properties":{"test":{"const":"has_mob_effect"}}},"then":{"$ref":"#/definitions/CD"}},{"if":{"properties":{"test":{"const":"has_nametag"}}},"then":{"$ref":"#/definitions/CE"}},{"if":{"properties":{"test":{"const":"has_property"}}},"then":{"$ref":"#/definitions/CF"}},{"if":{"properties":{"test":{"const":"has_ranged_weapon"}}},"then":{"$ref":"#/definitions/CG"}},{"if":{"properties":{"test":{"const":"has_silk_touch"}}},"then":{"$ref":"#/definitions/CH"}},{"if":{"properties":{"test":{"const":"has_tag"}}},"then":{"$ref":"#/definitions/CI"}},{"if":{"properties":{"test":{"const":"has_target"}}},"then":{"$ref":"#/definitions/CJ"}},{"if":{"properties":{"test":{"const":"has_trade_supply"}}},"then":{"$ref":"#/definitions/DA"}},{"if":{"properties":{"test":{"const":"hourly_clock_time"}}},"then":{"$ref":"#/definitions/DB"}},{"if":{"properties":{"test":{"const":"in_block"}}},"then":{"$ref":"#/definitions/DC"}},{"if":{"properties":{"test":{"const":"in_caravan"}}},"then":{"$ref":"#/definitions/DD"}},{"if":{"properties":{"test":{"const":"in_clouds"}}},"then":{"$ref":"#/definitions/DE"}},{"if":{"properties":{"test":{"const":"in_contact_with_water"}}},"then":{"$ref":"#/definitions/DF"}},{"if":{"properties":{"test":{"const":"in_lava"}}},"then":{"$ref":"#/definitions/DG"}},{"if":{"properties":{"test":{"const":"in_nether"}}},"then":{"$ref":"#/definitions/DH"}},{"if":{"properties":{"test":{"const":"in_overworld"}}},"then":{"$ref":"#/definitions/DI"}},{"if":{"properties":{"test":{"const":"in_water_or_rain"}}},"then":{"$ref":"#/definitions/DJ"}},{"if":{"properties":{"test":{"const":"in_water"}}},"then":{"$ref":"#/definitions/EA"}},{"if":{"properties":{"test":{"const":"inactivity_timer"}}},"then":{"$ref":"#/definitions/EB"}},{"if":{"properties":{"test":{"const":"int_property"}}},"then":{"$ref":"#/definitions/EC"}},{"if":{"properties":{"test":{"const":"is_altitude"}}},"then":{"$ref":"#/definitions/ED"}},{"if":{"properties":{"test":{"const":"is_avoiding_mobs"}}},"then":{"$ref":"#/definitions/EE"}},{"if":{"properties":{"test":{"const":"is_biome"}}},"then":{"$ref":"#/definitions/EF"}},{"if":{"properties":{"test":{"const":"is_block"}}},"then":{"$ref":"#/definitions/EG"}},{"if":{"properties":{"test":{"const":"is_brightness"}}},"then":{"$ref":"#/definitions/EH"}},{"if":{"properties":{"test":{"const":"is_climbing"}}},"then":{"$ref":"#/definitions/EI"}},{"if":{"properties":{"test":{"const":"is_color"}}},"then":{"$ref":"#/definitions/EJ"}},{"if":{"properties":{"test":{"const":"is_daytime"}}},"then":{"$ref":"#/definitions/FA"}},{"if":{"properties":{"test":{"const":"is_difficulty"}}},"then":{"$ref":"#/definitions/FB"}},{"if":{"properties":{"test":{"const":"is_family"}}},"then":{"$ref":"#/definitions/FC"}},{"if":{"properties":{"test":{"const":"is_game_rule"}}},"then":{"$ref":"#/definitions/FD"}},{"if":{"properties":{"test":{"const":"is_humid"}}},"then":{"$ref":"#/definitions/FE"}},{"if":{"properties":{"test":{"const":"is_immobile"}}},"then":{"$ref":"#/definitions/FF"}},{"if":{"properties":{"test":{"const":"is_in_village"}}},"then":{"$ref":"#/definitions/FG"}},{"if":{"properties":{"test":{"const":"is_leashed_to"}}},"then":{"$ref":"#/definitions/FH"}},{"if":{"properties":{"test":{"const":"is_leashed"}}},"then":{"$ref":"#/definitions/FI"}},{"if":{"properties":{"test":{"const":"is_mark_variant"}}},"then":{"$ref":"#/definitions/FJ"}},{"if":{"properties":{"test":{"const":"is_missing_health"}}},"then":{"$ref":"#/definitions/GA"}},{"if":{"properties":{"test":{"const":"is_moving"}}},"then":{"$ref":"#/definitions/GB"}},{"if":{"properties":{"test":{"const":"is_owner"}}},"then":{"$ref":"#/definitions/GC"}},{"if":{"properties":{"test":{"const":"is_persistent"}}},"then":{"$ref":"#/definitions/GD"}},{"if":{"properties":{"test":{"const":"is_riding"}}},"then":{"$ref":"#/definitions/GE"}},{"if":{"properties":{"test":{"const":"is_skin_id"}}},"then":{"$ref":"#/definitions/GF"}},{"if":{"properties":{"test":{"const":"is_sleeping"}}},"then":{"$ref":"#/definitions/GG"}},{"if":{"properties":{"test":{"const":"is_sneak_held"}}},"then":{"$ref":"#/definitions/GH"}},{"if":{"properties":{"test":{"const":"is_sneaking"}}},"then":{"$ref":"#/definitions/GI"}},{"if":{"properties":{"test":{"const":"is_snow_covered"}}},"then":{"$ref":"#/definitions/GJ"}},{"if":{"properties":{"test":{"const":"is_target"}}},"then":{"$ref":"#/definitions/HA"}},{"if":{"properties":{"test":{"const":"is_temperature_type"}}},"then":{"$ref":"#/definitions/HB"}},{"if":{"properties":{"test":{"const":"is_temperature_value"}}},"then":{"$ref":"#/definitions/HC"}},{"if":{"properties":{"test":{"const":"is_underground"}}},"then":{"$ref":"#/definitions/HD"}},{"if":{"properties":{"test":{"const":"is_underwater"}}},"then":{"$ref":"#/definitions/HE"}},{"if":{"properties":{"test":{"const":"is_variant"}}},"then":{"$ref":"#/definitions/HF"}},{"if":{"properties":{"test":{"const":"is_visible"}}},"then":{"$ref":"#/definitions/HG"}},{"if":{"properties":{"test":{"const":"is_waterlogged"}}},"then":{"$ref":"#/definitions/HH"}},{"if":{"properties":{"test":{"const":"light_level"}}},"then":{"$ref":"#/definitions/HI"}},{"if":{"properties":{"test":{"const":"moon_intensity"}}},"then":{"$ref":"#/definitions/HJ"}},{"if":{"properties":{"test":{"const":"moon_phase"}}},"then":{"$ref":"#/definitions/IA"}},{"if":{"properties":{"test":{"const":"on_ground"}}},"then":{"$ref":"#/definitions/IB"}},{"if":{"properties":{"test":{"const":"on_ladder"}}},"then":{"$ref":"#/definitions/IC"}},{"if":{"properties":{"test":{"const":"random_chance"}}},"then":{"$ref":"#/definitions/ID"}},{"if":{"properties":{"test":{"const":"rider_count"}}},"then":{"$ref":"#/definitions/IE"}},{"if":{"properties":{"test":{"const":"surface_mob"}}},"then":{"$ref":"#/definitions/IF"}},{"if":{"properties":{"test":{"const":"taking_fire_damage"}}},"then":{"$ref":"#/definitions/IG"}},{"if":{"properties":{"test":{"const":"target_distance"}}},"then":{"$ref":"#/definitions/IH"}},{"if":{"properties":{"test":{"const":"trusts"}}},"then":{"$ref":"#/definitions/II"}},{"if":{"properties":{"test":{"const":"weather_at_position"}}},"then":{"$ref":"#/definitions/IJ"}},{"if":{"properties":{"test":{"const":"weather"}}},"then":{"$ref":"#/definitions/JA"}},{"not":{"properties":{"test":{"const":"is_weather"}},"$comment":"DEPRECATED"}}]}]},"D_groups_spec":{"oneOf":[{"type":"array","items":{"$ref":"#/definitions/D_groups_spec"}},{"type":"object","$ref":"#/definitions/D_filters_spec"}]},"F":{"title":"Operator","type":"string","description":"The comparison to apply with `value`.","default":"equals","enum":["!=","<","<=","<>","=","==",">",">=","equals","not"]},"G":{"title":"Subject","type":"string","description":"The subject of this filter test.","default":"self","enum":["block","other","parent","player","self","target","damager"]},"E":{"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/F","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","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]}}},"I":{"title":"Equipment Location","type":"string","description":"The equipment location to test.","default":"self","enum":["any","armor","feet","hand","head","inventory","leg","torse"]},"H":{"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/F","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","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/I"}}},"J":{"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/F","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","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/I"}}},"BA":{"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/F","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"boolean","default":true,"title":"Value","description":"true or false."}}},"BB":{"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/F","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","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]}}},"BC":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"number","description":"(Required) A floating point value.","title":"Value"}}},"BD":{"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/F","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"string","title":"Value","description":"(Required) A string value."}}},"BE":{"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/F","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"number","title":"Value","description":"(Required) A floating point value."}}},"BF":{"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/F"},"subject":{"$ref":"#/definitions/G"},"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"}]},"BG":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"(Required) The tag to look for.","type":"string","title":"Value"}},"examples":[{"test":"has_biome_tag","value":"monster"}]},"BH":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"string","description":"(Required) The component name to look for.","title":"Value"}},"examples":[{"test":"has_component","value":"minecraft:explode"}]},"BI":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"(Optional) true or false.","title":"Value","type":"boolean","default":true}},"examples":[{"test":"has_container_open","value":true}]},"CA":{"title":"Entity Damage Source","description":"The types of damage an entity can receive.","type":"string","enum":["all","anvil","attack","block_explosion","charging","contact","drowning","entity_attack","entity_explosion","fall","falling_block","fatal","fire_tick","fire","fireworks","fly_into_wall","freezing","lava","lightning","magic","magma","none","override","piston","projectile","sonic_boom","stalactite","stalagmite","starve","suffocation","suicide","temperature","thorns","void","wither"]},"BJ":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"string","description":"The Damage type to test.","$ref":"#/definitions/CA","title":"Value"}}},"CC":{"description":"A minecraft item identifier.","pattern":"^[0-9a-zA-Z:_\\-\\.]+$","title":"Item Identifier","type":"string","defaultSnippets":[{"label":"New Identifier","body":"$1:$2"}]},"CB":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The item name to look for.","type":"string","$ref":"#/definitions/CC","title":"Value"}},"examples":[{"test":"has_equipment","value":"example"}]},"CD":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"string","description":"The specified mob effect.","title":"Value"}},"examples":[{"test":"has_mob_effect","value":"bad_omen"}]},"CE":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The namtag to look for","type":"boolean","title":"Value"}},"examples":[{"test":"has_nametag","value":false},{"test":"has_nametag","value":true}]},"CF":{"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/F","description":"(Optionall) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","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."}}},"CG":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"has_ranged_weapon","value":true}]},"CH":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"has_silk_touch","subject":"other","value":true}]},"CI":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"string","description":"The tag as a string.","pattern":"[a-zA-Z0-9_]+","title":"Value"}},"examples":[{"test":"has_tag","value":"example"}]},"CJ":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"has_target","value":true}]},"DA":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"has_trade_supply","value":true}]},"DB":{"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/F"},"subject":{"$ref":"#/definitions/G"},"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}]},"DC":{"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/F","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","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"}]},"DD":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_caravan","value":true}]},"DE":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_clouds","value":true}]},"DF":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"(Optional) true or false.","type":"boolean","default":true}},"examples":[{"test":"in_contact_with_water","value":true}]},"DG":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_lava","value":true}]},"DH":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"in_nether","value":true}]},"DI":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"in_overworld","value":true},{"test":"in_overworld"}]},"DJ":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_water_or_rain","value":true}]},"EA":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_water","value":true}]},"EB":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The Family name to look for.","type":"integer","title":"Value"}},"examples":[{"test":"inactivity_timer","value":0}]},"EC":{"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/F","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"integer","title":"Value","description":"(Required) A integer value."}}},"ED":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"integer","description":"The altitude value to compare with.","minimum":0,"title":"Value"}},"examples":[{"test":"example","value":0}]},"EE":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"example","value":true}]},"EF":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The Biome type to test.","type":"string","enum":["beach","desert","extreme_hills","flat","forest","ice","jungle","mesa","mushroom_island","ocean","plain","river","savanna","stone_beach","swamp","taiga","the_end","the_nether"],"title":"Value"}},"examples":[{"test":"is_biome","value":"beach"}]},"EG":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The Family name to look for.","type":"string","title":"Value"}},"examples":[{"test":"is_block","subject":"block","value":"minecraft:sweet_berry_bush"}]},"EH":{"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/F"},"subject":{"$ref":"#/definitions/G"},"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}]},"EI":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_climbing","value":true}]},"EJ":{"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/F"},"subject":{"$ref":"#/definitions/G"},"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"}]},"FA":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_daytime","value":true}]},"FB":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The game's difficulty level to test.","type":"string","enum":["easy","hard","normal","peaceful"],"title":"Value"}},"examples":[{"test":"is_difficulty","value":"easy"}]},"FC":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The Family name to look for.","type":"string","title":"Value"}},"examples":[{"test":"is_family","value":"monster"}]},"FD":{"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/F"},"subject":{"$ref":"#/definitions/G"},"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}]},"FE":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_humid","value":true}]},"FF":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_immobile","value":true}]},"FG":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_in_village","value":true}]},"FH":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"is_leashed_to","value":true}]},"FI":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_leashed","value":true}]},"FJ":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"integer","description":"The altitude value to compare with.","title":"Value"}},"examples":[{"test":"is_mark_variant","value":0}]},"GA":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"is_missing_health","value":true}]},"GB":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_moving","value":true}]},"GC":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_owner","value":true}]},"GD":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"is_persistent","value":true}]},"GE":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_riding","value":true}]},"GF":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"integer","description":"The altitude value to compare with.","title":"Value"}},"examples":[{"test":"is_skin_id","value":0}]},"GG":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"is_sleeping","value":true}]},"GH":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_sneak_held","value":true}]},"GI":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_sneaking","value":true}]},"GJ":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_snow_covered","value":true}]},"HA":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_target","value":true}]},"HB":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The Biome temperature catagory to test.","type":"string","enum":["cold","mild","ocean","warm"],"title":"Value"}},"examples":[{"test":"is_temperature_type","value":"cold"}]},"HC":{"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/F"},"subject":{"$ref":"#/definitions/G"},"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}]},"HD":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_underground","value":true}]},"HE":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_underwater","value":true}]},"HF":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"integer","description":"The altitude value to compare with.","title":"Value"}},"examples":[{"test":"is_variant","value":0}]},"HG":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_visible","value":true}]},"HH":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"true or false.","type":"boolean","title":"Value"}},"examples":[{"test":"light_level","value":0}]},"HI":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"An integer value.","type":"integer","title":"Value","minimum":0,"maximum":16}},"examples":[{"test":"light_level","value":0}]},"HJ":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"A floating point value.","type":"number","minimum":0,"maximum":1,"title":"Value"}},"examples":[{"test":"moon_intensity","value":0.0}]},"IA":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"integer","description":"An integer value.","minimum":0,"maximum":7,"title":"Value"}},"examples":[{"test":"moon_phase","value":0}]},"IB":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"on_ground","value":true}]},"IC":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"on_ladder","value":true}]},"ID":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"An integer value.","type":"integer","title":"Value"}},"examples":[{"test":"random_chance","value":0}]},"IE":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"An integer value.","type":"integer","title":"Value"}},"examples":[{"test":"rider_count","value":0}]},"IF":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"surface_mob","value":true}]},"IG":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"taking_fire_damage","value":true},{"test":"taking_fire_damage"}]},"IH":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"(Required) A floating point value.","type":"number","default":true,"title":"Value"}}},"II":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"trusts","value":true}]},"IJ":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The Family name to look for.","type":"string","title":"Value","examples":["thunderstorm"]}},"examples":[{"test":"weather_at_position","value":"thunderstorm"}]},"JA":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The Family name to look for.","type":"string","title":"Value","examples":["clear","thunderstorm"]}},"examples":[{"test":"weather","value":"clear"}]},"D":{"title":"Filters","$ref":"#/definitions/D_groups_spec","examples":[{"test":"is_family","subject":"other","value":"example"},{"test":"has_tag","value":"example"},[]]},"A":{"type":"object","title":"Feature Rules 1.13.0","description":"Each feature rule controls exactly one feature and serves as the root of a chain of feature data.","additionalProperties":false,"required":["format_version","minecraft:feature_rules"],"minProperties":2,"maxProperties":2,"properties":{"format_version":{"const":"1.13.0","description":"Specifies the version of the game this entity was made in. Minimum supported version is 1.13.0. Current supported version is 1.13.0.","title":"Format Version"},"minecraft:feature_rules":{"title":"Feature rules","description":"Each feature rule controls exactly one feature and serves as the root of a chain of feature data.","type":"object","additionalProperties":false,"required":["description","conditions"],"properties":{"description":{"title":"Description","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"required":["identifier","places_feature"],"properties":{"identifier":{"title":"Identifier","description":"The name of this feature in the form `namespace_name:feature_name`. `feature_name` must match the filename.","type":"string","$ref":"#/definitions/C"},"places_feature":{"title":"Places Feature","description":"Named reference to the feature controlled by this rule.","type":"string"}}},"conditions":{"title":"Conditions","description":"Parameters to control where and when the feature will be placed.","type":"object","additionalProperties":false,"required":["placement_pass"],"properties":{"placement_pass":{"title":"Placement pass","description":"When the feature should be placed relative to others. Earlier passes in the list are guaranteed to occur before later passes. Order is not guaranteed within each pass.","type":"string","enum":["pregeneration_pass","first_pass","before_underground_pass","underground_pass","after_underground_pass","before_surface_pass","surface_pass","after_surface_pass","before_sky_pass","sky_pass","after_sky_pass","final_pass"]},"minecraft:biome_filter":{"title":"Placement pass","description":"List of filter tests to determine which biomes this rule will attach to.","$ref":"#/definitions/D"}}},"distribution":{"title":"Distribution","description":"Parameters controlling the initial scatter of the feature.","type":"object","additionalProperties":false,"required":["iterations"],"properties":{"coordinate_eval_order":{"title":"Coordinate Eval Order","description":"The order in which coordinates will be evaluated. Should be used when a coordinate depends on another. If omitted, defaults to `xzy`.","type":"string","enum":["xyz","xzy","yxz","yzx","zxy","zyx"]},"iterations":{"title":"Iterations","description":"Number of scattered positions to generate.","$ref":"#/definitions/B"},"scatter_chance":{"title":"Scatter Chance","oneOf":[{"$ref":"#/definitions/B","description":"Probability (0-100] that this scatter will occur. Not evaluated each iteration; either no iterations will run, or all will."},{"type":"object","description":"Probability numerator / denominator that this scatter will occur. Not evaluated each iteration; either no iterations will run, or all will.","additionalProperties":false,"properties":{"numerator":{"title":"Numerator","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"number","minimum":1},"denominator":{"title":"Denominator","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"number","minimum":1}}}]},"x":{"title":"X","$ref":"#/definitions/A_coord_dist"},"z":{"title":"Y","$ref":"#/definitions/A_coord_dist"},"y":{"title":"Z","$ref":"#/definitions/A_coord_dist"}}}}}}},"JB":{"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.10","examples":["1.20.10","1.19.0","1.18.0","1.17.0","1.16.0","1.15.0","1.14.0","1.13.0","1.12.0","1.10.0","1.8.0"],"defaultSnippets":[{"label":"New Format version","body":"1.${1|8,10,12,17,18,19,20|}.${3|2|0|}"}]}}} \ No newline at end of file +{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.behavior.feature_rules","examples":[{"format_version":"1.20.0","minecraft:feature_rules":{"minecraft:ore_feature":{"description":{"identifier":"example:foo","places_feature":"minecraft:legacy:birch_forest_tree_feature"},"conditions":{}}}}],"allOf":[{"if":{"properties":{"format_version":{"type":"string","const":"1.13.0"}}},"then":{"$ref":"#/definitions/A"}},{"properties":{"format_version":{"$ref":"#/definitions/JB"}}}],"definitions":{"A_coord_dist":{"title":"","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","oneOf":[{"$ref":"#/definitions/B","description":"Expression for the coordinate (evaluated each iteration). Mutually exclusive with random distribution object below."},{"type":"object","description":"Distribution for the coordinate (evaluated each iteration). Mutually exclusive with Molang expression above.","additionalProperties":false,"examples":[{"numerator":1,"denominator":1}],"properties":{"numerator":{"title":"Numerator","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"number","minimum":1},"denominator":{"title":"Denominator","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"number","minimum":1}}}]},"B":{"title":"Molang Number","description":"The minecraft molang definition that results in a float.","anyOf":[{"type":"string","minLength":0},{"type":"number"}],"examples":[0,"query.variant","(1.0)","query.","variable.=;"],"defaultSnippets":[{"label":"New Molang","body":"$1"}]},"C":{"description":"A minecraft feature identifier.","examples":["namespace:feature"],"pattern":"^[0-9a-zA-Z:_\\.\\-]+$","title":"Feature Identifier","type":"string","defaultSnippets":[{"label":"New Identifier","body":"$1:$2"}]},"D_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/D_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/D_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/D_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/D_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/D_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/D_groups_spec"}},"allOf":[{"if":{"properties":{"test":{"const":"actor_health"}}},"then":{"$ref":"#/definitions/E"}},{"if":{"properties":{"test":{"const":"all_slots_empty"}}},"then":{"$ref":"#/definitions/H"}},{"if":{"properties":{"test":{"const":"any_slots_empty"}}},"then":{"$ref":"#/definitions/J"}},{"if":{"properties":{"test":{"const":"bool_property"}}},"then":{"$ref":"#/definitions/BA"}},{"if":{"properties":{"test":{"const":"clock_time"}}},"then":{"$ref":"#/definitions/BB"}},{"if":{"properties":{"test":{"const":"distance_to_nearest_player"}}},"then":{"$ref":"#/definitions/BC"}},{"if":{"properties":{"test":{"const":"enum_property"}}},"then":{"$ref":"#/definitions/BD"}},{"if":{"properties":{"test":{"const":"float_property"}}},"then":{"$ref":"#/definitions/BE"}},{"if":{"properties":{"test":{"const":"has_ability"}}},"then":{"$ref":"#/definitions/BF"}},{"if":{"properties":{"test":{"const":"has_biome_tag"}}},"then":{"$ref":"#/definitions/BG"}},{"if":{"properties":{"test":{"const":"has_component"}}},"then":{"$ref":"#/definitions/BH"}},{"if":{"properties":{"test":{"const":"has_container_open"}}},"then":{"$ref":"#/definitions/BI"}},{"if":{"properties":{"test":{"const":"has_damage"}}},"then":{"$ref":"#/definitions/BJ"}},{"if":{"properties":{"test":{"const":"has_equipment"}}},"then":{"$ref":"#/definitions/CB"}},{"if":{"properties":{"test":{"const":"has_mob_effect"}}},"then":{"$ref":"#/definitions/CD"}},{"if":{"properties":{"test":{"const":"has_nametag"}}},"then":{"$ref":"#/definitions/CE"}},{"if":{"properties":{"test":{"const":"has_property"}}},"then":{"$ref":"#/definitions/CF"}},{"if":{"properties":{"test":{"const":"has_ranged_weapon"}}},"then":{"$ref":"#/definitions/CG"}},{"if":{"properties":{"test":{"const":"has_silk_touch"}}},"then":{"$ref":"#/definitions/CH"}},{"if":{"properties":{"test":{"const":"has_tag"}}},"then":{"$ref":"#/definitions/CI"}},{"if":{"properties":{"test":{"const":"has_target"}}},"then":{"$ref":"#/definitions/CJ"}},{"if":{"properties":{"test":{"const":"has_trade_supply"}}},"then":{"$ref":"#/definitions/DA"}},{"if":{"properties":{"test":{"const":"hourly_clock_time"}}},"then":{"$ref":"#/definitions/DB"}},{"if":{"properties":{"test":{"const":"in_block"}}},"then":{"$ref":"#/definitions/DC"}},{"if":{"properties":{"test":{"const":"in_caravan"}}},"then":{"$ref":"#/definitions/DD"}},{"if":{"properties":{"test":{"const":"in_clouds"}}},"then":{"$ref":"#/definitions/DE"}},{"if":{"properties":{"test":{"const":"in_contact_with_water"}}},"then":{"$ref":"#/definitions/DF"}},{"if":{"properties":{"test":{"const":"in_lava"}}},"then":{"$ref":"#/definitions/DG"}},{"if":{"properties":{"test":{"const":"in_nether"}}},"then":{"$ref":"#/definitions/DH"}},{"if":{"properties":{"test":{"const":"in_overworld"}}},"then":{"$ref":"#/definitions/DI"}},{"if":{"properties":{"test":{"const":"in_water_or_rain"}}},"then":{"$ref":"#/definitions/DJ"}},{"if":{"properties":{"test":{"const":"in_water"}}},"then":{"$ref":"#/definitions/EA"}},{"if":{"properties":{"test":{"const":"inactivity_timer"}}},"then":{"$ref":"#/definitions/EB"}},{"if":{"properties":{"test":{"const":"int_property"}}},"then":{"$ref":"#/definitions/EC"}},{"if":{"properties":{"test":{"const":"is_altitude"}}},"then":{"$ref":"#/definitions/ED"}},{"if":{"properties":{"test":{"const":"is_avoiding_mobs"}}},"then":{"$ref":"#/definitions/EE"}},{"if":{"properties":{"test":{"const":"is_biome"}}},"then":{"$ref":"#/definitions/EF"}},{"if":{"properties":{"test":{"const":"is_block"}}},"then":{"$ref":"#/definitions/EG"}},{"if":{"properties":{"test":{"const":"is_brightness"}}},"then":{"$ref":"#/definitions/EH"}},{"if":{"properties":{"test":{"const":"is_climbing"}}},"then":{"$ref":"#/definitions/EI"}},{"if":{"properties":{"test":{"const":"is_color"}}},"then":{"$ref":"#/definitions/EJ"}},{"if":{"properties":{"test":{"const":"is_daytime"}}},"then":{"$ref":"#/definitions/FA"}},{"if":{"properties":{"test":{"const":"is_difficulty"}}},"then":{"$ref":"#/definitions/FB"}},{"if":{"properties":{"test":{"const":"is_family"}}},"then":{"$ref":"#/definitions/FC"}},{"if":{"properties":{"test":{"const":"is_game_rule"}}},"then":{"$ref":"#/definitions/FD"}},{"if":{"properties":{"test":{"const":"is_humid"}}},"then":{"$ref":"#/definitions/FE"}},{"if":{"properties":{"test":{"const":"is_immobile"}}},"then":{"$ref":"#/definitions/FF"}},{"if":{"properties":{"test":{"const":"is_in_village"}}},"then":{"$ref":"#/definitions/FG"}},{"if":{"properties":{"test":{"const":"is_leashed_to"}}},"then":{"$ref":"#/definitions/FH"}},{"if":{"properties":{"test":{"const":"is_leashed"}}},"then":{"$ref":"#/definitions/FI"}},{"if":{"properties":{"test":{"const":"is_mark_variant"}}},"then":{"$ref":"#/definitions/FJ"}},{"if":{"properties":{"test":{"const":"is_missing_health"}}},"then":{"$ref":"#/definitions/GA"}},{"if":{"properties":{"test":{"const":"is_moving"}}},"then":{"$ref":"#/definitions/GB"}},{"if":{"properties":{"test":{"const":"is_owner"}}},"then":{"$ref":"#/definitions/GC"}},{"if":{"properties":{"test":{"const":"is_persistent"}}},"then":{"$ref":"#/definitions/GD"}},{"if":{"properties":{"test":{"const":"is_riding"}}},"then":{"$ref":"#/definitions/GE"}},{"if":{"properties":{"test":{"const":"is_skin_id"}}},"then":{"$ref":"#/definitions/GF"}},{"if":{"properties":{"test":{"const":"is_sleeping"}}},"then":{"$ref":"#/definitions/GG"}},{"if":{"properties":{"test":{"const":"is_sneak_held"}}},"then":{"$ref":"#/definitions/GH"}},{"if":{"properties":{"test":{"const":"is_sneaking"}}},"then":{"$ref":"#/definitions/GI"}},{"if":{"properties":{"test":{"const":"is_snow_covered"}}},"then":{"$ref":"#/definitions/GJ"}},{"if":{"properties":{"test":{"const":"is_target"}}},"then":{"$ref":"#/definitions/HA"}},{"if":{"properties":{"test":{"const":"is_temperature_type"}}},"then":{"$ref":"#/definitions/HB"}},{"if":{"properties":{"test":{"const":"is_temperature_value"}}},"then":{"$ref":"#/definitions/HC"}},{"if":{"properties":{"test":{"const":"is_underground"}}},"then":{"$ref":"#/definitions/HD"}},{"if":{"properties":{"test":{"const":"is_underwater"}}},"then":{"$ref":"#/definitions/HE"}},{"if":{"properties":{"test":{"const":"is_variant"}}},"then":{"$ref":"#/definitions/HF"}},{"if":{"properties":{"test":{"const":"is_visible"}}},"then":{"$ref":"#/definitions/HG"}},{"if":{"properties":{"test":{"const":"is_waterlogged"}}},"then":{"$ref":"#/definitions/HH"}},{"if":{"properties":{"test":{"const":"light_level"}}},"then":{"$ref":"#/definitions/HI"}},{"if":{"properties":{"test":{"const":"moon_intensity"}}},"then":{"$ref":"#/definitions/HJ"}},{"if":{"properties":{"test":{"const":"moon_phase"}}},"then":{"$ref":"#/definitions/IA"}},{"if":{"properties":{"test":{"const":"on_ground"}}},"then":{"$ref":"#/definitions/IB"}},{"if":{"properties":{"test":{"const":"on_ladder"}}},"then":{"$ref":"#/definitions/IC"}},{"if":{"properties":{"test":{"const":"random_chance"}}},"then":{"$ref":"#/definitions/ID"}},{"if":{"properties":{"test":{"const":"rider_count"}}},"then":{"$ref":"#/definitions/IE"}},{"if":{"properties":{"test":{"const":"surface_mob"}}},"then":{"$ref":"#/definitions/IF"}},{"if":{"properties":{"test":{"const":"taking_fire_damage"}}},"then":{"$ref":"#/definitions/IG"}},{"if":{"properties":{"test":{"const":"target_distance"}}},"then":{"$ref":"#/definitions/IH"}},{"if":{"properties":{"test":{"const":"trusts"}}},"then":{"$ref":"#/definitions/II"}},{"if":{"properties":{"test":{"const":"weather_at_position"}}},"then":{"$ref":"#/definitions/IJ"}},{"if":{"properties":{"test":{"const":"weather"}}},"then":{"$ref":"#/definitions/JA"}},{"not":{"properties":{"test":{"const":"is_weather"}},"$comment":"DEPRECATED"}}]}]},"D_groups_spec":{"oneOf":[{"type":"array","items":{"$ref":"#/definitions/D_groups_spec"}},{"type":"object","$ref":"#/definitions/D_filters_spec"}]},"F":{"title":"Operator","type":"string","description":"The comparison to apply with `value`.","default":"equals","enum":["!=","<","<=","<>","=","==",">",">=","equals","not"]},"G":{"title":"Subject","type":"string","description":"The subject of this filter test.","default":"self","enum":["block","other","parent","player","self","target","damager"]},"E":{"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/F","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","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]}}},"I":{"title":"Equipment Location","type":"string","description":"The equipment location to test.","default":"self","enum":["any","armor","feet","hand","head","inventory","leg","torse"]},"H":{"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/F","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","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/I"}}},"J":{"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/F","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","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/I"}}},"BA":{"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/F","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"boolean","default":true,"title":"Value","description":"true or false."}}},"BB":{"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/F","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","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]}}},"BC":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"number","description":"(Required) A floating point value.","title":"Value"}}},"BD":{"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/F","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"string","title":"Value","description":"(Required) A string value."}}},"BE":{"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/F","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"number","title":"Value","description":"(Required) A floating point value."}}},"BF":{"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/F"},"subject":{"$ref":"#/definitions/G"},"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"}]},"BG":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"(Required) The tag to look for.","type":"string","title":"Value"}},"examples":[{"test":"has_biome_tag","value":"monster"}]},"BH":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"string","description":"(Required) The component name to look for.","title":"Value"}},"examples":[{"test":"has_component","value":"minecraft:explode"}]},"BI":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"(Optional) true or false.","title":"Value","type":"boolean","default":true}},"examples":[{"test":"has_container_open","value":true}]},"CA":{"title":"Entity Damage Source","description":"The types of damage an entity can receive.","type":"string","enum":["all","anvil","block_explosion","campfire","charging","contact","drowning","entity_attack","entity_explosion","fall","falling_block","fatal","fire","fire_tick","fireworks","fly_into_wall","freezing","lava","lightning","magic","magma","none","override","piston","projectile","ram_attack","sonic_boom","soul_campfire","stalactite","stalagmite","starve","suffocation","suicide","temperature","thorns","void","wither"]},"BJ":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"string","description":"The Damage type to test.","$ref":"#/definitions/CA","title":"Value"}}},"CC":{"description":"A minecraft item identifier.","pattern":"^[0-9a-zA-Z:_\\-\\.]+$","title":"Item Identifier","type":"string","defaultSnippets":[{"label":"New Identifier","body":"$1:$2"}]},"CB":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The item name to look for.","type":"string","$ref":"#/definitions/CC","title":"Value"}},"examples":[{"test":"has_equipment","value":"example"}]},"CD":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"string","description":"The specified mob effect.","title":"Value"}},"examples":[{"test":"has_mob_effect","value":"bad_omen"}]},"CE":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The namtag to look for","type":"boolean","title":"Value"}},"examples":[{"test":"has_nametag","value":false},{"test":"has_nametag","value":true}]},"CF":{"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/F","description":"(Optionall) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","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."}}},"CG":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"has_ranged_weapon","value":true}]},"CH":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"has_silk_touch","subject":"other","value":true}]},"CI":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"string","description":"The tag as a string.","pattern":"[a-zA-Z0-9_]+","title":"Value"}},"examples":[{"test":"has_tag","value":"example"}]},"CJ":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"has_target","value":true}]},"DA":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"has_trade_supply","value":true}]},"DB":{"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/F"},"subject":{"$ref":"#/definitions/G"},"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}]},"DC":{"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/F","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","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"}]},"DD":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_caravan","value":true}]},"DE":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_clouds","value":true}]},"DF":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"(Optional) true or false.","type":"boolean","default":true}},"examples":[{"test":"in_contact_with_water","value":true}]},"DG":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_lava","value":true}]},"DH":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"in_nether","value":true}]},"DI":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"in_overworld","value":true},{"test":"in_overworld"}]},"DJ":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_water_or_rain","value":true}]},"EA":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_water","value":true}]},"EB":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The Family name to look for.","type":"integer","title":"Value"}},"examples":[{"test":"inactivity_timer","value":0}]},"EC":{"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/F","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"integer","title":"Value","description":"(Required) A integer value."}}},"ED":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"integer","description":"The altitude value to compare with.","minimum":0,"title":"Value"}},"examples":[{"test":"example","value":0}]},"EE":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"example","value":true}]},"EF":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The Biome type to test.","type":"string","enum":["beach","desert","extreme_hills","flat","forest","ice","jungle","mesa","mushroom_island","ocean","plain","river","savanna","stone_beach","swamp","taiga","the_end","the_nether"],"title":"Value"}},"examples":[{"test":"is_biome","value":"beach"}]},"EG":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The Family name to look for.","type":"string","title":"Value"}},"examples":[{"test":"is_block","subject":"block","value":"minecraft:sweet_berry_bush"}]},"EH":{"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/F"},"subject":{"$ref":"#/definitions/G"},"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}]},"EI":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_climbing","value":true}]},"EJ":{"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/F"},"subject":{"$ref":"#/definitions/G"},"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"}]},"FA":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_daytime","value":true}]},"FB":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The game's difficulty level to test.","type":"string","enum":["easy","hard","normal","peaceful"],"title":"Value"}},"examples":[{"test":"is_difficulty","value":"easy"}]},"FC":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The Family name to look for.","type":"string","title":"Value"}},"examples":[{"test":"is_family","value":"monster"}]},"FD":{"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/F"},"subject":{"$ref":"#/definitions/G"},"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}]},"FE":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_humid","value":true}]},"FF":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_immobile","value":true}]},"FG":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_in_village","value":true}]},"FH":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"is_leashed_to","value":true}]},"FI":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_leashed","value":true}]},"FJ":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"integer","description":"The altitude value to compare with.","title":"Value"}},"examples":[{"test":"is_mark_variant","value":0}]},"GA":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"is_missing_health","value":true}]},"GB":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_moving","value":true}]},"GC":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_owner","value":true}]},"GD":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"is_persistent","value":true}]},"GE":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_riding","value":true}]},"GF":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"integer","description":"The altitude value to compare with.","title":"Value"}},"examples":[{"test":"is_skin_id","value":0}]},"GG":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"is_sleeping","value":true}]},"GH":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_sneak_held","value":true}]},"GI":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_sneaking","value":true}]},"GJ":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_snow_covered","value":true}]},"HA":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_target","value":true}]},"HB":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The Biome temperature catagory to test.","type":"string","enum":["cold","mild","ocean","warm"],"title":"Value"}},"examples":[{"test":"is_temperature_type","value":"cold"}]},"HC":{"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/F"},"subject":{"$ref":"#/definitions/G"},"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}]},"HD":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_underground","value":true}]},"HE":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_underwater","value":true}]},"HF":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"integer","description":"The altitude value to compare with.","title":"Value"}},"examples":[{"test":"is_variant","value":0}]},"HG":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_visible","value":true}]},"HH":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"true or false.","type":"boolean","title":"Value"}},"examples":[{"test":"light_level","value":0}]},"HI":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"An integer value.","type":"integer","title":"Value","minimum":0,"maximum":16}},"examples":[{"test":"light_level","value":0}]},"HJ":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"A floating point value.","type":"number","minimum":0,"maximum":1,"title":"Value"}},"examples":[{"test":"moon_intensity","value":0.0}]},"IA":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"integer","description":"An integer value.","minimum":0,"maximum":7,"title":"Value"}},"examples":[{"test":"moon_phase","value":0}]},"IB":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"on_ground","value":true}]},"IC":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"on_ladder","value":true}]},"ID":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"An integer value.","type":"integer","title":"Value"}},"examples":[{"test":"random_chance","value":0}]},"IE":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"An integer value.","type":"integer","title":"Value"}},"examples":[{"test":"rider_count","value":0}]},"IF":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"surface_mob","value":true}]},"IG":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"taking_fire_damage","value":true},{"test":"taking_fire_damage"}]},"IH":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"(Required) A floating point value.","type":"number","default":true,"title":"Value"}}},"II":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"trusts","value":true}]},"IJ":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The Family name to look for.","type":"string","title":"Value","examples":["thunderstorm"]}},"examples":[{"test":"weather_at_position","value":"thunderstorm"}]},"JA":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The Family name to look for.","type":"string","title":"Value","examples":["clear","thunderstorm"]}},"examples":[{"test":"weather","value":"clear"}]},"D":{"title":"Filters","$ref":"#/definitions/D_groups_spec","examples":[{"test":"is_family","subject":"other","value":"example"},{"test":"has_tag","value":"example"},[]]},"A":{"type":"object","title":"Feature Rules 1.13.0","description":"Each feature rule controls exactly one feature and serves as the root of a chain of feature data.","additionalProperties":false,"required":["format_version","minecraft:feature_rules"],"minProperties":2,"maxProperties":2,"properties":{"format_version":{"const":"1.13.0","description":"Specifies the version of the game this entity was made in. Minimum supported version is 1.13.0. Current supported version is 1.13.0.","title":"Format Version"},"minecraft:feature_rules":{"title":"Feature rules","description":"Each feature rule controls exactly one feature and serves as the root of a chain of feature data.","type":"object","additionalProperties":false,"required":["description","conditions"],"properties":{"description":{"title":"Description","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"required":["identifier","places_feature"],"properties":{"identifier":{"title":"Identifier","description":"The name of this feature in the form `namespace_name:feature_name`. `feature_name` must match the filename.","type":"string","$ref":"#/definitions/C"},"places_feature":{"title":"Places Feature","description":"Named reference to the feature controlled by this rule.","type":"string"}}},"conditions":{"title":"Conditions","description":"Parameters to control where and when the feature will be placed.","type":"object","additionalProperties":false,"required":["placement_pass"],"properties":{"placement_pass":{"title":"Placement pass","description":"When the feature should be placed relative to others. Earlier passes in the list are guaranteed to occur before later passes. Order is not guaranteed within each pass.","type":"string","enum":["pregeneration_pass","first_pass","before_underground_pass","underground_pass","after_underground_pass","before_surface_pass","surface_pass","after_surface_pass","before_sky_pass","sky_pass","after_sky_pass","final_pass"]},"minecraft:biome_filter":{"title":"Placement pass","description":"List of filter tests to determine which biomes this rule will attach to.","$ref":"#/definitions/D"}}},"distribution":{"title":"Distribution","description":"Parameters controlling the initial scatter of the feature.","type":"object","additionalProperties":false,"required":["iterations"],"properties":{"coordinate_eval_order":{"title":"Coordinate Eval Order","description":"The order in which coordinates will be evaluated. Should be used when a coordinate depends on another. If omitted, defaults to `xzy`.","type":"string","enum":["xyz","xzy","yxz","yzx","zxy","zyx"]},"iterations":{"title":"Iterations","description":"Number of scattered positions to generate.","$ref":"#/definitions/B"},"scatter_chance":{"title":"Scatter Chance","oneOf":[{"$ref":"#/definitions/B","description":"Probability (0-100] that this scatter will occur. Not evaluated each iteration; either no iterations will run, or all will."},{"type":"object","description":"Probability numerator / denominator that this scatter will occur. Not evaluated each iteration; either no iterations will run, or all will.","additionalProperties":false,"properties":{"numerator":{"title":"Numerator","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"number","minimum":1},"denominator":{"title":"Denominator","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"number","minimum":1}}}]},"x":{"title":"X","$ref":"#/definitions/A_coord_dist"},"z":{"title":"Y","$ref":"#/definitions/A_coord_dist"},"y":{"title":"Z","$ref":"#/definitions/A_coord_dist"}}}}}}},"JB":{"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.10","examples":["1.20.10","1.19.0","1.18.0","1.17.0","1.16.0","1.15.0","1.14.0","1.13.0","1.12.0","1.10.0","1.8.0"],"defaultSnippets":[{"label":"New Format version","body":"1.${1|8,10,12,17,18,19,20|}.${3|2|0|}"}]}}} \ No newline at end of file diff --git a/behavior/spawn_rules/spawn_rules.json b/behavior/spawn_rules/spawn_rules.json index a6e5c750..e9a1fba3 100644 --- a/behavior/spawn_rules/spawn_rules.json +++ b/behavior/spawn_rules/spawn_rules.json @@ -1 +1 @@ -{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.behavior.spawn_rules","examples":[{"format_version":"1.20.0","minecraft:spawn_rules":{"description":{"identifier":"minecraft:entity","population_control":"ambient"},"conditions":[{}]}}],"type":"object","title":"Spawn Rules","description":"Data-Driven spawning allows you to adjust the spawn conditions of mobs.","additionalProperties":false,"required":["format_version","minecraft:spawn_rules"],"properties":{"format_version":{"$ref":"#/definitions/A"},"minecraft:spawn_rules":{"type":"object","title":"Spawn Rules","description":"Data-Driven spawning allows you to adjust the spawn conditions of mobs.","additionalProperties":false,"properties":{"description":{"type":"object","title":"Description","description":"The descripton of to which entity this spawn rule belongs.","$comment":"UNDOCUMENTED","additionalProperties":false,"required":["identifier","population_control"],"properties":{"identifier":{"title":"Identifier","description":"The entity identifier this spawn rule will apply to, entity must exist.","$comment":"UNDOCUMENTED","$ref":"#/definitions/B"},"population_control":{"type":"string","title":"Population Control","description":"Setting an entity to a pool it will spawn as long as that pool hasn't reached the spawn limit.","$comment":"UNDOCUMENTED","enum":["ambient","animal","water_animal","monster","cat"]}}},"conditions":{"type":"array","title":"Conditions","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","items":{"additionalProperties":false,"type":"object","title":"Condition","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","properties":{"minecraft:biome_filter":{"$ref":"#/definitions/C"},"minecraft:brightness_filter":{"$ref":"#/definitions/JB"},"minecraft:delay_filter":{"$ref":"#/definitions/JC"},"minecraft:density_limit":{"$ref":"#/definitions/JD"},"minecraft:difficulty_filter":{"$ref":"#/definitions/JE"},"minecraft:disallow_spawns_in_bubble":{"$ref":"#/definitions/JF"},"minecraft:distance_filter":{"$ref":"#/definitions/JG"},"minecraft:height_filter":{"$ref":"#/definitions/JH"},"minecraft:entity_types":{"$ref":"#/definitions/JI"},"minecraft:herd":{"$ref":"#/definitions/JJ"},"minecraft:mob_event_filter":{"$ref":"#/definitions/BAA"},"minecraft:permute_type":{"$ref":"#/definitions/BAB"},"minecraft:player_in_village_filter":{"$ref":"#/definitions/BAC"},"minecraft:spawn_event":{"$ref":"#/definitions/BAD"},"minecraft:spawns_above_block_filter":{"$ref":"#/definitions/BAE"},"minecraft:spawns_lava":{"$ref":"#/definitions/BAF"},"minecraft:spawns_on_block_filter":{"$ref":"#/definitions/BAG"},"minecraft:spawns_on_block_prevented_filter":{"$ref":"#/definitions/BAH"},"minecraft:spawns_on_surface":{"$ref":"#/definitions/BAI"},"minecraft:spawns_underground":{"$ref":"#/definitions/BAJ"},"minecraft:spawns_underwater":{"$ref":"#/definitions/BBA"},"minecraft:weight":{"$ref":"#/definitions/BBB"},"minecraft:world_age_filter":{"$ref":"#/definitions/BBC"}}}}}}},"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.10","examples":["1.20.10","1.19.0","1.18.0","1.17.0","1.16.0","1.15.0","1.14.0","1.13.0","1.12.0","1.10.0","1.8.0"],"defaultSnippets":[{"label":"New Format version","body":"1.${1|8,10,12,17,18,19,20|}.${3|2|0|}"}]},"B":{"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_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/D_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/D_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/D_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/D_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/D_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/D_groups_spec"}},"allOf":[{"if":{"properties":{"test":{"const":"actor_health"}}},"then":{"$ref":"#/definitions/E"}},{"if":{"properties":{"test":{"const":"all_slots_empty"}}},"then":{"$ref":"#/definitions/H"}},{"if":{"properties":{"test":{"const":"any_slots_empty"}}},"then":{"$ref":"#/definitions/J"}},{"if":{"properties":{"test":{"const":"bool_property"}}},"then":{"$ref":"#/definitions/BA"}},{"if":{"properties":{"test":{"const":"clock_time"}}},"then":{"$ref":"#/definitions/BB"}},{"if":{"properties":{"test":{"const":"distance_to_nearest_player"}}},"then":{"$ref":"#/definitions/BC"}},{"if":{"properties":{"test":{"const":"enum_property"}}},"then":{"$ref":"#/definitions/BD"}},{"if":{"properties":{"test":{"const":"float_property"}}},"then":{"$ref":"#/definitions/BE"}},{"if":{"properties":{"test":{"const":"has_ability"}}},"then":{"$ref":"#/definitions/BF"}},{"if":{"properties":{"test":{"const":"has_biome_tag"}}},"then":{"$ref":"#/definitions/BG"}},{"if":{"properties":{"test":{"const":"has_component"}}},"then":{"$ref":"#/definitions/BH"}},{"if":{"properties":{"test":{"const":"has_container_open"}}},"then":{"$ref":"#/definitions/BI"}},{"if":{"properties":{"test":{"const":"has_damage"}}},"then":{"$ref":"#/definitions/BJ"}},{"if":{"properties":{"test":{"const":"has_equipment"}}},"then":{"$ref":"#/definitions/CB"}},{"if":{"properties":{"test":{"const":"has_mob_effect"}}},"then":{"$ref":"#/definitions/CD"}},{"if":{"properties":{"test":{"const":"has_nametag"}}},"then":{"$ref":"#/definitions/CE"}},{"if":{"properties":{"test":{"const":"has_property"}}},"then":{"$ref":"#/definitions/CF"}},{"if":{"properties":{"test":{"const":"has_ranged_weapon"}}},"then":{"$ref":"#/definitions/CG"}},{"if":{"properties":{"test":{"const":"has_silk_touch"}}},"then":{"$ref":"#/definitions/CH"}},{"if":{"properties":{"test":{"const":"has_tag"}}},"then":{"$ref":"#/definitions/CI"}},{"if":{"properties":{"test":{"const":"has_target"}}},"then":{"$ref":"#/definitions/CJ"}},{"if":{"properties":{"test":{"const":"has_trade_supply"}}},"then":{"$ref":"#/definitions/DA"}},{"if":{"properties":{"test":{"const":"hourly_clock_time"}}},"then":{"$ref":"#/definitions/DB"}},{"if":{"properties":{"test":{"const":"in_block"}}},"then":{"$ref":"#/definitions/DC"}},{"if":{"properties":{"test":{"const":"in_caravan"}}},"then":{"$ref":"#/definitions/DD"}},{"if":{"properties":{"test":{"const":"in_clouds"}}},"then":{"$ref":"#/definitions/DE"}},{"if":{"properties":{"test":{"const":"in_contact_with_water"}}},"then":{"$ref":"#/definitions/DF"}},{"if":{"properties":{"test":{"const":"in_lava"}}},"then":{"$ref":"#/definitions/DG"}},{"if":{"properties":{"test":{"const":"in_nether"}}},"then":{"$ref":"#/definitions/DH"}},{"if":{"properties":{"test":{"const":"in_overworld"}}},"then":{"$ref":"#/definitions/DI"}},{"if":{"properties":{"test":{"const":"in_water_or_rain"}}},"then":{"$ref":"#/definitions/DJ"}},{"if":{"properties":{"test":{"const":"in_water"}}},"then":{"$ref":"#/definitions/EA"}},{"if":{"properties":{"test":{"const":"inactivity_timer"}}},"then":{"$ref":"#/definitions/EB"}},{"if":{"properties":{"test":{"const":"int_property"}}},"then":{"$ref":"#/definitions/EC"}},{"if":{"properties":{"test":{"const":"is_altitude"}}},"then":{"$ref":"#/definitions/ED"}},{"if":{"properties":{"test":{"const":"is_avoiding_mobs"}}},"then":{"$ref":"#/definitions/EE"}},{"if":{"properties":{"test":{"const":"is_biome"}}},"then":{"$ref":"#/definitions/EF"}},{"if":{"properties":{"test":{"const":"is_block"}}},"then":{"$ref":"#/definitions/EG"}},{"if":{"properties":{"test":{"const":"is_brightness"}}},"then":{"$ref":"#/definitions/EH"}},{"if":{"properties":{"test":{"const":"is_climbing"}}},"then":{"$ref":"#/definitions/EI"}},{"if":{"properties":{"test":{"const":"is_color"}}},"then":{"$ref":"#/definitions/EJ"}},{"if":{"properties":{"test":{"const":"is_daytime"}}},"then":{"$ref":"#/definitions/FA"}},{"if":{"properties":{"test":{"const":"is_difficulty"}}},"then":{"$ref":"#/definitions/FB"}},{"if":{"properties":{"test":{"const":"is_family"}}},"then":{"$ref":"#/definitions/FC"}},{"if":{"properties":{"test":{"const":"is_game_rule"}}},"then":{"$ref":"#/definitions/FD"}},{"if":{"properties":{"test":{"const":"is_humid"}}},"then":{"$ref":"#/definitions/FE"}},{"if":{"properties":{"test":{"const":"is_immobile"}}},"then":{"$ref":"#/definitions/FF"}},{"if":{"properties":{"test":{"const":"is_in_village"}}},"then":{"$ref":"#/definitions/FG"}},{"if":{"properties":{"test":{"const":"is_leashed_to"}}},"then":{"$ref":"#/definitions/FH"}},{"if":{"properties":{"test":{"const":"is_leashed"}}},"then":{"$ref":"#/definitions/FI"}},{"if":{"properties":{"test":{"const":"is_mark_variant"}}},"then":{"$ref":"#/definitions/FJ"}},{"if":{"properties":{"test":{"const":"is_missing_health"}}},"then":{"$ref":"#/definitions/GA"}},{"if":{"properties":{"test":{"const":"is_moving"}}},"then":{"$ref":"#/definitions/GB"}},{"if":{"properties":{"test":{"const":"is_owner"}}},"then":{"$ref":"#/definitions/GC"}},{"if":{"properties":{"test":{"const":"is_persistent"}}},"then":{"$ref":"#/definitions/GD"}},{"if":{"properties":{"test":{"const":"is_riding"}}},"then":{"$ref":"#/definitions/GE"}},{"if":{"properties":{"test":{"const":"is_skin_id"}}},"then":{"$ref":"#/definitions/GF"}},{"if":{"properties":{"test":{"const":"is_sleeping"}}},"then":{"$ref":"#/definitions/GG"}},{"if":{"properties":{"test":{"const":"is_sneak_held"}}},"then":{"$ref":"#/definitions/GH"}},{"if":{"properties":{"test":{"const":"is_sneaking"}}},"then":{"$ref":"#/definitions/GI"}},{"if":{"properties":{"test":{"const":"is_snow_covered"}}},"then":{"$ref":"#/definitions/GJ"}},{"if":{"properties":{"test":{"const":"is_target"}}},"then":{"$ref":"#/definitions/HA"}},{"if":{"properties":{"test":{"const":"is_temperature_type"}}},"then":{"$ref":"#/definitions/HB"}},{"if":{"properties":{"test":{"const":"is_temperature_value"}}},"then":{"$ref":"#/definitions/HC"}},{"if":{"properties":{"test":{"const":"is_underground"}}},"then":{"$ref":"#/definitions/HD"}},{"if":{"properties":{"test":{"const":"is_underwater"}}},"then":{"$ref":"#/definitions/HE"}},{"if":{"properties":{"test":{"const":"is_variant"}}},"then":{"$ref":"#/definitions/HF"}},{"if":{"properties":{"test":{"const":"is_visible"}}},"then":{"$ref":"#/definitions/HG"}},{"if":{"properties":{"test":{"const":"is_waterlogged"}}},"then":{"$ref":"#/definitions/HH"}},{"if":{"properties":{"test":{"const":"light_level"}}},"then":{"$ref":"#/definitions/HI"}},{"if":{"properties":{"test":{"const":"moon_intensity"}}},"then":{"$ref":"#/definitions/HJ"}},{"if":{"properties":{"test":{"const":"moon_phase"}}},"then":{"$ref":"#/definitions/IA"}},{"if":{"properties":{"test":{"const":"on_ground"}}},"then":{"$ref":"#/definitions/IB"}},{"if":{"properties":{"test":{"const":"on_ladder"}}},"then":{"$ref":"#/definitions/IC"}},{"if":{"properties":{"test":{"const":"random_chance"}}},"then":{"$ref":"#/definitions/ID"}},{"if":{"properties":{"test":{"const":"rider_count"}}},"then":{"$ref":"#/definitions/IE"}},{"if":{"properties":{"test":{"const":"surface_mob"}}},"then":{"$ref":"#/definitions/IF"}},{"if":{"properties":{"test":{"const":"taking_fire_damage"}}},"then":{"$ref":"#/definitions/IG"}},{"if":{"properties":{"test":{"const":"target_distance"}}},"then":{"$ref":"#/definitions/IH"}},{"if":{"properties":{"test":{"const":"trusts"}}},"then":{"$ref":"#/definitions/II"}},{"if":{"properties":{"test":{"const":"weather_at_position"}}},"then":{"$ref":"#/definitions/IJ"}},{"if":{"properties":{"test":{"const":"weather"}}},"then":{"$ref":"#/definitions/JA"}},{"not":{"properties":{"test":{"const":"is_weather"}},"$comment":"DEPRECATED"}}]}]},"D_groups_spec":{"oneOf":[{"type":"array","items":{"$ref":"#/definitions/D_groups_spec"}},{"type":"object","$ref":"#/definitions/D_filters_spec"}]},"F":{"title":"Operator","type":"string","description":"The comparison to apply with `value`.","default":"equals","enum":["!=","<","<=","<>","=","==",">",">=","equals","not"]},"G":{"title":"Subject","type":"string","description":"The subject of this filter test.","default":"self","enum":["block","other","parent","player","self","target","damager"]},"E":{"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/F","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","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]}}},"I":{"title":"Equipment Location","type":"string","description":"The equipment location to test.","default":"self","enum":["any","armor","feet","hand","head","inventory","leg","torse"]},"H":{"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/F","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","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/I"}}},"J":{"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/F","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","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/I"}}},"BA":{"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/F","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"boolean","default":true,"title":"Value","description":"true or false."}}},"BB":{"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/F","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","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]}}},"BC":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"number","description":"(Required) A floating point value.","title":"Value"}}},"BD":{"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/F","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"string","title":"Value","description":"(Required) A string value."}}},"BE":{"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/F","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"number","title":"Value","description":"(Required) A floating point value."}}},"BF":{"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/F"},"subject":{"$ref":"#/definitions/G"},"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"}]},"BG":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"(Required) The tag to look for.","type":"string","title":"Value"}},"examples":[{"test":"has_biome_tag","value":"monster"}]},"BH":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"string","description":"(Required) The component name to look for.","title":"Value"}},"examples":[{"test":"has_component","value":"minecraft:explode"}]},"BI":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"(Optional) true or false.","title":"Value","type":"boolean","default":true}},"examples":[{"test":"has_container_open","value":true}]},"CA":{"title":"Entity Damage Source","description":"The types of damage an entity can receive.","type":"string","enum":["all","anvil","attack","block_explosion","charging","contact","drowning","entity_attack","entity_explosion","fall","falling_block","fatal","fire_tick","fire","fireworks","fly_into_wall","freezing","lava","lightning","magic","magma","none","override","piston","projectile","sonic_boom","stalactite","stalagmite","starve","suffocation","suicide","temperature","thorns","void","wither"]},"BJ":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"string","description":"The Damage type to test.","$ref":"#/definitions/CA","title":"Value"}}},"CC":{"description":"A minecraft item identifier.","pattern":"^[0-9a-zA-Z:_\\-\\.]+$","title":"Item Identifier","type":"string","defaultSnippets":[{"label":"New Identifier","body":"$1:$2"}]},"CB":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The item name to look for.","type":"string","$ref":"#/definitions/CC","title":"Value"}},"examples":[{"test":"has_equipment","value":"example"}]},"CD":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"string","description":"The specified mob effect.","title":"Value"}},"examples":[{"test":"has_mob_effect","value":"bad_omen"}]},"CE":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The namtag to look for","type":"boolean","title":"Value"}},"examples":[{"test":"has_nametag","value":false},{"test":"has_nametag","value":true}]},"CF":{"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/F","description":"(Optionall) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","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."}}},"CG":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"has_ranged_weapon","value":true}]},"CH":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"has_silk_touch","subject":"other","value":true}]},"CI":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"string","description":"The tag as a string.","pattern":"[a-zA-Z0-9_]+","title":"Value"}},"examples":[{"test":"has_tag","value":"example"}]},"CJ":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"has_target","value":true}]},"DA":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"has_trade_supply","value":true}]},"DB":{"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/F"},"subject":{"$ref":"#/definitions/G"},"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}]},"DC":{"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/F","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","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"}]},"DD":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_caravan","value":true}]},"DE":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_clouds","value":true}]},"DF":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"(Optional) true or false.","type":"boolean","default":true}},"examples":[{"test":"in_contact_with_water","value":true}]},"DG":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_lava","value":true}]},"DH":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"in_nether","value":true}]},"DI":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"in_overworld","value":true},{"test":"in_overworld"}]},"DJ":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_water_or_rain","value":true}]},"EA":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_water","value":true}]},"EB":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The Family name to look for.","type":"integer","title":"Value"}},"examples":[{"test":"inactivity_timer","value":0}]},"EC":{"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/F","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"integer","title":"Value","description":"(Required) A integer value."}}},"ED":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"integer","description":"The altitude value to compare with.","minimum":0,"title":"Value"}},"examples":[{"test":"example","value":0}]},"EE":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"example","value":true}]},"EF":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The Biome type to test.","type":"string","enum":["beach","desert","extreme_hills","flat","forest","ice","jungle","mesa","mushroom_island","ocean","plain","river","savanna","stone_beach","swamp","taiga","the_end","the_nether"],"title":"Value"}},"examples":[{"test":"is_biome","value":"beach"}]},"EG":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The Family name to look for.","type":"string","title":"Value"}},"examples":[{"test":"is_block","subject":"block","value":"minecraft:sweet_berry_bush"}]},"EH":{"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/F"},"subject":{"$ref":"#/definitions/G"},"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}]},"EI":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_climbing","value":true}]},"EJ":{"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/F"},"subject":{"$ref":"#/definitions/G"},"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"}]},"FA":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_daytime","value":true}]},"FB":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The game's difficulty level to test.","type":"string","enum":["easy","hard","normal","peaceful"],"title":"Value"}},"examples":[{"test":"is_difficulty","value":"easy"}]},"FC":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The Family name to look for.","type":"string","title":"Value"}},"examples":[{"test":"is_family","value":"monster"}]},"FD":{"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/F"},"subject":{"$ref":"#/definitions/G"},"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}]},"FE":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_humid","value":true}]},"FF":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_immobile","value":true}]},"FG":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_in_village","value":true}]},"FH":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"is_leashed_to","value":true}]},"FI":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_leashed","value":true}]},"FJ":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"integer","description":"The altitude value to compare with.","title":"Value"}},"examples":[{"test":"is_mark_variant","value":0}]},"GA":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"is_missing_health","value":true}]},"GB":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_moving","value":true}]},"GC":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_owner","value":true}]},"GD":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"is_persistent","value":true}]},"GE":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_riding","value":true}]},"GF":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"integer","description":"The altitude value to compare with.","title":"Value"}},"examples":[{"test":"is_skin_id","value":0}]},"GG":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"is_sleeping","value":true}]},"GH":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_sneak_held","value":true}]},"GI":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_sneaking","value":true}]},"GJ":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_snow_covered","value":true}]},"HA":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_target","value":true}]},"HB":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The Biome temperature catagory to test.","type":"string","enum":["cold","mild","ocean","warm"],"title":"Value"}},"examples":[{"test":"is_temperature_type","value":"cold"}]},"HC":{"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/F"},"subject":{"$ref":"#/definitions/G"},"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}]},"HD":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_underground","value":true}]},"HE":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_underwater","value":true}]},"HF":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"integer","description":"The altitude value to compare with.","title":"Value"}},"examples":[{"test":"is_variant","value":0}]},"HG":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_visible","value":true}]},"HH":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"true or false.","type":"boolean","title":"Value"}},"examples":[{"test":"light_level","value":0}]},"HI":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"An integer value.","type":"integer","title":"Value","minimum":0,"maximum":16}},"examples":[{"test":"light_level","value":0}]},"HJ":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"A floating point value.","type":"number","minimum":0,"maximum":1,"title":"Value"}},"examples":[{"test":"moon_intensity","value":0.0}]},"IA":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"integer","description":"An integer value.","minimum":0,"maximum":7,"title":"Value"}},"examples":[{"test":"moon_phase","value":0}]},"IB":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"on_ground","value":true}]},"IC":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"on_ladder","value":true}]},"ID":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"An integer value.","type":"integer","title":"Value"}},"examples":[{"test":"random_chance","value":0}]},"IE":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"An integer value.","type":"integer","title":"Value"}},"examples":[{"test":"rider_count","value":0}]},"IF":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"surface_mob","value":true}]},"IG":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"taking_fire_damage","value":true},{"test":"taking_fire_damage"}]},"IH":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"(Required) A floating point value.","type":"number","default":true,"title":"Value"}}},"II":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"trusts","value":true}]},"IJ":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The Family name to look for.","type":"string","title":"Value","examples":["thunderstorm"]}},"examples":[{"test":"weather_at_position","value":"thunderstorm"}]},"JA":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The Family name to look for.","type":"string","title":"Value","examples":["clear","thunderstorm"]}},"examples":[{"test":"weather","value":"clear"}]},"D":{"title":"Filters","$ref":"#/definitions/D_groups_spec","examples":[{"test":"is_family","subject":"other","value":"example"},{"test":"has_tag","value":"example"},[]]},"C":{"title":"Biome Filter","description":"This component allows the players to specify which biomes the mob spawns in. Each biome in the game has one or more tags. These tags are used to determine what biomes mobs spawn in.","oneOf":[{"type":"array","items":{"$ref":"#/definitions/D"}},{"type":"object","$ref":"#/definitions/D"}]},"JB":{"additionalProperties":false,"type":"object","title":"Brightness Filter","description":"This component allows players to set the light level range that causes the mob to spawn.","properties":{"min":{"type":"integer","description":"This is the minimum light level value that allows the mob to spawn.","title":"Min"},"max":{"type":"integer","description":"This is the maximum light level value that allows the mob to spawn.","title":"Max"},"adjust_for_weather":{"type":"boolean","description":"This determines if weather can affect the light level conditions that cause the mob to spawn (e.g. Allowing hostile mobs to spawn during the day when it rains.)","title":"Adjust For Weather","default":true}}},"JC":{"additionalProperties":false,"type":"object","title":"Delay Filter","description":"This component allows players to set mobs spawn with certain time delays before they will spawn.","required":["identifier"],"properties":{"min":{"type":"integer","description":"This is the minimum delay that a mob spawns.","title":"Min"},"max":{"type":"integer","description":"This is the maximum delay that a mob spawns.","title":"Max"},"identifier":{"type":"string","description":"The identifier of the mob that will spawn.","title":"Identifier"},"spawn_chance":{"title":"Spawn Chance","description":"The percent chance that this entity will spawn.","type":"number","default":100}}},"JD":{"additionalProperties":false,"type":"object","title":"Density Limit","description":"This component allows the players to specify the amount of mobs to spawn in certain locations.","properties":{"surface":{"type":"integer","description":"This is the maximum number of mobs of this type spawnable on the surface.","title":"Surface"},"underground":{"type":"integer","description":"This is the maximum number of mobs of this type spawnable underground.","title":"Underground"}}},"JE_difficulty":{"type":"string","enum":["easy","normal","hard","peaceful"]},"JE":{"additionalProperties":false,"type":"object","title":"Difficulty Filter","description":"This component allows players to set mobs spawn at certain difficulty levels. The min is for Peaceful difficulty and the max is for Hard difficulty.","properties":{"min":{"$ref":"#/definitions/JE_difficulty","description":"This is the minimum difficulty level that a mob spawns.","title":"Min"},"max":{"$ref":"#/definitions/JE_difficulty","description":"This is the maximum difficulty level that a mob spawns.","title":"Max"}}},"JF":{"additionalProperties":false,"type":"object","title":"Disallow Spawns In Bubble","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"JG":{"additionalProperties":false,"type":"object","title":"Distance Filter","description":"This component allows players to set mobs spawn with certain distance levels.","properties":{"min":{"type":"integer","description":"This is the minimum distance level that a mob spawns.","title":"Min"},"max":{"type":"integer","description":"This is the maximum distance level that a mob spawns.","title":"Max"}}},"JH":{"additionalProperties":false,"type":"object","title":"Height Filter","description":"This component allows players to set mobs spawn within certain heights of their map.","properties":{"min":{"type":"integer","description":"This is the minimum height level that a mob spawns.","title":"Min"},"max":{"type":"integer","description":"This is the maximum height level that a mob spawns.","title":"Max"}}},"JI":{"title":"Entity Types","description":"entity_types is a specific type of JSON object used by Minecraft: Bedrock Edition in order to encapsulate entity data that can be used in certain behaviors and components..","additionalProperties":false,"type":"object","properties":{"filters":{"title":"Filters","description":"Conditions that make this entry in the list valid.","$ref":"#/definitions/D"},"max_dist":{"title":"Maximum Distance","type":"number","default":16,"description":"Maximum distance this mob can be away to be a valid choice."},"must_see":{"title":"Must See","type":"boolean","default":false,"description":"If true, the mob has to be visible to be a valid choice."},"must_see_forget_duration":{"title":"Must See Forget Duration","type":"boolean","default":3.0,"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."},"sprint_speed_multiplier":{"title":"Sprint Speed Multiplier","type":"number","default":1.0,"description":"Multiplier for the running speed. A value of 1.0 means the speed is unchanged."},"walk_speed_multiplier":{"title":"Walk Speed Multiplier","type":"number","default":1.0,"description":"Multiplier for the walking speed. A value of 1.0 means the speed is unchanged."}}},"JJ_herd":{"type":"object","title":"Herd","description":"Herd.","additionalProperties":false,"properties":{"initial_event":{"title":"Initial Event","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"string"},"initial_event_count":{"title":"Initial Event Count","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"integer"},"min_size":{"type":"integer","description":"This is the minimum number of mobs that spawn in a herd.","title":"Minimum Size"},"max_size":{"type":"integer","description":"This is the maximum number of mobs that spawn in a herd.","title":"Maximum Size"},"event":{"type":"string","description":"This is an event that can be triggered from spawning.","title":"Event"},"event_skip_count":{"type":"integer","description":"This is the number of mobs spawned before the specified event is triggered.","title":"Event Skip Count"}}},"JJ":{"title":"Height Filter","description":"This component allows players to determine the herd size of animals.","oneOf":[{"type":"object","$ref":"#/definitions/JJ_herd"},{"type":"array","items":{"$ref":"#/definitions/JJ_herd"}}]},"BAA":{"title":"Mob Event Filter","description":"This component allows players to spawn mobs on a particular event.","additionalProperties":false,"type":"object","properties":{"event":{"type":"string","description":"The event String in this JSON Object is used to filter the spawn rules of the mob type. Can be type minecraft:pillager_patrols_event, minecraft:wandering_trader_event, or minecraft:ender_dragon_event..","title":"Event Filter","enum":["minecraft:pillager_patrols_event","minecraft:wandering_trader_event","minecraft:ender_dragon_event"]}}},"BAB_permute_type":{"type":"object","additionalProperties":false,"title":"Permute Type","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","properties":{"weight":{"type":"integer","title":"Weight","description":"The percentage of 100 of a type of mob that should spawn. If there are multiple weights, they must add up to 100."},"entity_type":{"type":"string","title":"Entity Type","description":"The type of mob to spawn."},"guaranteed_count":{"type":"number","title":"Guaranteed Count","description":"Causes mobs to spawn with a guaranteed_count before mobs that do not have this spawn condition."}}},"BAB":{"title":"Permute Type","description":"This component allows the players to specify the permutations of a mob that will spawn.","oneOf":[{"type":"object","$ref":"#/definitions/BAB_permute_type"},{"type":"array","items":{"$ref":"#/definitions/BAB_permute_type"}}]},"BAC":{"additionalProperties":false,"type":"object","title":"Player In Village Filter","description":"This component lets players be filtered by whether they are in a village or not, using distance and the village border definitions.","properties":{"distance":{"type":"integer","title":"Distance","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"village_border_tolerance":{"type":"integer","title":"Village Border Tolerance","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"}}},"BAD":{"title":"Spawn Event","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"event":{"type":"string","title":"Event","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"}}},"BAE":{"title":"Spawns Underwater","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"blocks":{"title":"Blocks","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"distance":{"title":"Distance","type":"number","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","minimum":0}}},"BAF":{"additionalProperties":false,"type":"object","title":"Spawns On Lava","description":"This component determines if an entity spawns lava.","properties":{}},"BAG":{"title":"Spawns On Block Filter","description":"This component allows an entity to spawn on a particular block. It includes a string or array of strings for the block they may spawn on.","oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"BAH":{"title":"Spawns On Block Prevented Filter","description":"This component allows an entity to not spawn on a particular block. It includes a string or array of strings for the block they may not spawn on.","oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"BAI":{"additionalProperties":false,"type":"object","title":"Spawns On Surface","description":"This component allows the mob to spawn on the ground. Adding the component causes it to be true, removing it causes the mob to stop spawning on the surface.","properties":{}},"BAJ":{"additionalProperties":false,"type":"object","title":"Spawns Underground","description":"This component allows an entity to spawn underground.","properties":{}},"BBA":{"title":"Spawns Underwater","description":"This component allows the mob to spawn underwater. Adding the component causes it to be true, removing it causes the mob to stop spawning underwater.","type":"object","additionalProperties":false},"BBB":{"additionalProperties":false,"type":"object","title":"Weight","description":"This component allows players to set a priority for how often that mob should spawn. Mobs with lower weight values will have a lower chance to spawn than mobs with higher weight values.","properties":{"default":{"type":"integer","description":"This is the priority of the mob spawning out of 100.","title":"Default"},"rarity":{"type":"integer","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED.","title":"Rarity"}}},"BBC":{"title":"World Age Filter","description":"This component allows players to set mobs spawn after a certain amount of time has passed within a world.","additionalProperties":false,"properties":{"min":{"type":"integer","description":"This is the minimum world_age_filter level that a mob spawns.","title":"Min"}}}}} \ No newline at end of file +{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.behavior.spawn_rules","examples":[{"format_version":"1.20.0","minecraft:spawn_rules":{"description":{"identifier":"minecraft:entity","population_control":"ambient"},"conditions":[{}]}}],"type":"object","title":"Spawn Rules","description":"Data-Driven spawning allows you to adjust the spawn conditions of mobs.","additionalProperties":false,"required":["format_version","minecraft:spawn_rules"],"properties":{"format_version":{"$ref":"#/definitions/A"},"minecraft:spawn_rules":{"type":"object","title":"Spawn Rules","description":"Data-Driven spawning allows you to adjust the spawn conditions of mobs.","additionalProperties":false,"properties":{"description":{"type":"object","title":"Description","description":"The descripton of to which entity this spawn rule belongs.","$comment":"UNDOCUMENTED","additionalProperties":false,"required":["identifier","population_control"],"properties":{"identifier":{"title":"Identifier","description":"The entity identifier this spawn rule will apply to, entity must exist.","$comment":"UNDOCUMENTED","$ref":"#/definitions/B"},"population_control":{"type":"string","title":"Population Control","description":"Setting an entity to a pool it will spawn as long as that pool hasn't reached the spawn limit.","$comment":"UNDOCUMENTED","enum":["ambient","animal","water_animal","monster","cat"]}}},"conditions":{"type":"array","title":"Conditions","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","items":{"additionalProperties":false,"type":"object","title":"Condition","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","properties":{"minecraft:biome_filter":{"$ref":"#/definitions/C"},"minecraft:brightness_filter":{"$ref":"#/definitions/JB"},"minecraft:delay_filter":{"$ref":"#/definitions/JC"},"minecraft:density_limit":{"$ref":"#/definitions/JD"},"minecraft:difficulty_filter":{"$ref":"#/definitions/JE"},"minecraft:disallow_spawns_in_bubble":{"$ref":"#/definitions/JF"},"minecraft:distance_filter":{"$ref":"#/definitions/JG"},"minecraft:height_filter":{"$ref":"#/definitions/JH"},"minecraft:entity_types":{"$ref":"#/definitions/JI"},"minecraft:herd":{"$ref":"#/definitions/JJ"},"minecraft:mob_event_filter":{"$ref":"#/definitions/BAA"},"minecraft:permute_type":{"$ref":"#/definitions/BAB"},"minecraft:player_in_village_filter":{"$ref":"#/definitions/BAC"},"minecraft:spawn_event":{"$ref":"#/definitions/BAD"},"minecraft:spawns_above_block_filter":{"$ref":"#/definitions/BAE"},"minecraft:spawns_lava":{"$ref":"#/definitions/BAF"},"minecraft:spawns_on_block_filter":{"$ref":"#/definitions/BAG"},"minecraft:spawns_on_block_prevented_filter":{"$ref":"#/definitions/BAH"},"minecraft:spawns_on_surface":{"$ref":"#/definitions/BAI"},"minecraft:spawns_underground":{"$ref":"#/definitions/BAJ"},"minecraft:spawns_underwater":{"$ref":"#/definitions/BBA"},"minecraft:weight":{"$ref":"#/definitions/BBB"},"minecraft:world_age_filter":{"$ref":"#/definitions/BBC"}}}}}}},"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.10","examples":["1.20.10","1.19.0","1.18.0","1.17.0","1.16.0","1.15.0","1.14.0","1.13.0","1.12.0","1.10.0","1.8.0"],"defaultSnippets":[{"label":"New Format version","body":"1.${1|8,10,12,17,18,19,20|}.${3|2|0|}"}]},"B":{"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_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/D_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/D_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/D_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/D_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/D_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/D_groups_spec"}},"allOf":[{"if":{"properties":{"test":{"const":"actor_health"}}},"then":{"$ref":"#/definitions/E"}},{"if":{"properties":{"test":{"const":"all_slots_empty"}}},"then":{"$ref":"#/definitions/H"}},{"if":{"properties":{"test":{"const":"any_slots_empty"}}},"then":{"$ref":"#/definitions/J"}},{"if":{"properties":{"test":{"const":"bool_property"}}},"then":{"$ref":"#/definitions/BA"}},{"if":{"properties":{"test":{"const":"clock_time"}}},"then":{"$ref":"#/definitions/BB"}},{"if":{"properties":{"test":{"const":"distance_to_nearest_player"}}},"then":{"$ref":"#/definitions/BC"}},{"if":{"properties":{"test":{"const":"enum_property"}}},"then":{"$ref":"#/definitions/BD"}},{"if":{"properties":{"test":{"const":"float_property"}}},"then":{"$ref":"#/definitions/BE"}},{"if":{"properties":{"test":{"const":"has_ability"}}},"then":{"$ref":"#/definitions/BF"}},{"if":{"properties":{"test":{"const":"has_biome_tag"}}},"then":{"$ref":"#/definitions/BG"}},{"if":{"properties":{"test":{"const":"has_component"}}},"then":{"$ref":"#/definitions/BH"}},{"if":{"properties":{"test":{"const":"has_container_open"}}},"then":{"$ref":"#/definitions/BI"}},{"if":{"properties":{"test":{"const":"has_damage"}}},"then":{"$ref":"#/definitions/BJ"}},{"if":{"properties":{"test":{"const":"has_equipment"}}},"then":{"$ref":"#/definitions/CB"}},{"if":{"properties":{"test":{"const":"has_mob_effect"}}},"then":{"$ref":"#/definitions/CD"}},{"if":{"properties":{"test":{"const":"has_nametag"}}},"then":{"$ref":"#/definitions/CE"}},{"if":{"properties":{"test":{"const":"has_property"}}},"then":{"$ref":"#/definitions/CF"}},{"if":{"properties":{"test":{"const":"has_ranged_weapon"}}},"then":{"$ref":"#/definitions/CG"}},{"if":{"properties":{"test":{"const":"has_silk_touch"}}},"then":{"$ref":"#/definitions/CH"}},{"if":{"properties":{"test":{"const":"has_tag"}}},"then":{"$ref":"#/definitions/CI"}},{"if":{"properties":{"test":{"const":"has_target"}}},"then":{"$ref":"#/definitions/CJ"}},{"if":{"properties":{"test":{"const":"has_trade_supply"}}},"then":{"$ref":"#/definitions/DA"}},{"if":{"properties":{"test":{"const":"hourly_clock_time"}}},"then":{"$ref":"#/definitions/DB"}},{"if":{"properties":{"test":{"const":"in_block"}}},"then":{"$ref":"#/definitions/DC"}},{"if":{"properties":{"test":{"const":"in_caravan"}}},"then":{"$ref":"#/definitions/DD"}},{"if":{"properties":{"test":{"const":"in_clouds"}}},"then":{"$ref":"#/definitions/DE"}},{"if":{"properties":{"test":{"const":"in_contact_with_water"}}},"then":{"$ref":"#/definitions/DF"}},{"if":{"properties":{"test":{"const":"in_lava"}}},"then":{"$ref":"#/definitions/DG"}},{"if":{"properties":{"test":{"const":"in_nether"}}},"then":{"$ref":"#/definitions/DH"}},{"if":{"properties":{"test":{"const":"in_overworld"}}},"then":{"$ref":"#/definitions/DI"}},{"if":{"properties":{"test":{"const":"in_water_or_rain"}}},"then":{"$ref":"#/definitions/DJ"}},{"if":{"properties":{"test":{"const":"in_water"}}},"then":{"$ref":"#/definitions/EA"}},{"if":{"properties":{"test":{"const":"inactivity_timer"}}},"then":{"$ref":"#/definitions/EB"}},{"if":{"properties":{"test":{"const":"int_property"}}},"then":{"$ref":"#/definitions/EC"}},{"if":{"properties":{"test":{"const":"is_altitude"}}},"then":{"$ref":"#/definitions/ED"}},{"if":{"properties":{"test":{"const":"is_avoiding_mobs"}}},"then":{"$ref":"#/definitions/EE"}},{"if":{"properties":{"test":{"const":"is_biome"}}},"then":{"$ref":"#/definitions/EF"}},{"if":{"properties":{"test":{"const":"is_block"}}},"then":{"$ref":"#/definitions/EG"}},{"if":{"properties":{"test":{"const":"is_brightness"}}},"then":{"$ref":"#/definitions/EH"}},{"if":{"properties":{"test":{"const":"is_climbing"}}},"then":{"$ref":"#/definitions/EI"}},{"if":{"properties":{"test":{"const":"is_color"}}},"then":{"$ref":"#/definitions/EJ"}},{"if":{"properties":{"test":{"const":"is_daytime"}}},"then":{"$ref":"#/definitions/FA"}},{"if":{"properties":{"test":{"const":"is_difficulty"}}},"then":{"$ref":"#/definitions/FB"}},{"if":{"properties":{"test":{"const":"is_family"}}},"then":{"$ref":"#/definitions/FC"}},{"if":{"properties":{"test":{"const":"is_game_rule"}}},"then":{"$ref":"#/definitions/FD"}},{"if":{"properties":{"test":{"const":"is_humid"}}},"then":{"$ref":"#/definitions/FE"}},{"if":{"properties":{"test":{"const":"is_immobile"}}},"then":{"$ref":"#/definitions/FF"}},{"if":{"properties":{"test":{"const":"is_in_village"}}},"then":{"$ref":"#/definitions/FG"}},{"if":{"properties":{"test":{"const":"is_leashed_to"}}},"then":{"$ref":"#/definitions/FH"}},{"if":{"properties":{"test":{"const":"is_leashed"}}},"then":{"$ref":"#/definitions/FI"}},{"if":{"properties":{"test":{"const":"is_mark_variant"}}},"then":{"$ref":"#/definitions/FJ"}},{"if":{"properties":{"test":{"const":"is_missing_health"}}},"then":{"$ref":"#/definitions/GA"}},{"if":{"properties":{"test":{"const":"is_moving"}}},"then":{"$ref":"#/definitions/GB"}},{"if":{"properties":{"test":{"const":"is_owner"}}},"then":{"$ref":"#/definitions/GC"}},{"if":{"properties":{"test":{"const":"is_persistent"}}},"then":{"$ref":"#/definitions/GD"}},{"if":{"properties":{"test":{"const":"is_riding"}}},"then":{"$ref":"#/definitions/GE"}},{"if":{"properties":{"test":{"const":"is_skin_id"}}},"then":{"$ref":"#/definitions/GF"}},{"if":{"properties":{"test":{"const":"is_sleeping"}}},"then":{"$ref":"#/definitions/GG"}},{"if":{"properties":{"test":{"const":"is_sneak_held"}}},"then":{"$ref":"#/definitions/GH"}},{"if":{"properties":{"test":{"const":"is_sneaking"}}},"then":{"$ref":"#/definitions/GI"}},{"if":{"properties":{"test":{"const":"is_snow_covered"}}},"then":{"$ref":"#/definitions/GJ"}},{"if":{"properties":{"test":{"const":"is_target"}}},"then":{"$ref":"#/definitions/HA"}},{"if":{"properties":{"test":{"const":"is_temperature_type"}}},"then":{"$ref":"#/definitions/HB"}},{"if":{"properties":{"test":{"const":"is_temperature_value"}}},"then":{"$ref":"#/definitions/HC"}},{"if":{"properties":{"test":{"const":"is_underground"}}},"then":{"$ref":"#/definitions/HD"}},{"if":{"properties":{"test":{"const":"is_underwater"}}},"then":{"$ref":"#/definitions/HE"}},{"if":{"properties":{"test":{"const":"is_variant"}}},"then":{"$ref":"#/definitions/HF"}},{"if":{"properties":{"test":{"const":"is_visible"}}},"then":{"$ref":"#/definitions/HG"}},{"if":{"properties":{"test":{"const":"is_waterlogged"}}},"then":{"$ref":"#/definitions/HH"}},{"if":{"properties":{"test":{"const":"light_level"}}},"then":{"$ref":"#/definitions/HI"}},{"if":{"properties":{"test":{"const":"moon_intensity"}}},"then":{"$ref":"#/definitions/HJ"}},{"if":{"properties":{"test":{"const":"moon_phase"}}},"then":{"$ref":"#/definitions/IA"}},{"if":{"properties":{"test":{"const":"on_ground"}}},"then":{"$ref":"#/definitions/IB"}},{"if":{"properties":{"test":{"const":"on_ladder"}}},"then":{"$ref":"#/definitions/IC"}},{"if":{"properties":{"test":{"const":"random_chance"}}},"then":{"$ref":"#/definitions/ID"}},{"if":{"properties":{"test":{"const":"rider_count"}}},"then":{"$ref":"#/definitions/IE"}},{"if":{"properties":{"test":{"const":"surface_mob"}}},"then":{"$ref":"#/definitions/IF"}},{"if":{"properties":{"test":{"const":"taking_fire_damage"}}},"then":{"$ref":"#/definitions/IG"}},{"if":{"properties":{"test":{"const":"target_distance"}}},"then":{"$ref":"#/definitions/IH"}},{"if":{"properties":{"test":{"const":"trusts"}}},"then":{"$ref":"#/definitions/II"}},{"if":{"properties":{"test":{"const":"weather_at_position"}}},"then":{"$ref":"#/definitions/IJ"}},{"if":{"properties":{"test":{"const":"weather"}}},"then":{"$ref":"#/definitions/JA"}},{"not":{"properties":{"test":{"const":"is_weather"}},"$comment":"DEPRECATED"}}]}]},"D_groups_spec":{"oneOf":[{"type":"array","items":{"$ref":"#/definitions/D_groups_spec"}},{"type":"object","$ref":"#/definitions/D_filters_spec"}]},"F":{"title":"Operator","type":"string","description":"The comparison to apply with `value`.","default":"equals","enum":["!=","<","<=","<>","=","==",">",">=","equals","not"]},"G":{"title":"Subject","type":"string","description":"The subject of this filter test.","default":"self","enum":["block","other","parent","player","self","target","damager"]},"E":{"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/F","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","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]}}},"I":{"title":"Equipment Location","type":"string","description":"The equipment location to test.","default":"self","enum":["any","armor","feet","hand","head","inventory","leg","torse"]},"H":{"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/F","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","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/I"}}},"J":{"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/F","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","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/I"}}},"BA":{"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/F","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"boolean","default":true,"title":"Value","description":"true or false."}}},"BB":{"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/F","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","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]}}},"BC":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"number","description":"(Required) A floating point value.","title":"Value"}}},"BD":{"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/F","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"string","title":"Value","description":"(Required) A string value."}}},"BE":{"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/F","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"number","title":"Value","description":"(Required) A floating point value."}}},"BF":{"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/F"},"subject":{"$ref":"#/definitions/G"},"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"}]},"BG":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"(Required) The tag to look for.","type":"string","title":"Value"}},"examples":[{"test":"has_biome_tag","value":"monster"}]},"BH":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"string","description":"(Required) The component name to look for.","title":"Value"}},"examples":[{"test":"has_component","value":"minecraft:explode"}]},"BI":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"(Optional) true or false.","title":"Value","type":"boolean","default":true}},"examples":[{"test":"has_container_open","value":true}]},"CA":{"title":"Entity Damage Source","description":"The types of damage an entity can receive.","type":"string","enum":["all","anvil","block_explosion","campfire","charging","contact","drowning","entity_attack","entity_explosion","fall","falling_block","fatal","fire","fire_tick","fireworks","fly_into_wall","freezing","lava","lightning","magic","magma","none","override","piston","projectile","ram_attack","sonic_boom","soul_campfire","stalactite","stalagmite","starve","suffocation","suicide","temperature","thorns","void","wither"]},"BJ":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"string","description":"The Damage type to test.","$ref":"#/definitions/CA","title":"Value"}}},"CC":{"description":"A minecraft item identifier.","pattern":"^[0-9a-zA-Z:_\\-\\.]+$","title":"Item Identifier","type":"string","defaultSnippets":[{"label":"New Identifier","body":"$1:$2"}]},"CB":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The item name to look for.","type":"string","$ref":"#/definitions/CC","title":"Value"}},"examples":[{"test":"has_equipment","value":"example"}]},"CD":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"string","description":"The specified mob effect.","title":"Value"}},"examples":[{"test":"has_mob_effect","value":"bad_omen"}]},"CE":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The namtag to look for","type":"boolean","title":"Value"}},"examples":[{"test":"has_nametag","value":false},{"test":"has_nametag","value":true}]},"CF":{"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/F","description":"(Optionall) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","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."}}},"CG":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"has_ranged_weapon","value":true}]},"CH":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"has_silk_touch","subject":"other","value":true}]},"CI":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"string","description":"The tag as a string.","pattern":"[a-zA-Z0-9_]+","title":"Value"}},"examples":[{"test":"has_tag","value":"example"}]},"CJ":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"has_target","value":true}]},"DA":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"has_trade_supply","value":true}]},"DB":{"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/F"},"subject":{"$ref":"#/definitions/G"},"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}]},"DC":{"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/F","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","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"}]},"DD":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_caravan","value":true}]},"DE":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_clouds","value":true}]},"DF":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"(Optional) true or false.","type":"boolean","default":true}},"examples":[{"test":"in_contact_with_water","value":true}]},"DG":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_lava","value":true}]},"DH":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"in_nether","value":true}]},"DI":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"in_overworld","value":true},{"test":"in_overworld"}]},"DJ":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_water_or_rain","value":true}]},"EA":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"in_water","value":true}]},"EB":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The Family name to look for.","type":"integer","title":"Value"}},"examples":[{"test":"inactivity_timer","value":0}]},"EC":{"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/F","description":"(Optional) The comparison to apply with `value`.","default":"equals","title":"Operator"},"subject":{"$ref":"#/definitions/G","description":"(Optional) The subject of this filter test.","default":"self","title":"Subject"},"value":{"type":"integer","title":"Value","description":"(Required) A integer value."}}},"ED":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"integer","description":"The altitude value to compare with.","minimum":0,"title":"Value"}},"examples":[{"test":"example","value":0}]},"EE":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"example","value":true}]},"EF":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The Biome type to test.","type":"string","enum":["beach","desert","extreme_hills","flat","forest","ice","jungle","mesa","mushroom_island","ocean","plain","river","savanna","stone_beach","swamp","taiga","the_end","the_nether"],"title":"Value"}},"examples":[{"test":"is_biome","value":"beach"}]},"EG":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The Family name to look for.","type":"string","title":"Value"}},"examples":[{"test":"is_block","subject":"block","value":"minecraft:sweet_berry_bush"}]},"EH":{"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/F"},"subject":{"$ref":"#/definitions/G"},"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}]},"EI":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_climbing","value":true}]},"EJ":{"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/F"},"subject":{"$ref":"#/definitions/G"},"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"}]},"FA":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_daytime","value":true}]},"FB":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The game's difficulty level to test.","type":"string","enum":["easy","hard","normal","peaceful"],"title":"Value"}},"examples":[{"test":"is_difficulty","value":"easy"}]},"FC":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The Family name to look for.","type":"string","title":"Value"}},"examples":[{"test":"is_family","value":"monster"}]},"FD":{"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/F"},"subject":{"$ref":"#/definitions/G"},"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}]},"FE":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_humid","value":true}]},"FF":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_immobile","value":true}]},"FG":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_in_village","value":true}]},"FH":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"is_leashed_to","value":true}]},"FI":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_leashed","value":true}]},"FJ":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"integer","description":"The altitude value to compare with.","title":"Value"}},"examples":[{"test":"is_mark_variant","value":0}]},"GA":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"is_missing_health","value":true}]},"GB":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_moving","value":true}]},"GC":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_owner","value":true}]},"GD":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"is_persistent","value":true}]},"GE":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_riding","value":true}]},"GF":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"integer","description":"The altitude value to compare with.","title":"Value"}},"examples":[{"test":"is_skin_id","value":0}]},"GG":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"is_sleeping","value":true}]},"GH":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_sneak_held","value":true}]},"GI":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_sneaking","value":true}]},"GJ":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_snow_covered","value":true}]},"HA":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_target","value":true}]},"HB":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The Biome temperature catagory to test.","type":"string","enum":["cold","mild","ocean","warm"],"title":"Value"}},"examples":[{"test":"is_temperature_type","value":"cold"}]},"HC":{"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/F"},"subject":{"$ref":"#/definitions/G"},"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}]},"HD":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_underground","value":true}]},"HE":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_underwater","value":true}]},"HF":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"integer","description":"The altitude value to compare with.","title":"Value"}},"examples":[{"test":"is_variant","value":0}]},"HG":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"is_visible","value":true}]},"HH":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"true or false.","type":"boolean","title":"Value"}},"examples":[{"test":"light_level","value":0}]},"HI":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"An integer value.","type":"integer","title":"Value","minimum":0,"maximum":16}},"examples":[{"test":"light_level","value":0}]},"HJ":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"A floating point value.","type":"number","minimum":0,"maximum":1,"title":"Value"}},"examples":[{"test":"moon_intensity","value":0.0}]},"IA":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"type":"integer","description":"An integer value.","minimum":0,"maximum":7,"title":"Value"}},"examples":[{"test":"moon_phase","value":0}]},"IB":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"on_ground","value":true}]},"IC":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"title":"Value","description":"True or false.","type":"boolean","default":true}},"examples":[{"test":"on_ladder","value":true}]},"ID":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"An integer value.","type":"integer","title":"Value"}},"examples":[{"test":"random_chance","value":0}]},"IE":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"An integer value.","type":"integer","title":"Value"}},"examples":[{"test":"rider_count","value":0}]},"IF":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"surface_mob","value":true}]},"IG":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"taking_fire_damage","value":true},{"test":"taking_fire_damage"}]},"IH":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"(Required) A floating point value.","type":"number","default":true,"title":"Value"}}},"II":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"True or false.","type":"boolean","default":true,"title":"Value"}},"examples":[{"test":"trusts","value":true}]},"IJ":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The Family name to look for.","type":"string","title":"Value","examples":["thunderstorm"]}},"examples":[{"test":"weather_at_position","value":"thunderstorm"}]},"JA":{"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/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"The Family name to look for.","type":"string","title":"Value","examples":["clear","thunderstorm"]}},"examples":[{"test":"weather","value":"clear"}]},"D":{"title":"Filters","$ref":"#/definitions/D_groups_spec","examples":[{"test":"is_family","subject":"other","value":"example"},{"test":"has_tag","value":"example"},[]]},"C":{"title":"Biome Filter","description":"This component allows the players to specify which biomes the mob spawns in. Each biome in the game has one or more tags. These tags are used to determine what biomes mobs spawn in.","oneOf":[{"type":"array","items":{"$ref":"#/definitions/D"}},{"type":"object","$ref":"#/definitions/D"}]},"JB":{"additionalProperties":false,"type":"object","title":"Brightness Filter","description":"This component allows players to set the light level range that causes the mob to spawn.","properties":{"min":{"type":"integer","description":"This is the minimum light level value that allows the mob to spawn.","title":"Min"},"max":{"type":"integer","description":"This is the maximum light level value that allows the mob to spawn.","title":"Max"},"adjust_for_weather":{"type":"boolean","description":"This determines if weather can affect the light level conditions that cause the mob to spawn (e.g. Allowing hostile mobs to spawn during the day when it rains.)","title":"Adjust For Weather","default":true}}},"JC":{"additionalProperties":false,"type":"object","title":"Delay Filter","description":"This component allows players to set mobs spawn with certain time delays before they will spawn.","required":["identifier"],"properties":{"min":{"type":"integer","description":"This is the minimum delay that a mob spawns.","title":"Min"},"max":{"type":"integer","description":"This is the maximum delay that a mob spawns.","title":"Max"},"identifier":{"type":"string","description":"The identifier of the mob that will spawn.","title":"Identifier"},"spawn_chance":{"title":"Spawn Chance","description":"The percent chance that this entity will spawn.","type":"number","default":100}}},"JD":{"additionalProperties":false,"type":"object","title":"Density Limit","description":"This component allows the players to specify the amount of mobs to spawn in certain locations.","properties":{"surface":{"type":"integer","description":"This is the maximum number of mobs of this type spawnable on the surface.","title":"Surface"},"underground":{"type":"integer","description":"This is the maximum number of mobs of this type spawnable underground.","title":"Underground"}}},"JE_difficulty":{"type":"string","enum":["easy","normal","hard","peaceful"]},"JE":{"additionalProperties":false,"type":"object","title":"Difficulty Filter","description":"This component allows players to set mobs spawn at certain difficulty levels. The min is for Peaceful difficulty and the max is for Hard difficulty.","properties":{"min":{"$ref":"#/definitions/JE_difficulty","description":"This is the minimum difficulty level that a mob spawns.","title":"Min"},"max":{"$ref":"#/definitions/JE_difficulty","description":"This is the maximum difficulty level that a mob spawns.","title":"Max"}}},"JF":{"additionalProperties":false,"type":"object","title":"Disallow Spawns In Bubble","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"JG":{"additionalProperties":false,"type":"object","title":"Distance Filter","description":"This component allows players to set mobs spawn with certain distance levels.","properties":{"min":{"type":"integer","description":"This is the minimum distance level that a mob spawns.","title":"Min"},"max":{"type":"integer","description":"This is the maximum distance level that a mob spawns.","title":"Max"}}},"JH":{"additionalProperties":false,"type":"object","title":"Height Filter","description":"This component allows players to set mobs spawn within certain heights of their map.","properties":{"min":{"type":"integer","description":"This is the minimum height level that a mob spawns.","title":"Min"},"max":{"type":"integer","description":"This is the maximum height level that a mob spawns.","title":"Max"}}},"JI":{"title":"Entity Types","description":"entity_types is a specific type of JSON object used by Minecraft: Bedrock Edition in order to encapsulate entity data that can be used in certain behaviors and components..","additionalProperties":false,"type":"object","properties":{"filters":{"title":"Filters","description":"Conditions that make this entry in the list valid.","$ref":"#/definitions/D"},"max_dist":{"title":"Maximum Distance","type":"number","default":16,"description":"Maximum distance this mob can be away to be a valid choice."},"must_see":{"title":"Must See","type":"boolean","default":false,"description":"If true, the mob has to be visible to be a valid choice."},"must_see_forget_duration":{"title":"Must See Forget Duration","type":"boolean","default":3.0,"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."},"sprint_speed_multiplier":{"title":"Sprint Speed Multiplier","type":"number","default":1.0,"description":"Multiplier for the running speed. A value of 1.0 means the speed is unchanged."},"walk_speed_multiplier":{"title":"Walk Speed Multiplier","type":"number","default":1.0,"description":"Multiplier for the walking speed. A value of 1.0 means the speed is unchanged."}}},"JJ_herd":{"type":"object","title":"Herd","description":"Herd.","additionalProperties":false,"properties":{"initial_event":{"title":"Initial Event","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"string"},"initial_event_count":{"title":"Initial Event Count","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"integer"},"min_size":{"type":"integer","description":"This is the minimum number of mobs that spawn in a herd.","title":"Minimum Size"},"max_size":{"type":"integer","description":"This is the maximum number of mobs that spawn in a herd.","title":"Maximum Size"},"event":{"type":"string","description":"This is an event that can be triggered from spawning.","title":"Event"},"event_skip_count":{"type":"integer","description":"This is the number of mobs spawned before the specified event is triggered.","title":"Event Skip Count"}}},"JJ":{"title":"Height Filter","description":"This component allows players to determine the herd size of animals.","oneOf":[{"type":"object","$ref":"#/definitions/JJ_herd"},{"type":"array","items":{"$ref":"#/definitions/JJ_herd"}}]},"BAA":{"title":"Mob Event Filter","description":"This component allows players to spawn mobs on a particular event.","additionalProperties":false,"type":"object","properties":{"event":{"type":"string","description":"The event String in this JSON Object is used to filter the spawn rules of the mob type. Can be type minecraft:pillager_patrols_event, minecraft:wandering_trader_event, or minecraft:ender_dragon_event..","title":"Event Filter","enum":["minecraft:pillager_patrols_event","minecraft:wandering_trader_event","minecraft:ender_dragon_event"]}}},"BAB_permute_type":{"type":"object","additionalProperties":false,"title":"Permute Type","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","properties":{"weight":{"type":"integer","title":"Weight","description":"The percentage of 100 of a type of mob that should spawn. If there are multiple weights, they must add up to 100."},"entity_type":{"type":"string","title":"Entity Type","description":"The type of mob to spawn."},"guaranteed_count":{"type":"number","title":"Guaranteed Count","description":"Causes mobs to spawn with a guaranteed_count before mobs that do not have this spawn condition."}}},"BAB":{"title":"Permute Type","description":"This component allows the players to specify the permutations of a mob that will spawn.","oneOf":[{"type":"object","$ref":"#/definitions/BAB_permute_type"},{"type":"array","items":{"$ref":"#/definitions/BAB_permute_type"}}]},"BAC":{"additionalProperties":false,"type":"object","title":"Player In Village Filter","description":"This component lets players be filtered by whether they are in a village or not, using distance and the village border definitions.","properties":{"distance":{"type":"integer","title":"Distance","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"village_border_tolerance":{"type":"integer","title":"Village Border Tolerance","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"}}},"BAD":{"title":"Spawn Event","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"event":{"type":"string","title":"Event","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"}}},"BAE":{"title":"Spawns Underwater","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"blocks":{"title":"Blocks","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"distance":{"title":"Distance","type":"number","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","minimum":0}}},"BAF":{"additionalProperties":false,"type":"object","title":"Spawns On Lava","description":"This component determines if an entity spawns lava.","properties":{}},"BAG":{"title":"Spawns On Block Filter","description":"This component allows an entity to spawn on a particular block. It includes a string or array of strings for the block they may spawn on.","oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"BAH":{"title":"Spawns On Block Prevented Filter","description":"This component allows an entity to not spawn on a particular block. It includes a string or array of strings for the block they may not spawn on.","oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"BAI":{"additionalProperties":false,"type":"object","title":"Spawns On Surface","description":"This component allows the mob to spawn on the ground. Adding the component causes it to be true, removing it causes the mob to stop spawning on the surface.","properties":{}},"BAJ":{"additionalProperties":false,"type":"object","title":"Spawns Underground","description":"This component allows an entity to spawn underground.","properties":{}},"BBA":{"title":"Spawns Underwater","description":"This component allows the mob to spawn underwater. Adding the component causes it to be true, removing it causes the mob to stop spawning underwater.","type":"object","additionalProperties":false},"BBB":{"additionalProperties":false,"type":"object","title":"Weight","description":"This component allows players to set a priority for how often that mob should spawn. Mobs with lower weight values will have a lower chance to spawn than mobs with higher weight values.","properties":{"default":{"type":"integer","description":"This is the priority of the mob spawning out of 100.","title":"Default"},"rarity":{"type":"integer","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED.","title":"Rarity"}}},"BBC":{"title":"World Age Filter","description":"This component allows players to set mobs spawn after a certain amount of time has passed within a world.","additionalProperties":false,"properties":{"min":{"type":"integer","description":"This is the minimum world_age_filter level that a mob spawns.","title":"Min"}}}}} \ No newline at end of file