Files
minecraft-bedrock-json-schemas/source/behaviour/entities/1.8.0/components/minecraft.preferred_path.json
2021-02-01 18:39:12 +01:00

51 lines
1.4 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.preferred_path",
"type": "object",
"title": "Preferred path 1.8.0",
"description": "Specifies costing information for mobs that prefer to walk on preferred paths.",
"additionalProperties": false,
"required": ["preferred_path_blocks"],
"properties": {
"default_block_cost": {
"type": "number",
"default": 0,
"description": "Cost for non-preferred blocks",
"title": "TODO title"
},
"jump_cost": {
"type": "integer",
"default": 0,
"description": "Added cost for jumping up a node",
"title": "TODO title"
},
"max_fall_blocks": {
"type": "integer",
"default": 3,
"description": "Distance mob can fall without taking damage",
"title": "TODO title"
},
"preferred_path_blocks": {
"type": "array",
"description": "A list of blocks with their associated cost",
"items": {
"additionalProperties": false,
"type": "object",
"description": "Blocks cost",
"properties": {
"cost": {
"type": "number"
},
"blocks": {
"type": "array",
"items": {
"$ref": "../../../../general/blocks_item.json"
}
}
}
},
"title": "TODO title"
}
}
}