9
0
mirror of https://github.com/IrisDimensions/ymir.git synced 2025-12-19 14:59:25 +00:00
Files
Iris-Pack-Ymir/.iris/schema/snippet/tree-schema.json
Brian Neumann-Fopiano de75d85823 Init
2024-08-14 13:31:37 -04:00

78 lines
3.2 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://volmit.com/iris-schema/iristree.json",
"anyOf": [
{
"description": "Tree replace options for this object placer",
"type": "object",
"properties": {
"treeTypes": {
"type": "array",
"minItems": 1,
"items": {"$ref": "#/definitions/enum-org-bukkit-treetype"},
"description": "treeTypes\nThe types of trees overwritten by this object\n \nList of TreeTypes\n\n* At least one entry must be defined, or just remove this list.\nMust be a valid TreeType (use ctrl+space for auto complete!)"
},
"anyTree": {
"type": "boolean",
"description": "anyTree\nIf enabled, overrides any TreeType\n \nBoolean\n\n \n* Default Value is a default object (create this object to see default properties)"
},
"sizes": {
"type": "array",
"minItems": 1,
"items": {"$ref": "#/definitions/obj-com-volmit-iris-engine-object-iristreesize"},
"description": "sizes\nThe size of the square of saplings this applies to (2 means a 2 * 2 sapling area)\n \nList of TreeSizes (Objects)\n\n \n* Default Value is an empty list\n* At least one entry must be defined, or just remove this list."
},
"anySize": {
"type": "boolean",
"description": "anySize\nIf enabled, overrides trees of any size\n \nBoolean\n\n \n* Default Value is a default object (create this object to see default properties)"
}
}
},
{"type": "string"}
],
"definitions": {
"enum-org-bukkit-treetype": {"enum": [
"TREE",
"BIG_TREE",
"REDWOOD",
"TALL_REDWOOD",
"BIRCH",
"JUNGLE",
"SMALL_JUNGLE",
"COCOA_TREE",
"JUNGLE_BUSH",
"RED_MUSHROOM",
"BROWN_MUSHROOM",
"SWAMP",
"ACACIA",
"DARK_OAK",
"MEGA_REDWOOD",
"TALL_BIRCH",
"CHORUS_PLANT",
"CRIMSON_FUNGUS",
"WARPED_FUNGUS",
"AZALEA",
"MANGROVE",
"TALL_MANGROVE",
"CHERRY"
]},
"obj-com-volmit-iris-engine-object-iristreesize": {"anyOf": [
{
"description": "Sapling override object picking options",
"type": "object",
"properties": {
"width": {
"type": "integer",
"description": "width\nThe width of the sapling area\n \nInteger\n\n \n* Default Value is 1"
},
"depth": {
"type": "integer",
"description": "depth\nThe depth of the sapling area\n \nInteger\n\n \n* Default Value is 1"
}
}
},
{"type": "string"}
]}
}
}