Files
minecraft-bedrock-json-schemas/behavior/features/features.json

1 line
76 KiB
JSON
Raw Normal View History

{"$id":"blockception.minecraft.behavior.features","type":"object","title":"Features","description":"Features are decorations scattered throughout the world. Things such as trees, plants, flowers, springs, ore, and coral are all features. Basically, if it isn't the terrain or a mob, it's probably a feature!","additionalProperties":false,"required":["format_version"],"minProperties":2,"maxProperties":2,"properties":{"format_version":{"$ref":"#/definitions/A"},"minecraft:aggregate_feature":{"$ref":"#/definitions/B"},"minecraft:cave_carver_feature":{"$ref":"#/definitions/E"},"minecraft:fossil_feature":{"$ref":"#/definitions/H"},"minecraft:geode_feature":{"$ref":"#/definitions/I"},"minecraft:growing_plant_feature":{"$ref":"#/definitions/J"},"minecraft:multiface_feature":{"$ref":"#/definitions/BB"},"minecraft:nether_cave_carver_feature":{"$ref":"#/definitions/BC"},"minecraft:ore_feature":{"$ref":"#/definitions/BD"},"minecraft:partially_exposed_blob_feature":{"$ref":"#/definitions/BE"},"minecraft:scatter_feature":{"$ref":"#/definitions/BF"},"minecraft:search_feature":{"$ref":"#/definitions/BG"},"minecraft:sequence_feature":{"$ref":"#/definitions/BH"},"minecraft:single_block_feature":{"$ref":"#/definitions/BI"},"minecraft:snap_to_surface_feature":{"$ref":"#/definitions/BJ"},"minecraft:structure_template_feature":{"$ref":"#/definitions/CA"},"minecraft:surface_relative_threshold_feature":{"$ref":"#/definitions/CB"},"minecraft:tree_feature":{"$ref":"#/definitions/CC"},"minecraft:underwater_cave_carver_feature":{"$ref":"#/definitions/CE"},"minecraft:vegetation_patch_feature":{"$ref":"#/definitions/CF"},"minecraft:weighted_random_feature":{"$ref":"#/definitions/CG"}},"definitions":{"A":{"title":"Format Version","description":"A version that tells minecraft what type of data format can be expected when reading this file.","pattern":"^([1-9]+)\\.([0-9]+)\\.([0-9]+)$","type":"string","default":"1.21.60","examples":["1.21.50","1.20.80","1.20.40","1.19.0","1.12.0","1.10.0","1.8.0"],"defaultSnippets":[{"label":"New Format version","body":"1.${1|8,10,12,17,18,19,20|}.${3|2|0|}"}]},"D":{"description":"A minecraft feature identifier.","examples":["namespace:feature"],"pattern":"^[0-9a-zA-Z:_\\.\\-]+$","title":"Feature Identifier","type":"string","defaultSnippets":[{"label":"New Identifier","body":"$1:$2"}]},"C":{"title":"Description","description":"Feature's description containing the identifier","type":"object","required":["identifier"],"properties":{"identifier":{"title":"Identifier","description":"The name of this feature in the form `namespace_name:feature_name`. `feature_name` must match the filename.","type":"string","$ref":"#/definitions/D"}}},"B":{"title":"Aggregate Feature","description":"'minecraft:aggregate_feature` places a collection of features in an arbitary order. All features in the collection use the same input position. Features should not depend on each other, as there is no guarantee on the order the features will be placed.\n Succeeds if: At lease one feature is placed successfully.\n Fails if: All features fail to be placed.","type":"object","additionalProperties":false,"required":["description","features"],"properties":{"description":{"$ref":"#/definitions/C"},"features":{"title":"Features","description":"Collection of features to be placed one by one. No guarantee of order. All features use the same input position.","type":"array","minItems":1,"items":{"title":"Feature","description":"Feature identifer","type":"string"}},"early_out":{"type":"string","title":"Early Out","description":"Do not continue placing features once either the first success or first failure has occurred.","enum":["none","first_failure","first_success"]}}},"F":{"description":"A minecraft block identifier.","examples":["namespace:block"],"pattern":"^[0-9a-zA-Z:_\\.\\-]+$","title":"Block Identifier","type":"string","defaultSnippets":[{"label":"New Identifier","body":"$1:$2"}]},"G":{"title":"Molang Number","description":"The minecraft molang definition that results in a float.","anyOf":[{"type":"string","minLength":0},{"type":"number"}],"examples":[