1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2025-02-28 08:51:16 +00:00
Mike Ammerlaan 43ca2795c2 v1.21.60.10
2025-02-11 09:25:02 -08:00

226 lines
9.0 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "1007525655",
"definitions": {
"1088251937": {
"title": "Filter Group",
"description": "Filters allow data objects to specify test criteria which allows their use. Filters can be defined by a single object of type (Filter Test), an array of tests, collection groups, or a combination of these objects.",
"oneOf": [
{
"$ref": "#/definitions/4150989894"
},
{
"title": "sequence container",
"type": "array",
"items": {
"description": "Filters allow data objects to specify test criteria which allows their use. Filters can be defined by a single object of type (Filter Test), an array of tests, collection groups, or a combination of these objects.",
"$ref": "#/definitions/1088251937"
}
},
{
"type": "object",
"properties": {
"AND": {
"description": "Evaluates all tests in the group, all must pass in order for the group to pass.",
"$ref": "#/definitions/1088251937"
},
"NOT": {
"description": "Evaluates all tests in the group, all must fail in order for the group to pass.",
"$ref": "#/definitions/1088251937"
},
"OR": {
"description": "Evaluates tests in the group, one or more must pass in order for the group to pass.",
"$ref": "#/definitions/1088251937"
},
"all": {
"description": "Evaluates all tests in the group, all must pass in order for the group to pass.",
"$ref": "#/definitions/1088251937"
},
"all_of": {
"description": "Evaluates all tests in the group, all must pass in order for the group to pass.",
"$ref": "#/definitions/1088251937"
},
"any": {
"description": "Evaluates tests in the group, one or more must pass in order for the group to pass.",
"$ref": "#/definitions/1088251937"
},
"any_of": {
"description": "Evaluates tests in the group, one or more must pass in order for the group to pass.",
"$ref": "#/definitions/1088251937"
},
"none_of": {
"description": "Evaluates all tests in the group, all must fail in order for the group to pass.",
"$ref": "#/definitions/1088251937"
}
}
}
]
},
"1292959213": {
"title": "struct SharedTypes::v1_21_20::JigsawStructureDefinition::Description",
"type": "object",
"properties": {
"identifier": {
"description": "Identifier of the Jigsaw Structure.",
"type": "string"
}
},
"required": [
"identifier"
]
},
"4150989894": {
"title": "Filter Test",
"type": "object",
"properties": {
"domain": {
"description": "The domain the test should be performed in.",
"oneOf": [
{
"type": "boolean"
},
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "string"
}
]
},
"operator": {
"description": "The comparison to apply with 'value'.",
"oneOf": [
{
"type": "boolean"
},
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "string"
}
]
},
"subject": {
"description": "The subject of this filter test.",
"oneOf": [
{
"type": "boolean"
},
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "string"
}
]
},
"test": {
"description": "The name of the test to apply.",
"type": "string"
},
"value": {
"description": "The value being compared with the test.",
"oneOf": [
{
"type": "boolean"
},
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "string"
}
]
}
},
"required": [
"test"
]
}
},
"title": "A Jigsaw Structure is a group of Structure Templates that make up a larger structure. Jigsaw Structures are placed during world generation.",
"type": "object",
"properties": {
"biome_filters": {
"description": "Biomes in which the Jigsaw Structure can generate.",
"$ref": "#/definitions/1088251937"
},
"description": {
"$ref": "#/definitions/1292959213"
},
"heightmap_projection": {
"title": "enum SharedTypes::v1_21_20::JigsawStructureDefinition::HeightmapProjection",
"description": "Heightmap used to calculate the relative start height. For example, a heightmap_projection of ocean_floor and a start_height of 10 means the Jigsaw Structure will begin generating 10 blocks above the ocean floor.",
"type": "string",
"enum": [
"world_surface",
"ocean_floor"
]
},
"max_depth": {
"description": "The maximum recursion depth for Jigsaw Structure Generation. For example, a Jigsaw Structure that builds a road with a max_depth of 5 will only have paths that are a maximum of 5 structures templates in length in any given direction from the origin.",
"type": "integer",
"minimum": 0.0,
"maximum": 20.0
},
"start_height": {
"description": "Height at which the Jigsaw Structure's start pool should begin.",
"type": "integer"
},
"start_pool": {
"description": "The first Template Pool to use when generating the Jigsaw Structure.",
"type": "string"
},
"step": {
"title": "GenerationStep",
"description": "Species the world generation phase in which the structure is generated.",
"type": "string",
"enum": [
"raw_generation",
"lakes",
"local_modifications",
"underground_structures",
"surface_structures",
"strongholds",
"underground_ores",
"underground_decoration",
"fluid_springs",
"vegetal_decoration",
"top_layer_modification"
]
},
"terrain_adaptation": {
"title": "enum SharedTypes::v1_21_20::JigsawStructureDefinition::TerrainAdaptation",
"description": "How the terrain should adapt relative to the generated Jigsaw Structure.",
"type": "string",
"enum": [
"none",
"bury",
"beard_thin",
"beard_box",
"encapsulate"
]
}
},
"required": [
"description",
"heightmap_projection",
"max_depth",
"start_height",
"start_pool",
"step"
]
}