1692 lines
71 KiB
JSON
1692 lines
71 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
"$id": "blockception.minecraft.behaviour.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/II" } }
|
|
],
|
|
"definitions": {
|
|
"B": {
|
|
"type": "string",
|
|
"title": "The minecraft entity identifier 1.8.0",
|
|
"description": "The minecraft entity identifier",
|
|
"pattern": "^[0-9a-zA-Z:_\\.\\-]+$"
|
|
},
|
|
"D_filters_spec": {
|
|
"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/BE" } },
|
|
{ "if": { "properties": { "test": { "const": "has_equipment" } } }, "then": { "$ref": "#/definitions/BF" } },
|
|
{ "if": { "properties": { "test": { "const": "has_mob_effect" } } }, "then": { "$ref": "#/definitions/BH" } },
|
|
{ "if": { "properties": { "test": { "const": "has_ranged_weapon" } } }, "then": { "$ref": "#/definitions/BI" } },
|
|
{ "if": { "properties": { "test": { "const": "has_tag" } } }, "then": { "$ref": "#/definitions/BJ" } },
|
|
{ "if": { "properties": { "test": { "const": "has_target" } } }, "then": { "$ref": "#/definitions/CA" } },
|
|
{ "if": { "properties": { "test": { "const": "has_trade_supply" } } }, "then": { "$ref": "#/definitions/CB" } },
|
|
{ "if": { "properties": { "test": { "const": "hourly_clock_time" } } }, "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": "inactivity_timer" } } }, "then": { "$ref": "#/definitions/CJ" } },
|
|
{ "if": { "properties": { "test": { "const": "is_altitude" } } }, "then": { "$ref": "#/definitions/DA" } },
|
|
{ "if": { "properties": { "test": { "const": "is_avoiding_mobs" } } }, "then": { "$ref": "#/definitions/DB" } },
|
|
{ "if": { "properties": { "test": { "const": "is_biome" } } }, "then": { "$ref": "#/definitions/DC" } },
|
|
{ "if": { "properties": { "test": { "const": "is_block" } } }, "then": { "$ref": "#/definitions/DD" } },
|
|
{ "if": { "properties": { "test": { "const": "is_brightness" } } }, "then": { "$ref": "#/definitions/DE" } },
|
|
{ "if": { "properties": { "test": { "const": "is_climbing" } } }, "then": { "$ref": "#/definitions/DF" } },
|
|
{ "if": { "properties": { "test": { "const": "is_color" } } }, "then": { "$ref": "#/definitions/DG" } },
|
|
{ "if": { "properties": { "test": { "const": "is_daytime" } } }, "then": { "$ref": "#/definitions/DH" } },
|
|
{ "if": { "properties": { "test": { "const": "is_difficulty" } } }, "then": { "$ref": "#/definitions/DI" } },
|
|
{ "if": { "properties": { "test": { "const": "is_family" } } }, "then": { "$ref": "#/definitions/DJ" } },
|
|
{ "if": { "properties": { "test": { "const": "is_game_rule" } } }, "then": { "$ref": "#/definitions/EA" } },
|
|
{ "if": { "properties": { "test": { "const": "is_humid" } } }, "then": { "$ref": "#/definitions/EB" } },
|
|
{ "if": { "properties": { "test": { "const": "is_immobile" } } }, "then": { "$ref": "#/definitions/EC" } },
|
|
{ "if": { "properties": { "test": { "const": "is_in_village" } } }, "then": { "$ref": "#/definitions/ED" } },
|
|
{ "if": { "properties": { "test": { "const": "is_leashed" } } }, "then": { "$ref": "#/definitions/EE" } },
|
|
{ "if": { "properties": { "test": { "const": "is_leashed_to" } } }, "then": { "$ref": "#/definitions/EF" } },
|
|
{ "if": { "properties": { "test": { "const": "is_mark_variant" } } }, "then": { "$ref": "#/definitions/EG" } },
|
|
{ "if": { "properties": { "test": { "const": "is_moving" } } }, "then": { "$ref": "#/definitions/EH" } },
|
|
{ "if": { "properties": { "test": { "const": "is_owner" } } }, "then": { "$ref": "#/definitions/EI" } },
|
|
{ "if": { "properties": { "test": { "const": "is_persistent" } } }, "then": { "$ref": "#/definitions/EJ" } },
|
|
{ "if": { "properties": { "test": { "const": "is_riding" } } }, "then": { "$ref": "#/definitions/FA" } },
|
|
{ "if": { "properties": { "test": { "const": "is_skin_id" } } }, "then": { "$ref": "#/definitions/FB" } },
|
|
{ "if": { "properties": { "test": { "const": "is_sleeping" } } }, "then": { "$ref": "#/definitions/FC" } },
|
|
{ "if": { "properties": { "test": { "const": "is_sneaking" } } }, "then": { "$ref": "#/definitions/FD" } },
|
|
{ "if": { "properties": { "test": { "const": "is_snow_covered" } } }, "then": { "$ref": "#/definitions/FE" } },
|
|
{ "if": { "properties": { "test": { "const": "is_target" } } }, "then": { "$ref": "#/definitions/FF" } },
|
|
{ "if": { "properties": { "test": { "const": "is_temperature_type" } } }, "then": { "$ref": "#/definitions/FG" } },
|
|
{ "if": { "properties": { "test": { "const": "is_temperature_value" } } }, "then": { "$ref": "#/definitions/FH" } },
|
|
{ "if": { "properties": { "test": { "const": "is_underground" } } }, "then": { "$ref": "#/definitions/FI" } },
|
|
{ "if": { "properties": { "test": { "const": "is_underwater" } } }, "then": { "$ref": "#/definitions/FJ" } },
|
|
{ "if": { "properties": { "test": { "const": "is_variant" } } }, "then": { "$ref": "#/definitions/GA" } },
|
|
{ "if": { "properties": { "test": { "const": "is_visible" } } }, "then": { "$ref": "#/definitions/GB" } },
|
|
{ "not": { "properties": { "test": { "const": "is_weather" } }, "$comment": "DEPRECATED" } },
|
|
{ "if": { "properties": { "test": { "const": "light_level" } } }, "then": { "$ref": "#/definitions/GC" } },
|
|
{ "if": { "properties": { "test": { "const": "moon_intensity" } } }, "then": { "$ref": "#/definitions/GD" } },
|
|
{ "if": { "properties": { "test": { "const": "moon_phase" } } }, "then": { "$ref": "#/definitions/GE" } },
|
|
{ "if": { "properties": { "test": { "const": "on_ground" } } }, "then": { "$ref": "#/definitions/GF" } },
|
|
{ "if": { "properties": { "test": { "const": "on_ladder" } } }, "then": { "$ref": "#/definitions/GG" } },
|
|
{ "if": { "properties": { "test": { "const": "random_chance" } } }, "then": { "$ref": "#/definitions/GH" } },
|
|
{ "if": { "properties": { "test": { "const": "rider_count" } } }, "then": { "$ref": "#/definitions/GI" } },
|
|
{ "if": { "properties": { "test": { "const": "surface_mob" } } }, "then": { "$ref": "#/definitions/GJ" } },
|
|
{ "if": { "properties": { "test": { "const": "trusts" } } }, "then": { "$ref": "#/definitions/HA" } },
|
|
{ "if": { "properties": { "test": { "const": "weather" } } }, "then": { "$ref": "#/definitions/HB" } },
|
|
{ "if": { "properties": { "test": { "const": "weather_at_position" } } }, "then": { "$ref": "#/definitions/HC" } }
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"D_groups_spec": {
|
|
"oneOf": [
|
|
{ "type": "array", "items": { "$ref": "#/definitions/D_groups_spec" } },
|
|
{ "type": "object", "$ref": "#/definitions/D_filters_spec" }
|
|
]
|
|
},
|
|
"F": {
|
|
"title": "Filters operator 1.8.0",
|
|
"type": "string",
|
|
"description": "The comparison to apply with 'value'.",
|
|
"default": "equals",
|
|
"enum": ["!=", "<", "<=", "<>", "=", "==", ">", ">=", "equals", "not"]
|
|
},
|
|
"G": {
|
|
"title": "Filters subject 1.8.0",
|
|
"type": "string",
|
|
"description": "The subject of this filter test.",
|
|
"default": "self",
|
|
"enum": ["block", "other", "parent", "player", "self", "target", "damager"]
|
|
},
|
|
"E": {
|
|
"type": "object",
|
|
"title": "Filters clock time 1.8.0",
|
|
"description": "Compares the current 24 hour time with an int value in the range[0, 24000]",
|
|
"required": ["value"],
|
|
"properties": {
|
|
"test": {
|
|
"type": "string",
|
|
"title": "The test property",
|
|
"description": "Compares the current 24 hour time with an int value in the range[0, 24000]"
|
|
},
|
|
"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) An integer value.", "title": "Value" }
|
|
}
|
|
},
|
|
"H": {
|
|
"type": "object",
|
|
"title": "Filters distance to nearest player 1.8.0",
|
|
"description": "Compares the distance to the nearest Player with a float value.",
|
|
"required": ["value"],
|
|
"properties": {
|
|
"test": { "type": "string", "title": "The test property", "description": "Compares the distance to the nearest Player with a float value." },
|
|
"operator": { "$ref": "#/definitions/F", "description": "(Optional) The comparison to apply with 'value'.", "title": "Operator" },
|
|
"subject": { "$ref": "#/definitions/G", "description": "(Optional) The subject of this filter test.", "title": "Subject" },
|
|
"value": { "type": "number", "description": "(Required) A floating point value.", "title": "Value" }
|
|
}
|
|
},
|
|
"I": {
|
|
"type": "object",
|
|
"title": "Filters has ability 1.8.0",
|
|
"description": "Returns true when the subject entity has the named ability.",
|
|
"required": ["value"],
|
|
"properties": {
|
|
"test": { "type": "string", "title": "The 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": "Filters has biome tag 1.8.0",
|
|
"description": "Tests whether the biome the subject is in has the specified tag.",
|
|
"required": ["value"],
|
|
"properties": {
|
|
"test": { "type": "string", "title": "The 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": "Filters has component 1.8.0",
|
|
"description": "Returns true when the subject entity contains the named component.",
|
|
"required": ["value"],
|
|
"properties": {
|
|
"test": {
|
|
"type": "string",
|
|
"title": "The 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": "TODO description: value", "title": "Value" }
|
|
}
|
|
},
|
|
"BC": {
|
|
"title": "Operator",
|
|
"type": "string",
|
|
"description": "The operator comparison to apply with 'value'.",
|
|
"default": "equals",
|
|
"enum": ["!=", "<", "<=", "<>", "=", "==", ">", ">=", "equals", "not"]
|
|
},
|
|
"BD": {
|
|
"title": "Subject 1.16.0",
|
|
"type": "string",
|
|
"description": "The subject of this filter test.",
|
|
"default": "self",
|
|
"enum": ["block", "damager", "other", "parent", "player", "self", "target"]
|
|
},
|
|
"BB": {
|
|
"type": "object",
|
|
"title": "Filters has container open 1.16.0",
|
|
"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/BC" },
|
|
"subject": { "$ref": "#/definitions/BD" },
|
|
"value": {
|
|
"description": "True or false.",
|
|
"oneOf": [
|
|
{ "type": "boolean", "default": true },
|
|
{ "type": "string", "enum": ["true", "false"] }
|
|
],
|
|
"title": "Value"
|
|
}
|
|
}
|
|
},
|
|
"BE": {
|
|
"type": "object",
|
|
"title": "Filters has damage 1.8.0",
|
|
"description": "Returns true when the subject entity receives the named damage type.",
|
|
"required": ["value"],
|
|
"properties": {
|
|
"test": {
|
|
"type": "string",
|
|
"title": "The 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",
|
|
"enum": [
|
|
"anvil",
|
|
"attack",
|
|
"block_explosion",
|
|
"contact",
|
|
"drowning",
|
|
"entity_explosion",
|
|
"fall",
|
|
"falling_block",
|
|
"fatal",
|
|
"fire",
|
|
"fire_tick",
|
|
"fly_into_wall",
|
|
"lava",
|
|
"magic",
|
|
"none",
|
|
"override",
|
|
"piston",
|
|
"projectile",
|
|
"starve",
|
|
"suffocation",
|
|
"suicide",
|
|
"thorns",
|
|
"void",
|
|
"withe"
|
|
],
|
|
"title": "Value"
|
|
}
|
|
}
|
|
},
|
|
"BG": {
|
|
"type": "string",
|
|
"title": "The minecraft item identifier 1.8.0",
|
|
"description": "The minecraft item identifier",
|
|
"pattern": "^[0-9a-zA-Z:_\\-\\.]+$"
|
|
},
|
|
"BF": {
|
|
"type": "object",
|
|
"title": "Filters has equipment 1.8.0",
|
|
"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/BG", "title": "TODO title" }
|
|
}
|
|
},
|
|
"BH": {
|
|
"type": "object",
|
|
"title": "Filters has mob effect 1.8.0",
|
|
"description": "Tests whether the Subject has the specified mob effect.",
|
|
"required": ["value"],
|
|
"properties": {
|
|
"test": { "type": "string", "title": "The test property", "description": "Tests whether the Subject has the specified mob effect." },
|
|
"operator": { "$ref": "#/definitions/F" },
|
|
"subject": { "$ref": "#/definitions/G" },
|
|
"value": { "type": "string", "description": "TODO description: value", "title": "Value" }
|
|
}
|
|
},
|
|
"BI": {
|
|
"type": "object",
|
|
"title": "Filters has ranged weapon 1.16.0",
|
|
"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/BC" },
|
|
"subject": { "$ref": "#/definitions/BD" },
|
|
"value": {
|
|
"description": "True or false.",
|
|
"oneOf": [
|
|
{ "type": "boolean", "default": true },
|
|
{ "type": "string", "enum": ["true", "false"] }
|
|
],
|
|
"title": "Value"
|
|
}
|
|
}
|
|
},
|
|
"BJ": {
|
|
"type": "object",
|
|
"title": "Filters has tag 1.8.0",
|
|
"description": "Returns true if the subject entity has the tag provided.",
|
|
"required": ["value"],
|
|
"properties": {
|
|
"test": { "type": "string", "title": "The 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" }
|
|
}
|
|
},
|
|
"CA": {
|
|
"type": "object",
|
|
"title": "Filters has target 1.16.0",
|
|
"description": "Returns true if the subject entity has a valid target.",
|
|
"properties": {
|
|
"test": { "type": "string", "title": "Test", "description": "The test property" },
|
|
"operator": { "$ref": "#/definitions/BC" },
|
|
"subject": { "$ref": "#/definitions/BD" },
|
|
"value": {
|
|
"description": "True or false.",
|
|
"oneOf": [
|
|
{ "type": "boolean", "default": true },
|
|
{ "type": "string", "enum": ["true", "false"] }
|
|
],
|
|
"title": "Value"
|
|
}
|
|
}
|
|
},
|
|
"CB": {
|
|
"type": "object",
|
|
"title": "Filters has trade supply 1.8.0",
|
|
"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": "The 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"] }
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"CC": {
|
|
"type": "object",
|
|
"title": "Filters hourly clock time 1.8.0",
|
|
"description": "Compares the current 24 hour time with an int value in the range[0, 24000]",
|
|
"required": ["value"],
|
|
"properties": {
|
|
"test": {
|
|
"type": "string",
|
|
"title": "The 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": "An integer value.", "minimum": 0, "maximum": 24000, "title": "Value" }
|
|
}
|
|
},
|
|
"CD": {
|
|
"type": "object",
|
|
"title": "Filters in caravan 1.8.0",
|
|
"description": "Returns true if the subject entity is in a caravan.",
|
|
"properties": {
|
|
"test": { "type": "string", "title": "The 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": "Filters in clouds 1.8.0",
|
|
"description": "Returns true when the subject entity is in the clouds.",
|
|
"properties": {
|
|
"test": { "type": "string", "title": "The 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": "Filters in lava 1.8.0",
|
|
"description": "Returns true when the subject entity is in lava.",
|
|
"properties": {
|
|
"test": { "type": "string", "title": "The 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": "Filters in nether 1.16.0",
|
|
"description": "Returns true when the subject entity is in Nether.",
|
|
"properties": {
|
|
"test": { "type": "string", "title": "Test", "description": "The test property" },
|
|
"operator": { "$ref": "#/definitions/BC" },
|
|
"subject": { "$ref": "#/definitions/BD" },
|
|
"value": {
|
|
"description": "True or false.",
|
|
"oneOf": [
|
|
{ "type": "boolean", "default": true },
|
|
{ "type": "string", "enum": ["true", "false"] }
|
|
],
|
|
"title": "Value"
|
|
}
|
|
}
|
|
},
|
|
"CH": {
|
|
"type": "object",
|
|
"title": "Filters in water 1.8.0",
|
|
"description": "Returns true when the subject entity is in water.",
|
|
"properties": {
|
|
"test": { "type": "string", "title": "The 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": "Filters in water or rain 1.8.0",
|
|
"description": "Returns true when the subject entity is in water or rain.",
|
|
"properties": {
|
|
"test": { "type": "string", "title": "The 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": "Filters inactivity timer 1.16.0",
|
|
"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/BC" },
|
|
"subject": { "$ref": "#/definitions/BD" },
|
|
"value": { "description": "The Family name to look for", "type": "integer", "title": "Value" }
|
|
}
|
|
},
|
|
"DA": {
|
|
"type": "object",
|
|
"title": "Filters is altitude 1.8.0",
|
|
"description": "Tests the current altitude against a provided value. 0= bedrock elevation.",
|
|
"required": ["value"],
|
|
"properties": {
|
|
"test": {
|
|
"type": "string",
|
|
"title": "The 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" }
|
|
}
|
|
},
|
|
"DB": {
|
|
"type": "object",
|
|
"title": "Filters is avoiding mobs 1.8.0",
|
|
"description": "Returns true if the subject entity is fleeing from other mobs.",
|
|
"properties": {
|
|
"test": { "type": "string", "title": "The 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"] }
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"DC": {
|
|
"type": "object",
|
|
"title": "Filters is biome 1.8.0",
|
|
"description": "Tests whether the Subject is currently in the named biome.",
|
|
"required": ["value"],
|
|
"properties": {
|
|
"test": { "type": "string", "title": "The 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"
|
|
}
|
|
}
|
|
},
|
|
"DD": {
|
|
"type": "object",
|
|
"title": "Filters is block 1.16.0",
|
|
"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/BC" },
|
|
"subject": { "$ref": "#/definitions/BD" },
|
|
"value": { "description": "The Family name to look for", "type": "string", "title": "Value" }
|
|
}
|
|
},
|
|
"DE": {
|
|
"type": "object",
|
|
"title": "Filters is brightness 1.8.0",
|
|
"description": "Tests the current brightness against a provided value in the range (0.0f, 1.0f).",
|
|
"required": ["value"],
|
|
"properties": {
|
|
"test": {
|
|
"type": "string",
|
|
"title": "The 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" }
|
|
}
|
|
},
|
|
"DF": {
|
|
"type": "object",
|
|
"title": "Filters is climbing 1.8.0",
|
|
"description": "Returns true if the subject entity is climbing.",
|
|
"properties": {
|
|
"test": { "type": "string", "title": "The 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"] }
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"DG": {
|
|
"type": "object",
|
|
"title": "Filters is color 1.8.0",
|
|
"description": "Returns true if the subject entity is the named color.",
|
|
"required": ["value"],
|
|
"properties": {
|
|
"test": { "type": "string", "title": "The 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"
|
|
}
|
|
}
|
|
},
|
|
"DH": {
|
|
"type": "object",
|
|
"title": "Filters is daytime 1.8.0",
|
|
"description": "Returns true during the daylight hours.",
|
|
"properties": {
|
|
"test": { "type": "string", "title": "The 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"] }
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"DI": {
|
|
"type": "object",
|
|
"title": "Filters is difficulty 1.8.0",
|
|
"description": "Tests the current difficulty level of the game.",
|
|
"required": ["value"],
|
|
"properties": {
|
|
"test": { "type": "string", "title": "The 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"
|
|
}
|
|
}
|
|
},
|
|
"DJ": {
|
|
"type": "object",
|
|
"title": "Filters is family 1.8.0",
|
|
"description": "Returns true when the subject entity is a member of the named family.",
|
|
"required": ["value"],
|
|
"properties": {
|
|
"test": {
|
|
"type": "string",
|
|
"title": "The 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" }
|
|
}
|
|
},
|
|
"EA": {
|
|
"type": "object",
|
|
"title": "Filters is game rule 1.8.0",
|
|
"description": "TODO description: ",
|
|
"required": ["domain"],
|
|
"properties": {
|
|
"domain": { "description": "The Game Rule to test.", "title": "Domain" },
|
|
"operator": { "$ref": "#/definitions/F" },
|
|
"subject": { "$ref": "#/definitions/G" },
|
|
"value": { "description": "Tests whether a named game rule is active.", "default": true, "type": "boolean", "title": "Value" }
|
|
}
|
|
},
|
|
"EB": {
|
|
"type": "object",
|
|
"title": "Filters is humid 1.8.0",
|
|
"description": "Tests whether the Subject is in an area with humidity",
|
|
"properties": {
|
|
"test": { "type": "string", "title": "The 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"] }
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"EC": {
|
|
"type": "object",
|
|
"title": "Filters is immobile 1.8.0",
|
|
"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": "The 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"] }
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"ED": {
|
|
"type": "object",
|
|
"title": "Filters is in village 1.8.0",
|
|
"description": "Tests whether the Subject is inside the bounds of a village.",
|
|
"properties": {
|
|
"test": { "type": "string", "title": "The 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": "Filters is leashed 1.8.0",
|
|
"description": "Returns true if the subject entity is leashed.",
|
|
"properties": {
|
|
"test": { "type": "string", "title": "The 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": "Filters is leashed to 1.16.0",
|
|
"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/BC" },
|
|
"subject": { "$ref": "#/definitions/BD" },
|
|
"value": {
|
|
"description": "True or false.",
|
|
"oneOf": [
|
|
{ "type": "boolean", "default": true },
|
|
{ "type": "string", "enum": ["true", "false"] }
|
|
],
|
|
"title": "Value"
|
|
}
|
|
}
|
|
},
|
|
"EG": {
|
|
"type": "object",
|
|
"title": "Filters is mark variant 1.8.0",
|
|
"description": "Returns true if the subject entity is the mark variant number provided.",
|
|
"properties": {
|
|
"test": { "type": "string", "title": "The test property", "description": "The test property" },
|
|
"operator": { "$ref": "#/definitions/F" },
|
|
"subject": { "$ref": "#/definitions/G" },
|
|
"value": { "type": "integer", "description": "The altitude value to compare with", "minimum": 0, "title": "Value" }
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"EH": {
|
|
"type": "object",
|
|
"title": "Filters is moving 1.8.0",
|
|
"description": "Returns true if the subject entity is moving.",
|
|
"properties": {
|
|
"test": { "type": "string", "title": "The 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"] }
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"EI": {
|
|
"type": "object",
|
|
"title": "Filters is owner 1.8.0",
|
|
"description": "Returns true if the subject entity is the owner of the calling entity.",
|
|
"properties": {
|
|
"test": { "type": "string", "title": "The 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": "Filters is persistent 1.16.0",
|
|
"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/BC" },
|
|
"subject": { "$ref": "#/definitions/BD" },
|
|
"value": {
|
|
"description": "True or false.",
|
|
"oneOf": [
|
|
{ "type": "boolean", "default": true },
|
|
{ "type": "string", "enum": ["true", "false"] }
|
|
],
|
|
"title": "Value"
|
|
}
|
|
}
|
|
},
|
|
"FA": {
|
|
"type": "object",
|
|
"title": "Filters is riding 1.8.0",
|
|
"description": "Returns true if the subject entity is riding on another entity.",
|
|
"properties": {
|
|
"test": { "type": "string", "title": "The 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"] }
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"FB": {
|
|
"type": "object",
|
|
"title": "Filters is skin id 1.8.0",
|
|
"description": "Returns true if the subject entity is the skin id number provided.",
|
|
"properties": {
|
|
"test": { "type": "string", "title": "The 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" }
|
|
}
|
|
},
|
|
"FC": {
|
|
"type": "object",
|
|
"title": "Filters is sleeping 1.16.0",
|
|
"description": "Tests whether the Subject is sleeping.",
|
|
"properties": {
|
|
"test": { "type": "string", "title": "Test", "description": "The test property" },
|
|
"operator": { "$ref": "#/definitions/BC" },
|
|
"subject": { "$ref": "#/definitions/BD" },
|
|
"value": {
|
|
"description": "True or false.",
|
|
"oneOf": [
|
|
{ "type": "boolean", "default": true },
|
|
{ "type": "string", "enum": ["true", "false"] }
|
|
],
|
|
"title": "Value"
|
|
}
|
|
}
|
|
},
|
|
"FD": {
|
|
"type": "object",
|
|
"title": "Filters is sneaking 1.8.0",
|
|
"description": "Returns true if the subject entity is sneaking.",
|
|
"properties": {
|
|
"test": { "type": "string", "title": "The 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"] }
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"FE": {
|
|
"type": "object",
|
|
"title": "Filters is snow covered 1.8.0",
|
|
"description": "Tests whether the Subject is in an area with snow cover",
|
|
"properties": {
|
|
"test": { "type": "string", "title": "The 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": "Filters is target 1.8.0",
|
|
"description": "Returns true if the subject entity is the target of the calling entity.",
|
|
"properties": {
|
|
"test": { "type": "string", "title": "The 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": "Filters is target 1.8.0",
|
|
"description": "Tests whether the current temperature is a given type.",
|
|
"required": ["value"],
|
|
"properties": {
|
|
"test": { "type": "string", "title": "The 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"
|
|
}
|
|
}
|
|
},
|
|
"FH": {
|
|
"type": "object",
|
|
"title": "Filters is temperature value 1.8.0",
|
|
"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": "The 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" }
|
|
}
|
|
},
|
|
"FI": {
|
|
"type": "object",
|
|
"title": "Filters is underground 1.8.0",
|
|
"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": "The 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"] }
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"FJ": {
|
|
"type": "object",
|
|
"title": "Filters is underwater 1.8.0",
|
|
"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": "The 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": "Filters is variant 1.8.0",
|
|
"description": "Returns true if the subject entity is the variant number provided.",
|
|
"required": ["value"],
|
|
"properties": {
|
|
"test": { "type": "string", "title": "The 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" }
|
|
}
|
|
},
|
|
"GB": {
|
|
"type": "object",
|
|
"title": "Filters is visible 1.8.0",
|
|
"description": "Returns true if the subject entity is visible.",
|
|
"properties": {
|
|
"test": { "type": "string", "title": "The 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"] }
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"GC": {
|
|
"type": "object",
|
|
"title": "Filters light level 1.16.0",
|
|
"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/BC" },
|
|
"subject": { "$ref": "#/definitions/BD" },
|
|
"value": { "description": "An integer value.", "type": "integer", "title": "Value", "minimum": 0, "maximum": 16 }
|
|
}
|
|
},
|
|
"GD": {
|
|
"type": "object",
|
|
"title": "Filters moon intensity 1.8.0",
|
|
"description": "Compares the current moon intensity with a float value in the range (0.0, 1.0)",
|
|
"required": ["value"],
|
|
"properties": {
|
|
"test": { "type": "string", "title": "The 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" }
|
|
}
|
|
},
|
|
"GE": {
|
|
"type": "object",
|
|
"title": "Filters moon phase 1.8.0",
|
|
"description": "Compares the current moon phase with an integer value in the range (0, 7).",
|
|
"required": ["value"],
|
|
"properties": {
|
|
"test": { "type": "string", "title": "The 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" }
|
|
}
|
|
},
|
|
"GF": {
|
|
"type": "object",
|
|
"title": "Filters on ground 1.8.0",
|
|
"description": "Returns true when the subject entity is on ground.",
|
|
"properties": {
|
|
"test": { "type": "string", "title": "The 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"] }
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"GG": {
|
|
"type": "object",
|
|
"title": "Filters on ladder 1.8.0",
|
|
"description": "Returns true when the subject entity is on a ladder.",
|
|
"properties": {
|
|
"test": { "type": "string", "title": "The 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": "Filters random chance 1.16.0",
|
|
"description": "Returns true if the random chance rolls 0 out of a specified max range.",
|
|
"required": ["value"],
|
|
"properties": {
|
|
"test": { "type": "string", "title": "Test", "description": "The test property" },
|
|
"operator": { "$ref": "#/definitions/BC" },
|
|
"subject": { "$ref": "#/definitions/BD" },
|
|
"value": { "description": "An integer value.", "type": "integer", "title": "Value" }
|
|
}
|
|
},
|
|
"GI": {
|
|
"type": "object",
|
|
"title": "Filters rider count 1.16.0",
|
|
"description": "Returns the number of riders on this entity.",
|
|
"required": ["value"],
|
|
"properties": {
|
|
"test": { "type": "string", "title": "Test", "description": "The test property" },
|
|
"operator": { "$ref": "#/definitions/BC" },
|
|
"subject": { "$ref": "#/definitions/BD" },
|
|
"value": { "description": "An integer value.", "type": "integer", "title": "Value" }
|
|
}
|
|
},
|
|
"GJ": {
|
|
"type": "object",
|
|
"title": "Filters surface mob 1.16.0",
|
|
"description": "Tests if the subject is a surface mob.",
|
|
"properties": {
|
|
"test": { "type": "string", "title": "Test", "description": "The test property" },
|
|
"operator": { "$ref": "#/definitions/BC" },
|
|
"subject": { "$ref": "#/definitions/BD" },
|
|
"value": {
|
|
"description": "True or false.",
|
|
"oneOf": [
|
|
{ "type": "boolean", "default": true },
|
|
{ "type": "string", "enum": ["true", "false"] }
|
|
],
|
|
"title": "Value"
|
|
}
|
|
}
|
|
},
|
|
"HA": {
|
|
"type": "object",
|
|
"title": "Filters trusts 1.16.0",
|
|
"description": "Returns true if the subject is trusted by entity.",
|
|
"properties": {
|
|
"test": { "type": "string", "title": "Test", "description": "The test property" },
|
|
"operator": { "$ref": "#/definitions/BC" },
|
|
"subject": { "$ref": "#/definitions/BD" },
|
|
"value": {
|
|
"description": "True or false.",
|
|
"oneOf": [
|
|
{ "type": "boolean", "default": true },
|
|
{ "type": "string", "enum": ["true", "false"] }
|
|
],
|
|
"title": "Value"
|
|
}
|
|
}
|
|
},
|
|
"HB": {
|
|
"type": "object",
|
|
"title": "Filters weather 1.16.0",
|
|
"description": "Tests the current weather in the dimension against a provided weather value.",
|
|
"required": ["value"],
|
|
"properties": {
|
|
"test": { "type": "string", "title": "Test", "description": "The test property" },
|
|
"operator": { "$ref": "#/definitions/BC" },
|
|
"subject": { "$ref": "#/definitions/BD" },
|
|
"value": { "description": "The Family name to look for", "type": "string", "title": "Value" }
|
|
}
|
|
},
|
|
"HC": {
|
|
"type": "object",
|
|
"title": "Filters weather at position 1.16.0",
|
|
"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/BC" },
|
|
"subject": { "$ref": "#/definitions/BD" },
|
|
"value": { "description": "The Family name to look for", "type": "string", "title": "Value" }
|
|
}
|
|
},
|
|
"D": { "title": "Filters 1.16.0", "$ref": "#/definitions/D_groups_spec" },
|
|
"C": {
|
|
"title": "Biome filter 1.8.0",
|
|
"description": "TODO",
|
|
"oneOf": [
|
|
{ "type": "array", "items": { "$ref": "#/definitions/D" } },
|
|
{ "type": "object", "$ref": "#/definitions/D" }
|
|
]
|
|
},
|
|
"HD": {
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"title": "Brightness filter 1.8.0",
|
|
"description": "TODO",
|
|
"properties": {
|
|
"min": { "type": "integer", "description": "TODO", "title": "Min" },
|
|
"max": { "type": "integer", "description": "TODO", "title": "Max" },
|
|
"adjust_for_weather": { "type": "boolean", "description": "TODO", "title": "Max", "default": true }
|
|
}
|
|
},
|
|
"HE": {
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"title": "Density limit 1.8.0",
|
|
"description": "TODO",
|
|
"properties": {
|
|
"surface": { "type": "integer", "description": "TODO", "title": "Surface" },
|
|
"underground": { "type": "integer", "description": "TODO", "title": "Underground" }
|
|
}
|
|
},
|
|
"HF_difficulty": { "type": "string", "enum": ["easy", "normal", "hard", "peaceful"] },
|
|
"HF": {
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"title": "Difficulty filter 1.8.0",
|
|
"description": "TODO",
|
|
"properties": {
|
|
"min": { "$ref": "#/definitions/HF_difficulty", "description": "TODO", "title": "Min" },
|
|
"max": { "$ref": "#/definitions/HF_difficulty", "description": "TODO", "title": "Max" }
|
|
}
|
|
},
|
|
"HG": {
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"title": "Distance filter 1.8.0",
|
|
"description": "TODO",
|
|
"properties": {
|
|
"min": { "type": "integer", "description": "TODO", "title": "Min" },
|
|
"max": { "type": "integer", "description": "TODO", "title": "Max" }
|
|
}
|
|
},
|
|
"HH": {
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"title": "Height filter 1.8.0",
|
|
"description": "TODO",
|
|
"properties": {
|
|
"min": { "type": "integer", "description": "TODO", "title": "Min" },
|
|
"max": { "type": "integer", "description": "TODO", "title": "Max" }
|
|
}
|
|
},
|
|
"HI_herd": {
|
|
"type": "object",
|
|
"title": "Herd",
|
|
"description": "Herd",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"min_size": { "type": "integer", "description": "TODO", "title": "Min size" },
|
|
"max_size": { "type": "integer", "description": "TODO", "title": "Max size" },
|
|
"event": { "type": "string", "description": "TODO", "title": "Event" },
|
|
"event_skip_count": { "type": "integer", "description": "TODO", "title": "Event skip count" }
|
|
}
|
|
},
|
|
"HI": {
|
|
"title": "Height filter 1.8.0",
|
|
"description": "TODO",
|
|
"oneOf": [
|
|
{ "type": "object", "$ref": "#/definitions/HI_herd" },
|
|
{ "type": "array", "items": { "$ref": "#/definitions/HI_herd" } }
|
|
]
|
|
},
|
|
"HJ": {
|
|
"additionalProperties": false,
|
|
"type": "array",
|
|
"title": "Permute type 1.8.0",
|
|
"description": "TODO",
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"title": "TODO",
|
|
"description": "TODO",
|
|
"properties": {
|
|
"weight": { "type": "integer", "title": "Weight", "description": "TODO" },
|
|
"entity_type": { "type": "string", "title": "Entity type", "description": "TODO" }
|
|
}
|
|
}
|
|
},
|
|
"IA": {
|
|
"title": "Spawn event 1.8.0",
|
|
"description": "TODO",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": { "event": { "type": "string", "title": "Event", "description": "TODO" } }
|
|
},
|
|
"IB": {
|
|
"title": "Spawns on block filter 1.8.0",
|
|
"description": "TODO",
|
|
"oneOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }]
|
|
},
|
|
"IC": {
|
|
"title": "Spawns on block prevented filter 1.8.0",
|
|
"description": "TODO",
|
|
"oneOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }]
|
|
},
|
|
"ID": { "additionalProperties": false, "type": "object", "title": "Spawns on lava 1.8.0", "description": "TODO", "properties": {} },
|
|
"IE": { "additionalProperties": false, "type": "object", "title": "Spawns on surface 1.8.0", "description": "TODO", "properties": {} },
|
|
"IF": { "additionalProperties": false, "type": "object", "title": "Spawns underground 1.8.0", "description": "TODO", "properties": {} },
|
|
"IG": { "title": "Spawns underwater 1.8.0", "description": "TODO", "type": "object", "additionalProperties": false },
|
|
"IH": {
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"title": "Weight 1.8.0",
|
|
"description": "TODO",
|
|
"properties": { "default": { "type": "integer", "description": "TODO", "title": "Default" } }
|
|
},
|
|
"A": {
|
|
"type": "object",
|
|
"title": "Spawn rules 1.8.0",
|
|
"description": "TODO",
|
|
"additionalProperties": false,
|
|
"required": ["format_version", "minecraft:spawn_rules"],
|
|
"properties": {
|
|
"format_version": { "const": "1.8.0", "description": "TODO description", "title": "TODO title" },
|
|
"minecraft:spawn_rules": {
|
|
"type": "object",
|
|
"title": "Spawn rules",
|
|
"description": "TODO",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"description": {
|
|
"type": "object",
|
|
"title": "Description",
|
|
"description": "TODO",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"identifier": { "title": "Identifier", "description": "TODO", "$ref": "#/definitions/B" },
|
|
"population_control": {
|
|
"type": "string",
|
|
"title": "Population control",
|
|
"description": "TODO",
|
|
"enum": ["ambient", "animal", "water_animal", "monster", "cat", "pillager"]
|
|
}
|
|
}
|
|
},
|
|
"conditions": {
|
|
"type": "array",
|
|
"title": "Conditions",
|
|
"description": "TODO",
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"title": "Condition",
|
|
"description": "TODO",
|
|
"properties": {
|
|
"minecraft:biome_filter": { "$ref": "#/definitions/C" },
|
|
"minecraft:brightness_filter": { "$ref": "#/definitions/HD" },
|
|
"minecraft:density_limit": { "$ref": "#/definitions/HE" },
|
|
"minecraft:difficulty_filter": { "$ref": "#/definitions/HF" },
|
|
"minecraft:distance_filter": { "$ref": "#/definitions/HG" },
|
|
"minecraft:height_filter": { "$ref": "#/definitions/HH" },
|
|
"minecraft:herd": { "$ref": "#/definitions/HI" },
|
|
"minecraft:permute_type": { "$ref": "#/definitions/HJ" },
|
|
"minecraft:spawn_event": { "$ref": "#/definitions/IA" },
|
|
"minecraft:spawns_on_block_filter": { "$ref": "#/definitions/IB" },
|
|
"minecraft:spawns_on_block_prevented_filter": { "$ref": "#/definitions/IC" },
|
|
"minecraft:spawns_lava": { "$ref": "#/definitions/ID" },
|
|
"minecraft:spawns_on_surface": { "$ref": "#/definitions/IE" },
|
|
"minecraft:spawns_underground": { "$ref": "#/definitions/IF" },
|
|
"minecraft:spawns_underwater": { "$ref": "#/definitions/IG" },
|
|
"minecraft:weight": { "$ref": "#/definitions/IH" }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"IJ": {
|
|
"title": "Biome filter 1.11.0",
|
|
"description": "TODO",
|
|
"oneOf": [
|
|
{ "type": "array", "items": { "$ref": "#/definitions/D" } },
|
|
{ "type": "object", "$ref": "#/definitions/D" }
|
|
]
|
|
},
|
|
"JA": {
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"title": "Brightness filter 1.11.0",
|
|
"description": "TODO",
|
|
"properties": {
|
|
"min": { "type": "integer", "description": "TODO", "title": "Min" },
|
|
"max": { "type": "integer", "description": "TODO", "title": "Max" },
|
|
"adjust_for_weather": { "type": "boolean", "description": "TODO", "title": "Max", "default": true }
|
|
}
|
|
},
|
|
"JB": {
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"title": "Density limit 1.11.0",
|
|
"description": "TODO",
|
|
"properties": {
|
|
"surface": { "type": "integer", "description": "TODO", "title": "Surface" },
|
|
"underground": { "type": "integer", "description": "TODO", "title": "Underground" }
|
|
}
|
|
},
|
|
"JC_difficulty": { "type": "string", "enum": ["easy", "normal", "hard", "peaceful"] },
|
|
"JC": {
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"title": "Difficulty filter 1.11.0",
|
|
"description": "TODO",
|
|
"properties": {
|
|
"min": { "$ref": "#/definitions/JC_difficulty", "description": "TODO", "title": "Min" },
|
|
"max": { "$ref": "#/definitions/JC_difficulty", "description": "TODO", "title": "Max" }
|
|
}
|
|
},
|
|
"JD": {
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"title": "Delay filter 1.11.0",
|
|
"description": "TODO",
|
|
"properties": {
|
|
"min": { "type": "integer", "description": "TODO", "title": "Min" },
|
|
"max": { "type": "integer", "description": "TODO", "title": "Max" },
|
|
"identifier": { "type": "string", "description": "TODO", "title": "Identifier" },
|
|
"spawn_chance": { "title": "Spawn chance", "description": "UNDOCUMENTATED", "type": "number" }
|
|
}
|
|
},
|
|
"JE": {
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"title": "Distance filter 1.11.0",
|
|
"description": "TODO",
|
|
"properties": {
|
|
"min": { "type": "integer", "description": "TODO", "title": "Min" },
|
|
"max": { "type": "integer", "description": "TODO", "title": "Max" }
|
|
}
|
|
},
|
|
"JF": {
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"title": "Height filter 1.11.0",
|
|
"description": "TODO",
|
|
"properties": {
|
|
"min": { "type": "integer", "description": "TODO", "title": "Min" },
|
|
"max": { "type": "integer", "description": "TODO", "title": "Max" }
|
|
}
|
|
},
|
|
"JG_herd": {
|
|
"type": "object",
|
|
"title": "Herd",
|
|
"description": "Herd",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"initial_event": { "title": "Initial event", "description": "UNDOCUMENATED", "type": "string" },
|
|
"initial_event_count": { "title": "Initial event count", "description": "UNDOCUMENATED", "type": "integer" },
|
|
"min_size": { "type": "integer", "description": "TODO", "title": "Min size" },
|
|
"max_size": { "type": "integer", "description": "TODO", "title": "Max size" },
|
|
"event": { "type": "string", "description": "TODO", "title": "Event" },
|
|
"event_skip_count": { "type": "integer", "description": "TODO", "title": "Event skip count" }
|
|
}
|
|
},
|
|
"JG": {
|
|
"title": "Height filter 1.11.0",
|
|
"description": "TODO",
|
|
"oneOf": [
|
|
{ "type": "object", "$ref": "#/definitions/JG_herd" },
|
|
{ "type": "array", "items": { "$ref": "#/definitions/JG_herd" } }
|
|
]
|
|
},
|
|
"JH": {
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"title": "Player in village filter 1.11.0",
|
|
"description": "TODO",
|
|
"properties": {
|
|
"distance": { "type": "integer", "title": "Distance", "description": "TODO" },
|
|
"village_border_tolerance": { "type": "integer", "title": "Village border tolerance", "description": "TODO" }
|
|
}
|
|
},
|
|
"JI": {
|
|
"additionalProperties": false,
|
|
"type": "array",
|
|
"title": "Permute type 1.11.0",
|
|
"description": "TODO",
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"title": "TODO",
|
|
"description": "TODO",
|
|
"properties": {
|
|
"weight": { "type": "integer", "title": "Weight", "description": "TODO" },
|
|
"entity_type": { "type": "string", "title": "Entity type", "description": "TODO" }
|
|
}
|
|
}
|
|
},
|
|
"JJ": {
|
|
"title": "Mob event filter 1.11.0",
|
|
"description": "TODO",
|
|
"additionalProperties": false,
|
|
"properties": { "event": { "type": "string", "description": "TODO", "title": "Event" } }
|
|
},
|
|
"BAA": {
|
|
"title": "Spawn event 1.11.0",
|
|
"description": "TODO",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": { "event": { "type": "string", "title": "Event", "description": "TODO" } }
|
|
},
|
|
"BAB": {
|
|
"title": "Spawns on block filter 1.11.0",
|
|
"description": "TODO",
|
|
"oneOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }]
|
|
},
|
|
"BAC": {
|
|
"title": "Spawns on block prevented filter 1.11.0",
|
|
"description": "TODO",
|
|
"oneOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }]
|
|
},
|
|
"BAD": { "additionalProperties": false, "type": "object", "title": "Spawns on lava 1.11.0", "description": "TODO", "properties": {} },
|
|
"BAE": { "additionalProperties": false, "type": "object", "title": "Spawns on surface 1.11.0", "description": "TODO", "properties": {} },
|
|
"BAF": { "additionalProperties": false, "type": "object", "title": "Spawns underground 1.11.0", "description": "TODO", "properties": {} },
|
|
"BAG": { "title": "Spawns underwater 1.11.0", "description": "TODO", "type": "object", "additionalProperties": false },
|
|
"BAH": {
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"title": "Weight 1.11.0",
|
|
"description": "TODO",
|
|
"properties": { "default": { "type": "integer", "description": "TODO", "title": "Default" } }
|
|
},
|
|
"BAI": {
|
|
"title": "World age filter 1.11.0",
|
|
"description": "TODO",
|
|
"additionalProperties": false,
|
|
"properties": { "min": { "type": "integer", "description": "TODO", "title": "Min" } }
|
|
},
|
|
"II": {
|
|
"type": "object",
|
|
"title": "Spawn rules 1.11.0",
|
|
"description": "TODO",
|
|
"additionalProperties": false,
|
|
"required": ["format_version", "minecraft:spawn_rules"],
|
|
"properties": {
|
|
"format_version": { "const": "1.11.0", "description": "TODO description", "title": "TODO title" },
|
|
"minecraft:spawn_rules": {
|
|
"type": "object",
|
|
"title": "Spawn rules",
|
|
"description": "TODO",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"description": {
|
|
"type": "object",
|
|
"title": "Description",
|
|
"description": "TODO",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"identifier": { "title": "Identifier", "description": "TODO", "$ref": "#/definitions/B" },
|
|
"population_control": {
|
|
"type": "string",
|
|
"title": "Population control",
|
|
"description": "TODO",
|
|
"enum": ["ambient", "animal", "water_animal", "monster", "cat", "pillager"]
|
|
}
|
|
}
|
|
},
|
|
"conditions": {
|
|
"type": "array",
|
|
"title": "Conditions",
|
|
"description": "TODO",
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"title": "Condition",
|
|
"description": "TODO",
|
|
"properties": {
|
|
"minecraft:biome_filter": { "$ref": "#/definitions/IJ" },
|
|
"minecraft:brightness_filter": { "$ref": "#/definitions/JA" },
|
|
"minecraft:density_limit": { "$ref": "#/definitions/JB" },
|
|
"minecraft:difficulty_filter": { "$ref": "#/definitions/JC" },
|
|
"minecraft:delay_filter": { "$ref": "#/definitions/JD" },
|
|
"minecraft:distance_filter": { "$ref": "#/definitions/JE" },
|
|
"minecraft:height_filter": { "$ref": "#/definitions/JF" },
|
|
"minecraft:herd": { "$ref": "#/definitions/JG" },
|
|
"minecraft:player_in_village_filter": { "$ref": "#/definitions/JH" },
|
|
"minecraft:permute_type": { "$ref": "#/definitions/JI" },
|
|
"minecraft:mob_event_filter": { "$ref": "#/definitions/JJ" },
|
|
"minecraft:spawn_event": { "$ref": "#/definitions/BAA" },
|
|
"minecraft:spawns_on_block_filter": { "$ref": "#/definitions/BAB" },
|
|
"minecraft:spawns_on_block_prevented_filter": { "$ref": "#/definitions/BAC" },
|
|
"minecraft:spawns_lava": { "$ref": "#/definitions/BAD" },
|
|
"minecraft:spawns_on_surface": { "$ref": "#/definitions/BAE" },
|
|
"minecraft:spawns_underground": { "$ref": "#/definitions/BAF" },
|
|
"minecraft:spawns_underwater": { "$ref": "#/definitions/BAG" },
|
|
"minecraft:weight": { "$ref": "#/definitions/BAH" },
|
|
"minecraft:world_age_filter": { "$ref": "#/definitions/BAI" }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|