Files
minecraft-bedrock-json-schemas/behavior/spawn_rules/spawn_rules.json
2021-10-06 14:42:40 +00:00

1 line
66 KiB
JSON
Vendored

{"$id":"blockception.minecraft.behavior.spawn_rules","examples":[{"format_version":"1.10.0","minecraft:spawn_rules":{"description":{"identifier":"minecraft:entity","population_control":"ambient"},"conditions":[{}]}}],"allOf":[{"if":{"properties":{"format_version":{"type":"string","const":"1.8.0"}}},"then":{"$ref":"#/definitions/A"}},{"if":{"properties":{"format_version":{"type":"string","const":"1.11.0"}}},"then":{"$ref":"#/definitions/IJ"}},{"if":{"properties":{"format_version":{"type":"string","const":"1.17.0"}}},"then":{"$ref":"#/definitions/BBA"}},{"properties":{"format_version":{"$ref":"#/definitions/BDB"}}}],"definitions":{"B":{"type":"string","title":"Entity Identifier 1.8.0","description":"A minecraft entity identifier","examples":["namespace:entity_name"],"pattern":"^[0-9a-zA-Z:_\\.\\-]+$"},"D_filters_spec":{"examples":[{"all_of":[{}]},{"any_of":[{}]},{"none_of":[{}]},{"test":"is_variant","subject":"self","value":0}],"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":"clock_time"}}},"then":{"$ref":"#/definitions/E"}},{"if":{"properties":{"test":{"const":"distance_to_nearest_player"}}},"then":{"$ref":"#/definitions/H"}},{"if":{"properties":{"test":{"const":"has_ability"}}},"then":{"$ref":"#/definitions/I"}},{"if":{"properties":{"test":{"const":"has_biome_tag"}}},"then":{"$ref":"#/definitions/J"}},{"if":{"properties":{"test":{"const":"has_component"}}},"then":{"$ref":"#/definitions/BA"}},{"if":{"properties":{"test":{"const":"has_container_open"}}},"then":{"$ref":"#/definitions/BB"}},{"if":{"properties":{"test":{"const":"has_damage"}}},"then":{"$ref":"#/definitions/BC"}},{"if":{"properties":{"test":{"const":"has_equipment"}}},"then":{"$ref":"#/definitions/BE"}},{"if":{"properties":{"test":{"const":"has_mob_effect"}}},"then":{"$ref":"#/definitions/BG"}},{"if":{"properties":{"test":{"const":"has_ranged_weapon"}}},"then":{"$ref":"#/definitions/BH"}},{"if":{"properties":{"test":{"const":"has_tag"}}},"then":{"$ref":"#/definitions/BI"}},{"if":{"properties":{"test":{"const":"has_target"}}},"then":{"$ref":"#/definitions/BJ"}},{"if":{"properties":{"test":{"const":"has_trade_supply"}}},"then":{"$ref":"#/definitions/CA"}},{"if":{"properties":{"test":{"const":"hourly_clock_time"}}},"then":{"$ref":"#/definitions/CB"}},{"if":{"properties":{"test":{"const":"in_block"}}},"then":{"$ref":"#/definitions/CC"}},{"if":{"properties":{"test":{"const":"in_caravan"}}},"then":{"$ref":"#/definitions/CD"}},{"if":{"properties":{"test":{"const":"in_clouds"}}},"then":{"$ref":"#/definitions/CE"}},{"if":{"properties":{"test":{"const":"in_lava"}}},"then":{"$ref":"#/definitions/CF"}},{"if":{"properties":{"test":{"const":"in_nether"}}},"then":{"$ref":"#/definitions/CG"}},{"if":{"properties":{"test":{"const":"in_water"}}},"then":{"$ref":"#/definitions/CH"}},{"if":{"properties":{"test":{"const":"in_water_or_rain"}}},"then":{"$ref":"#/definitions/CI"}},{"if":{"properties":{"test":{"const":"in_contact_with_water"}}},"then":{"$ref":"#/definitions/CJ"}},{"if":{"properties":{"test":{"const":"inactivity_timer"}}},"then":{"$ref":"#/definitions/DA"}},{"if":{"properties":{"test":{"const":"is_altitude"}}},"then":{"$ref":"#/definitions/DB"}},{"if":{"properties":{"test":{"const":"is_avoiding_mobs"}}},"then":{"$ref":"#/definitions/DC"}},{"if":{"properties":{"test":{"const":"is_biome"}}},"then":{"$ref":"#/definitions/DD"}},{"if":{"properties":{"test":{"const":"is_block"}}},"then":{"$ref":"#/definitions/DE"}},{"if":{"properties":{"test":{"const":"is_brightness"}}},"then":{"$ref":"#/definitions/DF"}},{"if":{"properties":{"test":{"const":"is_climbing"}}},"then":{"$ref":"#/definitions/DG"}},{"if":{"properties":{"test":{"const":"is_color"}}},"then":{"$ref":"#/definitions/DH"}},{"if":{"properties":{"test":{"const":"is_daytime"}}},"then":{"$ref":"#/definitions/DI"}},{"if":{"properties":{"test":{"const":"is_difficulty"}}},"then":{"$ref":"#/definitions/DJ"}},{"if":{"properties":{"test":{"const":"is_family"}}},"then":{"$ref":"#/definitions/EA"}},{"if":{"properties":{"test":{"const":"is_game_rule"}}},"then":{"$ref":"#/definitions/EB"}},{"if":{"properties":{"test":{"const":"is_humid"}}},"then":{"$ref":"#/definitions/EC"}},{"if":{"properties":{"test":{"const":"is_immobile"}}},"then":{"$ref":"#/definitions/ED"}},{"if":{"properties":{"test":{"const":"is_in_village"}}},"then":{"$ref":"#/definitions/EE"}},{"if":{"properties":{"test":{"const":"is_leashed"}}},"then":{"$ref":"#/definitions/EF"}},{"if":{"properties":{"test":{"const":"is_leashed_to"}}},"then":{"$ref":"#/definitions/EG"}},{"if":{"properties":{"test":{"const":"is_mark_variant"}}},"then":{"$ref":"#/definitions/EH"}},{"if":{"properties":{"test":{"const":"is_moving"}}},"then":{"$ref":"#/definitions/EI"}},{"if":{"properties":{"test":{"const":"is_owner"}}},"then":{"$ref":"#/definitions/EJ"}},{"if":{"properties":{"test":{"const":"is_persistent"}}},"then":{"$ref":"#/definitions/FA"}},{"if":{"properties":{"test":{"const":"is_riding"}}},"then":{"$ref":"#/definitions/FB"}},{"if":{"properties":{"test":{"const":"is_skin_id"}}},"then":{"$ref":"#/definitions/FC"}},{"if":{"properties":{"test":{"const":"is_sleeping"}}},"then":{"$ref":"#/definitions/FD"}},{"if":{"properties":{"test":{"const":"is_sneaking"}}},"then":{"$ref":"#/definitions/FE"}},{"if":{"properties":{"test":{"const":"is_snow_covered"}}},"then":{"$ref":"#/definitions/FF"}},{"if":{"properties":{"test":{"const":"is_target"}}},"then":{"$ref":"#/definitions/FG"}},{"if":{"properties":{"test":{"const":"is_temperature_type"}}},"then":{"$ref":"#/definitions/FH"}},{"if":{"properties":{"test":{"const":"is_temperature_value"}}},"then":{"$ref":"#/definitions/FI"}},{"if":{"properties":{"test":{"const":"is_underground"}}},"then":{"$ref":"#/definitions/FJ"}},{"if":{"properties":{"test":{"const":"is_underwater"}}},"then":{"$ref":"#/definitions/GA"}},{"if":{"properties":{"test":{"const":"is_variant"}}},"then":{"$ref":"#/definitions/GB"}},{"if":{"properties":{"test":{"const":"is_visible"}}},"then":{"$ref":"#/definitions/GC"}},{"if":{"properties":{"test":{"const":"light_level"}}},"then":{"$ref":"#/definitions/GD"}},{"if":{"properties":{"test":{"const":"moon_intensity"}}},"then":{"$ref":"#/definitions/GE"}},{"if":{"properties":{"test":{"const":"moon_phase"}}},"then":{"$ref":"#/definitions/GF"}},{"if":{"properties":{"test":{"const":"on_ground"}}},"then":{"$ref":"#/definitions/GG"}},{"if":{"properties":{"test":{"const":"on_ladder"}}},"then":{"$ref":"#/definitions/GH"}},{"if":{"properties":{"test":{"const":"random_chance"}}},"then":{"$ref":"#/definitions/GI"}},{"if":{"properties":{"test":{"const":"rider_count"}}},"then":{"$ref":"#/definitions/GJ"}},{"if":{"properties":{"test":{"const":"surface_mob"}}},"then":{"$ref":"#/definitions/HA"}},{"if":{"properties":{"test":{"const":"trusts"}}},"then":{"$ref":"#/definitions/HB"}},{"if":{"properties":{"test":{"const":"weather"}}},"then":{"$ref":"#/definitions/HC"}},{"if":{"properties":{"test":{"const":"weather_at_position"}}},"then":{"$ref":"#/definitions/HD"}},{"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":"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"],"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":240000,"description":"(Required) A floating point value.","title":"Value","examples":[0,0.025,0.5,0.75,1]}}},"H":{"type":"object","title":"Distance To Nearest Player","description":"Compares the distance to the nearest Player with a float value.","required":["value"],"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"}}},"I":{"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"}}},"J":{"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"}}},"BA":{"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"}}},"BB":{"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.","oneOf":[{"type":"boolean","default":true},{"type":"string","enum":["true","false"]}],"title":"Value"}}},"BD":{"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","fire_tick","fireworks","fly_into_wall","freezing","lava","lightning","magic","magma","none","override","piston","projectile","stalactite","stalagmite","starve","suffocation","suicide","temperature","thorns","void","wither"]},"BC":{"type":"object","title":"Has Damage","description":"Returns true when the subject entity receives the named damage type.","required":["value"],"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/BD","title":"Value"}}},"BF":{"type":"string","title":"Item Identifier","description":"A minecraft item identifier","pattern":"^[0-9a-zA-Z:_\\-\\.]+$"},"BE":{"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","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/BF","title":"Value"}}},"BG":{"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"}}},"BH":{"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.","oneOf":[{"type":"boolean","default":true},{"type":"string","enum":["true","false"]}],"title":"Value"}}},"BI":{"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"}}},"BJ":{"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.","oneOf":[{"type":"boolean","default":true},{"type":"string","enum":["true","false"]}],"title":"Value"}}},"CA":{"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.","oneOf":[{"type":"boolean","default":true},{"type":"string","default":"true","enum":["true","false"]}]}}},"CB":{"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"}}},"CC":{"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"}}},"CD":{"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.","oneOf":[{"type":"boolean","default":true},{"type":"string","default":"true","enum":["true","false"]}]}}},"CE":{"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.","oneOf":[{"type":"boolean","default":true},{"type":"string","default":"true","enum":["true","false"]}]}}},"CF":{"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.","oneOf":[{"type":"boolean","default":true},{"type":"string","default":"true","enum":["true","false"]}]}}},"CG":{"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.","oneOf":[{"type":"boolean","default":true},{"type":"string","enum":["true","false"]}],"title":"Value"}}},"CH":{"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.","oneOf":[{"type":"boolean","default":true},{"type":"string","default":"true","enum":["true","false"]}]}}},"CI":{"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.","oneOf":[{"type":"boolean","default":true},{"type":"string","default":"true","enum":["true","false"]}]}}},"CJ":{"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.","oneOf":[{"type":"boolean","default":true},{"type":"string","default":"true","enum":["true","false"]}]}}},"DA":{"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"}}},"DB":{"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"}}},"DC":{"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.","oneOf":[{"type":"boolean","default":true},{"type":"string","default":"true","enum":["true","false"]}]}}},"DD":{"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_nethe"],"title":"Value"}}},"DE":{"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"}}},"DF":{"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"}}},"DG":{"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.","oneOf":[{"type":"boolean","default":true},{"type":"string","default":"true","enum":["true","false"]}]}}},"DH":{"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","yello"],"title":"Value"}}},"DI":{"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.","oneOf":[{"type":"boolean","default":true},{"type":"string","default":"true","enum":["true","false"]}]}}},"DJ":{"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"}}},"EA":{"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"}}},"EB":{"type":"object","title":"Is Game Rule","description":"Tests whether a named game rule is active.","required":["domain"],"properties":{"domain":{"description":"The Game Rule to test.","title":"Domain","examples":["domobspawning"]},"operator":{"$ref":"#/definitions/F"},"subject":{"$ref":"#/definitions/G"},"value":{"description":"Tests whether a named game rule is active.","default":true,"type":"boolean","title":"Value"}}},"EC":{"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.","oneOf":[{"type":"boolean","default":true},{"type":"string","default":"true","enum":["true","false"]}]}}},"ED":{"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.","oneOf":[{"type":"boolean","default":true},{"type":"string","default":"true","enum":["true","false"]}]}}},"EE":{"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.","oneOf":[{"type":"boolean","default":true},{"type":"string","default":"true","enum":["true","false"]}]}}},"EF":{"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.","oneOf":[{"type":"boolean","default":true},{"type":"string","default":"true","enum":["true","false"]}]}}},"EG":{"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.","oneOf":[{"type":"boolean","default":true},{"type":"string","enum":["true","false"]}],"title":"Value"}}},"EH":{"type":"object","title":"Is Mark Variant","description":"Returns true if the subject entity is the mark variant 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"}},"additionalProperties":false},"EI":{"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.","oneOf":[{"type":"boolean","default":true},{"type":"string","default":"true","enum":["true","false"]}]}}},"EJ":{"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.","oneOf":[{"type":"boolean","default":true},{"type":"string","default":"true","enum":["true","false"]}]}}},"FA":{"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.","oneOf":[{"type":"boolean","default":true},{"type":"string","enum":["true","false"]}],"title":"Value"}}},"FB":{"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}}},"FC":{"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"}}},"FD":{"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.","oneOf":[{"type":"boolean","default":true},{"type":"string","enum":["true","false"]}],"title":"Value"}}},"FE":{"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.","oneOf":[{"type":"boolean","default":true},{"type":"string","default":"true","enum":["true","false"]}]}}},"FF":{"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.","oneOf":[{"type":"boolean","default":true},{"type":"string","default":"true","enum":["true","false"]}]}}},"FG":{"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.","oneOf":[{"type":"boolean","default":true},{"type":"string","default":"true","enum":["true","false"]}]}}},"FH":{"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"}}},"FI":{"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"}}},"FJ":{"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.","oneOf":[{"type":"boolean","default":true},{"type":"string","default":"true","enum":["true","false"]}]}}},"GA":{"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.","oneOf":[{"type":"boolean","default":true},{"type":"string","default":"true","enum":["true","false"]}]}}},"GB":{"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"}}},"GC":{"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.","oneOf":[{"type":"boolean","default":true},{"type":"string","default":"true","enum":["true","false"]}]}}},"GD":{"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}}},"GE":{"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"}}},"GF":{"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"}}},"GG":{"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.","oneOf":[{"type":"boolean","default":true},{"type":"string","default":"true","enum":["true","false"]}]}}},"GH":{"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.","oneOf":[{"type":"boolean","default":true},{"type":"string","default":"true","enum":["true","false"]}]}}},"GI":{"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"}}},"GJ":{"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"}}},"HA":{"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.","oneOf":[{"type":"boolean","default":true},{"type":"string","enum":["true","false"]}],"title":"Value"}}},"HB":{"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.","oneOf":[{"type":"boolean","default":true},{"type":"string","enum":["true","false"]}],"title":"Value"}}},"HC":{"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"}}},"HD":{"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"}}},"D":{"title":"Filters","$ref":"#/definitions/D_groups_spec"},"C":{"title":"Biome Filter 1.8.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","oneOf":[{"type":"array","items":{"$ref":"#/definitions/D"}},{"type":"object","$ref":"#/definitions/D"}]},"HE":{"additionalProperties":false,"type":"object","title":"Brightness Filter 1.8.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","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}}},"HF":{"additionalProperties":false,"type":"object","title":"Density Limit 1.8.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","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"}}},"HG_difficulty":{"type":"string","enum":["easy","normal","hard","peaceful"]},"HG":{"additionalProperties":false,"type":"object","title":"Difficulty Filter 1.8.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","properties":{"min":{"$ref":"#/definitions/HG_difficulty","description":"This is the minimum difficulty level that a mob spawns","title":"Min"},"max":{"$ref":"#/definitions/HG_difficulty","description":"This is the maximum difficulty level that a mob spawns","title":"Max"}}},"HH":{"additionalProperties":false,"type":"object","title":"Distance Filter 1.8.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","properties":{"min":{"type":"integer","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Min"},"max":{"type":"integer","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Max"}}},"HI":{"additionalProperties":false,"type":"object","title":"Height Filter 1.8.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","properties":{"min":{"type":"integer","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Min"},"max":{"type":"integer","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Max"}}},"HJ_herd":{"type":"object","title":"Herd","description":"Herd","additionalProperties":false,"properties":{"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"}}},"HJ":{"title":"Height Filter 1.8.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","oneOf":[{"type":"object","$ref":"#/definitions/HJ_herd"},{"type":"array","items":{"$ref":"#/definitions/HJ_herd"}}]},"IA":{"additionalProperties":false,"type":"array","title":"Permute Type 1.8.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","items":{"type":"object","additionalProperties":false,"title":"Permute Type","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","properties":{"weight":{"type":"integer","title":"Weight","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"},"entity_type":{"type":"string","title":"Entity Type","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"}}}},"IB":{"title":"Spawn Event 1.8.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"event":{"type":"string","title":"Event","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"}}},"IC":{"title":"Spawns On Block Filter 1.8.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"ID":{"title":"Spawns On Block Prevented Filter 1.8.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"IE":{"additionalProperties":false,"type":"object","title":"Spawns On Lava 1.8.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","properties":{}},"IF":{"additionalProperties":false,"type":"object","title":"Spawns On Surface 1.8.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","properties":{}},"IG":{"additionalProperties":false,"type":"object","title":"Spawns Underground 1.8.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","properties":{}},"IH":{"title":"Spawns Underwater 1.8.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false},"II":{"additionalProperties":false,"type":"object","title":"Weight 1.8.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","properties":{"default":{"type":"integer","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Default"}}},"A":{"type":"object","title":"Spawn Rules 1.8.0","description":"Data-Driven spawning allows you to adjust the spawn conditions of mobs","additionalProperties":false,"required":["format_version","minecraft:spawn_rules"],"properties":{"format_version":{"const":"1.8.0","type":"string","description":"A version that tells minecraft what type of data format can be expected when reading this file.","title":"Format Version"},"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","pillager"]}}},"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/HE"},"minecraft:density_limit":{"$ref":"#/definitions/HF"},"minecraft:difficulty_filter":{"$ref":"#/definitions/HG"},"minecraft:distance_filter":{"$ref":"#/definitions/HH"},"minecraft:height_filter":{"$ref":"#/definitions/HI"},"minecraft:herd":{"$ref":"#/definitions/HJ"},"minecraft:permute_type":{"$ref":"#/definitions/IA"},"minecraft:spawn_event":{"$ref":"#/definitions/IB"},"minecraft:spawns_on_block_filter":{"$ref":"#/definitions/IC"},"minecraft:spawns_on_block_prevented_filter":{"$ref":"#/definitions/ID"},"minecraft:spawns_lava":{"$ref":"#/definitions/IE"},"minecraft:spawns_on_surface":{"$ref":"#/definitions/IF"},"minecraft:spawns_underground":{"$ref":"#/definitions/IG"},"minecraft:spawns_underwater":{"$ref":"#/definitions/IH"},"minecraft:weight":{"$ref":"#/definitions/II"}}}}}}}},"JA":{"title":"Biome Filter 1.11.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","oneOf":[{"type":"array","items":{"$ref":"#/definitions/D"}},{"type":"object","$ref":"#/definitions/D"}]},"JB":{"additionalProperties":false,"type":"object","title":"Brightness Filter 1.11.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","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":"Density Limit 1.11.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","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"}}},"JD_difficulty":{"type":"string","enum":["easy","normal","hard","peaceful"]},"JD":{"additionalProperties":false,"type":"object","title":"Difficulty Filter 1.11.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","properties":{"min":{"$ref":"#/definitions/JD_difficulty","description":"This is the minimum difficulty level that a mob spawns","title":"Min"},"max":{"$ref":"#/definitions/JD_difficulty","description":"This is the maximum difficulty level that a mob spawns","title":"Max"}}},"JE":{"additionalProperties":false,"type":"object","title":"Delay Filter 1.11.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","properties":{"min":{"type":"integer","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Min"},"max":{"type":"integer","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Max"},"identifier":{"type":"string","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Identifier"},"spawn_chance":{"title":"Spawn Chance","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"number"}}},"JF":{"additionalProperties":false,"type":"object","title":"Distance Filter 1.11.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","properties":{"min":{"type":"integer","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Min"},"max":{"type":"integer","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Max"}}},"JG":{"additionalProperties":false,"type":"object","title":"Height Filter 1.11.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","properties":{"min":{"type":"integer","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Min"},"max":{"type":"integer","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Max"}}},"JH_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"}}},"JH":{"title":"Height Filter 1.11.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","oneOf":[{"type":"object","$ref":"#/definitions/JH_herd"},{"type":"array","items":{"$ref":"#/definitions/JH_herd"}}]},"JI":{"additionalProperties":false,"type":"object","title":"Player In Village Filter 1.11.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","properties":{"distance":{"type":"integer","title":"Distance","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"},"village_border_tolerance":{"type":"integer","title":"Village Border Tolerance","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"}}},"JJ":{"additionalProperties":false,"type":"array","title":"Permute Type 1.11.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","items":{"type":"object","additionalProperties":false,"title":"Permute Type","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","properties":{"weight":{"type":"integer","title":"Weight","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"},"entity_type":{"type":"string","title":"Entity Type","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"}}}},"BAA":{"title":"Mob Event Filter 1.11.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","additionalProperties":false,"properties":{"event":{"type":"string","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Event"}}},"BAB":{"title":"Spawn Event 1.11.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"event":{"type":"string","title":"Event","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"}}},"BAC":{"title":"Spawns On Block Filter 1.11.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"BAD":{"title":"Spawns On Block Prevented Filter 1.11.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"BAE":{"additionalProperties":false,"type":"object","title":"Spawns On Lava 1.11.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","properties":{}},"BAF":{"additionalProperties":false,"type":"object","title":"Spawns On Surface 1.11.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","properties":{}},"BAG":{"additionalProperties":false,"type":"object","title":"Spawns Underground 1.11.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","properties":{}},"BAH":{"title":"Spawns Underwater 1.11.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false},"BAI":{"additionalProperties":false,"type":"object","title":"Weight 1.11.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","properties":{"default":{"type":"integer","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Default"}}},"BAJ":{"title":"World Age Filter 1.11.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","additionalProperties":false,"properties":{"min":{"type":"integer","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Min"}}},"IJ":{"type":"object","title":"Spawn Rules 1.11.0","description":"Data-Driven spawning allows you to adjust the spawn conditions of mobs","additionalProperties":false,"required":["format_version","minecraft:spawn_rules"],"properties":{"format_version":{"const":"1.11.0","type":"string","description":"A version that tells minecraft what type of data format can be expected when reading this file.","title":"Format Version"},"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","pillager"]}}},"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/JA"},"minecraft:brightness_filter":{"$ref":"#/definitions/JB"},"minecraft:density_limit":{"$ref":"#/definitions/JC"},"minecraft:difficulty_filter":{"$ref":"#/definitions/JD"},"minecraft:delay_filter":{"$ref":"#/definitions/JE"},"minecraft:distance_filter":{"$ref":"#/definitions/JF"},"minecraft:height_filter":{"$ref":"#/definitions/JG"},"minecraft:herd":{"$ref":"#/definitions/JH"},"minecraft:player_in_village_filter":{"$ref":"#/definitions/JI"},"minecraft:permute_type":{"$ref":"#/definitions/JJ"},"minecraft:mob_event_filter":{"$ref":"#/definitions/BAA"},"minecraft:spawn_event":{"$ref":"#/definitions/BAB"},"minecraft:spawns_on_block_filter":{"$ref":"#/definitions/BAC"},"minecraft:spawns_on_block_prevented_filter":{"$ref":"#/definitions/BAD"},"minecraft:spawns_lava":{"$ref":"#/definitions/BAE"},"minecraft:spawns_on_surface":{"$ref":"#/definitions/BAF"},"minecraft:spawns_underground":{"$ref":"#/definitions/BAG"},"minecraft:spawns_underwater":{"$ref":"#/definitions/BAH"},"minecraft:weight":{"$ref":"#/definitions/BAI"},"minecraft:world_age_filter":{"$ref":"#/definitions/BAJ"}}}}}}}},"BBB":{"title":"Biome Filter 1.17.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","oneOf":[{"type":"array","items":{"$ref":"#/definitions/D"}},{"type":"object","$ref":"#/definitions/D"}]},"BBC":{"additionalProperties":false,"type":"object","title":"Brightness Filter 1.17.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","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}}},"BBD":{"additionalProperties":false,"type":"object","title":"Density Limit 1.17.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","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"}}},"BBE_difficulty":{"type":"string","enum":["easy","normal","hard","peaceful"]},"BBE":{"additionalProperties":false,"type":"object","title":"Difficulty Filter 1.17.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","properties":{"min":{"$ref":"#/definitions/BBE_difficulty","description":"This is the minimum difficulty level that a mob spawns","title":"Min"},"max":{"$ref":"#/definitions/BBE_difficulty","description":"This is the maximum difficulty level that a mob spawns","title":"Max"}}},"BBF":{"additionalProperties":false,"type":"object","title":"Delay Filter 1.17.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","properties":{"min":{"type":"integer","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Min"},"max":{"type":"integer","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Max"},"identifier":{"type":"string","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Identifier"},"spawn_chance":{"title":"Spawn Chance","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"number"}}},"BBG":{"additionalProperties":false,"type":"object","title":"Distance Filter 1.17.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","properties":{"min":{"type":"integer","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Min"},"max":{"type":"integer","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Max"}}},"BBH":{"additionalProperties":false,"type":"object","title":"Height Filter 1.17.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","properties":{"min":{"type":"integer","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Min"},"max":{"type":"integer","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Max"}}},"BBI_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"}}},"BBI":{"title":"Height Filter 1.17.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","oneOf":[{"type":"object","$ref":"#/definitions/BBI_herd"},{"type":"array","items":{"$ref":"#/definitions/BBI_herd"}}]},"BBJ":{"additionalProperties":false,"type":"object","title":"Player In Village Filter 1.17.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","properties":{"distance":{"type":"integer","title":"Distance","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"},"village_border_tolerance":{"type":"integer","title":"Village Border Tolerance","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"}}},"BCA":{"additionalProperties":false,"type":"array","title":"Permute Type 1.17.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","items":{"type":"object","additionalProperties":false,"title":"Permute Type","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","properties":{"weight":{"type":"integer","title":"Weight","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"},"entity_type":{"type":"string","title":"Entity Type","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"}}}},"BCB":{"title":"Mob Event Filter 1.17.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","additionalProperties":false,"properties":{"event":{"type":"string","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Event"}}},"BCC":{"title":"Spawn Event 1.17.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"event":{"type":"string","title":"Event","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED"}}},"BCD":{"title":"Spawns On Block Filter 1.17.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"BCE":{"title":"Spawns On Block Prevented Filter 1.17.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"BCF":{"additionalProperties":false,"type":"object","title":"Spawns On Lava 1.17.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","properties":{}},"BCG":{"additionalProperties":false,"type":"object","title":"Spawns On Surface 1.17.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","properties":{}},"BCH":{"additionalProperties":false,"type":"object","title":"Spawns Underground 1.17.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","properties":{}},"BCI":{"title":"Spawns Underwater 1.17.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false},"BCJ":{"additionalProperties":false,"type":"object","title":"Weight 1.17.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","properties":{"default":{"type":"integer","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Default"}}},"BDA":{"title":"World Age Filter 1.17.0","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","additionalProperties":false,"properties":{"min":{"type":"integer","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Min"}}},"BBA":{"type":"object","title":"Spawn Rules 1.17.0","description":"Data-Driven spawning allows you to adjust the spawn conditions of mobs","additionalProperties":false,"required":["format_version","minecraft:spawn_rules"],"properties":{"format_version":{"const":"1.17.0","type":"string","description":"A version that tells minecraft what type of data format can be expected when reading this file.","title":"Format Version"},"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","pillager"]}}},"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/BBB"},"minecraft:brightness_filter":{"$ref":"#/definitions/BBC"},"minecraft:density_limit":{"$ref":"#/definitions/BBD"},"minecraft:difficulty_filter":{"$ref":"#/definitions/BBE"},"minecraft:delay_filter":{"$ref":"#/definitions/BBF"},"minecraft:distance_filter":{"$ref":"#/definitions/BBG"},"minecraft:height_filter":{"$ref":"#/definitions/BBH"},"minecraft:herd":{"$ref":"#/definitions/BBI"},"minecraft:player_in_village_filter":{"$ref":"#/definitions/BBJ"},"minecraft:permute_type":{"$ref":"#/definitions/BCA"},"minecraft:mob_event_filter":{"$ref":"#/definitions/BCB"},"minecraft:spawn_event":{"$ref":"#/definitions/BCC"},"minecraft:spawns_on_block_filter":{"$ref":"#/definitions/BCD"},"minecraft:spawns_on_block_prevented_filter":{"$ref":"#/definitions/BCE"},"minecraft:spawns_lava":{"$ref":"#/definitions/BCF"},"minecraft:spawns_on_surface":{"$ref":"#/definitions/BCG"},"minecraft:spawns_underground":{"$ref":"#/definitions/BCH"},"minecraft:spawns_underwater":{"$ref":"#/definitions/BCI"},"minecraft:weight":{"$ref":"#/definitions/BCJ"},"minecraft:world_age_filter":{"$ref":"#/definitions/BDA"}}}}}}}},"BDB":{"title":"Format Version","description":"A version that tells minecraft what type of data format can be expected when reading this file.","pattern":"^(1)\\.([0-9]+)\\.([0-9]+)$","type":"string","enum":["1.17.30","1.17.0","1.16.0","1.15.0","1.14.0","1.13.0","1.12.0","1.10.0","1.8.0"]}}}